1 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
3 * tests/Makefile.am: Include top_srcdir to make possible to build
4 tests in a different builddir.
5 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
6 on a different builddir.
8 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
10 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
11 (hildon_touch_selector_remove): Disconnect model's signal handler
14 Fixes: NB#116289 (Hildon home crashes while adding task
17 2009-05-11 Alberto Garcia <agarcia@igalia.com>
19 * hildon/hildon-button.c
20 (hildon_button_set_title, hildon_button_set_value):
21 Hide labels containing an empty string.
23 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
25 * configure.ac: post release version bump
26 * debian/changelog: post release version bump
28 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
33 * configure.ac: Bump version.
34 * debian/changelog: Updates.
36 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
38 * hildon/hildon-note-private.h: Removed sound_signal_handler
39 * hildon/hildon-note.c
40 (on_show_cb): new callback on note "show" event, this simply adds
41 a idle, with the function sound_handling
42 (sound_handling): removed the sound_signal_handler management
43 (hildon_note_init): connect note "show" event to on_show_cb
44 (hildon_note_realize): remove the connection to "expose-event"
46 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
47 device?' confirmation note)
49 2009-05-08 Alberto Garcia <agarcia@igalia.com>
51 * hildon/hildon-note.c
52 (hildon_note_new_information_with_icon_name)
53 (hildon_note_new_confirmation_with_icon_name):
54 Terminate the list of parameters in g_object_set() calls
56 Fixes: NB#115166 (Formatting memory card is not taking place)
58 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
60 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
61 "dialog-information" role for the sound being played.
63 2009-05-06 Alberto Garcia <agarcia@igalia.com>
65 * hildon/hildon-app-menu.c (hildon_app_menu_init):
66 Don't make the menu a modal window, it causes strange interactions
67 with the pointer grab and it's not really needed.
69 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
71 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
73 * hildon/hildon-touch-selector.[ch]
74 (hildon_touch_selector_optimal_size_request): function added to get a
75 optimal size request from the touch selector, when you want a dialog to
76 show as much of the selector
77 * hildon/hildon-picker-dialog.c:
78 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
79 (hildon_app_menu_class_init):
80 New "max-height-landscape" and "max-height-portrait" style properties
81 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
82 (hildon_picker_dialog_get_max_height): returns the maximum height using
83 the style properties defined and checking the current portrait/landscape
85 (_hildon_picker_dialog_set_selector): removed the set_size_request
87 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
89 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
91 * hildon/hildon-bread-crumb-trail.c:
92 * hildon/hildon-bread-crumb.c:
93 * hildon/hildon-seekbar.c:
94 Add reference to replacements for these deprecated widgets.
96 Fixes: MB#4461 (Documentation: All deprecations should mention
99 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
101 * examples/hildon-remote-texture-example.c
103 Change the include to the hildon-remote-texture in order to compile
104 properly the examples on the installed libhildon1-examples package
106 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
108 * tests/Makefile.am: Add check for HildonPickerButton.
109 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
110 (START_TEST), (create_hildon_picker_button_suite): Add three simple
111 checks for the HildonPickerButton.
112 * tests/check_test.c (configure_tests): Add the test suite.
113 * tests/test_suites.h: likewise.
115 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
117 * hildon/hildon-touch-selector.c
118 (+on_row_changed): Emit HildonTouchSelector:changed when the
119 contents of a selected row change.
120 (_create_new_column), (_hildon_touch_selector_set_model): connect
121 to GtkTreeModel:row-changed on a newly set model.
123 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
125 2009-05-05 Alberto Garcia <agarcia@igalia.com>
127 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
129 * hildon/hildon-banner.c (hildon_banner_destroy)
130 (hildon_banner_show_progress, hildon_banner_set_fraction):
131 Remove the progress bar from HildonBanner and use a progress
134 Fixes: NB#113761 (Update progress banner to use progress
137 2009-05-04 Alberto Garcia <agarcia@igalia.com>
139 * hildon/hildon-banner.c:
140 Calculate size of the banner label using the actual screen width
141 rather than using a fixed value.
143 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
146 2009-05-04 Alejandro G. Castro <alex@igalia.com>
148 * hildon/hildon-pannable-area.c,
149 (hildon_pannable_area_class_init): Fixed signals documentation
152 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
154 * configure.ac: post release version bump
155 * debian/changelog: post release version bump
157 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
162 * configure.ac: Bump version.
163 * debian/changelog: Updates.
165 2009-05-01 Alberto Garcia <agarcia@igalia.com>
167 * hildon/hildon-edit-toolbar.c
168 (hildon_edit_toolbar_init):
169 Don't let buttons in HildonEditToolbar receive focus.
171 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
172 typing on an HW arrows key)
174 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
176 * doc/Makefile.am: Fix build.
178 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
180 * doc/Makefile.am: Do not redefine content_files.
182 2009-04-30 Alberto Garcia <agarcia@igalia.com>
190 Renamed src/ to hildon/
195 Include <hildon/hildon.h> directly in all examples.
197 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
199 * src/hildon-sort-dialog.c
200 (hildon_sort_dialog_add_sort_key_with_sorting)
204 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
206 * src/Makefile.am: Move generated sources to CLEANFILES, so that
207 make distcheck passes.
209 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
211 * Makefile.am: Enable gtk-doc during distcheck.
213 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
215 * Makefile.am: Do not distribute the debian/ directory.
217 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
219 * doc/Makefile.am: Add the extra SGML files to content_files,
220 so that they are distributed properly.
222 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
224 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
227 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
229 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
230 (hildon_note_new_information_with_icon_name): Set the "icon" property
231 to preserve soundness.
233 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
235 * src/hildon-font-selection-dialog.c
236 (hildon_font_selection_dialog_set_property): Fail when the "family"
237 property is set to NULL.
239 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
241 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
244 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
246 * src/hildon-time-selector.h:
247 Added HildonTimeSelectorFormatPolicy
248 * src/hildon-time-selector.c:
249 Added PROP_TIME_FORMAT_POLICY
250 (_check_ampm_format): renamed to check_automatic_ampm_format
251 (update_format_policy), (update_format_dependant_columns): new functions
252 (hildon_time_selector_class_init)
253 (hildon_time_selector_contructor)
254 (hildon_time_selector_init)
255 (hildon_time_selector_get_property)
256 (hildon_time_selector_set_property)
257 (hildon_time_selector_get_time)
258 (hildon_time_selector_set_time)
259 * src/hildon-touch-selector.h: new file
260 * src/hildon-touch-selector.c
261 (hildon_touch_selector_emit_changed)
262 (hildon_touch_selector_block_changed)
263 (hildon_touch_selector_unblock_changed)
264 Added functions to allow to block the emission of the "changed" signal
265 * src/hildon-picker-dialog.c
266 (hildon_picker_dialog_show): call the parent show before the custom code
267 * examples/hildon-time-button-example.c
268 Modified, so now you can configure the time format using the new property
270 Added a new property "time-format-policy" that allow to choose the time
271 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
272 case it uses gconf in order to check if the time selector must use
275 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
278 2009-04-28 Alberto Garcia <agarcia@igalia.com>
280 * src/hildon-note.c (hildon_note_init):
281 Label in HildonNote must be left aligned, not centered. This
282 reverts the last commit in HildonNote.
284 Fixes: NB#112933 (text is not left aligned in confirmation dialog
285 is connectivity dialog)
287 2009-04-27 Alberto Garcia <agarcia@igalia.com>
292 * doc/hildon-sections.txt:
293 Added hildon_gtk_window_set_do_not_disturb()
295 2009-04-27 Alberto Garcia <agarcia@igalia.com>
297 * src/hildon-note.c (hildon_note_init): Center label.
299 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
302 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
307 * configure.ac: Bump version.
308 * debian/changelog: Updates.
310 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
312 * src/hildon-note-private.h: Add button-width to the private data.
313 * src/hildon-note.c (+resize_button),
314 (+hildon_note_orientation_update): methods to repack widgets on orientation
316 (screen_size_changed): Call above method for confirmation notes.
317 (hildon_note_realize): Always connect to the "screen-size" changed signal.
318 (hildon_note_rebuild): Store the original width request from buttons.
320 Fixes: NB#109635 (Confirmation notes do not support portrait)
322 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
324 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
325 when it is a progress note.
327 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
329 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
330 in the note, since there are no horizontally arranged contents.
332 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
334 * src/hildon-gtk.c (+set_flag): new generic method to
335 set/delay a flag setting in a window.
336 (hildon_gtk_window_set_progress_indicator):
337 (hildon_gtk_window_set_do_not_disturb),
338 (hildon_gtk_window_set_portrait_flags): use set_flag() to
339 avoid code redundance.
341 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
343 Based on a patch by Alberto Garcia (agarcia@igalia.com)
345 * src/hildon-gtk.c (set_clear_window_flag),
346 (do_set_progress_indicator), (do_set_do_not_disturb),
347 (do_set_portrait_flags),
348 (hildon_gtk_window_set_progress_indicator),
349 (hildon_gtk_window_set_do_not_disturb),
350 (hildon_gtk_window_set_portrait_flags):
351 Allow setting dnd-flag, progress indicator, and portrait flags
352 when the window is not realized.
354 2009-04-24 Alejandro G. Castro <alex@igalia.com>
356 * src/hildon-pannable-area.c,
357 * src/hildon-pannable-area.h: Add the hildon deprecated define to
358 the size request policy function and defines.
360 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
362 * doc/hildon-sections.txt: Add the new API.
363 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
364 method to set the portrait flags.
365 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
367 Fixes: NB#112328 (Adding helpers for setting portrait properties)
369 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
371 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
372 to allow using this method with other flags.
373 (hildon_gtk_window_set_progress_indicator): Update accordingly.
374 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
376 2009-04-22 Alberto Garcia <agarcia@igalia.com>
378 * src/hildon-touch-selector.c
379 (hildon_touch_selector_append_text_column):
380 Make the cell renderer use the smallest width possible.
382 Fixes: NB#108470 (Selected items in multiple selection are either
383 having a tick that is cut or not visible at all.)
385 2009-04-22 Alberto Garcia <agarcia@igalia.com>
387 * src/hildon-touch-selector.c
388 (hildon_touch_selector_append_text_column):
391 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
393 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
394 Use g_strdup_printf() instead of a fixed size buffer.
396 2009-04-21 Alberto Garcia <agarcia@igalia.com>
398 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
399 Close banners when a HildonAppMenu is popped up.
401 Fixes: NB#111027 (Title menu closed immediately if activated when
402 "Invalid e-mail address" banner is shown)
404 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
409 * configure.ac: Bump version.
410 * debian/changelog: Updates.
412 2009-04-20 Alberto Garcia <agarcia@igalia.com>
414 * src/hildon-banner.c (hildon_banner_realize):
415 Mark HildonBanner as supporting portrait mode.
416 Use GDK to set window properties insetad of direct Xlib calls.
418 Fixes: NB#111830 (HildonBanner should be marked as supporting
421 2009-04-20 Alberto Garcia <agarcia@igalia.com>
423 * src/hildon-note.c (hildon_note_rebuild):
424 Hide action area in information notes. Prevents text from being
425 slightly aligned to the left.
427 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
430 2009-04-20 Alberto Garcia <agarcia@igalia.com>
432 Patch by Mox Soini (ext-mox.soini@nokia.com)
434 * src/hildon-banner.c (hildon_banner_create_animation):
435 Use stylus-sized icons in animation banner.
437 Fixes: NB#111206 (stylus sized icon for animation banner)
439 2009-04-20 Alberto Garcia <agarcia@igalia.com>
443 (+hildon_gtk_window_set_do_not_disturb):
444 New API to set the do-not-disturb flag.
446 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
448 2009-04-20 Alberto Garcia <agarcia@igalia.com>
450 * examples/hildon-progress-indicator-example.c: Fix example
452 * src/hildon-gtk.c (set_clear_window_flag)
453 (hildon_gtk_window_set_progress_indicator):
454 Create a generic function for setting flags to a window.
455 Use GDK instead of direct Xlib calls.
457 2009-04-14 Alberto Garcia <agarcia@igalia.com>
459 * src/hildon-button.c (hildon_button_set_arrangement):
460 Due to NB#88126, if one of the labels is too long it will be
461 painted outside the button. The 'value' label is more likely to be
462 the longest one, so we change its packing options in order to
463 truncate it if necessary. As a side effect, the 'title' label will
464 no longer be truncated.
466 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
468 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
473 * configure.ac: Bump version.
474 * debian/changelog: Updates.
476 2009-04-13 Alejandro G. Castro <alex@igalia.com>
478 Deprecation of the hildon_pannable_area_set_size_request_policy
479 API, the only policy properly supported in gtk+ nowadays is the
482 * src/hildon-pannable-area.c,
483 (hildon_pannable_area_size_request): Added a workaround for the
484 size_request to avoid the problems of huge pixmaps in case someone
485 is still using the function.
486 * src/hildon-pannable-area.h: Deprecated the enum with the
489 Fixes: NB#110244 (Problems with the
490 hildon_pannable_area_set_size_request_policy API)
492 2009-04-08 Alejandro G. Castro <alex@igalia.com>
494 * src/hildon-pannable-area.c,
495 (hildon_pannable_area_init),
496 (hildon_pannable_area_size_request),
497 (hildon_pannable_area_style_set),
498 (hildon_pannable_draw_vscroll),
499 (hildon_pannable_draw_hscroll),
500 (hildon_pannable_area_check_scrollbars): Replaced area_width with
501 indicator_width to clarify the use of the attribute.
503 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
508 * configure.ac: Bump version.
509 * debian/changelog: Updates.
511 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
513 * src/hildon-picker-dialog.c
514 * src/hildon-touch-selector.c
515 Reverting the change that tried to avoid the hardcoded height on
516 the picker dialog, as causes problems on the hildon-touch-selector
519 Fixes: NB#110029 (selectors not scrolling to selected value)
521 2009-04-07 Alberto Garcia <agarcia@igalia.com>
523 * src/hildon-touch-selector.c: Fix typos
525 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
527 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
528 Use the event coordinates instead of gdk_window_get_pointer(). Also,
529 request more motions after using it.
531 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
533 * src/hildon-calendar.c (hildon_calendar_expose),
534 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
535 Remove unused variables.
537 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
539 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
542 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
544 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
545 Check the return value of gtk_tree_selection_get_selected()
548 2009-04-06 Alberto Garcia <agarcia@igalia.com>
550 * src/hildon-animation-actor.c
551 * src/hildon-button.c
553 * src/hildon-pannable-area.c
554 * src/hildon-picker-button.c
555 * src/hildon-program.c
556 * src/hildon-remote-texture.c
557 * src/hildon-text-view.c
558 * src/hildon-touch-selector.c
559 * src/hildon-window-stack.c
560 * src/hildon-window.c:
561 Add missing 'Since: 2.2' tags.
563 * doc/hildon-sections.txt:
564 Add some missing symbols.
566 * doc/hildon-docs.sgml:
567 New 'Other' section for HildonAnimationActor and
570 2009-04-06 Alberto Garcia <agarcia@igalia.com>
572 Patch by Iván Gómez (igomez@igalia.com)
576 * doc/hildon-docs.sgml
577 * doc/hildon-sections.txt
581 New chapters on using the Hildon library.
582 Updated the general structure of the reference manual.
583 Other minor documentation fixes.
585 * src/hildon-calendar-popup.c
586 * src/hildon-calendar.c
587 * src/hildon-controlbar.c
588 * src/hildon-date-editor.c
589 * src/hildon-dialog.c
590 * src/hildon-hvolumebar.c
591 * src/hildon-number-editor.c
592 * src/hildon-range-editor.c
593 * src/hildon-sort-dialog.c
594 * src/hildon-time-editor.c
595 * src/hildon-time-picker.c
596 * src/hildon-volumebar-range.c
597 * src/hildon-volumebar.c
598 * src/hildon-vvolumebar.c
599 * src/hildon-weekday-picker.c:
600 Add deprecation notes
602 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
603 Document 'horizontal-movement' and 'vertical-movement' signals.
605 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
610 * configure.ac: Bump version.
611 * debian/changelog: Updates.
613 2009-04-06 Alejandro G. Castro <alex@igalia.com>
615 * src/hildon-pannable-area.c,
616 (hildon_pannable_area_class_init): increased the minimum velocity.
617 (hildon_pannable_area_button_release_cb): Updated the
618 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
619 setup. Review the code to control that last event.
621 Fixes: NB#109790 (Releasing finger in pannable area easily causes
624 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
626 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
628 * src/hildon-get-password-dialog.c
629 (hildon_get_password_set_property),
630 (hildon_get_password_get_property), (create_contents):
631 * src/hildon-login-dialog-private.h:
632 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
633 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
634 (hildon_login_dialog_get_password):
635 * src/hildon-set-password-dialog-private.h:
636 * src/hildon-set-password-dialog.c
637 (hildon_set_password_set_property),
638 (hildon_set_password_get_property), (create_contents),
639 (hildon_set_password_response_change),
640 (hildon_set_password_response_set), (hildon_checkbox_toggled):
642 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
643 instead and look more Fremantle style.
645 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
647 2009-04-03 Alberto Garcia <agarcia@igalia.com>
649 * doc/hildon-sections.txt
650 * src/hildon-window-stack.h
651 * src/hildon-window-stack.c
652 (+hildon_window_stack_get_windows):
653 New API to obtain the list of windows on a stack.
655 2009-04-02 Alberto Garcia <agarcia@igalia.com>
657 * src/hildon-app-menu.c (hildon_app_menu_popup)
658 (hildon_app_menu_class_init, -hildon_app_menu_show):
659 Remove hildon_app_menu_show() and move all its checks to
660 hildon_app_menu_popup()
662 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
664 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
665 (_hildon_picker_dialog_set_selector): removed call to
666 gtk_widget_set_size_request
667 * src/hildon-touch-selector.c
668 (_create_new_column): change the pannable size request policy
670 Avoid to use a hardcoded height for the hildon picker dialog. In order
671 to get that, we needed to change the hildon pannable size request
673 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
675 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
677 * src/hildon-window.c (hildon_window_map): Check for vbox to be
678 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
681 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
683 * debian/control: Depend on osso-system-lock localization package.
684 * src/hildon-code-dialog.c: Obtain the secu_application_title
685 translation from osso-system-lock.
686 * src/hildon-get-password-dialog.c (create_contents): Do not mark
687 for translation the atk related strings, that's not necessary.
688 * src/hildon-set-password-dialog.c (create_contents): Ditto.
689 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
690 cancel button, it is not required.
692 2009-04-02 Alejandro G. Castro <alex@igalia.com>
694 * src/hildon-pannable-area.c,
695 (hildon_pannable_area_class_init): Modified the default value of
696 the overshooting max speed, we have reduced it.
698 2009-04-02 Alberto Garcia <agarcia@igalia.com>
700 * doc/hildon-sections.txt
701 * src/hildon-window-private.h
702 * src/hildon-window.h
703 * src/hildon-window.c (hildon_window_class_init)
704 (hildon_window_init, hildon_window_finalize)
705 (hildon_window_realize, hildon_window_get_property)
706 (hildon_window_set_property, hildon_window_update_markup)
707 (hildon_window_get_markup, hildon_window_set_markup):
708 New "markup" property and hildon_window_{get,set}_markup() methods.
710 * examples/hildon-stackable-window-example.c (new_window):
711 Update example to use hildon_window_set_markup()
713 Fixes: NB#106375 (Need API to retitle a window with a title
716 2009-04-01 Alejandro G. Castro <alex@igalia.com>
718 * src/hildon-pannable-area.c,
719 (hildon_pannable_area_class_init): Changed the default value of
720 the initial_hint to TRUE.
721 (hildon_pannable_area_initial_effect): Changed the initial effect,
722 not the effect is just the fade-out of the scrollbars.
724 Fixes: NB#107775 (No scrollbars can be seen when several items are
725 available in a dialog)
727 2009-04-01 Alberto Garcia <agarcia@igalia.com>
729 * src/hildon-program.c (hildon_program_update_top_most):
732 Fixes: NB#109179 (Memory leak in Hildon program)
734 2009-04-01 Alberto Garcia <agarcia@igalia.com>
736 * src/hildon-banner.c (-get_current_app_window):
737 Remove unused function.
739 2009-04-01 Alejandro G. Castro <alex@igalia.com>
741 * src/hildon-pannable-area.c: Modified the documentation of the
742 get adjustments functions to explain the problem of using the
744 (hildon_pannable_area_class_init): Improved the explanation about
747 2009-04-01 Alberto Garcia <agarcia@igalia.com>
749 * src/hildon-app-menu-private.h
750 * src/hildon-app-menu.c
751 (hildon_app_menu_class_init):
752 Bring back the 'external-border' style property
753 (hildon_app_menu_class_init, hildon_app_menu_init)
754 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
755 Set a fixed width-request for the menu, independent of the number
758 Fixes: NB#94957 (Smoothly opened application menu)
760 2009-03-30 Alberto Garcia <agarcia@igalia.com>
762 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
764 * src/hildon-banner.c
765 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
767 Make sure that the banner is correctly placed the first time it's
769 (hildon_banner_check_position, -check_fullscreen_state):
770 Show the banner in the same place no matter if the window is in
771 fullscreen mode or not.
773 Fixes: NB#107386 (Odd stacking behaviour for information banners)
775 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
777 * src/hildon-touch-selector.c (_default_print_func): reorder
778 concatenation for clarity.
780 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
782 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
783 for multicolumn selectors.
785 Fixes: NB#109099 (Memory leak in Hildon touch selector)
787 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
792 * configure.ac: Bump version.
793 * debian/changelog: Updates.
795 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
797 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
800 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
802 * configure.ac: removed libcangerra-gtk dependency
803 * debian/control: removed libcanberra-gtk dependency
804 * src/Makefile.am: removed libcanberra gtk related flags
805 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
806 context, and manage a global canberra context instead
808 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
810 2009-03-26 Alberto Garcia <agarcia@igalia.com>
812 Patch by Daniel Borgmann (danielb@openismus.com)
814 * src/hildon-edit-toolbar.c:
815 Adjust the left padding.
816 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
817 Paint background of the edit toolbar.
819 Fixes: NB#107897 (Patch to make editmodetoolbar background
820 themeable and adjust margin)
822 2009-03-25 Alberto Garcia <agarcia@igalia.com>
824 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
826 * src/hildon-program.c (hildon_program_update_top_most):
827 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
829 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
830 change when the user tasks in/out of an application)
832 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
834 * configure.ac: added libcangerra-gtk dependency
835 * debian/control: added libcanberra-gtk dependency
836 * src/Makefile.am: added libcanberra gtk related flags
837 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
840 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
842 2009-03-25 Alberto Garcia <agarcia@igalia.com>
844 * src/hildon-program.c (hildon_program_remove_window)
845 (hildon_program_add_window): Add checks for the window
846 parameter. Don't decrease the window counter if the window is not
849 2009-03-24 Alejandro G. Castro <alex@igalia.com>
851 * src/hildon-pannable-area.c,
852 (hildon_pannable_area_realize): Fixed position of the event_window
853 in the realize method.
855 2009-03-24 Alberto Garcia <agarcia@igalia.com>
857 * src/hildon-app-menu-private.h
858 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
859 (hildon_app_menu_map, hildon_app_menu_hide_idle)
860 (hildon_app_menu_key_press, hildon_app_menu_init)
861 (hildon_app_menu_finalize):
862 Make sure that all idle functions are removed when the widget is
865 Fixes: NB#107583 (Hildon app menu crashes in various applications)
867 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
872 * configure.ac: Bump version.
873 * debian/changelog: Updates.
875 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
878 (+hildon_entry_show_placeholder),
879 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
880 that replace hildon_entry_update_contents().
881 (hildon_entry_set_text),
882 (hildon_entry_set_placeholder),
883 (hildon_entry_focus_in_event),
884 (hildon_entry_focus_out_event): Determine when it is needed
885 either to show or hide the placeholder and call the above methods.
887 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
888 when the placeholder text is already set)
890 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
892 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
893 simple GdkPixbufAnim using the new icons for the banner.
894 (hildon_banner_show_animation): Use the above mentioned method to
895 create the animation widget.
897 Fixes: NB#103564 (Make hildon animation banner use individual
898 image files as the animation)
900 2009-03-24 Alejandro G. Castro <alex@igalia.com>
902 * src/hildon-pannable-area.c,
903 (hildon_pannable_leave_notify_event): Check if the child is NULL
904 to avoid sending the leave.
906 2009-03-24 Alejandro G. Castro <alex@igalia.com>
908 * src/hildon-pannable-area.c,
909 (hildon_pannable_area_class_init),
910 (hildon_pannable_leave_notify_event): Added a handler of the
911 leave-notify-signal to consider when no motion notify before
914 Fixes: NB#107494 (Items stay selected when clicking and moving
915 away when inside pannable area)
917 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
922 * configure.ac: Bump version.
923 * debian/changelog: Updates.
925 2009-03-19 Alejandro G. Castro <alex@igalia.com>
927 Patch by Alberto Garcia (agarcia@igalia.com)
929 * src/hildon-date-button.c,
930 (hildon_date_button_class_init),
931 (hildon_date_button_init): Removed the construct property handling
932 and created a default selector in the init method.
933 * src/hildon-picker-button.c,
934 (hildon_picker_button_class_init): Removed the construct flag of the
937 2009-03-18 Alberto Garcia <agarcia@igalia.com>
939 * src/hildon-main.c (hildon_init):
940 Don't allow hildon_init() to be called more than once.
942 Fixes: NB#106607 (hildon_init should issue error message upon
945 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
947 * examples/hildon-pannable-area-touch-list-example.c
948 * examples/hildon-pannagle-area-touch-grid-example.c
949 * examples/hildon-edit-toolbar-example.c
950 * examples/hildon-touch-selector-multi-cells-example.c
951 Removed the call to gtk_rc_parse_string, as it is not required since
954 2009-03-17 Alejandro G. Castro <alex@igalia.com>
956 * src/hildon-pannable-area.c,
957 (hildon_pannable_area_class_init): Modified the default panning
958 threshold of the widget to 6px.
960 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
961 than the threshold value ) within the button is not sending the
964 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
966 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
967 for the treeview in the new column. This way, the touch list will never
970 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
971 be selected manually for the HW keys to work)
973 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
975 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
976 comparison instead of using strcmp(). Fixes a compiler warning as well.
978 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
980 * doc/hildon-docs.sgml: Do not set the library version in the
981 document title, use the releaseinfo tag for that purpose instead.
983 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
985 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
986 Do not jump to the first item if the text in the entry is removed.
988 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
993 * configure.ac: Bump version.
994 * debian/changelog: Updates.
996 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
998 * src/hildon-entry.c (hildon_entry_refresh_contents):
999 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1000 Use "ReversedSecondaryTextColor" for the placeholder text.
1002 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1004 * src/hildon-text-view.c: Fix compilation warning.
1006 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1008 * src/hildon-button.c (hildon_button_class_init): Don't make
1009 "title" and "value" construction properties, to prevent them from
1010 overwriting labels set from derived classes.
1012 * src/hildon-picker-button.c
1013 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1014 (hildon_picker_button_class_init): Make touch-selector a
1015 construction property.
1017 * src/hildon-date-button.c (hildon_date_button_class_init)
1018 (+hildon_date_button_constructed): Add a default date selector if
1021 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1023 * src/hildon-touch-selector.c: Small documentation fixes.
1025 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1027 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1029 * src/hildon-entry.c (hildon_entry_refresh_contents),
1030 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1031 widget name, set the logical color directly instead and a boolean
1032 showing_placeholder instead.
1033 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1034 use the widget name here either.
1036 Fixes: NB#105678 (HildonTextView should use logical colours
1037 instead of setting widget name)
1039 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1041 Patch by Daniel Elster (danielk@openismus.com)
1043 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1044 Add user_data parameter.
1045 (hildon_touch_selector_set_print_func_full): New function akin
1046 hildon_touch_selector_set_print_func() but with support for user
1047 data and a destroy callback.
1048 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1049 to clean up the print function user data.
1050 (hildon_touch_selector_class_init): Install dispose function.
1051 (HildonTouchSelectorPrivate::print_user_data),
1052 (HildonTouchSelectorPrivate::print_destroy_func): New private
1054 (hildon_touch_selector_init): Initialize new private members.
1055 (hildon_touch_selector_get_current_text): Pass along user data
1056 to the print function.
1057 (_default_print_func): Add dummy user_data to parameter list.
1058 * hildon-date-selector.c (_custom_print_func): ditto,
1059 * hildon-time-selector.c (_custom_print_func): ditto,
1060 * hildon-touch-selector-entry.c
1061 (hildon_touch_selector_entry_print_func): ditto.
1063 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1065 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1067 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1069 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1071 * src/hildon-pannable-area.c,
1072 (hildon_pannable_area_init),
1073 (hildon_pannable_area_button_press_cb),
1074 (hildon_pannable_area_motion_notify_cb): We have added code to
1075 handle the leave and enter events when using the motion events.
1077 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1079 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1081 * src/hildon-date-button.c (hildon_date_button_get_date)
1082 (hildon_date_button_set_date): Make sure that the button has a
1085 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1087 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1089 * src/hildon-pannable-area.c,
1090 (hildon_pannable_area_class_init),
1091 (hildon_pannable_area_calculate_velocity): Modify the use of the
1092 force and adapt the value.
1094 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1096 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1097 (hildon_app_menu_class_init): Hide the menu if it receives a
1098 delete-event, but don't destroy it
1100 Fixes: NB#104485 (Not able to address the call when application
1101 menu is opened at background)
1103 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1105 * src/hildon-app-menu.c
1106 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1107 Remove the "external-border" style property, let the menu take its
1108 natural size (or the one set by the window manager)
1109 (hildon_app_menu_repack_items):
1110 Don't reshow the menu, avoid flickers.
1112 Partially fixes NB#94957 (Smoothly opened application menu)
1114 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1119 * configure.ac: Bump version.
1120 * debian/changelog: Updates.
1122 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1124 * src/hildon-pannable-area.c,
1125 (hildon_pannable_area_motion_notify_cb): We control that the
1126 direction error margin is used just in case the movement is
1127 allowed in the other direction.
1129 Fixes: NB#105012 (buttons inside a pannable area not getting
1130 release event when dragging/releasing)
1132 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1134 * src/hildon-pannable-area.c,
1135 (hildon_pannable_area_class_init),
1136 (hildon_pannable_area_get_property),
1137 (hildon_pannable_area_set_property),
1138 (hildon_pannable_area_initial_effect),
1139 (hildon_pannable_axis_scroll),
1140 (hildon_pannable_area_button_release_cb): Reviewed the
1141 overshooting effect, now it has its own max
1142 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1143 speed when bouncing.
1145 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1150 * configure.ac: Bump version.
1151 * debian/changelog: Updates.
1153 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1155 * src/hildon-pannable-area.c,
1156 (hildon_pannable_area_class_init): Changed the max speed, now
1157 users can launch the widget very fast. Reduced the default force,
1158 that way it is easier to control the launch speed.
1160 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1162 * src/hildon-pannable-area.c,
1163 (hildon_pannable_area_button_release_cb): Removed this check
1164 because it causes problems when the device is overloaded.
1166 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1168 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1169 add a current_text field to store the text entered in the
1170 touch selector entry.
1171 (_clean_current_selection): clean up the current text as well.
1172 (_save_current_selection), (_restore_current_selection):
1173 Save/restore the text in the entry if the selector is a
1174 HildonTouchSelectorEntry.
1176 Fixes: NB#102541 (value entered in the touch selector entry is not
1177 shown when opened for second time)
1179 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1181 * doc/hildon-sections.txt:
1182 * src/hildon-touch-selector-entry.c
1183 (+hildon_touch_selector_entry_get_entry):
1184 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1186 Fixes: NB#104815 (I need accessor to the entry inside
1187 HildonTouchSelectorEntry)
1189 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1191 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1192 (hildon_app_menu_class_init):
1193 New "filter-vertical-spacing" style property.
1195 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1197 * src/hildon-find-toolbar.c
1198 (hildon_find_toolbar_emit_close)
1199 (hildon_find_toolbar_emit_invalid_input)
1200 (hildon_find_toolbar_entry_activate):
1201 Use g_signal_emit() instead of g_signal_emit_by_name()
1203 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1205 Patch by Mox Soini (ext-mox.soini@nokia.com)
1207 * tests/TEST-CASES.txt
1208 * tests/check-hildon-banner.c
1209 * tests/check-hildon-note.c
1210 * src/hildon-banner.c
1211 * src/hildon-code-dialog.c
1212 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1213 * src/hildon-time-editor.c
1214 * examples/hildon-lookup-example.c (main):
1215 Replace obsolete icon names with new ones.
1217 * src/hildon-find-toolbar-private.h:
1218 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1219 (-hildon_find_toolbar_emit_search):
1220 Remove find button and change icon of close button.
1222 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1224 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1226 * src/hildon-time-button.c (hildon_time_button_new_step):
1227 Use the "touch-selector" property to set the selector directly
1228 when creating the object.
1230 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1232 Added a new example application that allows tuning the pannable
1233 area and replaced defines with properties in order to simplify the
1234 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1235 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1236 PROP_DIRECTION_ERROR_MARGIN.
1238 * examples/hildon-pannable-area-tuning-example.c: New example
1240 * src/hildon-pannable-area.c,
1241 (hildon_pannable_area_class_init),
1242 (hildon_pannable_area_init),
1243 (hildon_pannable_area_get_property),
1244 (hildon_pannable_area_set_property),
1245 (hildon_pannable_area_launch_fade_timeout),
1246 (hildon_pannable_area_adjust_value_changed),
1247 (hildon_pannable_axis_scroll),
1248 (hildon_pannable_area_motion_notify_cb),
1249 (hildon_pannable_area_scroll_cb),
1250 (hildon_pannable_area_button_release_cb): We have converted some
1251 of the defines that control the widget to properties to simplify
1254 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1256 * src/hildon-app-menu.c (hildon_app_menu_map)
1257 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1258 so it's closed if a new window appears.
1260 Fixes: NB#104485 (Not able to address the call when application
1261 menu is opened at background)
1263 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1265 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1266 missing 'break' statement in in 'case' construct to avoid
1269 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1271 * src/hildon-touch-selector-entry.c
1272 (hildon_touch_selector_entry_get_property),
1273 (hildon_touch_selector_entry_set_property): Add missing 'break'
1274 statements in in 'case' constructs to avoid incorrect warnings.
1276 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1278 * src/hildon-time-editor.c
1279 (hildon_time_editor_get_time_separators): Do not crash if
1280 the first label is NULL.
1282 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1284 * src/hildon-date-selector.c (_month_days): Check for month to be
1285 strictly less than 12, since otherwise we may overrun the array.
1287 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1289 * src/hildon-date-button.c (+hildon_date_button_new_full)
1290 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1291 (hildon_date_button_init): Set the date selector using a
1292 construction property, to make it happen after HildonButton's
1293 "value" property is set.
1295 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1296 current date by default)
1298 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1300 * doc/hildon-sections.txt
1301 * src/hildon-program.c
1302 * src/hildon-stackable-window.c
1303 * src/hildon-window.c:
1304 Documentation updates
1306 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1308 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1309 (hildon_window_stack_new, +hildon_window_stack_set_property)
1310 (+hildon_window_stack_get_property)
1311 (hildon_window_stack_class_init)
1312 (+hildon_window_stack_set_window_group)
1313 (+hildon_window_stack_get_window_group):
1314 Make the window group a construction property.
1316 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1318 * doc/hildon-sections.txt
1319 * src/hildon-stackable-window-private.h
1320 * src/hildon-stackable-window.h
1321 * src/hildon-stackable-window.c
1322 (-hildon_stackable_window_set_app_menu)
1323 (-hildon_stackable_window_get_app_menu)
1324 (-hildon_stackable_window_toggle_menu)
1325 (-hildon_stackable_window_finalize)
1326 (hildon_stackable_window_class_init)
1327 (hildon_stackable_window_init)
1328 * src/hildon-window-private.h
1329 * src/hildon-window.h
1330 * src/hildon-window.c (hildon_window_init)
1331 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1332 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1333 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1334 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1335 Moved all HildonAppMenu code to HildonWindow. The menu does not
1336 require a HildonStackableWindow anymore.
1338 * src/hildon-app-menu.c
1339 * src/hildon-program.c
1340 * examples/hildon-app-menu-example.c (main):
1341 Update examples and documentation to reflect HildonAppMenu
1344 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1346 * src/hildon-remote-texture.c
1347 * src/hildon-animation-actor.c:
1348 Don't include unused private headers.
1350 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1352 * src/hildon-program-private.h
1353 * src/hildon-program.c
1354 (hildon_program_set_common_menu)
1355 (hildon_program_get_common_menu)
1356 (hildon_program_set_common_app_menu)
1357 (hildon_program_get_common_app_menu):
1358 Change common menu pointers from GtkWidget* to GtkMenu* and
1359 HildonAppMenu* to avoid unnecessary casts.
1361 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1363 * src/hildon-window.c (hildon_window_set_main_menu):
1364 Removed incorrect 'Since:' tag
1366 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1368 * src/hildon-pannable-area.c,
1369 (hildon_pannable_area_calculate_velocity): We use now the
1370 RATIO_TOLERANCE here to check the distance, fixed typo in the
1372 (hildon_pannable_area_motion_notify_cb): We have to set the type
1373 and time even if we are not sending the motion.
1375 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1377 * doc/hildon-sections.txt
1378 * src/hildon-app-menu.h
1379 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1380 (+hildon_app_menu_get_filters): New methods to get the contents of
1383 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1386 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1388 * src/hildon-app-menu.c (hildon_app_menu_popup):
1391 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1393 * src/hildon-window.h
1394 * src/hildon-window.c (+hildon_window_get_main_menu)
1395 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1396 and deprecated hildon_window_get_menu().
1398 * src/hildon-stackable-window.h
1399 * src/hildon-stackable-window.c
1400 (+hildon_stackable_window_set_app_menu)
1401 (+hildon_stackable_window_get_app_menu)
1402 (hildon_stackable_window_set_main_menu): Created
1403 hildon_stackable_window_{get,set}_app_menu() and deprecated
1404 hildon_stackable_window_set_main_menu().
1406 * doc/hildon-sections.txt
1407 * examples/hildon-app-menu-example.c (main)
1408 * src/hildon-app-menu.c
1409 * src/hildon-program.c:
1410 Updated examples and documentation.
1412 Fixes: NB#103758 (No way to obtain a menu from a
1413 HildonStackableWindow)
1415 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1420 * configure.ac: Bump version.
1421 * debian/changelog: Updates.
1423 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1425 * examples/hildon-remote-texture-example.c: Include
1426 hildon-remote-texture.h explicitely.
1427 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1428 applications not defining _XOPEN_SOURCE which don't require this header.
1430 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1432 * doc/hildon-sections.txt
1433 * src/hildon-app-menu.h
1434 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1435 New function to pop up a HildonAppMenu
1437 * src/hildon-stackable-window.c
1438 (hildon_stackable_window_toggle_menu):
1439 Use hildon_app_menu_popup() to show the menu.
1441 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1443 * src/hildon-app-menu.c (hildon_app_menu_show)
1444 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1445 menu if there's another window between it and its parent window.
1447 Fixes: NB#100468 (Application menu window is launched even when a
1448 new secondary-window/dialog is pending to be shown/realized)
1450 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1452 * src/hildon-window-stack.c (hildon_window_stack_push)
1453 (hildon_window_stack_pop_and_push):
1454 Don't forget to push/pop the first window.
1455 Reverse the window list before calling _push_list()
1457 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1459 * src/hildon-picker-button.h
1460 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1461 Remove "value_changed" slot to avoid ABI breakage
1463 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1465 * src/hildon-pannable-area.c,
1466 (hildon_pannable_area_realize),
1467 (hildon_pannable_area_unrealize),
1468 (hildon_pannable_draw_vscroll),
1469 (hildon_pannable_draw_hscroll): Changed the method to handle the
1470 GC used to draw the transparent scrollbar, this way we avoid
1471 creating the GC all the time when drawing the scrollbars.
1473 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1475 * src/hildon-pannable-area.c,
1476 (hildon_pannable_area_init),
1477 (hildon_pannable_area_remove): Removed some unnecessary casts.
1478 (hildon_pannable_area_dispose): Disconnected some signals before
1479 releasing the adjustments.
1481 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1483 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1484 Make sure that all widgets contained in the toolbar are shown.
1486 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1488 * doc/hildon-sections.txt
1489 * src/hildon-picker-button.h
1490 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1491 (_selection_changed, hildon_picker_button_on_dialog_response)
1492 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1493 New hildon_picker_button_value_changed() method.
1496 * src/hildon-picker-button-private.h
1497 * src/hildon-picker-button.c (hildon_picker_button_init)
1498 (+hildon_picker_button_disable_value_changed): Add protected
1499 function for disabling the "value-changed" signal.
1501 * src/hildon-date-button.c (hildon_date_button_set_date):
1502 Don't emit "value-changed" for each one of the three columns.
1504 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1505 before actual change of values)
1507 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1509 * src/hildon-pannable-area.c,
1510 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1511 for the treeview overshooting.
1513 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1515 * src/hildon-banner.c (+hildon_banner_bind_style):
1516 Renamed from hildon_banner_bind_label_style(), now naming the
1517 banner itself as well.
1518 (hildon_banner_show_information),
1519 (hildon_banner_show_information_with_markup),
1520 (hildon_banner_show_animation), (hildon_banner_show_progress):
1521 Name the widgets and labels, based on their type.
1523 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1526 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1528 * src/hildon-note.c (hildon_note_set_property): call
1529 hildon_note_rename() on HildonNote:note-type set.
1530 (hildon_note_rename): Name the note and its label, based on the
1531 HildonNote:note-type property.
1533 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1536 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1538 * src/hildon-pannable-area.c,
1539 (hildon_pannable_area_class_init),
1540 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1541 panning parameters, increased SPS and deceleration factor. Added
1542 also a margin to control fake directions.
1544 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1546 Patch by Sven Herzberg (sven@imendio.com)
1548 * configure.ac: Add missing AM_PROG_CC_C_0
1549 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1551 See NB#101420 (Update unit tests and fix make check)
1553 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1555 This patch was applied before but reverted because it caused
1556 problems, we have changed the main condition and tested the
1557 regressions we detected before and they work ok. We have done a
1558 complete review of the topmost algorithm in order to get a more
1561 * src/hildon-pannable-area.c,
1562 (hildon_pannable_area_get_topmost): Added a new parameter to
1563 filter the the windows that do not include those events.
1564 (hildon_pannable_area_button_press_cb),
1565 (hildon_pannable_area_button_release_cb),
1566 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1567 topmost function, we have added the new parameter.
1569 Fixes: NB#97458 (Pannable area prevents propagation of button
1572 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1574 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1575 if all columns in the selector have an item selected.
1576 (_on_dialog_response): Stop "response" signal emission if there is
1577 any selector column without selected items.
1579 Fixes: NB#101889 (Picker dialog should not close when nothing is
1580 selected in multiple selection list)
1582 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1584 * src/hildon-font-selection-dialog.c
1585 (hildon_font_selection_dialog_class_init),
1586 (hildon_font_selection_dialog_init): Remove the preview
1587 button and dialog, since previewing with default theming is likely
1588 to be overcomplicated. The :preview property has now no effect.
1589 Update documentation blurbs to inform about this.
1591 Fixes: NB#92297 (Preview content is not clearly visible for
1592 default colour text)
1594 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1596 Reviewed the geometry that handles the children size and
1597 scrollbar, now it tries a size and reviews the results depending
1598 on the scrollbars visibility.
1600 * src/hildon-pannable-area.c,
1601 (hildon_pannable_area_realize): Fixed a typo.
1602 (hildon_pannable_area_child_allocate_calculate): Added this
1603 function to calculate the child allocation.
1604 (hildon_pannable_area_size_allocate): Reviewed the allocation
1606 (hildon_pannable_area_check_scrollbars),
1607 (hildon_pannable_area_refresh): Refactored refresh function, this
1608 way we can call the code handling the scrollbars without causing a
1609 size_request, it is interesting in the allocate.
1610 (hildon_pannable_area_init): Replace the callbacks of the
1611 value_changed and changed signals to propertly deal with the
1613 (hildon_pannable_area_grab_notify),
1614 (hildon_pannable_area_initial_effect),
1615 (hildon_pannable_area_launch_fade_timeout),
1616 (hildon_pannable_area_adjust_changed),
1617 (hildon_pannable_area_adjust_value_changed),
1618 (hildon_pannable_area_redraw),
1619 (hildon_pannable_area_button_press_cb),
1620 (hildon_pannable_area_button_release_cb),
1621 (hildon_pannable_area_scroll_cb),
1622 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1623 code and use the new functions adjust_changed and
1624 adjust_value_changed.
1626 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1627 Contact editor dialog)
1629 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1634 * configure.ac: Bump version.
1635 * debian/changelog: Updates.
1637 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1639 * src/hildon-pannable-area.c,
1640 (hildon_pannable_area_get_topmost),
1641 (hildon_pannable_area_button_press_cb),
1642 (hildon_pannable_area_button_release_cb),
1643 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1644 topmost function adding the event mask. We have to try a
1645 differente approach because it is still causing problems (NB#9745,
1648 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1650 * src/hildon-banner.c:
1651 Update the maximum width of timed banners.
1652 (force_to_wrap_truncated): Enforce the maximum text width if the
1655 Fixes: NB#102413 (The text margins (wrapping) in information
1656 banner should be HILDON_MARGIN_TRIPLE)
1658 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1660 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1662 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1663 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1664 bound when calculating the scroll indicator position.
1666 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1667 treat ->lower correctly)
1669 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1671 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1672 expose event handling, since it is not necessary to draw the focus
1675 Fixes: NB#102467 (Do not show highlight on the text in
1678 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1680 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1681 full height of the toolbar for the button and the label.
1683 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1685 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1686 padding before the label and after the button.
1688 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1690 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1692 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1693 Add a GtkVSeparator between the button and the back arrow.
1694 Let the button have automatic size.
1695 Set a name to the widget for theming handling.
1697 Fixes: NB#101793 (Make edit toolbar the same height as window
1698 title bar (use title area theming))
1700 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1702 * src/hildon-helper.c (attach_new_color_element): Fix memory
1705 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1707 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1709 * examples/hildon-button-example.c (common_buttons_window): Don't
1712 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1714 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1715 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1717 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1719 * src/hildon-gtk.c: Check that the window is realized.
1721 Fixes: NB#102225 (Crash setting the progress indicator to a non
1724 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1726 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1727 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1728 instead of modifying the one in the widget style.
1730 Fixes: NB#101043 (Second row of all the command button are
1731 displayed in transparent mode.)
1733 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1735 * src/hildon-date-button.c
1736 * src/hildon-time-button.c: Add gettext macros
1738 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1740 * src/hildon-date-button.c (hildon_date_button_new):
1741 * src/hildon-time-button.c (hildon_time_button_new_step):
1742 Use new logical strings to set the button default title.
1744 Fixes: NB#99915 (Date and Time options are not localised in Date
1747 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1749 * src/hildon-pannable-area.c
1750 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1751 the PANNING_THRESHOLD.
1753 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1755 * src/hildon-pannable-area.c,
1756 (hildon_pannable_area_class_init): Increased the maximum speed.
1757 (hildon_pannable_area_get_property),
1758 (hildon_pannable_area_set_property),
1759 (hildon_pannable_area_timeout): Added a new low friction mode, it
1760 allows the user avoid friction when launching the widget fast
1761 enough. It is interesting to traverse long lists.
1763 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1765 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1766 (+hildon_stackable_window_delete_event): Ignore delete events if
1767 the window is not the topmost one.
1769 Fixes: NB#101698 (Back button long press and delete-event handling)
1771 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1773 * src/hildon-pannable-area.c,
1774 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1775 gtk-dnd-drag-threshold, it was too big. We have defined our own
1776 dnd define and set a smaller value: PANNIG_THRESHOLD.
1778 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1780 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1781 user-defined icons, use always the default one.
1783 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1785 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1787 This patch was applied before but reverted because it caused
1788 problems, we have changed the main condition and tested the
1789 regressions we detected before and they work ok.
1791 * src/hildon-pannable-area.c,
1792 (hildon_pannable_area_get_topmost): Added a new parameter to
1793 filter the the windows that do not include those events. Added
1794 also a condition when finding the window to filter windows that do
1795 not ask for those events.
1796 (hildon_pannable_area_button_press_cb),
1797 (hildon_pannable_area_button_release_cb),
1798 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1799 topmost function, we have added the new parameter.
1801 Fixes: NB#97458 (Pannable area prevents propagation of button
1804 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1806 * tests/check-hildon-color-button.c (START_TEST): do not leak
1809 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1811 * src/hildon-font-selection-dialog.c
1812 (hildon_font_selection_dialog_get_preview_text): Return NULL
1813 instead of FALSE on the g_return_val_if_fail().
1815 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1817 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1818 * src/hildon-date-selector.c
1819 (hildon_date_selector_select_current_date):
1820 Do not compare unsigned integers to be greater than or equal 0,
1821 because it's always TRUE.
1823 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1825 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1826 (hildon_date_selector_constructor): Do not select the current
1827 date until we are handle the "changed" signal, to avoid having bogus
1828 elements in the days model.
1830 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1832 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1833 for num_days, since _month_days() can return a negative value.
1835 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1837 * src/hildon-caption.c (hildon_caption_size_allocate):
1838 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1839 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1841 Initialize allocation variables to 0, to avoid eventually using
1842 unitialized variables.
1844 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1846 * src/hildon-bread-crumb-trail.c
1847 (hildon_bread_crumb_trail_size_allocate):
1848 * src/hildon-calendar.c (hildon_calendar_set_background):
1849 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1850 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1851 * src/hildon-seekbar.c (hildon_seekbar_init):
1852 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1853 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1854 * src/hildon-touch-selector-entry.c
1855 (hildon_touch_selector_get_text_from_model):
1856 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1857 * src/hildon-window.c (hildon_window_finalize):
1859 Remove many unused variables.
1861 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1863 * src/hildon-seekbar.c: (hildon_seekbar_init),
1864 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1866 Remove unnecessary g_assert() calls.
1868 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1870 * src/hildon-caption.c: (hildon_caption_expose),
1871 (hildon_caption_set_property), (hildon_caption_init),
1872 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1873 (hildon_caption_size_request), (hildon_caption_size_allocate),
1874 (hildon_caption_forall), (hildon_caption_set_separator),
1875 (hildon_caption_activate), (hildon_caption_set_child_expand),
1876 (hildon_caption_set_label_text),
1877 (hildon_caption_get_label_alignment):
1879 Remove unnecessary g_assert() calls.
1881 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1883 * src/hildon-banner.c
1884 (hildon_banner_map, hildon_banner_init): Make banner temporary
1885 before mapping it to avoid closing other temporary windows, but
1886 make it non-temporary afterwards to avoid being closed by other
1887 non-temporary windows.
1888 (-hildon_banner_client_event, hildon_banner_init):
1889 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1891 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1894 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1896 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1899 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1901 * src/hildon-remote-texture.c
1902 * src/hildon-remote-texture.h
1903 * src/hildon-remote-texture-private.h
1904 * examples/hildon-remote-texture-example.c:
1905 Updates/fixes to remote-texture and its example.
1907 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1909 Patch by Mox Soini (ext-mox.soini@nokia.com)
1911 * src/hildon-code-dialog.c: Update logical id.
1912 * src/hildon-set-password-dialog.c: Update logical id.
1914 Fixes: NB#100646 (Logical strings is shown for ok in set
1915 password,Password needed dialogs)
1917 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1920 * src/hildon-remote-texture.c
1921 * src/hildon-remote-texture.h
1922 * src/hildon-remote-texture-private.h
1924 Added remote texture widget (for Clutter shared memory textures)
1926 * examples/hildon-remote-texture-example.c
1927 * examples/Makefile.am
1928 Added example file for remote texture usage
1930 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1932 * configure.ac: post release version bump.
1933 * debian/changelog: version bump.
1935 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1940 * configure.ac: Bump version.
1941 * debian/changelog: Updates.
1943 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1945 * src/hildon-date-selector.c (hildon_date_selector_init)
1946 (hildon_date_selector_constructor): Don't connect to the "changed"
1947 signal until the selector is completely constructed.
1949 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1951 * src/hildon-touch-selector.c: (_create_new_column),
1952 (hildon_touch_selector_append_column),
1953 (hildon_touch_selector_set_column_selection_mode),
1954 (hildon_touch_selector_set_active),
1955 (hildon_touch_selector_select_iter):
1956 Emit the HildonTouchSelector::changed signal every time selection
1957 is changed in any of the methods above. This behavior was already
1958 documented but not fully functional.
1960 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1961 selection is programmatically changed)
1963 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1965 * doc/hildon-sections.txt: Remove obsolete icon
1966 sizes from here as well.
1968 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1970 * examples/hildon-stackable-window-example.c (add_window): Remove
1973 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1975 * src/hildon-app-menu.c
1976 (hildon_app_menu_show): Check whether the parent window of a menu
1977 is topmost before popping it up.
1979 Fixes: NB#100468 (Application menu window is launched even when a
1980 new secondary-window/dialog is pending to be shown/realized.)
1982 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1984 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1987 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1989 Patch by Mox Soini (ext-mox.soini@nokia.com)
1991 * src/hildon-banner.c: (hildon_banner_show_animation):
1992 use stylus size instead of obsolete note size.
1993 * src/hildon-defines.h: Update icon sizes.
1995 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1997 * src/hildon-touch-selector-entry.c:
1998 (hildon_touch_selector_entry_init): Disable unsupported
2000 (hildon_touch_selector_entry_get_text_column): Emit a warning
2001 if an unsupported input modes is used and explicitile state
2002 these modes in the documentation.
2004 Fixes: NB#99802 (Hildon touch selector entry not working properly
2005 for some of the input modes)
2007 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2009 * src/hildon-pannable-area.c,
2010 (hildon_pannable_area_init): Added the changed signal handlers of
2013 Fixes: NB#100320 (HildonPannableArea does not listen to
2014 GtkAdjustment "change" signals)
2016 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2018 * doc/hildon-sections.txt
2019 * src/hildon-window-private.h
2020 * src/hildon-window.h
2021 * src/hildon-window.c (hildon_window_init)
2022 (hildon_window_realize, hildon_window_unrealize)
2023 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2024 (hildon_window_size_request, hildon_window_size_allocate)
2025 (hildon_window_forall, hildon_window_show_all)
2026 (hildon_window_destroy, +paint_edit_toolbar)
2027 (+hildon_window_set_edit_toolbar):
2028 New hildon_window_set_edit_toolbar() method, to add a
2029 HildonEditToolbar to a window without having to pack it manually.
2031 Reorganize hildon_window_size_allocate()
2033 * src/hildon-edit-toolbar.c: Update documentation.
2035 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2036 example to use the new API.
2038 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2040 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2042 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2043 Remove from stack before calling parent's hide.
2045 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2047 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2048 window is removed from the middle of the stack, update the
2049 transiency of the previous one.
2051 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2054 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2056 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2057 block/unblock the signal handler if it's not actually being used.
2058 Fixes some critical warnings.
2060 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2062 Based on a patch by Iván Gómez (igomez@igalia.com)
2064 * src/hildon-banner.c
2068 * src/hildon-pannable-area.c
2069 * src/hildon-picker-dialog.c
2070 * src/hildon-wizard-dialog.h
2071 * src/hildon-wizard-dialog.c: Documentation updates.
2073 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2074 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2076 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2078 * configure.ac: post release version bump.
2079 * debian/changelog: version bump.
2081 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2086 * configure.ac: Bump version.
2087 * debian/changelog: Updates.
2089 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2091 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2092 a stock icon nor change the relief of the back arrow.
2094 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2095 graphics from theme)
2097 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2099 * src/hildon-button.c (hildon_button_set_alignment): Use
2100 priv->alignment if the button has no child yet.
2102 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2104 * src/hildon-button.c: (hildon_button_init): Set the
2105 button style during initialization to give it the proper
2108 Fixes: NB#99713 (HildonButton value label color is wrong)
2110 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2112 * src/hildon-touch-selector.c: Document
2113 hildon_touch_selector_center_on_selected()
2115 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2117 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2118 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2119 all menu items, but not the menu itself.
2120 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2121 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2122 items after adding them to the menu so keyboard accelerators work.
2123 (hildon_app_menu_show): Don't show the menu if it contains items
2124 but none of them are visible.
2126 * examples/hildon-app-menu-example.c (create_menu): Use
2127 gtk_widget_show_all() to show all menu items.
2129 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2131 * src/hildon-picker-dialog.c:
2132 (-_update_title_on_selector_changed_cb),
2133 (-_dialog_update_title): Removed.
2134 (_select_on_selector_changed_cb), (_on_dialog_response),
2135 (on_selector_columns_changed): Do not update the dialog title.
2136 (setup_interaction_mode): Do not connect to
2137 HildonTouchSelector::changed signal if there's a "done" button, as
2138 the dialog title doesn't need to be updated.
2140 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2143 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2145 Patch by Kristian Rietveld (kris@imendio.com)
2147 * src/hildon-touch-selector.c: (_create_new_column): Use new
2148 GtkTreeView::hildon-row-tapped signal to react to user interactions
2149 instead of ::changed.
2151 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2152 with some dynamic tree model)
2154 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2156 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2157 (+screen_size_changed, +label_size_request)
2158 (hildon_note_class_init): Make the Hildon information note have a
2159 minimum height, and make its text hvae a maximum width.
2161 Fixes: NB#98614 (Hildon information note (background) should have
2162 minimum height and maximum text width)
2164 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2166 * src/hildon-banner.h
2167 * src/hildon-banner.c (hildon_banner_show_information)
2168 (hildon_banner_show_informationf)
2169 (hildon_banner_show_information_with_markup): Update documentation
2170 to reflect that the icon_name parameter is not used anymore.
2171 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2172 Remove all code from these functions and mark them as deprecated.
2173 (hildon_banner_show_progress): Mark as deprecated.
2175 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2177 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2179 * src/hildon-pannable-area.c,
2180 (hildon_pannable_area_class_init),
2181 (tranparency_color),
2182 (hildon_pannable_draw_vscroll),
2183 (hildon_pannable_draw_hscroll),
2184 (hildon_pannable_area_expose_event): Added a new way to render the
2185 scrollbars of the pannable area avoiding using cairo at all. This
2186 way we improve the performance of the pannable area rendering. The
2187 cairo rendering procedure is still in the code, we can control
2188 which one to use changing the value of the define
2189 USE_CAIRO_SCROLLBARS.
2191 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2193 * configure.ac: post release version bump.
2194 * debian/changelog: version bump.
2196 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2201 * configure.ac: Bump version.
2202 * debian/changelog: Updates.
2204 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2206 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2207 banners instead of destroying them when they receive a button
2210 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2212 Reverted commit 34028, it was causing regressions, probably the
2213 topmost condition is not correct, we have to check it in more
2214 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2215 propagation of button press events)
2217 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2219 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2220 that the selection is not empty before attempting to retrieve the
2221 current ampm selection.
2223 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2225 * src/hildon-picker-button.c:
2226 (hildon_picker_button_on_dialog_response): Directly update the
2227 button contents when required instead of calling _selection_changed.
2229 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2231 * src/hildon-program.c (hildon_program_update_top_most): Update
2232 'is-topmost' property also when wm_hints is not set.
2234 Fixes: NB#98383 (is-topmost signal is not emitted when task
2235 switcher is clicked.)
2237 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2239 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2243 * src/hildon-animation-actor.c,
2244 * src/hildon-animation-actor.h: Added the animation actor class,
2245 this widget represents an animation actor for WM-assisted
2246 animation effects in the Hildon framework.
2248 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2250 * src/hildon-window-stack-private.h
2251 * src/hildon-window-stack.c
2252 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2253 Avoid calling gtk_widget_show() again indirectly from
2254 hildon_stackable_window_show()
2256 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2258 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2261 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2263 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2264 (hildon_time_selector_init): Move the construction of the hours and
2265 ampm columns to the constructor to preserve the order the columns
2268 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2270 * src/hildon-picker-dialog.c:
2271 (hildon_picker_dialog_class_init): Connect a realize method.
2272 (+hildon_picker_dialog_realize): Setup the interaction mode here
2274 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2275 yet, do it during the realize instead.
2276 (_on_dialog_response):
2277 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2278 if the widget is not realized, to avoid the dialog response before it
2281 Avoid premature responses in the HildonPickerDialog that can cause it
2282 to be hidden before it's even shown.
2284 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2286 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2287 (on_selector_columns_changed), (requires_done_button),
2288 (+prepare_action_area), (setup_interaction_mode),
2289 (_hildon_picker_dialog_set_selector):
2291 Split the interaction mode setup into preparation of the
2292 action area (prepare_action_area()) and the connection of
2293 the signals in setup_interaction_mode() and update the code to
2296 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2298 * src/hildon-pannable-area.c,
2299 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2300 per second to 15, we will check if this is ok regarding
2303 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2305 * src/hildon-pannable-area.c,
2306 (hildon_pannable_axis_scroll): Avoid resize if we already have
2307 reached overshoot_max.
2309 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2311 * src/hildon-pannable-area.c,
2312 (hildon_pannable_area_init),
2313 (hildon_pannable_area_realize),
2314 (hildon_pannable_area_size_allocate),
2315 (hildon_pannable_area_map),
2316 (hildon_pannable_area_unmap),
2317 (hildon_pannable_draw_vscroll),
2318 (hildon_pannable_draw_hscroll),
2319 (hildon_pannable_area_expose_event),
2320 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2321 pannable are to avoid the expose events go to the window and
2322 redraw the window. We save this way that part of the stack and the
2323 paint_boxes. We had to change the positions of the elements when
2326 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2328 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2329 * src/hildon-color-chooser-dialog.c:
2330 (hildon_color_chooser_dialog_init):
2331 * src/hildon-font-selection-dialog.c:
2332 (hildon_font_selection_dialog_init),
2333 (hildon_font_selection_dialog_show_preview):
2334 * src/hildon-get-password-dialog.c:
2335 * src/hildon-login-dialog.c:
2336 * src/hildon-set-password-dialog.c:
2337 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2338 * src/hildon-time-picker.c: (hildon_time_picker_init):
2340 Remove obsolete logical string IDs and update to the appropriate ones.
2342 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2344 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2346 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2347 that happens if the window hasn't been realized yet.
2349 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2350 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2352 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2354 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2355 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2358 Fixes: NB#98537 (Device hangs in account settings dialog)
2360 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2362 * configure.ac: post release version bump.
2363 * debian/changelog: version bump
2365 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2370 * configure.ac: Bump version.
2371 * debian/changelog: Updates.
2373 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2375 Added a new function to the HildonTimeButton widget that allows to
2376 change the step of the minutes in the selector associated with the
2377 button: hildon_time_button_new_step
2379 * src/hildon-time-button.c,
2380 (hildon_time_button_init),
2381 (hildon_time_button_new),
2382 (hildon_time_button_new_step):
2383 * src/hildon-time-button.h: Added the new function and refactored
2385 * examples/hildon-time-button-example.c,
2386 (main): We have replaced the function without parameters with the
2387 function with the steps set to 5
2389 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2391 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2393 * src/hildon-time-selector.c,
2394 (hildon_time_selector_class_init),
2395 (hildon_time_selector_constructor),
2396 (hildon_time_selector_get_property),
2397 (hildon_time_selector_set_property),
2398 (_create_minutes_model),
2399 (hildon_time_selector_new_step),
2400 (hildon_time_selector_set_time),
2401 * src/hildon-time-selector.h: Added a new property to the
2402 HildonTimeSelector (minutes-step), we use that property to control
2403 the steps between the minutes in the list of the selector. We have
2404 added a new function to the API to create a widget changing the
2405 step: hildon_time_selector_new_step.
2407 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2409 * src/hildon-time-selector.c,
2410 (hildon_time_selector_class_init),
2411 (hildon_time_selector_constructor),
2412 (hildon_time_selector_init): Overrided the construct function when
2413 creating the time selector object. We have moved the minutes model
2414 handling code from the init to the new construction function:
2415 hildon_time_selector_constructor.
2417 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2419 * examples/hildon-date-button-example.c: (main): Use the new
2420 hildon_date_button_new_with_year_range() method in the example.
2421 * src/hildon-date-button.c:
2422 (+hildon_date_button_new_with_year_range): New public method
2423 to conveniently create a HildonDateButton with a custom year range
2424 in its HildonDateSelector.
2425 * src/hildon-date-button.h: Add the new public method definition.
2427 Fixes: NB#97908 (Not possible to change the year range in
2428 HildonDateSelector/HildonDateButton)
2430 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2432 * src/hildon-date-selector.c:
2433 (+hildon_date_selector_set_property),
2434 (+hildon_date_selector_get_property),
2435 (hildon_date_selector_class_init): Install new properties "min-year"
2436 and "max-year" to define boundaries for the year column.
2437 (_create_year_model): Use the boundary properties to populate the model.
2438 (+hildon_date_selector_new_with_year_range): New public method to
2439 create a HildonDateSelector with a user defined year range.
2440 (hildon_date_selector_select_current_date): Use the new boundaries to
2441 calculate the iterator of current year.
2442 * src/hildon-date-selector.h: Add the new public method definition.
2444 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2446 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2447 Install a constructor method.
2448 (+hildon_date_selector_construct_ui): construct the widget.
2449 (+hildon_date_selector_constructor): new constructor.
2450 (+hildon_date_selector_init): move out widget construction code to
2451 the new constructor.
2453 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2455 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2456 that there's actually a month or year selected before obtaining them.
2457 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2458 of the HildonTouchSelector::changed signal, as it was emitted on every
2459 single item selection.
2461 Fix some warnings and possible crashers due to the selection restoring.
2463 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2465 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2466 the signal handlers only after creating the dialog instead of on every
2469 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2471 * src/hildon-button.c (hildon_button_init)
2472 * src/hildon-check-button.c (hildon_check_button_init)
2473 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2474 focus when clicked by default.
2476 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2478 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2481 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2483 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2484 Alejandro G. Castro (alex@igalia.com)
2486 * src/hildon-picker-dialog.c:
2487 (hildon_picker_dialog_class_init): install new "center-on-show"
2489 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2490 (hildon_picker_dialog_set_property): add setter code for the new
2492 (hildon_picker_dialog_get_property): add getter code for the new
2494 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2495 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2498 Fixes: NB#92849 (Selected item is not always visible when
2499 HildonTouchSelector is shown)
2501 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2503 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2504 Alejandro G. Castro (alex@igalia.com)
2506 * src/hildon-touch-selector.c:
2507 (_create_new_column): Do not connect to the "realize" signal of the
2509 (hildon_touch_selector_append_column): center on the selected items
2510 when a new column is appended.
2511 (hildon_touch_selector_select_iter): Factor out the code to select a
2512 column to hildon_touch_selector_scroll_to().
2513 (+search_nearest_element): Method to retrieve the nearest selected
2514 element to the visible area of the pannable area in a column.
2515 (+on_realize_cb): scroll to the initially selected item.
2516 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2517 the pannable area is realized, otherwise delay this until it is.
2518 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2519 selected items of a given column.
2520 (+hildon_touch_selector_center_on_selected): Public method to center
2521 all columns on the nearest selected item.
2522 * src/hildon-touch-selector.h: Add definition for
2523 hildon_touch_selector_center_on_selected().
2525 Implement public API to ensure visibility of all selected items in
2526 a HildonTouchSelector.
2528 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2530 Fixed a problem in the fading when calling the scroll_to API, and
2531 improve scrollbar fading handling.
2533 * src/hildon-pannable-area.c,
2534 (hildon_pannable_area_grab_notify): avoid the timeout when the
2536 (hildon_pannable_area_button_press_cb),
2537 (hildon_pannable_area_motion_notify_cb): Code style changes.
2538 (hildon_pannable_area_button_release_cb): Review the conditions
2539 when releasing the mouse button to avoid unrequired fading
2541 (hildon_pannable_area_scroll_to): Do not calculate and set the
2542 velocity if the scroll is not required.
2544 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2546 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2547 Don't check whether the new selector is NULL: it cannot be.
2548 Hold a reference to the selector while doing the replacement.
2550 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2552 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2553 unnecessary size_request in a removed widget.
2555 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2557 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2558 an unnecessary reference tracking that was leaking.
2560 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2562 Added delayed motion notify event handling, this way we can
2563 discard redrawing if more than 25 events arrive per second.
2565 * src/hildon-pannable-area.c,
2566 (hildon_pannable_area_init): Initialized the new private atributes
2567 controlling this timeout
2568 (hildon_pannable_area_dispose): Remove the timeout that controls
2569 the motion notify events.
2570 (hildon_pannable_area_scroll): Added a condition to control the
2571 use of the acceleration.
2572 (hildon_pannable_area_motion_event_scroll_timeout),
2573 (hildon_pannable_area_motion_event_scroll): Added this two
2574 functions, they handle the motion notify events inside the
2576 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2577 to the scroll method with the new function.
2578 (hildon_pannable_area_button_release_cb): We have to remove the
2579 timeout handler and move to the last position if the last motion
2580 events were not handled.
2582 Fixes: NB#97028 (Pannable area updates on every motion event)
2584 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2586 * src/hildon-pannable-area.c,
2587 (hildon_pannable_area_get_topmost): Added a new parameter to
2588 filter the the windows that do not include those events. Added
2589 also a condition when finding the window to filter windows that do
2590 not ask for those events.
2591 (hildon_pannable_area_button_press_cb),
2592 (hildon_pannable_area_button_release_cb),
2593 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2594 topmost function, we have added the new parameter.
2596 Fixes: NB#97458 (Pannable area prevents propagation of button
2599 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2601 * src/hildon-pannable-area.c,
2602 (hildon_pannable_area_initial_effect): Added controls before
2603 launching the timeout and the idle functions.
2604 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2605 of the method, in some situations it can return with TRUE and 0 in
2607 (hildon_pannable_area_button_press_cb): We do not need to set
2608 DELAY for fading out here.
2610 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2612 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2614 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2615 post-cleaning if the selection is not NULL.
2617 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2619 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2620 all items before restoring the selection.
2622 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2624 * src/hildon-touch-selector.c:
2625 (+hildon_touch_selector_unselect_all):
2626 * src/hildon-touch-selector.h: New API to unselect all items in a
2627 column of the touch selector.
2629 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2631 * src/hildon-pannable-area.c,
2632 (hildon_pannable_area_redraw): Added a call to the refresh
2633 function inside the redraw because apparently in some cases the
2634 change in the adjustment does not imply a size allocate.
2636 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2637 despite the view not being scrollable)
2639 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2641 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2642 leak. Check for NULL before attempting to set the window title.
2644 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2646 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2647 whether to show or not the 'Done' button each time the dialog is
2648 shown, as it depends on the HildonTouchSelector selection mode.
2650 Fixes: NB#96226 (In multiple selection mode Done button is shown
2651 sometimes in listpicker)
2653 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2655 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2656 for the number of columns in the HildonTouchSelector more than once.
2658 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2660 * src/hildon-touch-selector.c: Minor documentation fixes.
2662 * src/hildon-picker-dialog.c (+_dialog_update_title)
2663 (_select_on_selector_changed_cb)
2664 (_update_title_on_selector_changed_cb)
2665 (on_selector_columns_changed): Update dialog title when there's no
2666 'Done' button and also when the number of columns in the selector
2670 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2671 (+_selection_changed, hildon_picker_button_on_dialog_response)
2672 (hildon_picker_button_selector_selection_changed)
2673 (+hildon_picker_button_selector_columns_changed)
2674 (hildon_picker_button_set_selector): Update button value and emit
2675 'value-changed' when the number of columns in the selector
2679 Fixes: NB#96225 (Dialog titles are not shown according to the
2680 values selected in the list picker)
2682 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2684 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2685 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2686 New "arrow-width" and "arrow-height" style properties to set the
2687 size of the arrow button.
2688 Set name of arrow button ("hildon-edit-toolbar-arrow").
2690 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2691 graphics from theme)
2693 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2695 * src/hildon-picker-button.c:
2696 (hildon_picker_button_selector_selection_changed): Use
2697 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2698 the dialog is present.
2700 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2701 the selection is accepted in the dialog)
2703 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2705 * src/hildon-color-chooser.h
2706 * src/hildon-color-chooser-dialog.h:
2707 Added G_BEGIN_DECLS and G_END_DECLS
2709 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2711 (_clean_current_selection): plug a leak in the list.
2713 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2715 * src/hildon-picker-dialog.c:
2716 (+free_path_list): Method to free a GList of GtkTreePaths.
2717 (_clean_current_selection), (_save_current_selection),
2718 (_restore_current_selection): Save the current selection in
2719 as a list of lists, to support multiple selection properly.
2721 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2723 patch by Claudio Saavedra (csaavedra@igalia.com)
2725 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2726 Store the press position.
2727 (+hildon_text_view_button_release_event): If the release position is
2728 close enough to the press position, move the cursor here. Otherwise,
2730 (hildon_text_view_class_init): Override GtkTextView press, release, and
2731 motion event handlers, disabling this way text selection through
2732 pointer interaction, and allowing the container widget to handle the
2735 Fixes: NB#95828 (HildonTextView functionality)
2737 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2739 Based on a patch by Iván Gómez (igomez@igalia.com)
2741 * src/hildon-button.[ch]
2742 * src/hildon-calendar.c
2743 * src/hildon-check-button.c
2744 * src/hildon-date-editor.c
2745 * src/hildon-date-selector.c
2746 * src/hildon-picker-button.c
2747 * src/hildon-time-editor.c
2748 * src/hildon-time-selector.c
2749 * src/hildon-touch-selector.[ch]:
2750 Documentation updates
2752 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2754 * src/hildon-pannable-area.c,
2755 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2756 threshold, it was required due to X events handling.
2758 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2760 * src/hildon-pannable-area.c,
2761 (hildon_pannable_area_grab_notify),
2762 (hildon_pannable_area_initial_effect),
2763 (hildon_pannable_area_button_press_cb),
2764 (hildon_pannable_area_button_release_cb),
2765 (hildon_pannable_area_scroll_cb),
2766 (hildon_pannable_area_scroll_to): Review the timeout management of
2767 the scrollbar, the frecuency was incorrectly set.
2769 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2771 * src/hildon-picker-button.c:
2772 (+hildon_picker_button_on_dialog_response),
2773 (hildon_picker_button_clicked): Present the dialog instead of
2774 running it with gtk_dialog_run().
2776 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2779 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2781 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2782 (hildon_app_menu_finalize): When a window is hidden it doesn't
2783 emit notify::is-topmost, so make sure than the menu also
2784 disappears in that case.
2785 (parent_window_topmost_notify): Renamed from parent_window_hidden
2787 Fixes: NB#94460 (stackable window's menu is not closed when its
2790 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2792 * src/hildon-touch-selector-entry.c:
2793 (+hildon_touch_selector_entry_set_input_mode),
2794 (+hildon_touch_selector_entry_get_input_mode):
2795 * src/hildon-touch-selector-entry.h: New methods to access the input
2796 mode in the selector's entry.
2798 Fixes: NB#93410 (API required for setting IM mode in
2799 HildonTouchSelectorEntry)
2801 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2803 * configure.ac: post release version bump.
2804 * debian/changelog: version bump
2806 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2811 * configure.ac: Bump version.
2812 * debian/changelog: Updates.
2814 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2816 * src/hildon-touch-selector.c:
2817 (_hildon_touch_selector_has_multiple_selection): No need
2818 to initialize the variables here.
2820 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2822 * src/hildon-note-private.h
2823 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2824 (hildon_note_finalize, hildon_note_rebuild): Close information
2825 notes when they receive a button press.
2827 Fixes: NB#89890 (Information notes does not get disappeared after
2830 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2832 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2833 mark from the wizard title, as it's not really necessary. Also,
2834 do not display the page title if not set.
2836 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2838 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2839 (parent_window_hidden): Use the window's "is-topmost" property to
2840 detect when to hide the menu.
2842 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2844 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2845 (hildon_app_menu_finalize): If the parent window of the menu is
2846 hidden, hide the menu too.
2848 Fixes: NB#94460 (stackable window's menu is not closed when its
2851 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2854 * debian/libhildon1-examples.install
2856 * examples/Makefile.am:
2857 Use dh_install to install all examples.
2858 Use DEB_SRCDIR instead of defining SOURCE_DIR
2860 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2862 * configure.ac: post release version bump.
2863 * debian/changelog: version bump
2865 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2870 * configure.ac: bump version
2871 * debian/changelog: updates
2872 * debian/control: bump gtk+ dependency
2874 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2876 patch by Christian Dywan (christian@imendio.com)
2878 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2879 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2881 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2883 * src/hildon-check-button.c (hildon_check_button_init)
2884 (hildon_check_button_class_init, hildon_check_button_style_set)
2885 (hildon_check_button_apply_style):
2886 New "checkbox-size" style property.
2888 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2889 larger / configurable size)
2891 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2893 * configure.ac: post release version bump.
2894 * debian/changelog: version bump
2896 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2901 * configure.ac: bump version
2902 * debian/changelog: updates
2904 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2906 * doc/hildon-sections.txt
2907 * src/hildon-pannable-area.c
2908 * src/hildon-program.c
2909 * src/hildon-time-editor.c
2910 * src/hildon-touch-selector-entry.c:
2912 More documentation updates.
2914 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2916 * doc/hildon-sections.txt
2917 * src/hildon-caption.c
2918 * src/hildon-code-dialog.c
2919 * src/hildon-color-button.c
2920 * src/hildon-controlbar.c
2921 * src/hildon-date-editor.c
2922 * src/hildon-date-selector.c
2923 * src/hildon-edit-toolbar.c
2924 * src/hildon-find-toolbar.c
2925 * src/hildon-font-selection-dialog.c
2927 * src/hildon-program.c
2928 * src/hildon-range-editor.c
2929 * src/hildon-seekbar.c
2930 * src/hildon-time-editor.c
2931 * src/hildon-time-selector.c
2932 * src/hildon-volumebar-range.c
2933 * src/hildon-volumebar.c
2934 * src/hildon-vvolumebar.c
2935 * src/hildon-weekday-picker.c
2936 * src/hildon-window.c
2937 * src/hildon-wizard-dialog.c:
2939 Lots of documentation fixes.
2941 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2943 Patch contributed by Iván Gómez (igomez@igalia.com)
2945 * src/hildon-check-button.c:
2946 * src/hildon-date-button.c:
2947 * src/hildon-date-selector.c:
2948 * src/hildon-dialog.c:
2949 * src/hildon-edit-toolbar.c:
2950 * src/hildon-entry.c:
2951 * src/hildon-picker-button.c:
2952 * src/hildon-program.c:
2953 * src/hildon-text-view.c:
2954 * src/hildon-time-button.c:
2955 * src/hildon-touch-selector-entry.c:
2956 * src/hildon-window-stack.c:
2958 Add more "since" tags to the new API.
2960 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2962 * doc/hildon-sections.txt: Add below method.
2963 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2964 version for the hildonized scale.
2965 * src/hildon-gtk.h: Add the definition.
2967 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2969 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2971 * doc/hildon-sections.txt: Add missing entries for new methods.
2973 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2975 Added API to pannable are in order to get its adjustments. We
2976 added two properties to manage the values we had in the private
2979 * src/hildon-pannable-area.c:
2980 (hildon_pannable_area_class_init): Added hadjustment and
2981 vadjustment properties in order to expose horizontal and vertical
2983 (hildon_pannable_area_get_property),
2984 (hildon_pannable_area_set_property): Added code to handle the new
2986 (hildon_pannable_area_get_hadjustment),
2987 (hildon_pannable_area_get_vadjustment): API functions to get the
2989 * src/hildon-pannable-area.h:
2990 (hildon_pannable_area_get_hadjustment),
2991 (hildon_pannable_area_get_vadjustment): API functions to get the
2994 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2996 Fixed some leaks, after valgrinding.
2998 * src/hildon-touch-selector.c:
2999 (_default_print_func): Fixed a leak.
3000 (hildon_touch_selector_append_column): Fixed a leak.
3001 * src/hildon-date-button.c:
3002 (hildon_date_button_init): Fixed a leak.
3003 * src/hildon-date-selector.c
3004 (hildon_date_selector_finalize): Fixed a leak.
3006 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3008 Based on a patch by Christian Dywan (christian@imendio.com)
3010 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3012 * src/hildon-gtk.h: Add definition.
3014 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3016 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3018 * src/hildon-picker-button.c: (hildon_picker_button_init),
3019 (hildon_picker_button_new): Set the HildonButton::style property
3020 in the init method, to propagate the value to the derived classes.
3022 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3024 * src/hildon-button.c: (hildon_button_class_init): Do not make
3025 the "style" property a construct property.
3027 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3029 * src/hildon-wizard-dialog.h
3030 * src/hildon-wizard-dialog.c
3031 (hildon_wizard_dialog_set_forward_page_func)
3032 * src/hildon-pannable-area.h
3033 * src/hildon-pannable-area.c
3034 (hildon_pannable_area_set_size_request_policy):
3035 Documentation fixes.
3037 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3039 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3041 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3043 * doc/hildon-sections.txt: Added sections file.
3045 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3048 * src/*.[ch]: Updates.
3050 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3052 * examples/hildon-progress-indicator-example.c: new file
3053 * examples/Makefile.am: include the new example program
3055 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3057 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3059 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3061 * configure.ac: post release version bump
3062 * debian/changelog: version bump
3064 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3069 * configure.ac: bump version
3070 * debian/changelog: updates
3071 * debian/control: bump gtk+ dependency
3073 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3075 * src/hildon-dialog.c: Mark as deprecated.
3076 * src/hildon-dialog.h: Mark as deprecated.
3077 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3078 from HildonDialog and still work, even if
3079 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3080 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3082 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3083 maemo changes) instead)
3085 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3087 * src/hildon-pannable_area.h:
3088 * src/hildon-pannable_area.c:
3089 (hildon_pannable_area_class_init),
3090 (hildon_pannable_area_set_property),
3091 (hildon_pannable_area_get_property),
3092 (hildon_pannable_area_size_request),
3093 (hildon_pannable_area_get_size_request_policy),
3094 (hildon_pannable_area_set_size_request_policy): Added new API
3095 allowing applications to control the request policy. Now they can
3096 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3097 children allocation (HILDON_MOVEMENT_CHILDREN).
3099 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3103 (hildon_gtk_tree_view_set_ui_mode)
3104 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3105 mode of treeviews and iconviews.
3107 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3109 * src/hildon-touch-selector-entry.c:
3110 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3111 of a GtkEntry to get proper theming.
3113 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3114 widget, not GtkEntry)
3116 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3118 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3119 no HildonWizardDialogPageFunc.
3121 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3123 Patch contributed by Iván Gómez (igomez@igalia.com)
3125 * src/hildon-app-menu.c:
3126 * src/hildon-button.c:
3127 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3128 * src/hildon-stackable-window.c:
3129 * src/hildon-time-selector.c:
3130 * src/hildon-touch-selector.c:
3131 * src/hildon-window.c:
3133 Add more "since" tags to the new API in hildon 2.2.
3135 2008-12-05 Tim Janik <timj@imendio.com>
3137 Patch contributed by Christian Dywan (christian@imendio.com)
3139 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3140 HildonSizeType, which are supplied by Gtk+ now.
3142 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3144 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3145 (with maemo changes) instead)
3147 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3149 Patch contributed by Iván Gómez (igomez@igalia.com)
3151 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3154 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3156 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3157 (some_page_func), (main): Update the example to use a
3158 HildonWizardDialogPageFunc function.
3160 * src/hildon-wizard-dialog-private.h: Add private data for
3161 the HildonWizardDialogPageFunc function usage.
3163 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3164 (destroy), (hildon_wizard_dialog_init), (response),
3165 (hildon_wizard_dialog_set_forward_page_func):
3166 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3167 that applications can use to stop a HildonWizardDialog to jump to
3170 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3173 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3175 * src/hildon-program.h
3176 * src/hildon-program-private.h
3177 * src/hildon-program.c (hildon_program_init)
3178 (hildon_program_set_common_app_menu)
3179 (hildon_program_get_common_app_menu):
3180 New API for setting a common HildonAppMenu for all
3181 HildonStackableWindows registered with the HildonProgram.
3183 * src/hildon-stackable-window.c
3184 (hildon_stackable_window_toggle_menu):
3185 Use the common HildonAppMenu if a window doesn't have a specific
3188 * src/hildon-app-menu-private.h
3189 * src/hildon-app-menu.c
3190 (hildon_app_menu_get_parent_window):
3191 Function to obtain the window a HildonAppMenu is attached to.
3192 (hildon_app_menu_set_parent_window):
3193 Hide the menu if the parent window is set to NULL.
3195 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3197 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3198 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3199 search widget to popup.
3201 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3203 * configure.ac: post release version bump
3204 * debian/changelog: version bump
3206 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3211 * configure.ac: bump version
3212 * debian/changelog: updates
3214 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3216 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3218 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3219 (hildon_window_stack_window_realized)
3220 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3221 Set the leader GdkWindow when a window is stacked and realized,
3222 unset it when it's unstacked.
3223 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3225 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3227 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3229 * src/hildon-stackable-window.h
3230 * src/hildon-window-stack.h:
3231 Protect definition of HildonWindowStack using the preprocessor.
3233 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3235 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3236 Fix warning if all menu items are hidden.
3238 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3240 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3242 * src/hildon-controlbar.c:
3243 * src/hildon-hvolumebar.c:
3244 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3245 Multiple scale size defines updates.
3247 Fixes: NB#94322 (Scale Updates)
3249 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3251 * examples/hildon-app-menu-example.c (create_menu)
3252 Show items after adding them to the menu, as in the future the
3253 menu will no longer call gtk_widget_show() on the added items.
3255 * src/hildon-app-menu.c:
3256 Update example as explained above.
3258 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3260 * src/hildon-app-menu.c
3261 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3262 Make sure that all menu items have finger height.
3264 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3266 * src/hildon-picker-dialog.c:
3267 (_on_dialog_response), (_save_current_selection),
3268 (_restore_current_selection), (_clean_current_selection),
3269 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3270 Defined new functions in order to save the current internal selector
3271 selection previous open the dialog, in case that the use cancel the
3272 interaction, so the widget restores the previous selection.
3274 Fixes: NB#92032 (In calendar application, date values in 'new event'
3277 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3279 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3281 * src/hildon-button.c: Add a reference to the button examples in
3282 hildon-button-example.c
3284 * examples/hildon-button-example.c: Added examples of the most
3285 common button layouts.
3287 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3289 * src/hildon-app-menu.c (hildon_app_menu_show)
3290 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3292 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3294 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3296 * src/hildon-picker-dialog.c:
3297 (hildon_picker_dialog_init): Initialize the signal id for
3298 HildonTouchSelector::columns-changed.
3299 (+on_selector_columns_changed): Set up the interaction mode everytime a
3300 column is added or removed from the HildonTouchSelector.
3301 (_hildon_picker_dialog_set_selector): Connect to
3302 HildonTouchSelector::columns-changed and keep track of it.
3304 Make sure to update the interaction mode of the dialog everytime a
3305 column is added or removed in the HildonTouchSelector.
3307 Fixes: NB#93228 (Done button is not shown always in listpicker)
3309 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3311 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3312 a new ::columns-changed signal.
3313 (hildon_touch_selector_append_column): Emit ::columns-changed.
3314 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3316 Add a ::columns-changed signal, emitted when the number of columns in a
3317 HildonTouchSelector changes.
3319 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3321 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3322 (_hildon_picker_dialog_set_selector): Factor out the code
3323 to set up the dialog interaction mode.
3325 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3327 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3328 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3329 to signal_changed_id.
3331 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3333 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3336 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3338 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3339 Updated the logical ids related to ampm format, as now it is required to
3340 show it correctly localized even on languages with no default
3341 abbreviations for am or pm
3342 (_check_am_pm_format): check correctly the 24h format gconf property
3344 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3346 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3348 * src/hildon-button.c: Documentation updates.
3350 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3352 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3353 * src/hildon-caption.c: (hildon_caption_class_init):
3354 * src/hildon-color-button.c: (hildon_color_button_class_init):
3355 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3356 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3357 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3358 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3360 Remove deprecated GTK+ marshalers and replace them with the ones
3361 provided by GLib, for those available, add a marshaler for
3362 BOOLEAN:VOID, which is not available in GLib, and use it.
3364 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3366 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3367 the text from the previous column if there is no
3368 HildonTouchSelectorColumn::text-property set.
3370 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3372 * src/hildon-button.h
3373 * src/hildon-button.c (hildon_button_set_property)
3374 (hildon_button_get_property, hildon_button_class_init)
3375 (hildon_button_set_style, hildon_button_get_style):
3376 New "style" property to change the visual appearance of the
3379 * src/hildon-picker-button.c (hildon_picker_button_new):
3380 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3382 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3383 HildonButton look like PickerButton)
3385 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3387 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3388 column while building the default string.
3390 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3392 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3393 scroll indicator by default.
3395 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3397 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3399 * src/hildon-main.c: Fix the documentation for hildon_init()
3401 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3403 * doc/hildon-docs.sgml
3407 * src/hildon-window-stack-private.h
3408 * src/hildon-window-stack.h
3409 * src/hildon-window-stack.c:
3410 New HildonWindowStack object, that adds support for multiple
3411 stacks of windows per process.
3413 * src/hildon-stackable-window-private.h
3414 * src/hildon-stackable-window.h
3415 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3416 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3417 (hildon_stackable_window_show, hildon_stackable_window_hide)
3418 (hildon_stackable_window_class_init)
3419 (hildon_stackable_window_init):
3420 Use HildonWindowStack for stack management.
3422 * src/hildon-program.c (hildon_program_pop_window_stack)
3423 (hildon_program_peek_window_stack)
3424 (hildon_program_go_to_root_window):
3425 Add a fallback implementation to the deprecated functions using
3428 * examples/hildon-stackable-window-example.c:
3429 Use the new HildonWindowStack API.
3431 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3433 * src/hildon-stackable-window-private.h
3434 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3435 (hildon_stackable_window_hide, hildon_stackable_window_init):
3436 Remove all window stack management.
3438 * src/hildon-program-private.h
3439 * src/hildon-program.h
3440 * src/hildon-program.c (hildon_program_init)
3441 (hildon_program_pop_window_stack)
3442 (hildon_program_peek_window_stack)
3443 (hildon_program_go_to_root_window):
3444 Remove all window stack management and mark functions as
3447 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3449 * src/hildon-app-menu.c (hildon_app_menu_realize):
3450 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3452 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3454 * configure.ac: post release version bump
3455 * debian/changelog: version bump
3457 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3462 * configure.ac: bump version
3463 * debian/changelog: updates
3465 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3467 Based on initial code by Christian Dywan (christian@imendio.com)
3469 * doc/hildon-docs.sgml: Add section for hildon-main.
3470 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3471 * src/Makefile.am: Add new hildon-main.[ch]
3472 * src/hildon-defines.h: Update the icon sizes.
3473 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3474 new library initialization files and register icon sizes.
3475 * src/hildon-main.h: New declarations.
3476 * src/hildon.h: Include hildon-main.h
3478 Add new initialization functions to the library. These methods
3479 will register the hildon specific icon sizes and can be used in the
3480 future for other hildon specific bits.
3482 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3484 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3486 * src/hildon-window.c: (hildon_window_realize),
3487 (hildon_window_notify), (-hildon_window_update_title): Do not set
3488 the application name in the window title.
3490 Fixes: NB#89754 (Applications shouldn't display their names in the
3493 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3495 * src/hildon-note-private.h:
3496 * src/hildon-note.c: (hildon_note_set_property),
3497 (hildon_note_get_property), (hildon_note_class_init),
3498 (hildon_note_init), (hildon_note_finalize),
3499 (hildon_note_new_confirmation_with_icon_name),
3500 (hildon_note_new_information_with_icon_name):
3502 No need to mark as deprecated the actual code. Revert
3503 to avoid missing symbols in widgets using deprecated API.
3505 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3507 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3509 * src/hildon-volumebar.h
3510 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3511 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3513 * src/hildon-helper.h
3514 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3515 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3517 * examples/Makefile.am:
3518 Deprecate hildon-insensitive-example
3520 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3522 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3524 * examples/hildon-pannable-area-buttons-scroll-example.c:
3525 Make all buttons finger height
3527 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3529 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3531 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3532 update the day model only if it is really required, and to avoid the
3533 full-reconstruction aproach. Now it only add or remove the required days.
3535 The purpose of this is avoid superfluous HildonTouchSelector::changed
3538 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3539 with strange parameters)
3541 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3543 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3545 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3546 the WINDOW_TYPE property.
3548 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3550 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3553 Fix dependency to allow parallel compilation with make -jX
3555 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3557 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3558 color frame and some minor tweaks to make it more consistent with
3561 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3562 highlighted but not visible)
3564 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3566 * examples/Makefile.am: Fixed typo in the Makefile.am.
3568 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3570 Reviewed the use of MAEMO_GTK define, now we add the define in the
3571 compilation line, and we also add it to the pc file.
3573 * configure.ac: Added MAEMO_GTK define to the compilation command
3574 and removed it from the config.h.
3576 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3577 do not have to take care about this define if the library was
3581 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3583 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3585 * examples/Makefile.am,
3586 * examples/hildon-pannable-area-buttons-scroll-example.c,
3587 * examples/hildon-pannable-area-gesture-signals-example.c,
3588 * examples/hildon-pannable-area-scroll-jump-example.c,
3589 * examples/hildon-pannable-area-tree-view-example.c:
3590 Renamed the pannable area examples, now they have more meaningful
3593 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3595 * src/hildon-touch-selector.c:
3596 (hildon_touch_selector_set_column_selection_mode): Used of
3597 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3598 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3599 to avoid re-seting the same selection mode.
3601 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3602 breaks HildonPickerDialog)
3604 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3606 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3607 conditional in the Makefile.am
3609 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3611 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3612 Remove unused methods.
3614 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3616 * src/hildon-button.c (hildon_button_init):
3617 Make button images center-aligned by default
3619 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3622 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3623 activated, we have to think about how to deal with both defines
3624 MAEMO_GTK and MAEMO_CHANGES.
3626 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3628 * examples/hildon-app-menu-example.c (create_menu): Make all
3629 buttons finger size.
3631 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3633 Fixed the compilation without maemo gtk adding ifdefs with
3634 MAEMO_GTK define to the code, we have to check this version more
3637 * examples/Makefile.am: Added control to avoid some examples that
3638 just make sense with maemo gtk.
3641 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3642 hildon modes with the define.
3644 * examples/hildon-edit-toolbar-example.c,
3645 (create_icon_view): Create the icon view without hildon-gtk
3646 helpers if we are not using maemo gtk.
3648 * src/hildon-touch-selector.c,
3649 (_create_new_column): Create the treeview without hildon-gtk
3650 helpers if we are not using maemo gtk.
3652 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3654 * src/hildon-pnnable-area.c,
3655 (hildon_pannable_area_dispose),
3656 (hildon_pannable_area_button_press_cb),
3657 (hildon_pannable_area_child_mapped),
3658 (hildon_pannable_area_add),
3659 (hildon_pannable_area_remove): Added code to control the position
3660 of the event_window when adding and removing children from the
3661 pannable. We have to raise the event window when the child is
3664 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3665 selection mode using custom widget inside pannable)
3667 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3669 * configure.ac: post release version bump
3670 * debian/changelog: version bump
3672 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3677 * configure.ac: bump version
3678 * debian/changelog: updates
3680 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3682 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3683 search mode, in order to avoid lose the focus on the treeview when
3684 a hw key (like enter) is pressed.
3686 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3687 in HildonDateSelector dialog)
3689 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3691 * debian/rules: Added --enable-maintainer-mode
3692 * Makefile.am: Added ACLOCAL_AMFLAGS
3694 This allows to properly regenerate the Makefiles if you modify the
3695 configure.ac or any Makefile.am.
3697 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3699 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3700 properties, not needed at all.
3702 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3704 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3706 * src/hildon-note.c: (hildon_note_set_property),
3707 (hildon_note_get_property), (hildon_note_class_init),
3708 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3709 (hildon_note_new_confirmation_add_buttons): Remove icons.
3710 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3711 (hildon_note_new_information_with_icon_name): Deprecate.
3712 (hildon_note_new_confirmation): Act directly, without calling
3713 the deprecated constructor.
3714 (hildon_note_new_information): Act directly, without calling
3715 the deprecated constructor.
3716 * src/hildon-note.h: Mark deprecate methods as such.
3717 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3718 not run tests on the deprecated methods if built with deprecation
3721 Fixes: NB#91688 (Never show icons in information notes/confirmation
3724 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3726 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3727 (hildon_app_menu_key_press): Remove leftover usage of the
3728 private structure in HildonAppMenu struct.
3729 * src/hildon-app-menu.h: Remove leftover private structure
3730 from the HildonAppMenu struct.
3732 Fixes a crasher when using the HildonAppMenu.
3734 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3736 * src/hildon-picker-dialog.c: Use appropriate logical id
3737 for the default "Done" text.
3739 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3741 * configure.ac: post release version bump
3742 * debian/changelog: version bump
3744 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3746 Modified the way to scroll to the current selection just when the touch
3747 selector is shown on the screen, avoiding a g_idle. Added too a property
3748 to configure this behaviour. See hildon_pannable_area_jump_to_child
3749 documentation for more information.
3751 * src/hildon-touch-selector.c
3752 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3753 Added 'initial-scroll' property
3754 (hildon_touch_selector_set_property): Added
3755 (hildon_touch_selector_map): Removed as not required anymore
3756 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3757 only a concrete column, instead of iterate along all the columns
3759 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3764 * configure.ac: bump version
3765 * debian/changelog: updates
3767 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3769 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3770 compilation time warnings.
3772 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3774 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3775 the default value for HildonPannableArea::mov-mode to
3776 HILDON_PANNABLE_AREA_MODE_VERT.
3778 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3780 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3782 Reverting following commit:
3784 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3786 * src/hildon-app-menu-private.h
3787 * src/hildon-app-menu.[ch]
3788 * src/hildon-button.[ch]
3789 * src/hildon-check-button.[ch]
3790 * src/hildon-entry.[ch]
3791 * src/hildon-pannable-area.[ch]
3792 * src/hildon-text-view.[ch]:
3793 Added private field to the object's structure.
3795 because it causes an ABI breakage. We will need to introduce these
3796 changes later at some point. See NB#91636 for an extensive
3797 explanation and status.
3799 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3801 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3803 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3804 remove special cases that are no longer necessary.
3806 Fixes: NB#91016 (Change toolbar sizes, simplification)
3808 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3810 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3811 is shown in the cancel note.
3813 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3815 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3816 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3817 (hildon_seekbar_init): Remove steppers, remove expose event.
3818 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3820 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3822 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3824 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3825 label font to "SmallSystemFont" for vertically arranged buttons.
3827 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3830 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3832 * src/hildon-check-button.c
3833 (hildon_check_button_set_active, hildon_check_button_clicked):
3834 Don't access private parts directly, use getters instead.
3836 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3838 * src/hildon-check-button.c (hildon_check_button_new):
3839 Align the contents of the check button to the left.
3841 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3843 * src/hildon-pannable-area.c,
3844 (hildon_pannable_area_scroll_to),
3845 (hildon_pannable_area_jump_to),
3846 (hildon_pannable_area_scroll_to_child),
3847 (hildon_pannable_area_jump_to_child): Replace the mapped
3848 precondition of these functions with the realized, it is the
3849 correct state of the widget in this case. Changed the
3850 documentation according to this modification.
3852 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3854 Added a new EXTRA_CFLAGS option to add the deprecated define to
3855 the compilation command. This way we can avoid using the define in
3856 the documentation compilation.
3858 * configure.ac: Defined EXTRA_CFLAGS.
3860 * examples/Makefile.am:
3862 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3864 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3866 * src/hildon-picker-dialog.c:
3867 Defined a utility macro with the desired touch selector height
3868 Removed currently unused separator, and title_label variables from
3870 (hildon_picker_dialog_init): Removed code related to the creation
3871 of unused private variables title_label and separator.
3872 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3873 to ensure correct visualization of the touch selector inside the dialog.
3874 * src/hildon-touch-selector.c
3875 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3876 ensure a concrete height of the widget.
3878 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3881 * tests/Makefile.am:
3883 Remove spurious whitespaces.
3885 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3887 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3888 compilation warning after the cancel button removal.
3890 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3892 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3894 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3895 Makefile.am, that way we can choose not to compile some examples
3896 and tests of the deprecated widgets.
3898 * examples/Makefile.am: Divided the sources in deprecated and
3901 * src/Makefile.am: Added undef statement of the deprecated
3902 symbol to the enums file generation process.
3904 * src/hildon-color-chooser-dialog.c
3905 * src/hildon-color-chooser-dialog.h
3906 * src/hildon-color-button.c
3907 * src/hildon-color-button.h
3908 * src/hildon-color-chooser.c
3909 * src/hildon-color-chooser.h
3910 * src/hildon-controlbar.c
3911 * src/hildon-controlbar.h
3912 * src/hildon-date-editor.c
3913 * src/hildon-date-editor.h
3914 * src/hildon-hvolumebar.c
3915 * src/hildon-hvolumebar.h
3916 * src/hildon-private.c
3917 * src/hildon-private.h
3918 * src/hildon-range-editor.c
3919 * src/hildon-range-editor.h
3920 * src/hildon-seekbar.c
3921 * src/hildon-seekbar.h
3922 * src/hildon-time-editor.c
3923 * src/hildon-time-editor.h
3924 * src/hildon-time-picker.c
3925 * src/hildon-time-picker.h
3926 * src/hildon-volumebar.c
3927 * src/hildon-volumebar.h
3928 * src/hildon-vvolumebar.c
3929 * src/hildon-vvolumebar.h
3930 * src/hildon-bread-crumb-trail.h
3931 * src/hildon-bread-crumb-trail.c
3932 * src/hildon-calendar-popup.c
3933 * src/hildon-calendar-popup.h
3934 * src/hildon-weekday-picker.c:
3935 * src/hildon-weekday-picker.h:
3936 * src/hildon-bread-crumb-widget.c:
3937 * src/hildon-bread-crumb-widget.h:
3938 * src/hildon-bread-crumb.c:
3939 * src/hildon-bread-crumb.h:
3940 * src/hildon-calendar.c:
3941 * src/hildon-calendar.h:
3942 * src/hildon-caption.c:
3943 * src/hildon-code-dialog.c:
3944 * src/hildon-code-dialog.h:
3945 * src/hildon-font-selection-dialog.c:
3946 * src/hildon-font-selection-dialog.h:
3947 * src/hildon-get-password-dialog.c:
3948 * src/hildon-get-password-dialog.h:
3949 * src/hildon-login-dialog.c:
3950 * src/hildon-login-dialog.h:
3951 * src/hildon-number-editor.c:
3952 * src/hildon-number-editor.h:
3953 * src/hildon-set-password-dialog.c:
3954 * src/hildon-set-password-dialog.h:
3955 * src/hildon-sort-dialog.c:
3956 * src/hildon-sort-dialog.h: This is the list of deprecated
3959 * src/hildon-touch-selector.c:
3960 * src/hildon-window.c: Added undef statement to avoid compilation
3963 * tests/Makefile.am: Divided the sources in deprecated and
3966 * tests/check_test.c,
3967 (configure_tests): Marked the deprecated code that was adding
3968 suites with deprecated tests.
3970 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3972 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3974 * src/hildon-touch-selector.c: (_default_print_func): Do not
3975 duplicate a string returned by gtk_tree_model_get(), it is already
3978 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3981 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3983 * src/hildon-pannable-area.c
3984 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3985 method, it had problems when adding a widget with viewport the
3986 second time. Now checks if it already has a viewport and uses it.
3988 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3991 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3993 * src/hildon-pannable-area.c,
3994 (hildon_pannable_area_scroll_to),
3995 (hildon_pannable_area_jump_to),
3996 (hildon_pannable_area_scroll_to_child),
3997 (hildon_pannable_area_jump_to_child): Added a precondition to the
3998 scroll and jump to functions: the widget must be mapped before we
3999 can safely call these functions. We have also added documentation
4000 to the functions to explain how to use them in this situation.
4003 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4005 Reviewed the threading handling of the pannable widget, we have
4006 used the gdk_threads_add_timeout function instead of the usual
4007 glib handlers. This avoids some problems with the threads.
4009 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4010 (hildon_pannable_area_initial_effect),
4011 (hildon_pannable_area_scroll_indicator_fade),
4012 (hildon_pannable_area_button_press_cb),
4013 (hildon_pannable_area_timeout),
4014 (hildon_pannable_area_motion_notify_cb),
4015 (hildon_pannable_area_button_release_cb),
4016 (hildon_pannable_area_scroll_cb),
4017 (hildon_pannable_area_scroll_to): Removed the
4018 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4019 gdk_threads_add_timeout.
4021 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4023 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4028 * configure.ac: bump version
4029 * debian/changelog: updates
4031 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4033 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4034 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4035 * src/hildon-color-chooser-dialog.c:
4036 (hildon_color_chooser_dialog_init):
4037 * src/hildon-font-selection-dialog.c:
4038 (hildon_font_selection_dialog_init):
4039 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4041 Remove all cancel/close-like dialogs, as these are not going to be
4044 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4046 * src/hildon-note.c: (hildon_note_rebuild),
4047 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4050 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4052 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4054 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4055 sure all buttons are shown, even the Cancel/Close-like ones.
4057 Fixes: NB#90861 (Custom Confirmation dialogs should be
4058 protected from cancel button removal)
4060 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4062 * debian/control: Change libhildon1-examples dependency from libhildon1
4064 * debian/libhildon1-examples.install
4066 * Makefile.am: Modified the final install directory for the examples on
4067 package libhildon1-examples
4068 * Makefile.static: Update clean target in order to remove all the binary
4071 Changes suggested by Claudio after review new libhildon1-examples package
4073 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4075 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4076 * src/hildon-touch-selector.c: Ditto.
4078 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4080 * debian/control: Added new package libhildon1-examples, in order to pack
4081 the current hildon examples as documentation
4082 * debian/rules: Not to compress .c files, modify some includes on the
4083 examples (as normally are compiled locally, but when installed it will
4084 require to include the installed libhildon1 library), and rename
4086 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4087 install all the example files on the new example package
4088 * examples/Makefile.static: Added static makefile that can be used to
4089 compile the examples, once installed the new example package
4090 * examples: Most of the examples were modified in order to grant that
4091 all use only '#include "hildon.h"', in order to be easy to prepare
4092 it on the example package
4094 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4097 * debian/libhildon1-dev.install
4098 * debian/libhildon1-doc.install:
4099 Move all gtk-doc files to a separate libhildon1-doc package.
4101 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4103 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4105 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4107 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4109 * debian/rules: Fixed a error in order to avoid unnecessary calls
4110 to autogen.sh on package building
4112 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4114 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4116 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4118 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4121 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4123 * src/hildon-picker-button.c
4124 (hildon_picker_button_finalize):
4125 Free priv->done_button_text
4127 * src/hildon-time-button.c
4128 (hildon_time_button_set_time)
4129 * src/hildon-picker-button.c
4130 (hildon_picker_button_clicked)
4131 (hildon_picker_button_selector_selection_changed)
4132 (hildon_picker_button_set_selector)
4133 * src/hildon-date-button.c
4134 (hildon_date_button_set_date):
4135 Free strings returned by hildon_touch_selector_get_current_text()
4137 * src/hildon-button.c (hildon_button_construct_child):
4138 Fix leaks in priv->image and priv->label_box
4140 Fixes: NB#90535 (Memory leak in picker button)
4142 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4144 * src/hildon-button.c: (hildon_button_get_property): Do not access
4145 private elements directly, use getters instead.
4147 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4149 * src/hildon-app-menu-private.h
4150 * src/hildon-app-menu.c
4151 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4152 Store the menu's parent window.
4154 * src/hildon-stackable-window.c
4155 (hildon_stackable_window_toggle_menu)
4156 (hildon_stackable_window_finalize):
4157 Set the menu's parent window when the menu is shown, unset it when
4160 * src/hildon-app-menu.c
4161 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4162 (hildon_app_menu_class_init):
4163 Send unhandled keyboard accelerators to the parent window.
4165 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4167 * src/hildon-stackable-window.c
4168 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4170 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4172 * configure.ac: post release version bump
4174 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4177 * configure.ac: Bump version
4178 * debian/changelog: Updates
4179 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4182 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4184 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4187 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4188 GtkMenu with Hildon style.
4190 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4192 * src/hildon-picker-button.c:
4193 (hildon_picker_button_set_done_button_text): Set the dialog's
4194 done button text here as well.
4196 Fixes: NB#90232 (Picker button does not set the label on done button
4197 for the second time)
4199 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4201 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4204 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4206 * src/hildon-app-menu.c (hildon_app_menu_insert)
4207 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4208 the HildonAppMenu to be activatable using keyboard accelerators
4209 when the menu is not being shown.
4211 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4213 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4215 * src/hildon-stackable-window.c
4216 (hildon_stackable_window_show):
4217 Don't hide old windows automatically when new windows are shown:
4218 this is now a task for the window manager.
4219 (hildon_stackable_window_class_init)
4220 (hildon_stackable_window_hide):
4221 Remove windows from the stack everytime they're hidden.
4222 (hildon_stackable_window_realize):
4223 Don't change the _NET_WM_WINDOW_TYPE property. Use
4224 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4225 it as a stackable window.
4227 * src/hildon-program.c
4228 (hildon_program_pop_window_stack):
4229 Just hide the window to remove it from the stack.
4230 (hildon_program_go_to_root_window):
4231 Don't call gtk_widget_show(), this is now a task for the window
4234 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4236 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4238 * src/hildon-button.c
4239 (hildon_button_construct_child):
4240 Don't pack anything in the button until text or image are
4241 set. This allows adding a custom child after creating the button
4242 with hildon_button_new().
4243 (hildon_button_finalize, hildon_button_class_init)
4244 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4245 alignment and the label box even when they're not packed in the
4248 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4250 * src/hildon-touch-selector.h:
4251 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4252 currently the type definition was using GTK_TYPE_VBOX
4253 * src/hildon-touch-selector.c:
4254 Added some implementation notes in order to clarify that any other widget
4255 added without the column related API will not be included on the
4256 selection logic, and how the widget is freed, as some people ask about
4258 (hildon_touch_selector_remove): Reimplemented in order to free properly
4259 the column related data when you remove the private hbox.
4260 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4261 to get a proper HildonTouchSelectorColumn documentation
4263 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4265 * src/hildon-touch-selector-entry.c:
4266 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4267 text in the GtkEntry and there is no item selected. Fixes a
4270 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4272 * src/hildon-app-menu-private.h
4273 * src/hildon-app-menu.[ch]
4274 * src/hildon-button.[ch]
4275 * src/hildon-check-button.[ch]
4276 * src/hildon-entry.[ch]
4277 * src/hildon-pannable-area.[ch]
4278 * src/hildon-text-view.[ch]:
4279 Added private field to the object's structure.
4281 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4283 * configure.ac: post-release version bump
4285 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4289 * configure.ac: pre-release version bump
4291 * debian/changelog: updates.
4293 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4295 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4296 Disconnect the handler for HildonTouchSelector::changed.
4298 (hildon_picker_button_selector_selection_changed): Update the button
4299 value if the selection change was not triggered by the
4302 (hildon_picker_button_set_selector): connect to
4303 HildonTouchSelector::changed.
4305 Fixes: NB#89650 (Picker button is not updated, when selection in
4306 selector has changed)
4308 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4310 * src/hildon-picker-dialog.c
4311 (hildon_picker_dialog_realize): Removed as not required
4312 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4313 * src/hildon-picker-button.c
4314 (_current_selector_empty): New function, checks if the selector is empty
4315 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4316 if the current selector is empty, in order to avoid to show the dialog
4317 close the dialog in this case (and shows a g_warning).
4319 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4321 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4323 * src/hildon-pannable-area.c,
4324 (hildon_pannable_area_scroll): Added clause to stop movement when
4325 the child of pannable is smaller than one page.
4326 (hildon_pannable_area_scroll_to): Added conditions to avoid
4327 starting the scrolling movement if the child is smaller than one
4328 page, the complete child is in the screen, we do not have to move.
4330 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4332 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4334 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4335 this is managed automatically by the widget when the size of the
4338 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4340 * src/hildon-picker-button.c
4341 (hildon_picker_button_set_done_button_text): Make a copy of the
4342 text, and free the previous value.
4344 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4346 * src/hildon-touch-selector-entry.c:
4347 (hildon_touch_selector_entry_print_func): Return the selected row's
4348 text if the entry is empty.
4350 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4353 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4355 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4357 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4360 * src/hildon-check-button.h
4361 * src/hildon-check-button.c
4362 * examples/hildon-check-button-example.c:
4363 HildonCheckButton is now a new widget. 'toggled' signal added.
4365 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4367 * src/hildon-program-private.h
4368 * src/hildon-program.c (hildon_program_init)
4369 (hildon_program_finalize): Removed unused variables group_leader
4370 and name from HildonProgramPrivate.
4372 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4374 * src/hildon-check-button.c (hildon_check_button_set_active)
4375 (hildon_check_button_get_active, hildon_check_button_new): Use
4376 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4378 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4380 * src/hildon-touch-selector.h
4381 (hildon_touch_selector_set_column_attributes): added deprecation
4382 guard HILDON_DISABLE_DEPRECATED
4383 * src/hildon-time-selector.c
4384 (hildon_time_selector_set_time)
4385 (hildon_time_selector_get_time): Fixed a typo on documentation
4386 * src/hildon-touch-selector.c: update HildonTouchSelector and
4387 HildonTouchSelectorColumn documentation
4388 * src/hildon-touch-selector-entry.c: update "text-column" property
4390 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4391 to be added to the general documentation.
4393 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4395 * examples/hildon-pannable-area-example-4.c,
4397 * examples/hildon-pannable-area-example.c,
4398 (main): Modified the code in order to use the container add, with
4399 viewport treeviews could have problems if they are really big.
4401 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4403 * src/hildon-weekday-picker.c,
4404 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4405 the agreement regarding deprecation in the library.
4407 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4409 * examples/hildon-picker-button-multicolumn-example.c:
4410 (main): Use custom "done" button text.
4412 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4413 (hildon_picker_button_set_property),
4414 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4415 (hildon_picker_button_init),
4416 (+hildon_picker_button_get_done_button_text),
4417 (+hildon_picker_button_set_done_button_text): New methods to customize
4418 the "done" button label in the launched HildonPickerDialog. Also,
4421 * src/hildon-picker-button.h: add the public API.
4423 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4425 * src/hildon-date-selector.h:
4426 * src/hildon-picker-dialog.h:
4427 * src/hildon-time-selector.h:
4428 * src/hildon-touch-selector-column.h:
4429 * src/hildon-touch-selector.h:
4431 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4432 declarations. Fixes gtk-doc warnings.
4434 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4436 * src/hildon-picker-dialog.h
4437 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4438 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4440 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4441 long text is set as label for done button)
4443 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4445 * src/hildon-dialog.c (hildon_dialog_add_button):
4446 Set fixed width to all buttons in the HildonDialog.
4448 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4450 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4452 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4453 Set widget name using class name plus "-finger" or "-thumb".
4455 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4457 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4458 'clicked' when the state of the button is manually changed.
4460 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4462 * src/hildon-app-menu.c (hildon_app_menu_realize)
4463 (hildon_app_menu_unrealize, hildon_app_menu_init)
4464 (hildon_app_menu_class_init, item_visibility_changed):
4465 Change the menu layout when the size of the screen changes.
4466 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4467 Show warning only when changing the number of colums using the
4470 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4472 * debian/compat: Set to 5
4473 * debian/control: Update dependencies.
4474 * debian/libhildon1-dbg.install: Remove.
4475 * debian/libhildon1-dev.install: Update according to cdbs paths.
4476 * debian/libhildon1.install: Update according to cdbs paths.
4477 * debian/rules: Switch to cdbs.
4479 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4481 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4482 'item' variable renamed to 'filter'
4484 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4486 * src/hildon-app-menu.c (hildon_app_menu_insert)
4487 (hildon_app_menu_add_filter, remove_item_from_list)
4488 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4489 Don't leak hidden items when the menu is destroyed.
4491 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4493 * src/hildon-app-menu.c (hildon_app_menu_insert)
4494 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4495 (hildon_app_menu_set_columns, item_visibility_changed)
4496 (filter_visibility_changed, hildon_app_menu_repack_filters)
4497 (hildon_app_menu_repack_items):
4498 Repack items and filters separately.
4500 Don't repack all items, change only the ones that are needed to
4503 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4505 * src/Makefile.am: added hildon-touch-selector-column.h
4507 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4509 * src/hildon-touch-selector.c: added the property "text-column" to the
4510 class HildonTouchSelectorColumn, and related get/set functions
4511 (_default_printf_func): updated to use "text-column" property
4512 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4513 "text-column" in his documentation, as this is now included on
4514 HildonTouchSelectorColumn. The get/set_property can still be used,
4515 working as a wrapper to the concrete column "text-column" property
4516 (_text_column_modified): callback added in order to handle the signal
4517 "notify::text-column" of the concrete HildonTouchSelectorColumn
4518 (hildon_touch_selector_entry_get_text_column)
4519 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4520 modified in order to use the HildonTouchSelectorColumn "text-column"
4522 * src/hildon-time-selector.c:
4523 * src/hildon-date-selector.c:
4524 * examples/hildon-touch-selector-example.c
4525 * examples/hildon-touch-selector-multi-cells-example.c
4526 * examples/hildon-picker-button-multicolumn-example.c
4527 Set the right value to "text-column" property on the creation of a new
4528 column using hildon_touch_selector_append_column()
4530 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4532 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4534 * src/hildon-app-menu.c
4535 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4536 updating the layout of the menu, don't create all widgets again,
4537 just repack the items in their new places.
4539 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4541 * src/hildon-time-selector.c
4542 (hildon_time_selector_get_time)
4543 (hildon_time_selector_set_time)
4544 Added documentation of these public methods
4546 * src/hildon-date-button.h
4547 * src/hildon-touch-selector-column.h
4548 * src/hildon-time-button.h
4549 * src/hildon-picker-dialog.h
4550 * src/hildon-time-selector.h
4551 * src/hildon-picker-button.h
4552 * src/hildon-touch-selector.h
4553 * src/hildon-time-picker.h
4554 * src/hildon-date-selector.h
4555 * src/hildon-touch-selector-entry.h
4556 Modified in order to use hildon-widgets code style
4558 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4560 Added deprecated support to the compilation process using
4561 HILDON_DISABLE_DEPRECATED
4563 * configure.ac: Added the --disable-deprecated to the configure
4566 * src/hildon-weekday-picker.c:
4567 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4568 to use the deprecated support. We will update the other deprecated
4569 widgets status in a new patch.
4571 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4573 * configure.ac: Fixed typo with fatal warnings support, the
4574 variable name was not correct
4576 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4578 * src/hildon-app-menu.c
4579 * src/hildon-program.c: Update documentation.
4581 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4583 * configure.ac: Post-release version bump.
4585 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4590 * configure.ac: Pre-release version bump.
4591 * debian/changelog: Updates.
4593 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4595 * NEWS: Update news for previous releases.
4597 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4599 * examples/hildon-touch-selector-multi-cells-example.c:
4600 (create_selector): Update the example to use
4601 hildon_touch_selector_append_column() with a NULL renderer and set
4602 the renderers later.
4603 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4604 passed a NULL renderer. This is documented behavior now.
4606 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4607 This must be used if the developer wants full control on the layout of
4608 the renderers to be added to the column.
4610 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4612 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4614 * src/hildon-touch-selector.c: Documentation fixes.
4616 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4618 * src/hildon-wizard-dialog-private.h: Remove image and box.
4619 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4620 (hildon_wizard_dialog_set_property), (response): Completely remove
4621 image/icon support, and the containers required for the layout.
4623 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4625 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4627 * src/hildon-app-menu.c: Updated documentation.
4629 * src/hildon-stackable-window.c
4630 (hildon_stackable_window_set_main_menu): Unref the old menu after
4631 ref'ing the new one.
4633 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4635 * src/hildon-stackable-window.c
4636 (hildon_stackable_window_set_main_menu): Unref the previous menu
4637 instead of destroying it.
4639 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4640 floating reference and set has_user_ref_count to FALSE to make
4641 HildonAppMenu act like a normal ref-counted widget and not a
4644 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4647 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4649 * src/hildon-touch-selector-column.h: new file
4650 * src/hildon-touch-selector.h
4651 * src/hildon-touch-selector.c
4652 Implemented GtkCellLayout interface, in order to allow to configure
4653 the cell layout on each individual selector column
4654 (hildon_touch_selector_set_column_attributes): marked as deprecated
4655 * examples/hildon-touch-selector-multi-cells-example.c
4656 Example of how to use the GtkCellLayout interface on the selector
4658 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4660 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4662 * src/hildon-app-menu.h
4663 * src/hildon-app-menu.c
4664 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4665 (hildon_app_menu_append, hildon_app_menu_prepend):
4666 New methods to prepend, insert and move items in the menu.
4668 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4670 * src/hildon-wizard-dialog.c:
4672 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4674 (create_title): Update logical IDs and related code.
4675 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4677 * src/hildon-wizard-dialog.h: Note that
4678 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4679 point, as it is not used anymore.
4681 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4683 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4685 * src/hildon-note.c:
4686 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4687 shown. Do not display an icon in confirmation notes nor information
4689 (hildon_note_set_button_text): Update logical ID for cancel button.
4691 Fixes: NB#88850 (Update HildonNote button strings + signals)
4693 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4695 * src/hildon-stackable-window.c
4696 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4698 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4700 * src/hildon-app-menu-private.h
4701 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4702 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4703 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4704 temporary property 'columns' to change the number of columns.
4706 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4708 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4710 * examples/hildon-note-example.c: (on_information_clicked),
4711 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4712 debugging information.
4713 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4715 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4716 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4717 in order to close: this will be handled by the WM from now on.
4719 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4721 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4723 * src/hildon-app-menu-private.h
4724 * src/hildon-app-menu.c
4725 (hildon_app_menu_append, hildon_app_menu_add_filter)
4726 (button_visibility_changed, hildon_app_menu_apply_style)
4727 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4728 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4729 layout everytime a button (item or filter) is shown or hidden.
4731 * src/hildon-stackable-window.c
4732 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4735 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4737 * src/hildon-touch-selector.c:
4738 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4739 that the treeview inside the touch selector is in fremantle hildon mode
4740 * examples/hildon-date-button-example.c
4741 * examples/hildon-picker-button-multicolumn-example.c
4742 * examples/hildon-touch-selector-entry-example.c
4743 * examples/hildon-touch-selector-example.c
4744 * examples/hildon-time-button-example.c
4745 * examples/hildon-picker-button-example.c:
4746 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4748 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4750 * examples/hildon-text-view-example.c: (main): Remove the
4751 gtkrc bits, now handled by the theme.
4753 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4755 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4758 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4760 * po/Makefile.am: Install properly the mo files.
4761 * po/en_GB.po: Update translation, to ease testing purposes.
4763 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4765 * examples/hildon-picker-button-example.c: (main): Select an item
4766 in the selector before setting it to the button.
4768 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4770 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4771 Update button's value if the selector has an item active.
4773 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4774 'value' with the selector)
4776 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4778 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4779 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4780 (hildon_picker_button_class_init): Plug the finalize method.
4781 (hildon_picker_button_set_selector): If there's a previously set
4782 selector, unref'it before setting a new one.
4784 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4785 HildonTouchSelector)
4787 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4789 * src/hildon-touch-selector-entry.c:
4790 (hildon_touch_selector_entry_changed): Check if there is no text
4791 selected before setting the entry text.
4794 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4796 * src/hildon-touch-selector.h
4797 * src/hildon-touch-selector.c
4798 (hildon_touch_selector_get_active)
4799 (hildon_touch_selector_set_active): New methods to set/get the
4800 index of the selected item.
4802 * src/hildon-picker-button.h
4803 * src/hildon-picker-button.c
4804 (hildon_picker_button_get_active)
4805 (hildon_picker_button_set_active): New methods to set/get the
4806 index of the selected item.
4808 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4810 * configure.ac: post-release version bump.
4812 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4816 * configure.ac: Pre-release version bump.
4817 * debian/changelog: Updates.
4818 * debian/control: Add myself as maintainer and depend on l10n
4821 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4823 * src/hildon-window.c
4824 (hildon_window_set_main_menu)
4825 * src/hildon-stackable-window.c
4826 (hildon_stackable_window_set_main_menu):
4827 Updated documentation.
4829 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4831 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4832 Don't free selector->priv manually.
4835 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4838 (hildon_gtk_window_set_progress_indicator):
4839 * src/hildon-gtk.h: Added the new API
4840 hildon_gtk_window_set_progress_indicator, it changes the state of
4841 the window progress hint.
4843 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4845 * src/hildon-button.c
4846 * src/hildon-stackable-window.c: Minor documentation updates.
4848 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4850 * src/hildon-stackable-window.c: Updated documentation.
4852 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4854 * src/hildon-defines.h: Update margins definitions
4855 to the Fremantle sizes.
4858 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4860 * src/hildon-touch-selector.c,
4861 (_hildon_touch_selector_set_model): Cleaning the code after
4862 review, removed g_print and #if 0 from the code.
4864 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4866 * src/hildon-edit-toolbar.c: Update documentation.
4868 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4870 * src/hildon-check-button.h
4871 * src/hildon-check-button.c
4872 (hildon_check_button_set_label, hildon_check_button_get_label)
4873 * examples/hildon-check-button-example.c
4874 (button_clicked_cb):
4875 Removed deprecated methods.
4877 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4879 * src/hildon-text-view.c:
4880 Add sample code to the documentation.
4882 * src/hildon-entry.h
4883 * src/hildon-text-view.h:
4884 Minor cosmetic changes.
4886 * src/hildon-entry.c:
4887 Add sample code to the documentation.
4888 (hildon_entry_init, hildon_entry_refresh_contents):
4889 Don't allow NULL values in the placeholder.
4891 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4893 * doc/hildon-docs.sgml
4895 * examples/Makefile.am
4896 * examples/hildon-text-view-example.c
4898 * src/hildon-text-view.c
4899 * src/hildon-text-view.h
4901 New HildonTextView widget, with example.
4903 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4905 * po/POTFILES.in: Add missing files with translatable strings.
4906 Partially fixes NB#88287.
4908 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4910 * examples/hildon-pannable-area-example-2.c: (main): No need to
4911 set the cellrenderer height inside hildon touch lists, the theme does
4914 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4916 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4917 they are integrated in the theme.
4919 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4921 * examples/hildon-entry-example.c: Update the example adding
4922 widgets to modify the text and the placeholder of the HildonEntry.
4924 * src/hildon-entry.c: Show the placeholder everytime the widget
4925 is empty and loses the focus.
4927 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4929 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4931 * src/hildon-pannable-area.c,
4932 (hildon_pannable_area_size_request): Fixed bug in height
4933 requisition, avoid increasing size and add border twice.
4935 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4937 * configure.ac: postrelease version bump.
4939 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4943 * configure.ac: Prerelease version bump.
4944 * debian/changelog: update.
4945 * debian/rules: make -dbg package contain useful debugging symbols.
4947 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4949 * src/hildon-dialog.h
4950 * src/hildon-dialog.c
4951 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4952 New methods to add buttons with finger size.
4953 (hildon_dialog_new_with_buttons):
4954 Create buttons with finger size.
4956 * examples/hildon-dialog-example.c (main): Use HildonDialog
4957 methods to add buttons.
4959 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4961 * src/hildon-entry.c: Updated HildonButton documentation.
4963 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4965 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4966 button value label with (FALSE, FALSE) to prevent NB#88126 from
4969 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4971 * examples/hildon-pannable-area-example.c,
4972 (main): Removed examples panning a vbox inside a pannable
4973 area. Check bug NB#87965
4975 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4977 Patch contributed by Kris Rietveld (kris@imendio.com)
4979 * src/hildon-pannable-area.c,
4980 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4981 get_size and get_position, this saves an X server roundtrip.
4983 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4985 * doc/hildon-docs.sgml
4987 * examples/Makefile.am
4988 * examples/hildon-entry-example.c
4990 * src/hildon-entry.c
4991 * src/hildon-entry.h
4993 New HildonEntry widget, with example.
4995 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4997 * src/hildon-button.c (hildon_button_construct_child): Pack the
4998 image with expand == fill == FALSE. This is a workaround for a bug
5001 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5003 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5004 labels for the text column, to make it more look more dynamic.
5006 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5008 * src/hildon-time-selector.c
5009 Define gettext auxiliar macro N_
5010 (_create_minutes_model)
5011 (_create_hours_model)
5012 (_create_ampm_model): use of strftime in order to fill the model
5013 * src/hildon-date-selector.c
5014 (hildon_date_selector_finalize):
5015 (_locales_init): remove the logic related to get the name of the months
5016 using nl_langinfo, as it is not required anymore
5018 (_create_year_model)
5019 (_create_month_model)
5020 (_update_day_model): use of strftime in order to fill the model properly
5023 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5025 * src/hildon-button.h
5026 * src/hildon-button.c (hildon_button_get_image): New method to
5029 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5031 * src/hildon-touch-selector.c:
5032 (hildon_touch_selector_remove_column): Remove from the correct parent
5033 and also remove the list element and free it.
5036 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5038 * src/hildon-time-selector.c
5039 (_create_hours_model): change the range on 12h ampm format in order to use
5040 a 12-11 range instead of previous 01-12 range
5041 (hildon_time_selector_set_time): change the way to select the current time
5042 on 12h ampm format, due the change on the range
5043 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5046 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5048 * src/hildon-touch-selector.c
5049 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5050 in order to allow use this function on multiple row selection mode if
5051 the column is different that the first one
5054 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5056 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5057 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5059 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5061 * src/hildon-date-selector.h: clean some comments, now on the .c
5062 * src/hildon-date-selector.c
5063 (hildon_date_selector_select_month): first implementation
5064 (hildon_date_selector_select_day): added documentation, reimplemented
5065 using hildon_date_selector_select_current_date to avoid repeat code
5068 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5070 Reviewed interaction logic based on device experiences, refactored
5073 * src/hildon-pannable-area.c,
5074 (hildon_pannable_area_class_init): Updated default vmax speed.
5075 (hildon_pannable_area_calculate_velocity): Added this function, it
5076 avoids duplicate valocity calculation. Adjusted calculation to
5077 avoid problems with zero dist events.
5079 (hildon_pannable_area_motion_notify_cb): Now we use the
5080 calculate_velocity function.
5082 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5084 * src/hildon-date-selector.c
5085 (hildon_date_selector_select_current_date): fix the day range check
5086 as it failed using the last day of the current month
5089 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5091 * src/hildon-touch-selector.c
5092 (hildon_touch_selector_get_num_columns): added a parameter validation
5095 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5097 * examples/Makefile.am
5098 * examples/hildon-edit-toolbar-example.c: Example of the
5099 HildonEditToolbar widget.
5101 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5103 * configure.ac: postrelease version bump.
5105 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5109 * configure.ac: prerelease version bump.
5110 * debian/changelog: update.
5112 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5114 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5115 renderer to display stock icons in the touch list. Also, set the sizes
5116 to the recommended in the style guide.
5118 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5119 * src/hildon-touch-selector.h
5120 (hildon_touch_selector_set_active_iter): renamed, now is
5121 hildon_touch_selector_select_iter
5122 (hildon_touch_selector_get_active_iter): renamed, now is
5123 hildon_touch_selector_get_selected
5124 (hildon_touch_selector_unselect_iter): added
5125 * src/hildon-touch-selector.c
5126 Update after API modification (methods renamed)
5127 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5128 order to avoid problems selecting multiple elements on the column
5129 (hildon_touch_selector_unselect_iter): added the implementation
5130 * src/hildon-time-selector.c
5131 * src/hildon-date-selector.c
5132 * src/hildon-touch-selector-entry.c
5133 Update methods calls after hildon-touch-selector.h API modification (methods
5136 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5138 * src/hildon-stackable-window.c
5139 (hildon_stackable_window_finalize): Call the parent class's finalize.
5141 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5143 * examples/hildon-touch-selector-example.c: (create_selector): Use
5144 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5147 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5149 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5150 set a cell background color, to respect theming.
5152 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5154 * doc/hildon-docs.sgml
5157 * src/hildon-edit-toolbar.c
5158 * src/hildon-edit-toolbar.h
5159 * src/hildon.h: New HildonEditToolbar widget.
5161 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5163 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5166 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5167 * src/hildon-touch-selector.c
5168 (_create_new_column): use g_object_set instead of two g_object_set_property
5170 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5171 * src/hildon-touch-selector.c
5172 (_create_new_column): use of hildon_gtk_tree_view_new to create
5173 the treeview, instead of use directly g_object_new
5174 (_create_new_column): update the property name "vindicator-mode" for the
5175 new one "vscrollbar-policy"
5176 * examples/hildon-date-button-example.c
5177 * examples/hildon-picker-button-multicolumn-example.c
5178 * examples/hildon-touch-selector-entry-example.c
5179 * examples/hildon-touch-selector-example.c
5180 * examples/hildon-time-button-example.c
5181 * examples/hildon-picker-button-example.c
5182 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5183 to all the treeviews inside a pannable area.
5185 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5187 * src/hildon-button.h
5188 * src/hildon-button.c (hildon_button_init)
5189 (hildon_button_set_arrangement, hildon_button_set_alignment)
5190 (hildon_button_set_title_alignment)
5191 (hildon_button_set_value_alignment)
5192 (hildon_button_set_image_alignment)
5193 (hildon_button_construct_child): New methods to set the alignment
5194 of the individual components of the button (title, value,
5195 image). Also, new method to alter the xscale and yscale properties
5196 of the GtkAlignment inside the button, so more complex layouts can
5199 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5201 * src/hildon-button.c (hildon_button_style_set)
5202 (hildon_button_class_init, hildon_button_set_arrangement)
5203 (hildon_button_construct_child): Apply style properties
5204 correctly. Use the 'image-spacing' style property too.
5206 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5208 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5209 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5212 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5214 * src/hildon-pannable-area.c,
5215 (hildon_pannable_area_size_request): Fixed problem with
5216 pannable-area size_request.
5218 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5220 Added management for the grab-focus to a child widget, like a
5221 range, we need to fade out the scrollbar when releasing.
5223 * src/hildon-pannable-area.c,
5224 (hildon_pannable_area_init): Connected the grab-focus signal to
5226 (hildon_pannable_area_grab_notify): Added this function in order
5227 to manage the situation when the grab-focus ends. We have to
5228 fade-out the scrollbar.
5230 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5232 * src/hildon-app-menu.c: Minor documentation update.
5234 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5236 * src/hildon-app-menu.c
5237 * examples/hildon-app-menu-example.c (create_menu): Update
5238 examples and documentation to explain how to connect callbacks.
5240 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5242 * examples/hildon-button-example.c
5243 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5244 hildon_stackable_window_new instead of gtk_window_new
5246 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5248 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5249 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5250 (hildon_pannable_area_set_property),
5251 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5252 (hildon_pannable_area_unrealize),
5253 (hildon_pannable_area_size_request),
5254 (hildon_pannable_area_size_allocate),
5255 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5256 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5257 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5258 (hildon_pannable_area_initial_effect),
5259 (hildon_pannable_area_redraw),
5260 (hildon_pannable_area_scroll_indicator_fade),
5261 (hildon_pannable_area_expose_event),
5262 (hildon_pannable_area_get_topmost), (synth_crossing),
5263 (hildon_pannable_area_button_press_cb),
5264 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5265 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5266 (hildon_pannable_area_motion_notify_cb),
5267 (hildon_pannable_area_button_release_cb),
5268 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5269 (hildon_pannable_area_remove),
5270 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5271 chage the code layout to a more GtkWidget like. Review the use of
5274 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5276 * examples/hildon-pannable-area-example-4.c,
5277 (main): Modified the name of the hindicator_mode to
5280 * src/hildon-pannable-area.c,
5281 (hildon_pannable_area_class_init),
5282 (hildon_pannable_area_motion_notify_cb),
5283 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5284 we have reduced the amount of signals and managed reviewed its
5285 rationale. Changed the default decelerate value.
5287 (hildon_pannable_area_add),
5288 (hildon_pannable_area_redraw): Refactored functions.
5290 (hildon_pannable_area_init),
5291 (hildon_pannable_area_get_property),
5292 (hildon_pannable_area_set_property):
5293 (hildon_pannable_draw_vscroll),
5294 (hildon_pannable_draw_hscroll),
5295 (hildon_pannable_area_initial_effect),
5296 (hildon_pannable_area_expose_event),
5297 (hildon_pannable_area_scroll),
5298 (hildon_pannable_area_button_press_cb),
5299 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5300 and vindicator_mode with hscrollbar_policy and
5301 vscrollbar_policy. Replaced hscroll and vscroll with
5302 hscroll_visible and vscroll_visible.
5304 (hildon_pannable_area_refresh): Refactor the function, remove
5305 variables and check the calls to this function, added resize
5306 conditions in case the children change their layout.
5308 (hildon_pannable_area_size_request): Added more detailed
5309 size_request calculation.
5312 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5314 * src/hildon-color-chooser.c
5315 (init_borders): use the correct gtk_border_free instead of g_free, to
5316 avoid a crash when this widget is used (ie: the three color selection
5319 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5321 * src/hildon-check-button.c,
5322 (hildon_check_button_set_active): Fixed problem when setting the
5323 active value, the widget was not redrawn.
5325 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5327 * src/hildon-pannable-area.c,
5328 (hildon_pannable_area_refresh),
5329 (hildon_pannable_area_scroll),
5330 (hildon_pannable_area_motion_notify_cb): Small code style change.
5332 (hildon_pannable_area_class_init): Default initial_hint set to
5333 FALSE, it is not in the specs.
5335 (hildon_pannable_area_initial_effect),
5336 (hildon_pannable_area_expose_event),
5337 (hildon_pannable_area_map),
5338 (hildon_pannable_area_init): Moved the launching point of the
5339 initial effect, it was in map but the sizes where not correct in
5340 that method so we do not know if we have the reproduce it. Now it
5341 is placed in the expose_event method and uses a variable to
5342 reproduce it just once.
5344 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5346 * src/hildon-pannable-area.c,
5347 (hildon_pannable_draw_vscroll),
5348 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5349 position allowed for the scrollbars.
5351 (hildon_pannable_area_size_allocate): Small style change.
5353 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5355 * src/hildon-pannable-area.c,
5356 (hildon_pannable_area_scroll_indicator_fade),
5357 (hildon_pannable_area_button_press_cb),
5358 (hildon_pannable_area_button_release_cb),
5359 (hildon_pannable_area_scroll_cb),
5360 (hildon_pannable_area_expose_event),
5361 (hildon_pannable_area_init): Added the define parameter
5362 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5363 and refactor the fade variable.
5365 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5367 * src/hildon-pannable-area.c,
5368 (hildon_pannable_area_redraw),
5369 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5370 lines, we were reimplemeting the redraw code.
5372 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5374 * src/hildon-pannable-area.c,
5375 (hildon_pannable_area_scroll_cb),
5376 (hildon_pannable_area_realize),
5377 (hildon_pannable_area_class_init): Added scroll_event management
5378 for pannable area, now we can scroll the usual desktop method.
5380 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5381 initialization of the parameters should depend on idle_id.
5383 (hildon_pannable_area_init),
5384 (hildon_pannable_area_map): Small code style modifications
5386 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5388 * src/hildon-pannable-area.c
5389 (hildon_pannable_area_button_press_cb),
5390 (hildon_pannable_area_motion_notify_cb),
5391 (hildon_pannable_area_button_release_cb),
5392 (hildon_pannable_area_size_allocate),
5393 (hildon_pannable_area_scroll_to): Improved the timeouts
5394 management, we avoid creating them each time.
5396 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5398 * src/hildon-pannable-area.c:
5399 (hildon_pannable_area_refresh),
5400 (hildon_pannable_area_motion_notify_cb),
5401 (hildon_pannable_area_class_init):
5402 * src/hildon-pannable-area.h:
5403 * src/hildon-touch-selector.c
5404 (_create_new_column):
5405 * examples/hildon-pannable-area-example-4.c:
5406 (horizontal_movement),
5407 (vertical_movement),
5409 Replaced the names of enums in the HildonPannableArea:
5410 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5411 HILDON_MOVEMENT_MODE_*
5412 - HILDON_PANNABLE_AREA_MOV_* ->
5414 - Removed HildonPannableAreaIndicatorMode, now we
5417 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5419 * examples/hildon-pannable-area-touch-grid-example.c
5420 * examples/hildon-pannable-area-touch-list-example.c: Fix
5421 compilation warnings.
5423 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5425 * src/hildon-gtk.c (hildon_gtk_button_new)
5426 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5427 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5428 images overriding the value of the "gtk-button-images" setting.
5430 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5432 * src/hildon-check-button.c (hildon_check_button_new):
5433 Instead of using a custom container, display the label and the
5434 checkbox using the standard GtkButton API.
5436 * examples/hildon-check-button-example.c (main): Don't use
5437 hildon_check_button_set_label() anymore
5439 * src/hildon-check-button.h
5440 * src/hildon-check-button.c
5441 (hildon_check_button_set_label, hildon_check_button_get_label):
5442 Set as deprecated, now we're using gtk_button_{get,set}_label()
5444 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5446 * src/hildon-pannable-area.c,
5447 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5448 GtkTreeview first line we detected it after the inclusion of the
5449 GtkWindowImpl in gtk+. We now check if the window is visible, not
5450 just if the pointer is over the window.
5451 (hildon_pannable_axis_scroll),
5452 (hildon_pannable_area_expose_event): Small style changes.
5454 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5456 * src/hildon-button.c: Update documentation.
5458 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5460 * examples/hildon-button-example.c: Add a switch to show images in
5463 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5465 * doc/hildon-docs.sgml: Some docs reorganization.
5467 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5469 * examples/hildon-pannable-area-touch-list-example.c
5471 * examples/hildon-pannable-area-touch-grid-example.c
5472 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5473 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5474 Fix memory leak when setting the tree model.
5476 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5480 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5482 * doc/hildon.types: Remove duplicated hildon_window_get_type
5483 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5484 documentation comment.
5486 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5488 * doc/Makefile.am: Complete list of private headers.
5490 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5492 * doc/hildon-docs.sgml
5493 * src/hildon-app-menu.c
5494 * src/hildon-bread-crumb.c
5495 * src/hildon-button.c
5497 * src/hildon-program.c
5498 * src/hildon-stackable-window.c
5499 * src/hildon-window.c: Lots of documentation updates.
5501 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5503 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5505 * configure.ac: Require Gtk+ 2.12.9 at least
5507 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5509 * src/hildon-pannable-area.c
5510 (hildon_pannable_area_scroll_indicator_fade),
5511 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5512 to protect the return of this timeout callbacks, avoiding deadlocks.
5514 2008-08-12 Christian Dywan <christian@imendio.com>
5517 * src/hildon-*.h: Ensure a consistent include order,
5518 include <gtk/gtk.h> instead of particular files and
5519 only include the topmost header in the gtk stack. See NB #39857
5521 2008-08-12 Christian Dywan <christian@imendio.com>
5523 * src/hildon-picker-dialog.c
5524 * src/hildon-touch-selector.c: Fix warnings about unused and
5525 uninitialized variables.
5527 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5529 * examples/Makefile.am
5530 * examples/hildon-check-button-example.c: Example of the hildon
5533 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5535 * src/hildon-window.h
5536 * src/hildon-window.c (hildon_window_class_init)
5537 (hildon_window_unset_program): Don't make
5538 hildon_window_unset_program a virtual function anymore.
5540 * src/hildon-stackable-window.c: Update documentation
5542 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5545 * doc/hildon-docs.sgml
5546 * doc/visual_index.xml
5547 * src/hildon-defines.c
5549 * src/hildon-helper.c
5550 * src/hildon-range-editor.c: Lots of documentation fixes.
5552 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5554 * examples/hildon-picker-button-multicolumn-example.c
5555 (create_touch_selector): Fix compilation warning.
5557 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5559 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5560 (hildon_pannable_area_button_release_cb)
5561 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5563 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5565 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5568 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5570 * src/hildon-bread-crumb-trail.h
5571 * src/hildon-date-editor.c
5572 * src/hildon-date-selector.c
5573 * src/hildon-pannable-area.c
5574 * src/hildon-picker-dialog.c
5575 * src/hildon-time-selector.c
5576 * src/hildon-touch-selector-entry.c
5577 * src/hildon-touch-selector.c
5578 * src/hildon-touch-selector.h: Misc documentation fixes
5580 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5582 * examples/hildon-date-editor-example.c (main): Updated date
5585 * examples/hildon-note-example.c (on_confirmation_clicked):
5586 Updated confirmation note example.
5588 * src/hildon-date-editor.c
5589 * src/hildon-note.c: Updated sample programs in documentation.
5592 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5594 * src/hildon-date-button.h:
5595 * src/hildon-picker-button.h:
5596 * src/hildon-time-button.c:
5597 * src/hildon-time-button.h:
5599 Some declarations changes to allow gtk-doc to document the widgets
5602 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5604 * src/hildon-date-button.c: Document the widget.
5605 * src/hildon-time-button.c: Document the widget.
5607 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5609 * src/hildon-picker-button.c: Document the widget.
5610 * src/hildon-touch-selector-entry.c: Document the widget.
5612 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5614 * doc/hildon-docs.sgml
5617 * src/hildon-check-button.h
5618 * src/hildon-check-button.c: New functions to create the Hildon
5622 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5624 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5626 * src/hildon-button.h
5627 * src/hildon-button.c
5628 (hildon_button_add_title_size_group)
5629 (hildon_button_add_value_size_group)
5630 (hildon_button_add_image_size_group)
5631 (hildon_button_add_size_groups): New functions to set size groups
5632 for the button labels and image.
5633 (hildon_button_new_full): Removed
5635 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5637 * src/hildon-time-selector.c
5638 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5639 in order to avoid a crash if gconf is not available
5641 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5643 * src/hildon-button.c (hildon_button_set_arrangement)
5644 (hildon_button_construct_child): Don't construct the button child
5645 before setting the arrangement.
5647 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5649 * src/hildon-program-private.h
5650 * src/hildon-program.c
5651 * src/hildon-program.h
5652 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5653 (hildon_program_peek_window_stack)
5654 (hildon_program_pop_window_stack)
5655 (hildon_program_go_to_root_window): HildonProgram now has a
5656 separate list for stackable windows. Functions are provided to
5657 manage that list with a stack-like API.
5659 * src/hildon-stackable-window.c: Stackable window management is
5660 now much simpler with the new HildonProgram API. Windows no
5661 longer need to be manually added to the program, they're
5662 automatically pushed to the top of the stack when shown.
5664 * examples/hildon-stackable-window-example.c: Updated example to
5665 reflect the API changes.
5667 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5669 * src/hildon-touch-selector.c: Comment out unimplemented
5670 hildon_touch_selector_insert_column() to avoid a compile warning.
5672 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5674 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5675 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5676 (hildon_touch_selector_set_column_selection_mode),
5677 (_hildon_touch_selector_set_model),
5678 (hildon_touch_selector_set_model):
5680 Complete review of HildonTouchSelector documentation.
5682 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5684 * doc/hildon-docs.sgml
5688 * src/hildon-gtk.c: Convenience functions for standard Gtk
5689 widgets, used to easily perform frequent operations.
5691 * src/hildon-button-helpers.h
5692 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5694 * src/hildon-helper.h
5695 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5696 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5698 * src/hildon-button.h
5699 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5701 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5703 * src/hildon-button.c (hildon_button_init)
5704 (hildon_button_set_arrangement, hildon_button_construct_child):
5705 Pack the image and the labels inside the same GtkAlignment so
5706 gtk_button_set_alignment() can be used
5708 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5710 * src/hildon-button.h
5711 * src/hildon-button.c
5712 (hildon_button_init, hildon_button_set_image)
5713 (hildon_button_set_image_position)
5714 (hildon_button_construct_child): New functions to add an image to
5717 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5719 * src/hildon-date-button.c
5720 * src/hildon-picker-button.c
5721 * src/hildon-time-button.c
5722 * src/hildon-button.c:
5723 (hildon_button_class_init): "size-flags" renamed to "size"
5724 (hildon_button_set_title): Hide the title label if set to NULL.
5726 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5728 HildonButtonFlags split into HildonButtonArrangement (to set the
5729 button layout) and HildonSizeType (which can be used for any
5732 * src/hildon-button.h
5733 * src/hildon-button.c
5734 (hildon_button_class_init)
5735 (hildon_button_set_arrangement)
5736 (hildon_button_set_property): New "size-flags"
5737 property. "arrangement-flags" renamed to "arrangement".
5738 (hildon_button_new, hildon_button_new_with_text)
5739 (hildon_button_new_full): Constructors updated to reflect type changes.
5741 * src/hildon-helper.h
5742 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5743 to set the size of a widget.
5747 * src/hildon-button-helpers.c
5748 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5750 * src/hildon-date-button.c
5751 * src/hildon-date-button.h
5752 * src/hildon-picker-button.c
5753 * src/hildon-picker-button.h
5754 * src/hildon-time-button.c
5755 * src/hildon-time-button.h: Updated widgets to reflect
5756 HildonButton API changes.
5758 * examples/hildon-button-example.c
5759 * examples/hildon-date-button-example.c
5760 * examples/hildon-picker-button-example.c
5761 * examples/hildon-picker-button-multicolumn-example.c
5762 * examples/hildon-time-button-example.c
5763 * examples/hildon-touch-selector-entry-example.c
5764 * examples/hildon-touch-selector-example.c: Updated examples to
5765 reflect HildonButton API changes.
5767 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5769 * doc/hildon-docs.sgml:
5771 * examples/Makefile.am:
5772 * examples/hildon-touch-selector-entry-example.c:
5774 * src/hildon-touch-selector-entry.c:
5775 * src/hildon-touch-selector-entry.h:
5778 Moved HildonTouchSelectorEntry from sandbox. Added its
5779 documentation and examples.
5781 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5783 * src/hildon-touch-selector.h:
5784 * examples/hildon-picker-button-multicolumn-example.c:
5785 (hildon_touch_selector_append_text_column): Add a gboolean
5786 parameter to determine if text must be centered in the column.
5788 * src/hildon-date-selector.c: (hildon_date_selector_init):
5789 * src/hildon-time-selector.c: (hildon_time_selector_init):
5790 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5791 (create_touch_selector): Update widgets and example to reflect
5794 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5796 * src/hildon-touch-selector.c:
5797 (hildon_touch_selector_set_active_iter): Set also the cursor in
5800 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5802 * doc/hildon-docs.sgml
5805 * src/hildon-toggle-button.c
5806 * src/hildon-toggle-button.h
5807 * src/hildon.h: Removed HildonToggleButton widget, a derived
5808 class is not necessary for this.
5810 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5812 * src/hildon-pannable-area.c,
5813 (hildon_pannable_area_realize),
5814 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5817 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5819 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5820 "done" button the default widget for the dialog.
5822 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5824 * src/hildon-touch-selector.c:
5825 (hildon_touch_selector_class_init),
5826 (hildon_touch_selector_get_property),
5827 (_hildon_touch_selector_set_model),
5828 (_hildon_touch_selector_has_multiple_selection),
5829 (hildon_touch_selector_has_multiple_selection):
5830 Add a "has-multiple-selection" property with a virtual
5831 has_multiple_selection() method to allow derived classes to
5832 override the default value for it. See the method and property
5833 documentation for details.
5835 * src/hildon-touch-selector.h: Add the new API.
5837 * src/hildon-picker-dialog.c: (requires_done_button): Call
5838 hildon_touch_selector_has_multiple_selection() instead of
5839 determining the need for a button itself.
5841 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5843 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5844 (_hildon_touch_selector_set_model),
5845 (hildon_touch_selector_set_model): Move working code to
5846 _hildon_touch_selector_set_mode(). Call the class method instead.
5848 * src/hildon-touch-selector.h: Add (*set_model) to
5849 HildonTouchSelectorClass.
5851 Make hildon_touch_selector_set_model() a virtual method, so that
5852 derived classes can extend it and do fancy stuff with the model.
5854 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5856 * configure.ac: Set back the tarname in AC_INIT to hildon.
5858 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5862 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5863 instead of libesd (NB#86876). Volume handling is still an open issue.
5865 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5868 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5870 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5871 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5872 derived class to ease placement of an entry widget in
5873 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5874 end, where the selector columns are packed now.
5876 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5878 * src/hildon-picker-button.c: Removed the simple _text() API.
5879 * src/hildon-picker-button.h: Likewise.
5881 * src/hildon-touch-selector.h:
5882 * src/hildon-touch-selector.c:
5883 (hildon_touch_selector_new_text),
5884 (hildon_touch_selector_append_text),
5885 (hildon_touch_selector_prepend_text),
5886 (hildon_touch_selector_insert_text):
5888 Moved the simple _text() API from HildonPickerButton to
5889 HildonTouchPicker, to provide better escalability and not to tie
5890 that API to HildonPickerButton.
5892 * examples/hildon-picker-button-example.c: (main): Example updated.
5894 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5896 * src/hildon-button.c: Updated documentation.
5898 * examples/hildon-button-example.c: Add the posibility to create
5899 the buttons using horizontal layout for title and value.
5901 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5903 * src/hildon-app-menu-private.h
5904 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5905 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5906 GtkSizeGroup for the filters, use the 'homogeneous' property of
5909 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5911 * examples/hildon-button-example.c: Updated example.
5913 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5915 * doc/hildon-docs.sgml:
5918 Update documentation.
5920 * examples/Makefile.am: Update renamed examples.
5922 * examples/hildon-picker-button-multicolumn-example.c:
5923 (create_touch_selector), (main): Update after the rename.
5925 * examples/hildon-touch-picker-example.c: Removed.
5926 * examples/hildon-touch-selector-example.c: (value_changed),
5927 (create_selector), (get_visible_content), (main): Renamed from
5928 hildon-touch-picker-example.c
5930 * src/Makefile.am: Updated renamed files.
5932 * src/hildon-date-button.c: (hildon_date_button_init),
5933 (hildon_date_button_get_date), (hildon_date_button_set_date):
5934 * src/hildon-date-selector.c: (hildon_date_selector_init),
5935 (_custom_print_func), (_update_day_model),
5936 (_manage_selector_change_cb),
5937 (hildon_date_selector_select_current_date),
5938 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5939 * src/hildon-date-selector.h:
5940 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5941 (hildon_picker_button_set_property),
5942 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5943 (hildon_picker_button_init), (hildon_picker_button_new_text),
5944 (hildon_picker_button_append_text),
5945 (hildon_picker_button_prepend_text),
5946 (hildon_picker_button_insert_text),
5947 (hildon_picker_button_set_selector),
5948 (hildon_picker_button_get_selector):
5949 * src/hildon-picker-button.h:
5950 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5951 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5952 (_update_title_on_selector_changed_cb), (requires_done_button),
5953 (_hildon_picker_dialog_set_selector),
5954 (hildon_picker_dialog_set_selector),
5955 (hildon_picker_dialog_get_selector):
5956 * src/hildon-picker-dialog.h:
5957 * src/hildon-time-button.c: (hildon_time_button_init),
5958 (hildon_time_button_get_time), (hildon_time_button_set_time):
5959 * src/hildon-time-selector.c: (hildon_time_selector_init),
5960 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5961 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5962 * src/hildon-time-selector.h:
5965 Massive code updates after the rename.
5967 * src/hildon-touch-picker.c: Removed.
5968 * src/hildon-touch-picker.h: Removed.
5970 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5971 (hildon_touch_selector_init), (hildon_touch_selector_map),
5972 (hildon_touch_selector_remove), (_default_print_func),
5973 (_selection_changed_cb), (_create_new_column),
5974 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5975 (hildon_touch_selector_append_text_column),
5976 (hildon_touch_selector_remove_column),
5977 (hildon_touch_selector_set_column_attributes),
5978 (hildon_touch_selector_insert_column),
5979 (hildon_touch_selector_get_num_columns),
5980 (hildon_touch_selector_get_column_selection_mode),
5981 (hildon_touch_selector_set_column_selection_mode),
5982 (hildon_touch_selector_set_print_func),
5983 (hildon_touch_selector_get_print_func),
5984 (hildon_touch_selector_get_active_iter),
5985 (hildon_touch_selector_set_active_iter),
5986 (hildon_touch_selector_get_selected_rows),
5987 (hildon_touch_selector_get_model),
5988 (hildon_touch_selector_set_model),
5989 (hildon_touch_selector_get_current_text),
5990 (_hildon_touch_selector_center_on_selected_items):
5991 * src/hildon-touch-selector.h: Renamed from
5992 hildon-touch-picker.[ch]
5994 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5995 references, code examples, and related documentation.
5997 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5999 * doc/hildon-docs.sgml
6002 * src/hildon-toggle-button.c
6003 * src/hildon-toggle-button.h
6004 * src/hildon.h: New HildonToggleButton widget.
6006 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6008 * src/hildon-button.c: Add API documentation.
6009 (hildon_button_set_size_groups): Check input parameters
6011 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6013 * src/hildon-pannable-area.c
6014 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6015 effect after reaching the movement thredshold. This way we start
6016 using the distance after passing the thredshold.
6018 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6020 * src/hildon-button.c: (hildon_button_set_property): Use the
6021 appropriate g_value_get_flags() method.
6023 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6025 * doc/hildon-docs.sgml:
6028 Add the touch pickers, picker dialogs, and picker button widgets
6029 to the documentation.
6031 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6033 * src/hildon-button.c: (hildon_button_set_property),
6034 (hildon_button_class_init): Make "arrangement-flags" a proper
6035 G_TYPE_FLAGS derived property.
6037 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6039 * examples/Makefile.am: Add below examples.
6040 * examples/hildon-date-button-example.c:
6041 * examples/hildon-picker-button-example.c:
6042 * examples/hildon-picker-button-multicolumn-example.c:
6043 * examples/hildon-time-button-example.c:
6044 * examples/hildon-touch-picker-example.c:
6046 Add examples for the recently added touch pickers,
6047 picker dialogs, and picker button widgets.
6049 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6051 * src/hildon-button.c: Add some API documentation
6053 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6055 * src/hildon-button.h
6056 * src/hildon-button.c
6058 (hildon_button_new_with_text): New constructor to create a button
6059 with no text at all.
6060 (hildon_button_init, hildon_button_set_arrangement)
6061 (hildon_button_set_title, hildon_button_set_value)
6062 (hildon_button_set_text)
6063 (hildon_button_construct_child): Hide the value when it's not used
6064 so the rest of the text is properly aligned.
6065 Allow creating buttons with arbitrary widgets inside (not just
6066 title/value labels).
6068 * examples/hildon-button-example.c (vertical_buttons_window)
6069 (horizontal_buttons_window): Update example to use new API.
6071 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6073 * src/Makefile.am: Added HildonTimeButton.
6074 * src/hildon-time-button.c: Added missing LGPL header.
6075 * src/hildon-time-button.h: Added missing LGPL header.
6076 * src/hildon.h: Add hildon-time-button.h
6078 Copied HildonTimeButton from sandbox to trunk. Future work on this
6079 widget must take place in trunk.
6081 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6083 * src/Makefile.am: Added HildonDateButton.
6084 * src/hildon-date-button.c: Update includes.
6085 * src/hildon.h: Add hildon-date-button.h
6087 Copied HildonDateButton from sandbox to trunk. Future work on this
6088 widget must take place in trunk.
6090 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6092 * src/Makefile.am: Added HildonPickerButton.
6093 * src/hildon-picker-button.h: Update includes.
6094 * src/hildon.h: Add hildon-picker-button.h
6096 Copied HildonPickerButton from sandbox to trunk. Future work on
6097 this widget must take place in trunk.
6099 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6101 * src/Makefile.am: Added HildonPickerDialog.
6102 * src/hildon-picker-dialog.c: Update includes.
6103 * src/hildon.h: Add hildon-picker-dialog.h
6105 Copied HildonPickerDialog from sandbox to trunk. Future work
6106 on this widget must take place in trunk.
6108 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6110 * src/Makefile.am: Added HildonTimeSelector.
6111 * src/hildon.h: Add hildon-time-selector.h
6113 Copied HildonTimeSelector widget from sandbox to trunk. Future
6114 work on this widget must happen in trunk.
6116 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6118 * src/Makefile.am: Added HildonDateSelector.
6119 * src/hildon.h: Add hildon-date-selector.h
6121 Copied HildonDateSelector widget from sandbox to trunk. Future
6122 work on this widget must happen in trunk.
6124 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6126 * src/Makefile.am: Added HildonTouchPicker.
6127 * src/hildon-touch-picker.c: Update includes.
6128 * src/hildon.h: Add hildon-touch-picker.h
6130 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6131 on this widget must happen in trunk.
6133 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6135 * src/hildon-pannable-area.c:
6136 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6138 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6140 * examples/hildon-app-menu-example.c (main): Let the window
6143 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6145 * src/hildon-pannable-area.c
6146 (hildon_pannable_area_class_init): Set the min value of the
6147 overshoot properties to zero, which points out that not
6148 overshooting allowed.
6150 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6152 Modified the procedure to get the widget at a point inside the
6153 pannable area when using the movement type signals. Now the user
6154 has to call a function to get the child, that way we just
6155 calculate the child in case the user really want to use it and not
6158 * src/hildon-marshalers.list: Modified the marshallers, now we do
6159 not have the widget as a parameter.
6161 * src/hildon-pannable-area.c
6162 (hildon_pannable_area_motion_notify_cb),
6163 (hildon_pannable_area_class_init),
6164 (hildon_pannable_get_child_widget_at): Removed the widget
6165 parameter from the signal callback. We have also refactored the
6166 emission of the signals.
6168 * src/hildon-pannable-area.h: Added a new method to the API to
6169 calculate a widget at a point inside the pannable area,
6170 hildon_pannable_get_child_widget_at.
6172 * examples/hildon-pannable-area-example-4.c
6173 (horizontal_movement): Modified the example to use the new API,
6174 added condition to control which widget is under the event. This
6175 way we can avoid scrolling laterally over other widgets.
6177 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6179 * src/hildon-pannable-area.c
6180 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6181 modes, we stop getting the pointer events due to returning the
6182 callback without properly calling the get pointer again. Fixed
6183 also an error using the hscroll and vscroll.
6185 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6187 * src/hildon-app-menu-private.h
6188 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6189 (hildon_app_menu_button_release, hildon_app_menu_init)
6190 (hildon_app_menu_class_init): Don't hide the menu on button
6191 release if the user didn't press outside first.
6193 * src/hildon-window.h
6194 * src/hildon-window.c (hildon_window_toggle_menu)
6195 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6196 hildon_window_toggle_menu a virtual function for the stackable
6197 window to override it.
6199 * src/hildon-stackable-window.h
6200 * src/hildon-stackable-window-private.h
6201 * src/hildon-stackable-window.c
6202 (hildon_stackable_window_realize)
6203 (hildon_stackable_window_finalize)
6204 (hildon_stackable_window_class_init)
6205 (hildon_stackable_window_init)
6206 (hildon_stackable_window_set_main_menu): New function to set the
6207 app menu of a HildonStackableWindow.
6209 * examples/hildon-app-menu-example.c: Remove the button to show
6210 the app menu, now it'll be shown when clicking on the title bar
6213 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6215 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6216 set the widget name if the arrangement flags do not specify
6219 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6221 * src/hildon-button.c: (hildon_button_set_property),
6222 (hildon_button_class_init), (hildon_button_new_full),
6223 (hildon_button_set_arrangement): Added "arrangement-flags"
6226 Make the HildonButtonFlags a construction-only property, to allow
6227 subclasses to set them properly.
6229 2008-07-21 Tim Janik <timj@imendio.com>
6231 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6232 insertion position after backspace, so additional digits are appended,
6235 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6237 * src/hildon-pannable-area.c,
6238 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6239 TODO list, it was complete and removed the g_debug and g_print
6242 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6244 Added the movement modes to the hildon-pannable-area, with this
6245 modes the developers can control in which directions the widget
6246 can scroll. They can also connect to signals in order to do
6247 something when that happens, allowing applications scroll. There
6248 is an example uploaded showing how to use it.
6250 * examples/Makefile.am:
6251 * examples/hildon-pannable-area-example-4.c: Added this example of
6252 an application using the modes.
6254 * src/hildon-marshalers.list: Added a new marshaller for the new
6257 * src/hildon-pannable-area.h: Added new enumerations and flags in
6258 order to control the movement modes and the new signals to warn
6259 about the movements in the area.
6261 * src/hildon-pannable-area.c:
6262 (hildon_pannable_axis_scroll),
6263 (hildon_pannable_area_scroll),
6264 (hildon_pannable_area_motion_notify_cb),
6265 (hildon_pannable_area_get_property),
6266 (hildon_pannable_area_set_property),
6267 (hildon_pannable_area_map),
6268 (hildon_pannable_area_class_init),
6269 (hildon_pannable_area_init),
6270 (hildon_pannable_area_jump_to): Added the modes to control the
6271 movement in the widget. We have added properties to control it,
6272 signals to warn about the movements and refactored some code.
6274 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6276 Changes required in order to allow vfast_factor set to zero to
6279 * src/hildon-pannable-area.c:
6280 (hildon_pannable_area_button_press_cb): Changed the condition, it
6281 is required for not allowing click when vfast_factor is zero.
6282 (hildon_pannable_area_timeout): Initialized velocity variables
6283 when we stop moving, it was less than 1 but not zero and we need
6284 to check zero in some situations.
6285 (hildon_pannable_area_class_init): Changed the default value of
6286 the speed factor, now the button_press is just sent in case the
6287 speed is 2 per cent of the max speed.
6288 (hildon_pannable_area_init): Initialization with 0.
6290 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6292 * src/hildon-pannable-area.c,
6293 (hildon_pannable_area_get_topmost): replaced
6294 gdk_window_get_children with gdk_window_peek_children, this way we
6295 do not have to free the list because it is not a copy.
6297 (hildon_pannable_axis_scroll),
6298 (hildon_pannable_area_scroll),
6299 (hildon_pannable_area_timeout),
6300 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6301 two parameters that were only used inside the
6302 hildon_pannable_area_scroll function.
6304 * examples/hildon-pannable-area-example.c,
6305 (get_sawtooth_label): Fixed small memory leak.
6307 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6309 More checks for the case where the overshoot is bigger than the
6312 * src/hildon-pannable-area.c:
6313 (hildon_pannable_draw_vscroll),
6314 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6315 to draw the slider of the scrollbar under the other scrollbar.
6316 (hildon_pannable_area_expose_event): added new checks to control
6317 the drawing of the overshooting area rectangle, in case it is too
6318 big for the area of the widget.
6319 (hildon_pannable_area_size_allocate): add more checks to avoid
6320 setting a position to the child widget outside the area.
6322 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6324 * src/hildon-pannable-area.c
6325 (hildon_pannable_area_size_allocate): Added conditions to control
6326 when overshooting is bigger than the allocated space for the
6327 children, this avoids negative allocations.
6329 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6331 * doc/hildon-docs.sgml
6333 * examples/Makefile.am
6334 * examples/hildon-button-example.c
6336 * src/hildon-button.c
6337 * src/hildon-button.h
6338 * src/hildon.h: Initial version of the new HildonButton widget,
6341 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6343 * src/hildon-pannable-area.c:
6344 (hildon_pannable_area_button_press_cb),
6345 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6346 (hildon_pannable_area_motion_notify_cb),
6347 (hildon_pannable_area_button_release_cb),
6348 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6349 (hildon_pannable_area_jump_to_child):
6351 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6353 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6355 * examples/Makefile.am
6356 * examples/hildon-pannable-area-touch-grid-example.c
6357 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6358 the Hildon Touch List and Hildon Touch Grid using the
6359 HildonPannableArea widget.
6361 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6363 * src/hildon-pannable-area.c,
6364 (hildon_pannable_area_button_press_cb),
6365 (hildon_pannable_area_refresh),
6366 (hildon_pannable_area_scroll),
6367 (hildon_pannable_area_motion_notify_cb),
6368 (hildon_pannable_area_button_release_cb),
6369 (hildon_pannable_area_expose_event),
6370 (hildon_pannable_area_add),
6371 (hildon_pannable_area_remove),
6372 (hildon_pannable_area_realize),
6373 (hildon_pannable_area_size_allocate),
6374 (hildon_pannable_area_class_init),
6375 (hildon_pannable_area_init),
6376 (hildon_pannable_area_scroll_to_child),
6377 (hildon_pannable_area_jump_to_child): Fixed the problem of
6378 removing the child from the GtkBin, we have rearranged the widget
6379 hierarchy, now there is no GtkAlignment which was not doing
6380 anything interesting but breaking some of the assumptions of
6381 GtkContainer. Now developers if they want to add a GtkAlignment
6382 they could, but it is not inside the area.
6384 We had to review the whole allocation/expose process, now it is
6385 improved and we save at least three signals which would be saving
6386 some time when rendering the widget. The allocation of the
6387 scrollbars is now made in the allocate method as usual.
6389 We have also added some conditions in order to control when there
6390 is no child of the pannable area. Maybe we will need more work
6393 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6395 * src/hildon-pannable-area.c,
6396 (hildon_pannable_area_dispose): Released the fade-out timeout when
6397 disposing the widget.
6399 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6401 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6402 zero, we are going to use that property in order to deactivate the
6404 (hildon_pannable_axis_scroll),
6405 (hildon_pannable_area_size_allocate): Added conditions to control
6406 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6407 call, now it is called in all situations and we can remove calls
6408 in the allocate method.
6409 (hildon_pannable_area_map): Control the situation when
6410 overshoot_max is zero, we do not need the timeout.
6411 (hildon_pannable_area_class_init): Added documentation in order to
6412 point out that setting zero to overshoot_max means deactivate
6415 NOTE: removed trailing whitespaces from my previous comments of
6418 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6420 * src/hildon-pannable-area.c
6421 (hildon_pannable_area_get_property),
6422 (hildon_pannable_area_set_property),
6423 (hildon_pannable_area_map),
6424 (hildon_pannable_area_class_init),
6425 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6426 to cause the widget give a hint about its panning abilities upon
6429 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6431 * src/hildon-pannable-area.c: Several documentation improvements.
6433 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6435 * src/hildon-program.c
6436 * src/hildon-stackable-window.c: Update documentation.
6438 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6440 * src/hildon-stackable-window.c (get_previous_window_if_last):
6441 Renamed get_last_window()
6442 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6443 (hildon_stackable_window_unset_program):
6445 (get_previous_window_if_last):
6446 Detect if the window hasn't been added to a HildonProgram.
6448 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6450 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6452 * src/hildon-pannable-area.c
6453 (hildon_pannable_area_button_press_cb),
6454 (hildon_pannable_axis_scroll),
6455 (hildon_pannable_area_scroll),
6456 (hildon_pannable_area_timeout),
6457 (hildon_pannable_calculate_vel_factor),
6458 (hildon_pannable_area_get_property),
6459 (hildon_pannable_area_set_property),
6460 (hildon_pannable_area_class_init),
6461 (hildon_pannable_area_init),
6462 (hildon_pannable_area_scroll_to),
6463 (hildon_pannable_area_jump_to),
6464 (hildon_pannable_area_scroll_to_child),
6465 (hildon_pannable_area_jump_to_child):
6466 * src/hildon-pannable-area.h: Added the new API functions:
6467 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6468 hildon_pannable_area_scroll_to_child,
6469 hildon_pannable_area_jump_to_child
6472 * examples/Makefile.am
6473 * examples/hildon-pannable-area-example-2.c
6474 * examples/hildon-pannable-area-example-3.c: Added these two new
6475 examples in order to test and show how the new APIs work.
6477 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6479 * examples/hildon-stackable-window-example.c (new_window):
6480 * src/Makefile.am (noinst_HEADERS):
6481 * src/hildon-program.c (hildon_program_go_to_root_window):
6482 * src/hildon-program.h:
6483 * src/hildon-stackable-window-private.h:
6484 * src/hildon-stackable-window.c:
6485 * src/hildon-stackable-window.h:
6486 Create hildon-stackable-window-private.h
6487 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6489 * examples/hildon-app-menu-example.c (create_menu):
6490 * examples/hildon-hvolumebar-insensitive-example.c (main):
6491 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6492 * examples/hildon-toolbar-seekbar-example.c (main):
6493 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6494 * src/hildon-banner.c (hildon_banner_set_property):
6495 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6496 Fix compilation warnings
6498 * src/hildon-window.c:
6501 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6503 * src/hildon-stackable-window.c
6504 (hildon_stackable_window_unset_program):
6505 Calculate correctly whether to show the previous window if the
6506 last one is removed from the stack.
6507 (hildon_stackable_window_go_to_root_window):
6508 Send delete events starting from the topmost window.
6509 Stop if one of the windows is not destroyed.
6511 (hildon_stackable_window_delete_event)
6512 (hildon_stackable_window_class_init):
6513 Ignore the delete event if the window is not the topmost one.
6515 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6517 * src/hildon-pannable-area.c
6518 (hildon_pannable_area_expose_event): Fixed a problem when
6519 selecting the background color of the scrollbars.
6521 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6523 * examples/hildon-stackable-window-example.c
6524 * src/hildon-stackable-window.c
6525 * src/hildon-stackable-window.h
6526 hildon_stackable_window_go_home() renamed to
6527 hildon_stackable_window_go_to_root_window()
6528 Send delete events to windows rather than closing them with
6529 gtk_widget_destroy()
6531 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6533 * src/hildon-pannable-area.c
6534 (hildon_pannable_area_button_release_cb): Fix overshooting in
6537 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6539 * src/hildon-pannable-area.c
6540 (hildon_pannable_area_init): Initially show the scroll indicators.
6541 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6543 Add initial effect showing the widget is pannable.
6545 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6547 * src/hildon-pannable-area.c
6548 (hildon_pannable_area_class_init)
6549 (hildon_pannable_area_set_property)
6550 (hildon_pannable_area_get_property)
6551 (hildon_pannable_area_button_press_cb):
6552 New 'velocity_fast_factor' property to decide which velocity is
6555 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6557 * src/hildon-pannable-area.c
6558 (hildon_pannable_draw_hscroll)
6559 (hildon_pannable_draw_vscroll):
6560 Use float variables to calculate the size of the scrollbars to
6561 avoid error propagation and resizing during scrolling.
6563 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6565 * src/hildon-pannable-area.c
6566 (hildon_pannable_draw_vscroll)
6567 (hildon_pannable_draw_hscroll):
6568 Define a minimum size for the scroll bars
6570 * src/hildon-stackable-window.c
6571 (hildon_stackable_window_go_home): Fix compilation warning
6572 (get_last_window): Minor optimizations
6573 (hildon_stackable_window_class_init): Fix initialization of
6576 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6578 * src/hildon-stackable-window.c: Fixed typos in doc
6580 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6582 * src/hildon-pannable-area.c
6583 (hildon_pannable_area_scroll):
6584 Calculate here whether we need to scroll instead of using the booleans
6585 that tell us whether to /draw/ the scrolling bars.
6587 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6589 * src/hildon-app-menu.h
6591 * src/hildon-app-menu.c
6592 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6593 multiple filter groups related code and API. Now we support only
6595 * examples/hildon-app-menu-example.c:
6597 Update to reflect API changes.
6599 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6601 * src/hildon-stackable-window.c
6602 (hildon_stackable_window_class_init):
6603 Add hildon_stackable_window_realize.
6604 (hildon_stackable_window_realize):
6605 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6606 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6607 to apply theming and behavior specific to HildonStackableWindow
6610 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6612 * src/hildon-note.c (hildon_note_button_release):
6613 Close information notes also when tapping on them
6615 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6617 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6618 ELASTICITY, refactor and review, fix some issues with drawing
6621 * src/hildon-pannable-area.c:
6622 (hildon_pannable_area_button_press_cb): removed the conditions to
6623 avoid clicks when overshooting. It is not required
6625 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6626 define. Refatored and reviewed the code, now we do not need to
6627 manage velocity in motion_notify.
6629 (hildon_pannable_area_motion_notify_cb): We have moved the code
6630 that controls the area_scroll to the axis_scroll function and get
6631 rid of duplicated code.
6633 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6635 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6637 (hildon_pannable_draw_vscroll),
6638 (hildon_pannable_draw_hscroll): Fixed the problems with the
6639 scrollbar drawing, now we do not use two surfaces, it is easier
6640 and saves resources.
6642 (hildon_pannable_area_get_property): Style modification.
6644 (hildon_pannable_area_class_init): Changed some default values.
6646 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6648 * src/hildon-stackable-window.c: Fix some typos in the
6651 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6653 * src/hildon-dialog.c:
6654 Change indentation style
6657 (hildon_note_button_release):
6658 Use root coordinates to check if the release event happened
6661 * src/hildon-app-menu.c
6662 (hildon_app_menu_button_release):
6663 Remove unnecessary check
6665 * examples/hildon-app-menu-example.c
6667 Add cast to fix warning
6669 * src/hildon-app-menu.c
6670 (hildon_app_menu_class_init):
6671 New inner-border style property.
6672 Set all default spacings to 16
6673 (hildon_app_menu_init):
6674 Use vertical-spacing to set the space between filter buttons and
6675 regular menu buttons.
6676 Set the default container border using the inner-border value.
6678 * examples/hildon-app-menu-example.c
6680 Don't set the menu border explicitly, now we have the inner-border
6681 style property for that.
6683 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6685 * src/hildon-app-menu.c (hildon_app_menu_init):
6686 Make the window modal
6688 * src/hildon-note.c (hildon_note_map)
6689 * src/hildon-app-menu.c (hildon_app_menu_map):
6690 Destroy the grab window if we're unable to grab the pointer
6692 * src/hildon-app-menu-private.h
6693 * src/hildon-app-menu.c
6694 (hildon_app_menu_init, hildon_app_menu_finalize)
6695 (hildon_app_menu_map, hildon_app_menu_unmap)
6696 (hildon_app_menu_button_release)
6697 (grab_transfer_window_get):
6698 Bring back the grab window
6699 (hildon_app_menu_realize):
6700 Decorate the window, set WM hint for Matchbox
6702 * src/hildon-note.c (hildon_note_realize):
6703 * src/hildon-banner.c (hildon_banner_realize):
6704 Add WM hints for Matchbox
6706 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6708 * src/hildon-app-menu-private.h
6709 * src/hildon-app-menu.c
6710 (hildon_app_menu_init, hildon_app_menu_finalize)
6711 (hildon_app_menu_map, hildon_app_menu_unmap)
6712 (hildon_app_menu_button_release):
6713 Remove the grab window, it's not needed anymore
6715 * src/hildon-program.c
6716 Fixed typo in documentation
6718 * src/hildon-app-menu.h
6719 * src/hildon-app-menu.c
6720 * examples/hildon-app-menu-example.c
6721 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6723 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6726 Added new transfer_window and close_if_pressed_outside private
6728 (hildon_note_rebuild):
6729 Don't add a cancel button to the information note. It will be
6730 closed when tapping outside
6731 Remove the comment about the OK button in the documentation
6732 (hildon_note_realize):
6733 Set the notification type hint
6734 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6735 Grab/ungrab pointer and keyboard if the note has to be closed when
6737 (hildon_note_button_release):
6738 Close the note when tapping outside (if applicable)
6740 * src/hildon-app-menu.c
6741 Grab/ungrab pointer and keyboard on map/unmap
6742 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6743 Close the menu on button release, not button press
6745 * src/hildon-banner.c
6746 (hildon_banner_set_property)
6747 (hildon_banner_check_position):
6748 Make the banner use the full width of the screen
6749 (hildon_banner_show_information)
6750 (hildon_banner_show_information_with_markup):
6751 Don't display an icon by default
6753 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6755 Added fading scrollbars and adapted all the overshooting code to
6756 horizontal scrolling. We have also fixed bugs with overshooting
6757 and current fading implementation.
6759 * src/hildon-pannable-area.c
6760 (hildon_pannable_area_scroll_indicator_fade): Time out function
6761 used to change the transparency of the scrollbars.
6763 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6764 control and fixed a problem with fading, we now remove the fade
6765 timeout before adding a new one.
6767 (hildon_pannable_axis_scroll):
6768 (hildon_pannable_area_scroll):
6769 (hildon_pannable_area_timeout): Added this functions so we can use
6770 the scroll code both for vertical and horizontal.
6772 (hildon_pannable_area_motion_notify_cb):
6773 (hildon_pannable_area_button_release_cb): Added the horizontal
6774 scrolling control, fixed a problem with the overshooting timeout.
6776 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6777 painting of the scrolls.
6779 (hildon_pannable_draw_vscroll):
6780 (hildon_pannable_draw_hscroll):
6781 (hildon_pannable_area_expose_event):
6782 Draw both scrollbars and rectangles in the overshooting area.
6784 (hildon_pannable_area_get_property):
6785 (hildon_pannable_area_set_property):
6786 Modified the overshoot property to overshoot_max
6788 (hildon_pannable_area_map):
6789 Replaced the comments symbols.
6791 (hildon_pannable_area_size_allocate):
6792 (hildon_pannable_area_class_init):
6793 (hildon_pannable_area_init): Added horizontal scroll, fading
6794 effect properties, fixed a problem when overshooting in the bottom
6797 * examples/hildon-pannable-area-example.c:
6798 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6799 looks better in the example.
6801 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6803 * src/hildon-window.c
6804 * src/hildon-window.h
6805 (hildon_window_class_init)
6806 (hildon_window_unset_program)
6807 (hildon_window_unset_program_real):
6808 Make unset_program a virtual function
6810 * src/hildon-stackable-window.c
6811 * src/hildon-stackable-window.h
6812 Added hildon_stackable_window_go_home()
6814 * examples/Makefile.am
6815 * examples/hildon-stackable-window-example.c
6816 HildonStackableWindow example
6818 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6820 * hildon-pannable-area.c: Added the overshoot property and removed
6821 the OVERSHOOT define. Fixed an indent style error.
6822 (hildon_pannable_area_motion_notify_cb):
6823 (hildon_pannable_area_get_property):
6824 (hildon_pannable_area_set_property): Add overshoot property.
6826 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6829 (hildon_pannable_area_class_init): Installed the new property.
6831 * hildon-pannable-area-example.c: Added a sawtooth function, this
6832 way it is easier to check the movement in the pannable.
6833 (get_sawtooth_label): Added this function.
6834 (main): Now we get the labels from the new get_sawtooth_label
6837 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6839 * src/hildon-app-menu.h
6840 * src/hildon-app-menu.c
6841 Renamed API variables for consistency
6843 (hildon_app_menu_popup): Use also the default window size to
6844 decide where to place the menu
6846 (hildon_app_menu_init, hildon_app_menu_class_init): New
6847 external-border style property
6849 2008-05-26 Michael Natterer <mitch@imendio.com>
6851 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6852 widget_class->tap_and_hold_setup signal slot doesn't exist any
6853 longer, stop overriding it.
6855 (hildon_time_editor_init): g_signal_connect() to the
6856 tap-and-hold-setup signal instead.
6858 (hildon_time_editor_entry_keypress): add cast to fix warning.
6860 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6862 * doc/hildon-docs.sgml
6864 * examples/Makefile.am
6865 * examples/hildon-app-menu-example.c
6867 * src/hildon-app-menu-private.h
6868 * src/hildon-app-menu.c
6869 * src/hildon-app-menu.h
6871 New HildonAppMenu widget
6873 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6875 Rearranged the inheritance of the pannable area, now it inherits
6876 from GtkBin. This will allow us to control the event_window and
6877 the allocation process of the widget, required for some effects.
6879 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6880 GtkBin structures. * src/hildon-pannable-area.c: Added the
6881 event_window variable.
6882 (hildon_pannable_area_button_press_cb):
6883 (hildon_pannable_area_button_release_cb):
6884 (hildon_pannable_area_motion_notify_cb):
6885 Changed the signature of the method, now we override the event
6886 callback instead of connecting to the signal.
6888 (hildon_pannable_area_realize):
6889 (hildon_pannable_area_unrealize):
6890 (hildon_pannable_area_map):
6891 (hildon_pannable_area_unmap):
6892 (hildon_pannable_area_size_allocate):
6893 Added functions to control the widget construction. We add a
6894 INPUT_ONLY window and we put it over the widgets inside the
6895 container, this event_window handles the events.
6897 (hildon_pannable_area_class_init):
6898 Replaced the signal connections with overrides of the event
6901 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6903 Bouncing effect added when touching the borders, you can change
6904 the elasticity of the border changing the ELASTICITY define.
6906 * src/hildon-pannable-area.c: Added ELASTICITY define.
6907 (hildon_pannable_area_timeout): Added inverse velocity when
6908 touching the border of the child widget, that causes a bounce.
6910 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6912 Improved performance, we now do not go to the X server in order to
6913 get the list of window children. Apparently the effect is the
6914 same, we have to be careful and check if this breaks something in
6917 * src/hildon-pannable-area.c:
6918 (get_ordered_children): Removed this function.
6919 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6920 the children windows function with gdk_window_get_children.
6922 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6924 * src/hildon-pannable-area.c:
6925 (hildon_pannable_area_dispose): Fixed a crash when closing the
6926 window and kinetics is activated.
6928 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6930 * src/hildon-pannable-area.h
6931 * src/hildon-pannable-area.c
6932 Changed indentation style to meet the one used in Hildon
6934 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6936 Reviewed the interaction of the AUTO mode, now we use the time
6937 attribute of the events and calculate the velocity in the motion,
6938 doing a gimp like calculation. The velocity is calculated in each
6939 motion event using the last velocity and the current one, the
6940 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6942 * src/hildon-pannable-area.c: Replaced the time based algorithm
6944 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6945 timeout for the AUTO mode when we are still moving the cursor. We
6946 added also the velocity calculation in this function.
6947 (hildon_pannable_area_button_release_cb): launch the timeout in
6948 case we are in AUTO mode. There are still some constants here that
6949 come from the old implementation that should be reviewed and
6952 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6954 * doc/hildon-docs.sgml
6957 * src/hildon-stackable-window.c
6958 * src/hildon-stackable-window.h
6960 New HildonStackableWindow widget
6962 * examples/hildon-dialog-example.c
6963 * examples/hildon-pannable-area-example.c
6966 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6968 * src/hildon-dialog.c
6969 (hildon_dialog_new_with_buttons): New constructor.
6971 * examples/hildon-dialog-example.c
6972 (main): Update the example to use the new
6973 hildon_dialog_new_with_buttons().
6975 * examples/hildon-pannable-area-example.c
6976 (main): Update example.
6978 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6980 * doc/hildon-docs.sgml
6982 Added HildonPannableArea to the documentation.
6984 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6986 * doc/visual_index.xml
6987 Fix reference to HildonLoginDialog in documentation
6989 * doc/hildon-docs.sgml
6991 * examples/Makefile.am
6992 * examples/hildon-dialog-example.c
6994 * src/hildon-dialog.c
6995 * src/hildon-dialog.h
6997 New HildonDialog widget.
6999 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7001 * src/hildon-pannable-area.c
7002 Merge latest changes (r4318, r4342) from libmokoui trunk
7004 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7006 * examples/Makefile.am
7007 * examples/hildon-pannable-area-example.c
7009 * src/hildon-pannable-area.c
7010 * src/hildon-pannable-area.h
7012 New HildonPannableArea widget.
7014 2008-04-15 18:05:19 <timj@imendio.com>
7016 * src/hildon-banner.c: revert the recent change, that introduced
7017 gtk_window_present() calls. this reopens:
7018 Bug 78481 - [freetest] information banners are hidden under browser menu
7019 But resolves another variant of:
7020 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7022 2008-04-15 13:21:13 <timj@imendio.com>
7024 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7025 recreated its layout, spotted by Kris. this fixes all remaining
7026 artefacts and stability issues with the banner code. in particular:
7027 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7029 2008-04-14 16:52:59 <timj@imendio.com>
7031 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7032 operating on unrealized widgets, fixes:
7033 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7035 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7037 2008-04-09 Kristian Rietveld <kris@imendio.com>
7039 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7040 makes banner disappear.
7041 Fixes: NB#79182: info banner flickering with certain message lengts.
7043 * src/hildon-banner.c (hildon_banner_constructor),
7044 (hildon_banner_init), (hildon_banner_set_text),
7045 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7046 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7047 FALSE, reset size requests of label and banner,
7048 (force_to_wrap_truncated): when the text is too wide, always enforce
7049 the maximum possible width instead of recalculating it from the
7050 layout; enforce the maximum banner height of 3 lines,
7051 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7052 nicer wrapping and no truncated chars if space gets tight.
7054 * src/hildon-banner-private.h: add has_been_wrapped and
7055 has_been_truncated fields.
7057 2008-04-07 Sven Herzberg <sven@imendio.com>
7059 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7060 local values in hildon_date_editor_size_allocate
7062 * src/hildon-date-editor.c: moved the real allocation code into the
7065 2008-04-07 Sven Herzberg <sven@imendio.com>
7067 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7068 local values in hildon_date_editor_size_allocate
7070 * src/hildon-date-editor.c: merged the two if() branches together
7072 2008-04-07 Sven Herzberg <sven@imendio.com>
7074 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7075 local values in hildon_date_editor_size_allocate
7077 * src/hildon-date-editor.c: changed the arguments of the if()
7080 2008-04-07 Sven Herzberg <sven@imendio.com>
7082 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7083 local values in hildon_date_editor_size_allocate
7085 * src/hildon-date-editor.c: split the calculation of the allocation
7086 from the real allocation
7088 2008-03-27 Michael Natterer <mitch@imendio.com>
7090 Fixes: NB#81696: The passcode is not overwritten even after
7093 * src/hildon-code-dialog.c
7094 (hildon_code_dialog_button_clicked)
7095 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7096 because that doesn't overwrite selected text. Instead, emit the
7097 "commit" signal on the entry's im_context so the entry's normal
7098 insert logic is triggered. Set the cursor to the end of the entry
7099 after each insert operation so that we *only* insert in the middle
7100 of the text if something was selected.
7102 2008-03-27 Michael Natterer <mitch@imendio.com>
7104 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7105 selector cannot be opened
7107 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7108 when the popup color selector is created. Please connect to this
7109 signal in order to set the dialog's help ID.
7111 2008-03-25 Sven Herzberg <sven@imendio.com>
7113 Fixes: MB#1212: Hide info banners (infoprints) on click
7115 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7116 extracted the close event simulation into an extra function
7117 (hildon_banner_button_press_event): simulate a close event and destroy
7118 the widget if the event wasn't handled
7119 (hildon_banner_class_init): added the button_press_event handler
7120 (hildon_banner_init): added button-press events to the widget
7122 2008-03-25 Sven Herzberg <sven@imendio.com>
7124 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7125 Patch from: Mohammad Anwari <mdamt@maemo.org>
7127 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7128 instead of the right in RTL mode
7129 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7130 breadcrumb button list in RTL mode
7131 * src/hildon-caption.c: mirror the appearance of the caption widget in
7133 * src/hildon-date-editor.c: mirror appearance of the date editor in
7135 * src/hildon-time-editor.c: mirror appearance of the time editor in
7137 * src/hildon-window.c: fix the position of the popup in RTL mode
7139 2008-03-25 Sven Herzberg <sven@imendio.com>
7141 Amendment to the fix of NB#22072. Fix compilation.
7143 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7145 2008-03-19 Sven Herzberg <sven@imendio.com>
7147 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7150 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7151 timeout id properly when the timeout will disappear this leaves no
7152 artifacts around in the destroy(); there will only be the timeout
7153 created by hildon_banner_ensure_timeout() and adding a new timeout
7154 will also work if the timeout gets removed because the timeout_handler
7157 2008-03-19 Michael Natterer <mitch@imendio.com>
7159 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7161 * src/hildon-volumebar.c
7162 * src/hildon-vvolumebar.c
7163 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7164 the widget becomes focussable at all.
7166 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7167 set the focus to wither the mute button or the volumebar.
7169 Remove own "can-focus" property and instead listen to
7170 notify::can-focus in order to update the widget's state.
7172 Implement GtkWidget::focus() and make sure we can also *leave* the
7173 widget, not only enter it, depending on volumebar orientation and
7174 requested focus direction.
7176 Clean up set_mute() to cooperate nicely with all the above.
7178 2008-03-04 Michael Natterer <mitch@imendio.com>
7180 Fixes: NB#78481: information banners are hidden under browser menu
7182 * src/hildon-banner.c: call gtk_window_present() on the banners so
7183 they are risen if they are already visible.
7185 2008-03-03 Sven Herzberg <sven@imendio.com>
7187 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7189 * examples/hildon-window-menu-example.c: (main): extended the window
7190 menu example to serve as a testcase for automatically added
7191 accelerator groups, too
7192 * src/hildon-window.c: (hildon_window_add_accel_group),
7193 (hildon_window_set_menu): added patch by Tommi Komulainen
7195 2008-03-03 Sven Herzberg <sven@imendio.com>
7197 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7199 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7200 knowledge about the border allocators used within GTK+
7202 2008-02-26 Sven Herzberg <sven@imendio.com>
7204 Fixes: MB#2981: Build with asserts broken
7206 * src/hildon-date-editor.c,
7207 * src/hildon-number-editor.c,
7208 * src/hildon-time-editor.c,
7209 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7210 the proper GType instance check
7212 2008-02-25 Sven Herzberg <sven@imendio.com>
7214 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7216 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7217 * examples/hildon-window-menu-example.c: (main): explicitly show
7219 * src/hildon-window.c:
7220 (hildon_window_set_main_menu): moved most of the code from set_menu()
7221 to this place; skipped the call to gtk_widget_show_all(); also didn't
7222 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7223 (hildon_window_set_menu): removed most of the code, just keep the
7224 questionable gtk_widget_show_all()
7225 * src/hildon-window.h: added the new function and deprecate the old
7228 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7234 * debian/changelog: Updating.
7236 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7239 * pkgconfig/Makefile.am:
7240 * pkgconfig/hildon.pc.in:
7243 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7244 use newly created API_MAJOR_VERSION.
7246 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7252 * debian/changelog: Updating.
7254 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7256 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7258 Add outer_border style property, we use it but don't define it (!).
7262 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7264 * examples/hildon-bread-crumb-trail-example.c (main):
7268 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7270 Fix logic for the bread crumb trail node removal.
7274 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7280 * debian/changelog: Updating.
7282 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7284 Patch by Alejandro to get/set passwords dialogs accesibility.
7286 * hildon-1/src/hildon-get-password-dialog.c:
7287 * hildon-1/src/hildon-set-password-dialog.c:
7288 Set atk_set_name to the passwd entries in order to allow
7289 accessibility by name on this entries.
7291 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7296 * debian/control: Updating gtk dep.
7298 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7300 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7301 USE_MAEMO_GTK is enabled.
7303 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7305 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7306 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7308 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7314 * debian/changelog: Updating.
7316 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7318 * examples/Makefile.am:
7319 * examples/hildon-logical-color-example.c:
7320 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7321 applied + adding a test case. Fixes: NB#71660.
7323 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7325 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7326 to be visible, fixes warning on map for windows without toolbars.
7328 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7330 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7331 2.11.0, add a check for that besides the MAEMO_GTK check.
7333 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7339 * debian/changelog: Updating.
7341 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7343 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7344 visibility. Fixes: NB#70842 and MB#615.
7346 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7348 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7349 set the separator as no-show-all so it doesn't unintentionally appear when
7350 someone does a show_all.
7352 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7354 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7355 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7356 toplevel item. Fixes: NB#62031
7358 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7360 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7361 fix the name of the function in the docs.
7363 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7369 * debian/changelog: Updating.
7371 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7373 * examples/hildon-banner-long-example.c: Adding a test-case for long
7376 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7378 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7380 * src/hildon-color-chooser-dialog.c:
7381 * src/hildon-color-chooser.c:
7382 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7383 memory leaks in font selector and color selector. Fixes: NB#70499 and
7386 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7388 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7390 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7392 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7393 little bit bigger. Fixes: #NB63694.
7395 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7401 * debian/changelog: Updating.
7403 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7406 * doc/hildon-docs.sgml:
7407 * doc/images/bread-crumb-trail.png:
7408 * doc/images/calendar-popup.png:
7409 * doc/images/caption.png:
7410 * doc/images/code-dialog.png:
7411 * doc/images/color-button.png:
7412 * doc/images/color-chooser-dialog.png:
7413 * doc/images/color-chooser.png:
7414 * doc/images/controlbar.png:
7415 * doc/images/date-editor.png:
7416 * doc/images/font-selection-dialog.png:
7417 * doc/images/get-password-dialog.png:
7418 * doc/images/hvolumebar.png:
7419 * doc/images/login-dialog.png:
7420 * doc/images/note.png:
7421 * doc/images/number-editor.png:
7422 * doc/images/range-editor.png:
7423 * doc/images/seekbar.png:
7424 * doc/images/set-password-dialog.png:
7425 * doc/images/sort-dialog.png:
7426 * doc/images/time-editor.png:
7427 * doc/images/time-picker.png:
7428 * doc/images/vvolumebar.png:
7429 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7430 Adding the bread-crumb-trial and helpers to the documentation.
7432 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7434 * examples/hildon-find-toolbar-example.c:
7435 * src/hildon-find-toolbar.c:
7436 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7437 actually continue firing the other handlers if connected. Adding a new
7439 hildon_find_toolbar_get_last_index that gets the index of the most
7440 recently added (last) item. Fixes: NB#52301.
7442 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7444 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7445 behaviour. Fixes: NB#68610.
7447 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7449 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7452 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7454 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7455 when realizing the banner. Should make the infonbanner effect a bit more
7458 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7460 * src/hildon-volumebar.c:
7461 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7462 hildon_volumebar_set_range_insensitive_message and
7463 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7465 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7467 * src/hildon-window.c: Fixing the border freeing on destroy.
7469 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7471 * src/hildon-code-dialog-private.h:
7472 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7473 kw keyboard support in HildonCodeDialog.
7475 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7481 * debian/changelog: Updating.
7483 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7485 * src/hildon-date-editor.c:
7486 * src/hildon-number-editor.c:
7487 * src/hildon-private.c:
7488 * src/hildon-private.h:
7489 * src/hildon-time-editor.c:
7490 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7491 handling in subclassed composite widgets. Fixes: NB#66628.
7493 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7495 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7496 from destroy_ callback as it introduces problems in async dbus signal
7497 handlers. Fixes NB#66673.
7499 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7501 * examples/hildon-hvolumebar-example.c:
7502 * src/hildon-volumebar.c: Improving the focus handling in the
7503 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7504 set_property accessor so that "mute" property can be actually set. I'm
7505 scared that nobody noticed it's totally broken.
7507 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7509 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7512 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7514 * src/hildon-calendar.c:
7515 * src/hildon-number-editor.c:
7516 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7517 matches the spec of 6 chars per second. Fixes: NB#60489.
7519 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7521 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7522 gtk_style_lookup_color sometime returns FALSE even though color was
7523 found and values were filled properly. Weird. Removing the warning for the
7526 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7528 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7529 expand vertically. Adding some extra space to the find toolbar buttons to
7530 make them thumbable. Fixes NB#66060.
7532 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7534 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7535 popup with "Ok" and "Cancel". Fixes NB#59299.
7537 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7539 * src/hildon-calendar.c: Process all window updates before executing next
7540 timeout. Fixes: NB#54146.
7542 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7548 * debian/changelog: Updating.
7550 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7552 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7553 the client event and ignore it, since we use the delete event to close
7556 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7558 * src/hildon-helper.c: Remove the bogus warning about color not being
7559 found. Fixes NB#58352.
7561 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7563 * examples/Makefile.am:
7564 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7565 HildonSeekbar widget inside a toolbar.
7567 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7569 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7570 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7571 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7572 don't want to be closed by non-temporary windows on map.
7574 Also use G_DEFINE_TYPE instead of manually typed code.
7576 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7583 * debian/rules: Updating.
7585 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7587 * examples/Makefile.am:
7588 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7589 bug NB#61128. Strangely it works.
7591 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7593 * src/hildon-date-editor.c: When the date editor entry has been changed
7594 but the numbers of characters < max, turn off the skip validation flag.
7595 Prevents a situation when we enter first a valid year and later re-write
7596 it with an invalid one. Fixes NB#60154.
7598 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7600 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7601 code dialog. Fixes NB#64355.
7603 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7605 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7606 switching the page. Fixes NB#49374.
7608 * examples/Makefile.am:
7609 * examples/hildon-wizard-dialog-example.c: Adding an example for
7610 HildonWizardDialog that shows how to handle manual sensitivity setting on
7613 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7617 * src/hildon-version.h.in:
7618 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7620 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7622 * src/hildon-volumebar.c: Updating the docs.
7624 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7630 * debian/changelog: Updating.
7632 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7634 * src/hildon-find-toolbar.c:
7635 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7636 selected item: hildon_find_toolbar_set_active,
7637 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7638 hildon_find_toolbar_get_active_iter . They correspond to respective
7639 GtkComboBox functions.
7641 * examples/Makefile.am:
7642 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7645 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7647 * examples/Makefile.am:
7648 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7651 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7652 when font size > 32 and we pack a focusable widget inside. Actually using
7653 the default response would work too, but since we don't show default
7654 response state in any way (no theming) it would not be visible to the
7655 user. Fixes NB#63430.
7657 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7659 * src/hildon-date-editor.c: Adding the missing variable setter in the
7660 set_property handler. Fixes NB#54182.
7662 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7664 * src/hildon-window.h: Changing the long key press time from 1500ms to
7665 800ms as requested in NB#63700. I have a bad feeling about this, let's
7666 see... Fixes NB#63700.
7668 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7670 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7671 hildon_time_picker_map, hildon_time_picker_realize,
7672 hildon_time_picker_style_set): Split the contents of map to more
7673 appropriate functions; set window decorations on realize and update
7674 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7676 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7681 * debian/changelog: Updating.
7683 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7685 * src/Makefile.am: fixed installation of the header files
7687 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7693 * debian/changelog: Updating.
7695 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7697 * configure.ac: Removing some remaining of --enable-xan.
7699 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7701 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7702 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7704 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7705 2.10.12-osso6 because the move-focus signal needs to be available in
7708 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7710 * examples/Makefile.am:
7711 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7712 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7713 fine. Prolly NB#61128 is fixed now.
7715 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7717 * src/hildon-volumebar.c:
7718 * src/hildon-volumebar.h: Adding the
7719 hildon_volumebar_set_range_insensitive_message and
7720 hildon_volumebar_set_range_insensitive_messagef functions to set
7721 insensitive message on the slider of the volumebar. Fixes NB#61129.
7723 * examples/Makefile.am:
7724 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7725 test the new insensitive messsage functionality on HildonVolumebar.
7727 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7729 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7732 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7734 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7735 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7736 button on after clearing the trail.
7738 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7740 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7742 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7744 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7745 by splitting the installed headers in generated and non-generated groups. Use
7746 only the non-generated headers to create the hildon-enum-types.h file.
7748 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7750 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7752 * src/hildon-window.c: Hide the window before performing the destroy.
7753 Should make the app closing a little tiny bit more snappy.
7755 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7757 * src/hildon-seekbar.c: add gtkrange.h header
7758 * src/hildon-caption.c: remove unused variable
7760 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7762 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7765 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7771 * debian/changelog: Updating.
7773 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7775 * src/hildon-window.c (hildon_window_window_state_event,
7776 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7777 escape timeout on focus-out-event rather than notify::is-topmost; the
7778 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7780 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7782 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7783 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7785 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7787 * src/hildon-window: actually, you need to use the macro always, there's
7788 no private pointer in the instance structure. We should have cleaned this up
7789 when we had the chance...
7791 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7793 * src/hildon-window.c: do not get the private date from HildonWindow before
7794 it passes the g_return_if_fail check. Once it's passed the test, there's no
7795 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7796 if you are only going to access the data once. Whitespace cleanups.
7798 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7800 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7801 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7803 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7809 * debian/changelog: Updating.
7811 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7813 * src/hildon-window.c: When destroying the window, remove (if exists) the
7814 escape timeout handler. Fixes #NB59276.
7816 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7818 * src/hildon-banner.c: When realizing the widget, set the window
7819 transiency. Setting the transiency in the gobject constructor is not
7820 good, as the widget is not realized at that point. Fixes: #NB56624.
7822 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7824 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7825 Add padding for future expansions.
7827 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7829 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7830 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7831 will fake an activation on the previous to the last item of the trail, so
7832 the effect can be overrided by the developer as usual.
7833 Also change the callback for the back button to do the same thing, so its
7834 effect can be overrided too. Fixes: NB#58982
7836 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7838 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7839 HildonCaption. Fixes NB#52379.
7841 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7843 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7844 the internal state of the trail after the user has had the chance of executing
7845 his handler for the signal. Specifically, it may happen that the activated button
7846 is removed and the user still lets the default handler run. This would segfault
7849 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7851 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7852 scrollbar to the preview dialog. Fixes NB#54147.
7854 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7856 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7857 max/min year properties can be altered, so the client can modify it
7858 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7860 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7862 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7863 hildonlike by default. Fixing a problem with disappearing arrows when
7864 scrolling through months and years. Fixes NB#54127.
7866 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7868 * examples/hildon-date-editor-example.c: Adding error callback to the date
7871 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7877 * configure.ac: Updating.
7879 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7881 * configure.ac: Adding a special '--enable-xan' configure option that
7882 turns off the -Werror compilation setting. Usefull for development.
7884 * src/hildon-calendar.c:
7885 * src/hildon-number-editor.c:
7886 * src/hildon-time-picker.c: Adding the 5* multiplier to
7889 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7891 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7892 instead of g_object_ref + gtk_object_sink.
7894 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7900 * debian/changelog: Updating.
7902 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7904 * src/hildon-color-chooser-dialog.c:
7905 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7906 straight from Tommi labs.
7908 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7910 * examples/hildon-finger-example.c: Correcting the header file path.
7912 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7913 the changed signal. Fixes a small memory leak.
7915 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7919 * src/hildon-banner.c: Importing several usefull fixes from the
7920 ubuntu-mobile branch.
7922 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7924 * examples/Makefile.am:
7925 * examples/hildon-finger-example.c: Adding a finger-checking code
7928 * src/hildon-font-selection-dialog.c: Do not allocate the color
7929 structure using the g_new. Fixes NB#54061.
7931 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7933 * src/hildon-helper.c: Correcting tabs in file.
7935 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7937 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7938 control the visibility of the children.
7940 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7942 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7948 * debian/changelog: Updating.
7950 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7952 * src/hildon-bread-crumb-trail.c:
7953 (hildon_bread_crumb_trail_size_allocate):
7955 Make the back button always a square.
7957 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7959 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7960 from the .c file as it's a private file.
7962 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7964 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7965 uses slightly bigger height.
7967 * src/hildon-font-selection-dialog.c: Adding some checks before
7968 freeing memory in the font selection dialog.
7970 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7972 * src/hildon-font-selection-dialog.c: Adding a small check when
7975 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7976 buttons sensitivity on page switching.
7978 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7980 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7981 internal details of adding a bread crumb to the trail.
7983 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7989 * debian/changelog: Updating.
7991 * src/hildon-bread-crumb-trail.h:
7992 * src/hildon-bread-crumb.h: Changing the API guard to
7993 HILDON_ENABLE_UNSTABLE_API.
7995 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8003 * src/hildon-helper.h: Updating.
8005 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8013 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8017 * src/hildon-helper.h: Small fix to make the package actually compile.
8019 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8021 * src/hildon-bread-crumb-trail.h:
8022 * src/hildon-bread-crumb.h:
8024 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8025 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8027 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8029 * examples/hildon-bread-crumb-trail-example.c:
8031 * src/hildon-bread-crumb-trail.c:
8032 * src/hildon-bread-crumb-trail.h:
8033 * src/hildon-bread-crumb.c:
8034 * src/hildon-bread-crumb.h:
8035 * src/hildon-marshalers.list:
8036 * src/hildon-bread-crumb-widget.c:
8037 * src/hildon-bread-crumb-widget.h:
8039 Slight change in the widget design. The bread crumb trail API is
8040 unchanged, but HildonBreadCrumb is now an interface. A *private*
8041 implementation, hildon-bread-crumb-widget, is provided and used
8042 internally by the trail for the push_text/push_icon functions.
8044 The generic push API is still available, so anyone can implement
8045 and use its own bread crumb widget.
8047 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8049 * debian/rules: Fixing the shlibs.
8051 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8053 * src/hildon-banner.c: Fixing a problem with timed banners having
8054 their parrent destroyed before they are.
8056 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8058 * src/hildon-bread-crumb.c:
8059 * src/hildon-bread-crumb.h:
8061 Make the get_natural_size function a vfunc.
8063 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8065 * src/hildon-bread-crumb.c:
8066 * src/hildon-bread-crumb-trail.c:
8070 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8077 * debian/changelog: Updating for release.
8079 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8081 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8082 don't leak the pango layout.
8084 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8087 * examples/hildon-bread-crumb-trail-example.c:
8091 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8093 * debian/changelog: Removing the bug-fixed entries that were actually
8094 resolved as WONTFIX.
8096 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8099 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8101 * src/hildon-bread-crumb-trail.c:
8102 * src/hildon-bread-crumb-trail.h:
8103 * src/hildon-bread-crumb.c:
8104 * src/hildon-bread-crumb.h:
8108 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8110 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8111 until it's passed the type check.
8113 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8115 * examples/hildon-bread-crumb-trail-example.c
8119 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8121 * examples/Makefile.am
8122 * examples/hildon-bread-crumb-trail-example.c
8124 * src/hildon-bread-crumb-trail.c
8125 * src/hildon-bread-crumb-trail.h
8126 * src/hildon-bread-crumb.c
8127 * src/hildon-bread-crumb.h
8129 New HildonBreadCrumbTrail widget.
8131 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8133 * src/hildon-range-editor.c (hildon_range_editor_init),
8134 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8135 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8136 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8137 hildon_time_editor_class_init, hildon_time_editor_init),
8138 src/hildon-get-password-dialog.c (invalid_input,
8139 hildon_get_password_set_property, hildon_get_password_get_property,
8140 create_contents, hildon_get_password_dialog_set_max_characters),
8141 src/hildon-set-password-dialog.c (create_contents),
8142 src/hildon-date-editor.c (hildon_date_editor_init),
8143 src/hildon-login-dialog.c (hildon_login_dialog_init),
8144 src/hildon-number-editor.c (hildon_number_editor_init),
8145 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8146 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8147 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8148 configure option and adding the respective checks in the code.
8149 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8150 hildon_calendar_drag_data_received): fixed some build warnings.
8152 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8154 * debian/changelog: A 1.0.0 release notes.