1 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-bread-crumb-trail.c:
4 * hildon/hildon-bread-crumb.c:
5 * hildon/hildon-seekbar.c:
6 Add reference to replacements for these deprecated widgets.
8 Fixes: MB#4461 (Documentation: All deprecations should mention
11 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
13 * examples/hildon-remote-texture-example.c
15 Change the include to the hildon-remote-texture in order to compile
16 properly the examples on the installed libhildon1-examples package
18 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
20 * tests/Makefile.am: Add check for HildonPickerButton.
21 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
22 (START_TEST), (create_hildon_picker_button_suite): Add three simple
23 checks for the HildonPickerButton.
24 * tests/check_test.c (configure_tests): Add the test suite.
25 * tests/test_suites.h: likewise.
27 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
29 * hildon/hildon-touch-selector.c
30 (+on_row_changed): Emit HildonTouchSelector:changed when the
31 contents of a selected row change.
32 (_create_new_column), (_hildon_touch_selector_set_model): connect
33 to GtkTreeModel:row-changed on a newly set model.
35 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
37 2009-05-05 Alberto Garcia <agarcia@igalia.com>
39 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
41 * hildon/hildon-banner.c (hildon_banner_destroy)
42 (hildon_banner_show_progress, hildon_banner_set_fraction):
43 Remove the progress bar from HildonBanner and use a progress
46 Fixes: NB#113761 (Update progress banner to use progress
49 2009-05-04 Alberto Garcia <agarcia@igalia.com>
51 * hildon/hildon-banner.c:
52 Calculate size of the banner label using the actual screen width
53 rather than using a fixed value.
55 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
58 2009-05-04 Alejandro G. Castro <alex@igalia.com>
60 * hildon/hildon-pannable-area.c,
61 (hildon_pannable_area_class_init): Fixed signals documentation
64 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
66 * configure.ac: post release version bump
67 * debian/changelog: post release version bump
69 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
74 * configure.ac: Bump version.
75 * debian/changelog: Updates.
77 2009-05-01 Alberto Garcia <agarcia@igalia.com>
79 * hildon/hildon-edit-toolbar.c
80 (hildon_edit_toolbar_init):
81 Don't let buttons in HildonEditToolbar receive focus.
83 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
84 typing on an HW arrows key)
86 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
88 * doc/Makefile.am: Fix build.
90 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
92 * doc/Makefile.am: Do not redefine content_files.
94 2009-04-30 Alberto Garcia <agarcia@igalia.com>
102 Renamed src/ to hildon/
107 Include <hildon/hildon.h> directly in all examples.
109 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
111 * src/hildon-sort-dialog.c
112 (hildon_sort_dialog_add_sort_key_with_sorting)
116 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
118 * src/Makefile.am: Move generated sources to CLEANFILES, so that
119 make distcheck passes.
121 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
123 * Makefile.am: Enable gtk-doc during distcheck.
125 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
127 * Makefile.am: Do not distribute the debian/ directory.
129 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
131 * doc/Makefile.am: Add the extra SGML files to content_files,
132 so that they are distributed properly.
134 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
136 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
139 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
141 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
142 (hildon_note_new_information_with_icon_name): Set the "icon" property
143 to preserve soundness.
145 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
147 * src/hildon-font-selection-dialog.c
148 (hildon_font_selection_dialog_set_property): Fail when the "family"
149 property is set to NULL.
151 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
153 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
156 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
158 * src/hildon-time-selector.h:
159 Added HildonTimeSelectorFormatPolicy
160 * src/hildon-time-selector.c:
161 Added PROP_TIME_FORMAT_POLICY
162 (_check_ampm_format): renamed to check_automatic_ampm_format
163 (update_format_policy), (update_format_dependant_columns): new functions
164 (hildon_time_selector_class_init)
165 (hildon_time_selector_contructor)
166 (hildon_time_selector_init)
167 (hildon_time_selector_get_property)
168 (hildon_time_selector_set_property)
169 (hildon_time_selector_get_time)
170 (hildon_time_selector_set_time)
171 * src/hildon-touch-selector.h: new file
172 * src/hildon-touch-selector.c
173 (hildon_touch_selector_emit_changed)
174 (hildon_touch_selector_block_changed)
175 (hildon_touch_selector_unblock_changed)
176 Added functions to allow to block the emission of the "changed" signal
177 * src/hildon-picker-dialog.c
178 (hildon_picker_dialog_show): call the parent show before the custom code
179 * examples/hildon-time-button-example.c
180 Modified, so now you can configure the time format using the new property
182 Added a new property "time-format-policy" that allow to choose the time
183 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
184 case it uses gconf in order to check if the time selector must use
187 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
190 2009-04-28 Alberto Garcia <agarcia@igalia.com>
192 * src/hildon-note.c (hildon_note_init):
193 Label in HildonNote must be left aligned, not centered. This
194 reverts the last commit in HildonNote.
196 Fixes: NB#112933 (text is not left aligned in confirmation dialog
197 is connectivity dialog)
199 2009-04-27 Alberto Garcia <agarcia@igalia.com>
204 * doc/hildon-sections.txt:
205 Added hildon_gtk_window_set_do_not_disturb()
207 2009-04-27 Alberto Garcia <agarcia@igalia.com>
209 * src/hildon-note.c (hildon_note_init): Center label.
211 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
214 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
219 * configure.ac: Bump version.
220 * debian/changelog: Updates.
222 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
224 * src/hildon-note-private.h: Add button-width to the private data.
225 * src/hildon-note.c (+resize_button),
226 (+hildon_note_orientation_update): methods to repack widgets on orientation
228 (screen_size_changed): Call above method for confirmation notes.
229 (hildon_note_realize): Always connect to the "screen-size" changed signal.
230 (hildon_note_rebuild): Store the original width request from buttons.
232 Fixes: NB#109635 (Confirmation notes do not support portrait)
234 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
236 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
237 when it is a progress note.
239 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
241 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
242 in the note, since there are no horizontally arranged contents.
244 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
246 * src/hildon-gtk.c (+set_flag): new generic method to
247 set/delay a flag setting in a window.
248 (hildon_gtk_window_set_progress_indicator):
249 (hildon_gtk_window_set_do_not_disturb),
250 (hildon_gtk_window_set_portrait_flags): use set_flag() to
251 avoid code redundance.
253 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
255 Based on a patch by Alberto Garcia (agarcia@igalia.com)
257 * src/hildon-gtk.c (set_clear_window_flag),
258 (do_set_progress_indicator), (do_set_do_not_disturb),
259 (do_set_portrait_flags),
260 (hildon_gtk_window_set_progress_indicator),
261 (hildon_gtk_window_set_do_not_disturb),
262 (hildon_gtk_window_set_portrait_flags):
263 Allow setting dnd-flag, progress indicator, and portrait flags
264 when the window is not realized.
266 2009-04-24 Alejandro G. Castro <alex@igalia.com>
268 * src/hildon-pannable-area.c,
269 * src/hildon-pannable-area.h: Add the hildon deprecated define to
270 the size request policy function and defines.
272 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
274 * doc/hildon-sections.txt: Add the new API.
275 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
276 method to set the portrait flags.
277 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
279 Fixes: NB#112328 (Adding helpers for setting portrait properties)
281 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
283 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
284 to allow using this method with other flags.
285 (hildon_gtk_window_set_progress_indicator): Update accordingly.
286 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
288 2009-04-22 Alberto Garcia <agarcia@igalia.com>
290 * src/hildon-touch-selector.c
291 (hildon_touch_selector_append_text_column):
292 Make the cell renderer use the smallest width possible.
294 Fixes: NB#108470 (Selected items in multiple selection are either
295 having a tick that is cut or not visible at all.)
297 2009-04-22 Alberto Garcia <agarcia@igalia.com>
299 * src/hildon-touch-selector.c
300 (hildon_touch_selector_append_text_column):
303 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
305 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
306 Use g_strdup_printf() instead of a fixed size buffer.
308 2009-04-21 Alberto Garcia <agarcia@igalia.com>
310 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
311 Close banners when a HildonAppMenu is popped up.
313 Fixes: NB#111027 (Title menu closed immediately if activated when
314 "Invalid e-mail address" banner is shown)
316 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
321 * configure.ac: Bump version.
322 * debian/changelog: Updates.
324 2009-04-20 Alberto Garcia <agarcia@igalia.com>
326 * src/hildon-banner.c (hildon_banner_realize):
327 Mark HildonBanner as supporting portrait mode.
328 Use GDK to set window properties insetad of direct Xlib calls.
330 Fixes: NB#111830 (HildonBanner should be marked as supporting
333 2009-04-20 Alberto Garcia <agarcia@igalia.com>
335 * src/hildon-note.c (hildon_note_rebuild):
336 Hide action area in information notes. Prevents text from being
337 slightly aligned to the left.
339 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
342 2009-04-20 Alberto Garcia <agarcia@igalia.com>
344 Patch by Mox Soini (ext-mox.soini@nokia.com)
346 * src/hildon-banner.c (hildon_banner_create_animation):
347 Use stylus-sized icons in animation banner.
349 Fixes: NB#111206 (stylus sized icon for animation banner)
351 2009-04-20 Alberto Garcia <agarcia@igalia.com>
355 (+hildon_gtk_window_set_do_not_disturb):
356 New API to set the do-not-disturb flag.
358 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
360 2009-04-20 Alberto Garcia <agarcia@igalia.com>
362 * examples/hildon-progress-indicator-example.c: Fix example
364 * src/hildon-gtk.c (set_clear_window_flag)
365 (hildon_gtk_window_set_progress_indicator):
366 Create a generic function for setting flags to a window.
367 Use GDK instead of direct Xlib calls.
369 2009-04-14 Alberto Garcia <agarcia@igalia.com>
371 * src/hildon-button.c (hildon_button_set_arrangement):
372 Due to NB#88126, if one of the labels is too long it will be
373 painted outside the button. The 'value' label is more likely to be
374 the longest one, so we change its packing options in order to
375 truncate it if necessary. As a side effect, the 'title' label will
376 no longer be truncated.
378 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
380 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
385 * configure.ac: Bump version.
386 * debian/changelog: Updates.
388 2009-04-13 Alejandro G. Castro <alex@igalia.com>
390 Deprecation of the hildon_pannable_area_set_size_request_policy
391 API, the only policy properly supported in gtk+ nowadays is the
394 * src/hildon-pannable-area.c,
395 (hildon_pannable_area_size_request): Added a workaround for the
396 size_request to avoid the problems of huge pixmaps in case someone
397 is still using the function.
398 * src/hildon-pannable-area.h: Deprecated the enum with the
401 Fixes: NB#110244 (Problems with the
402 hildon_pannable_area_set_size_request_policy API)
404 2009-04-08 Alejandro G. Castro <alex@igalia.com>
406 * src/hildon-pannable-area.c,
407 (hildon_pannable_area_init),
408 (hildon_pannable_area_size_request),
409 (hildon_pannable_area_style_set),
410 (hildon_pannable_draw_vscroll),
411 (hildon_pannable_draw_hscroll),
412 (hildon_pannable_area_check_scrollbars): Replaced area_width with
413 indicator_width to clarify the use of the attribute.
415 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
420 * configure.ac: Bump version.
421 * debian/changelog: Updates.
423 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
425 * src/hildon-picker-dialog.c
426 * src/hildon-touch-selector.c
427 Reverting the change that tried to avoid the hardcoded height on
428 the picker dialog, as causes problems on the hildon-touch-selector
431 Fixes: NB#110029 (selectors not scrolling to selected value)
433 2009-04-07 Alberto Garcia <agarcia@igalia.com>
435 * src/hildon-touch-selector.c: Fix typos
437 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
439 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
440 Use the event coordinates instead of gdk_window_get_pointer(). Also,
441 request more motions after using it.
443 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
445 * src/hildon-calendar.c (hildon_calendar_expose),
446 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
447 Remove unused variables.
449 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
451 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
454 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
456 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
457 Check the return value of gtk_tree_selection_get_selected()
460 2009-04-06 Alberto Garcia <agarcia@igalia.com>
462 * src/hildon-animation-actor.c
463 * src/hildon-button.c
465 * src/hildon-pannable-area.c
466 * src/hildon-picker-button.c
467 * src/hildon-program.c
468 * src/hildon-remote-texture.c
469 * src/hildon-text-view.c
470 * src/hildon-touch-selector.c
471 * src/hildon-window-stack.c
472 * src/hildon-window.c:
473 Add missing 'Since: 2.2' tags.
475 * doc/hildon-sections.txt:
476 Add some missing symbols.
478 * doc/hildon-docs.sgml:
479 New 'Other' section for HildonAnimationActor and
482 2009-04-06 Alberto Garcia <agarcia@igalia.com>
484 Patch by Iván Gómez (igomez@igalia.com)
488 * doc/hildon-docs.sgml
489 * doc/hildon-sections.txt
493 New chapters on using the Hildon library.
494 Updated the general structure of the reference manual.
495 Other minor documentation fixes.
497 * src/hildon-calendar-popup.c
498 * src/hildon-calendar.c
499 * src/hildon-controlbar.c
500 * src/hildon-date-editor.c
501 * src/hildon-dialog.c
502 * src/hildon-hvolumebar.c
503 * src/hildon-number-editor.c
504 * src/hildon-range-editor.c
505 * src/hildon-sort-dialog.c
506 * src/hildon-time-editor.c
507 * src/hildon-time-picker.c
508 * src/hildon-volumebar-range.c
509 * src/hildon-volumebar.c
510 * src/hildon-vvolumebar.c
511 * src/hildon-weekday-picker.c:
512 Add deprecation notes
514 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
515 Document 'horizontal-movement' and 'vertical-movement' signals.
517 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
522 * configure.ac: Bump version.
523 * debian/changelog: Updates.
525 2009-04-06 Alejandro G. Castro <alex@igalia.com>
527 * src/hildon-pannable-area.c,
528 (hildon_pannable_area_class_init): increased the minimum velocity.
529 (hildon_pannable_area_button_release_cb): Updated the
530 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
531 setup. Review the code to control that last event.
533 Fixes: NB#109790 (Releasing finger in pannable area easily causes
536 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
538 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
540 * src/hildon-get-password-dialog.c
541 (hildon_get_password_set_property),
542 (hildon_get_password_get_property), (create_contents):
543 * src/hildon-login-dialog-private.h:
544 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
545 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
546 (hildon_login_dialog_get_password):
547 * src/hildon-set-password-dialog-private.h:
548 * src/hildon-set-password-dialog.c
549 (hildon_set_password_set_property),
550 (hildon_set_password_get_property), (create_contents),
551 (hildon_set_password_response_change),
552 (hildon_set_password_response_set), (hildon_checkbox_toggled):
554 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
555 instead and look more Fremantle style.
557 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
559 2009-04-03 Alberto Garcia <agarcia@igalia.com>
561 * doc/hildon-sections.txt
562 * src/hildon-window-stack.h
563 * src/hildon-window-stack.c
564 (+hildon_window_stack_get_windows):
565 New API to obtain the list of windows on a stack.
567 2009-04-02 Alberto Garcia <agarcia@igalia.com>
569 * src/hildon-app-menu.c (hildon_app_menu_popup)
570 (hildon_app_menu_class_init, -hildon_app_menu_show):
571 Remove hildon_app_menu_show() and move all its checks to
572 hildon_app_menu_popup()
574 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
576 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
577 (_hildon_picker_dialog_set_selector): removed call to
578 gtk_widget_set_size_request
579 * src/hildon-touch-selector.c
580 (_create_new_column): change the pannable size request policy
582 Avoid to use a hardcoded height for the hildon picker dialog. In order
583 to get that, we needed to change the hildon pannable size request
585 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
587 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
589 * src/hildon-window.c (hildon_window_map): Check for vbox to be
590 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
593 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
595 * debian/control: Depend on osso-system-lock localization package.
596 * src/hildon-code-dialog.c: Obtain the secu_application_title
597 translation from osso-system-lock.
598 * src/hildon-get-password-dialog.c (create_contents): Do not mark
599 for translation the atk related strings, that's not necessary.
600 * src/hildon-set-password-dialog.c (create_contents): Ditto.
601 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
602 cancel button, it is not required.
604 2009-04-02 Alejandro G. Castro <alex@igalia.com>
606 * src/hildon-pannable-area.c,
607 (hildon_pannable_area_class_init): Modified the default value of
608 the overshooting max speed, we have reduced it.
610 2009-04-02 Alberto Garcia <agarcia@igalia.com>
612 * doc/hildon-sections.txt
613 * src/hildon-window-private.h
614 * src/hildon-window.h
615 * src/hildon-window.c (hildon_window_class_init)
616 (hildon_window_init, hildon_window_finalize)
617 (hildon_window_realize, hildon_window_get_property)
618 (hildon_window_set_property, hildon_window_update_markup)
619 (hildon_window_get_markup, hildon_window_set_markup):
620 New "markup" property and hildon_window_{get,set}_markup() methods.
622 * examples/hildon-stackable-window-example.c (new_window):
623 Update example to use hildon_window_set_markup()
625 Fixes: NB#106375 (Need API to retitle a window with a title
628 2009-04-01 Alejandro G. Castro <alex@igalia.com>
630 * src/hildon-pannable-area.c,
631 (hildon_pannable_area_class_init): Changed the default value of
632 the initial_hint to TRUE.
633 (hildon_pannable_area_initial_effect): Changed the initial effect,
634 not the effect is just the fade-out of the scrollbars.
636 Fixes: NB#107775 (No scrollbars can be seen when several items are
637 available in a dialog)
639 2009-04-01 Alberto Garcia <agarcia@igalia.com>
641 * src/hildon-program.c (hildon_program_update_top_most):
644 Fixes: NB#109179 (Memory leak in Hildon program)
646 2009-04-01 Alberto Garcia <agarcia@igalia.com>
648 * src/hildon-banner.c (-get_current_app_window):
649 Remove unused function.
651 2009-04-01 Alejandro G. Castro <alex@igalia.com>
653 * src/hildon-pannable-area.c: Modified the documentation of the
654 get adjustments functions to explain the problem of using the
656 (hildon_pannable_area_class_init): Improved the explanation about
659 2009-04-01 Alberto Garcia <agarcia@igalia.com>
661 * src/hildon-app-menu-private.h
662 * src/hildon-app-menu.c
663 (hildon_app_menu_class_init):
664 Bring back the 'external-border' style property
665 (hildon_app_menu_class_init, hildon_app_menu_init)
666 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
667 Set a fixed width-request for the menu, independent of the number
670 Fixes: NB#94957 (Smoothly opened application menu)
672 2009-03-30 Alberto Garcia <agarcia@igalia.com>
674 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
676 * src/hildon-banner.c
677 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
679 Make sure that the banner is correctly placed the first time it's
681 (hildon_banner_check_position, -check_fullscreen_state):
682 Show the banner in the same place no matter if the window is in
683 fullscreen mode or not.
685 Fixes: NB#107386 (Odd stacking behaviour for information banners)
687 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
689 * src/hildon-touch-selector.c (_default_print_func): reorder
690 concatenation for clarity.
692 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
694 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
695 for multicolumn selectors.
697 Fixes: NB#109099 (Memory leak in Hildon touch selector)
699 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
704 * configure.ac: Bump version.
705 * debian/changelog: Updates.
707 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
709 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
712 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
714 * configure.ac: removed libcangerra-gtk dependency
715 * debian/control: removed libcanberra-gtk dependency
716 * src/Makefile.am: removed libcanberra gtk related flags
717 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
718 context, and manage a global canberra context instead
720 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
722 2009-03-26 Alberto Garcia <agarcia@igalia.com>
724 Patch by Daniel Borgmann (danielb@openismus.com)
726 * src/hildon-edit-toolbar.c:
727 Adjust the left padding.
728 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
729 Paint background of the edit toolbar.
731 Fixes: NB#107897 (Patch to make editmodetoolbar background
732 themeable and adjust margin)
734 2009-03-25 Alberto Garcia <agarcia@igalia.com>
736 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
738 * src/hildon-program.c (hildon_program_update_top_most):
739 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
741 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
742 change when the user tasks in/out of an application)
744 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
746 * configure.ac: added libcangerra-gtk dependency
747 * debian/control: added libcanberra-gtk dependency
748 * src/Makefile.am: added libcanberra gtk related flags
749 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
752 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
754 2009-03-25 Alberto Garcia <agarcia@igalia.com>
756 * src/hildon-program.c (hildon_program_remove_window)
757 (hildon_program_add_window): Add checks for the window
758 parameter. Don't decrease the window counter if the window is not
761 2009-03-24 Alejandro G. Castro <alex@igalia.com>
763 * src/hildon-pannable-area.c,
764 (hildon_pannable_area_realize): Fixed position of the event_window
765 in the realize method.
767 2009-03-24 Alberto Garcia <agarcia@igalia.com>
769 * src/hildon-app-menu-private.h
770 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
771 (hildon_app_menu_map, hildon_app_menu_hide_idle)
772 (hildon_app_menu_key_press, hildon_app_menu_init)
773 (hildon_app_menu_finalize):
774 Make sure that all idle functions are removed when the widget is
777 Fixes: NB#107583 (Hildon app menu crashes in various applications)
779 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
784 * configure.ac: Bump version.
785 * debian/changelog: Updates.
787 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
790 (+hildon_entry_show_placeholder),
791 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
792 that replace hildon_entry_update_contents().
793 (hildon_entry_set_text),
794 (hildon_entry_set_placeholder),
795 (hildon_entry_focus_in_event),
796 (hildon_entry_focus_out_event): Determine when it is needed
797 either to show or hide the placeholder and call the above methods.
799 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
800 when the placeholder text is already set)
802 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
804 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
805 simple GdkPixbufAnim using the new icons for the banner.
806 (hildon_banner_show_animation): Use the above mentioned method to
807 create the animation widget.
809 Fixes: NB#103564 (Make hildon animation banner use individual
810 image files as the animation)
812 2009-03-24 Alejandro G. Castro <alex@igalia.com>
814 * src/hildon-pannable-area.c,
815 (hildon_pannable_leave_notify_event): Check if the child is NULL
816 to avoid sending the leave.
818 2009-03-24 Alejandro G. Castro <alex@igalia.com>
820 * src/hildon-pannable-area.c,
821 (hildon_pannable_area_class_init),
822 (hildon_pannable_leave_notify_event): Added a handler of the
823 leave-notify-signal to consider when no motion notify before
826 Fixes: NB#107494 (Items stay selected when clicking and moving
827 away when inside pannable area)
829 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
834 * configure.ac: Bump version.
835 * debian/changelog: Updates.
837 2009-03-19 Alejandro G. Castro <alex@igalia.com>
839 Patch by Alberto Garcia (agarcia@igalia.com)
841 * src/hildon-date-button.c,
842 (hildon_date_button_class_init),
843 (hildon_date_button_init): Removed the construct property handling
844 and created a default selector in the init method.
845 * src/hildon-picker-button.c,
846 (hildon_picker_button_class_init): Removed the construct flag of the
849 2009-03-18 Alberto Garcia <agarcia@igalia.com>
851 * src/hildon-main.c (hildon_init):
852 Don't allow hildon_init() to be called more than once.
854 Fixes: NB#106607 (hildon_init should issue error message upon
857 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
859 * examples/hildon-pannable-area-touch-list-example.c
860 * examples/hildon-pannagle-area-touch-grid-example.c
861 * examples/hildon-edit-toolbar-example.c
862 * examples/hildon-touch-selector-multi-cells-example.c
863 Removed the call to gtk_rc_parse_string, as it is not required since
866 2009-03-17 Alejandro G. Castro <alex@igalia.com>
868 * src/hildon-pannable-area.c,
869 (hildon_pannable_area_class_init): Modified the default panning
870 threshold of the widget to 6px.
872 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
873 than the threshold value ) within the button is not sending the
876 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
878 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
879 for the treeview in the new column. This way, the touch list will never
882 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
883 be selected manually for the HW keys to work)
885 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
887 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
888 comparison instead of using strcmp(). Fixes a compiler warning as well.
890 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
892 * doc/hildon-docs.sgml: Do not set the library version in the
893 document title, use the releaseinfo tag for that purpose instead.
895 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
897 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
898 Do not jump to the first item if the text in the entry is removed.
900 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
905 * configure.ac: Bump version.
906 * debian/changelog: Updates.
908 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
910 * src/hildon-entry.c (hildon_entry_refresh_contents):
911 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
912 Use "ReversedSecondaryTextColor" for the placeholder text.
914 2009-03-12 Alberto Garcia <agarcia@igalia.com>
916 * src/hildon-text-view.c: Fix compilation warning.
918 2009-03-12 Alberto Garcia <agarcia@igalia.com>
920 * src/hildon-button.c (hildon_button_class_init): Don't make
921 "title" and "value" construction properties, to prevent them from
922 overwriting labels set from derived classes.
924 * src/hildon-picker-button.c
925 (hildon_picker_button_set_selector): Allow setting a NULL selector.
926 (hildon_picker_button_class_init): Make touch-selector a
927 construction property.
929 * src/hildon-date-button.c (hildon_date_button_class_init)
930 (+hildon_date_button_constructed): Add a default date selector if
933 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
935 * src/hildon-touch-selector.c: Small documentation fixes.
937 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
939 Based on a patch by Daniel Borgmann (danielb@openismus.com)
941 * src/hildon-entry.c (hildon_entry_refresh_contents),
942 (hildon_entry_get_text), (hildon_entry_init): Do not use the
943 widget name, set the logical color directly instead and a boolean
944 showing_placeholder instead.
945 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
946 use the widget name here either.
948 Fixes: NB#105678 (HildonTextView should use logical colours
949 instead of setting widget name)
951 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
953 Patch by Daniel Elster (danielk@openismus.com)
955 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
956 Add user_data parameter.
957 (hildon_touch_selector_set_print_func_full): New function akin
958 hildon_touch_selector_set_print_func() but with support for user
959 data and a destroy callback.
960 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
961 to clean up the print function user data.
962 (hildon_touch_selector_class_init): Install dispose function.
963 (HildonTouchSelectorPrivate::print_user_data),
964 (HildonTouchSelectorPrivate::print_destroy_func): New private
966 (hildon_touch_selector_init): Initialize new private members.
967 (hildon_touch_selector_get_current_text): Pass along user data
968 to the print function.
969 (_default_print_func): Add dummy user_data to parameter list.
970 * hildon-date-selector.c (_custom_print_func): ditto,
971 * hildon-time-selector.c (_custom_print_func): ditto,
972 * hildon-touch-selector-entry.c
973 (hildon_touch_selector_entry_print_func): ditto.
975 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
977 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
979 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
981 2009-03-12 Alejandro G. Castro <alex@igalia.com>
983 * src/hildon-pannable-area.c,
984 (hildon_pannable_area_init),
985 (hildon_pannable_area_button_press_cb),
986 (hildon_pannable_area_motion_notify_cb): We have added code to
987 handle the leave and enter events when using the motion events.
989 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
991 2009-03-11 Alberto Garcia <agarcia@igalia.com>
993 * src/hildon-date-button.c (hildon_date_button_get_date)
994 (hildon_date_button_set_date): Make sure that the button has a
997 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
999 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1001 * src/hildon-pannable-area.c,
1002 (hildon_pannable_area_class_init),
1003 (hildon_pannable_area_calculate_velocity): Modify the use of the
1004 force and adapt the value.
1006 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1008 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1009 (hildon_app_menu_class_init): Hide the menu if it receives a
1010 delete-event, but don't destroy it
1012 Fixes: NB#104485 (Not able to address the call when application
1013 menu is opened at background)
1015 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1017 * src/hildon-app-menu.c
1018 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1019 Remove the "external-border" style property, let the menu take its
1020 natural size (or the one set by the window manager)
1021 (hildon_app_menu_repack_items):
1022 Don't reshow the menu, avoid flickers.
1024 Partially fixes NB#94957 (Smoothly opened application menu)
1026 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1031 * configure.ac: Bump version.
1032 * debian/changelog: Updates.
1034 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1036 * src/hildon-pannable-area.c,
1037 (hildon_pannable_area_motion_notify_cb): We control that the
1038 direction error margin is used just in case the movement is
1039 allowed in the other direction.
1041 Fixes: NB#105012 (buttons inside a pannable area not getting
1042 release event when dragging/releasing)
1044 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1046 * src/hildon-pannable-area.c,
1047 (hildon_pannable_area_class_init),
1048 (hildon_pannable_area_get_property),
1049 (hildon_pannable_area_set_property),
1050 (hildon_pannable_area_initial_effect),
1051 (hildon_pannable_axis_scroll),
1052 (hildon_pannable_area_button_release_cb): Reviewed the
1053 overshooting effect, now it has its own max
1054 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1055 speed when bouncing.
1057 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1062 * configure.ac: Bump version.
1063 * debian/changelog: Updates.
1065 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1067 * src/hildon-pannable-area.c,
1068 (hildon_pannable_area_class_init): Changed the max speed, now
1069 users can launch the widget very fast. Reduced the default force,
1070 that way it is easier to control the launch speed.
1072 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1074 * src/hildon-pannable-area.c,
1075 (hildon_pannable_area_button_release_cb): Removed this check
1076 because it causes problems when the device is overloaded.
1078 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1080 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1081 add a current_text field to store the text entered in the
1082 touch selector entry.
1083 (_clean_current_selection): clean up the current text as well.
1084 (_save_current_selection), (_restore_current_selection):
1085 Save/restore the text in the entry if the selector is a
1086 HildonTouchSelectorEntry.
1088 Fixes: NB#102541 (value entered in the touch selector entry is not
1089 shown when opened for second time)
1091 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1093 * doc/hildon-sections.txt:
1094 * src/hildon-touch-selector-entry.c
1095 (+hildon_touch_selector_entry_get_entry):
1096 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1098 Fixes: NB#104815 (I need accessor to the entry inside
1099 HildonTouchSelectorEntry)
1101 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1103 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1104 (hildon_app_menu_class_init):
1105 New "filter-vertical-spacing" style property.
1107 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1109 * src/hildon-find-toolbar.c
1110 (hildon_find_toolbar_emit_close)
1111 (hildon_find_toolbar_emit_invalid_input)
1112 (hildon_find_toolbar_entry_activate):
1113 Use g_signal_emit() instead of g_signal_emit_by_name()
1115 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1117 Patch by Mox Soini (ext-mox.soini@nokia.com)
1119 * tests/TEST-CASES.txt
1120 * tests/check-hildon-banner.c
1121 * tests/check-hildon-note.c
1122 * src/hildon-banner.c
1123 * src/hildon-code-dialog.c
1124 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1125 * src/hildon-time-editor.c
1126 * examples/hildon-lookup-example.c (main):
1127 Replace obsolete icon names with new ones.
1129 * src/hildon-find-toolbar-private.h:
1130 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1131 (-hildon_find_toolbar_emit_search):
1132 Remove find button and change icon of close button.
1134 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1136 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1138 * src/hildon-time-button.c (hildon_time_button_new_step):
1139 Use the "touch-selector" property to set the selector directly
1140 when creating the object.
1142 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1144 Added a new example application that allows tuning the pannable
1145 area and replaced defines with properties in order to simplify the
1146 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1147 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1148 PROP_DIRECTION_ERROR_MARGIN.
1150 * examples/hildon-pannable-area-tuning-example.c: New example
1152 * src/hildon-pannable-area.c,
1153 (hildon_pannable_area_class_init),
1154 (hildon_pannable_area_init),
1155 (hildon_pannable_area_get_property),
1156 (hildon_pannable_area_set_property),
1157 (hildon_pannable_area_launch_fade_timeout),
1158 (hildon_pannable_area_adjust_value_changed),
1159 (hildon_pannable_axis_scroll),
1160 (hildon_pannable_area_motion_notify_cb),
1161 (hildon_pannable_area_scroll_cb),
1162 (hildon_pannable_area_button_release_cb): We have converted some
1163 of the defines that control the widget to properties to simplify
1166 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1168 * src/hildon-app-menu.c (hildon_app_menu_map)
1169 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1170 so it's closed if a new window appears.
1172 Fixes: NB#104485 (Not able to address the call when application
1173 menu is opened at background)
1175 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1177 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1178 missing 'break' statement in in 'case' construct to avoid
1181 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1183 * src/hildon-touch-selector-entry.c
1184 (hildon_touch_selector_entry_get_property),
1185 (hildon_touch_selector_entry_set_property): Add missing 'break'
1186 statements in in 'case' constructs to avoid incorrect warnings.
1188 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1190 * src/hildon-time-editor.c
1191 (hildon_time_editor_get_time_separators): Do not crash if
1192 the first label is NULL.
1194 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1196 * src/hildon-date-selector.c (_month_days): Check for month to be
1197 strictly less than 12, since otherwise we may overrun the array.
1199 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1201 * src/hildon-date-button.c (+hildon_date_button_new_full)
1202 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1203 (hildon_date_button_init): Set the date selector using a
1204 construction property, to make it happen after HildonButton's
1205 "value" property is set.
1207 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1208 current date by default)
1210 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1212 * doc/hildon-sections.txt
1213 * src/hildon-program.c
1214 * src/hildon-stackable-window.c
1215 * src/hildon-window.c:
1216 Documentation updates
1218 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1220 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1221 (hildon_window_stack_new, +hildon_window_stack_set_property)
1222 (+hildon_window_stack_get_property)
1223 (hildon_window_stack_class_init)
1224 (+hildon_window_stack_set_window_group)
1225 (+hildon_window_stack_get_window_group):
1226 Make the window group a construction property.
1228 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1230 * doc/hildon-sections.txt
1231 * src/hildon-stackable-window-private.h
1232 * src/hildon-stackable-window.h
1233 * src/hildon-stackable-window.c
1234 (-hildon_stackable_window_set_app_menu)
1235 (-hildon_stackable_window_get_app_menu)
1236 (-hildon_stackable_window_toggle_menu)
1237 (-hildon_stackable_window_finalize)
1238 (hildon_stackable_window_class_init)
1239 (hildon_stackable_window_init)
1240 * src/hildon-window-private.h
1241 * src/hildon-window.h
1242 * src/hildon-window.c (hildon_window_init)
1243 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1244 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1245 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1246 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1247 Moved all HildonAppMenu code to HildonWindow. The menu does not
1248 require a HildonStackableWindow anymore.
1250 * src/hildon-app-menu.c
1251 * src/hildon-program.c
1252 * examples/hildon-app-menu-example.c (main):
1253 Update examples and documentation to reflect HildonAppMenu
1256 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1258 * src/hildon-remote-texture.c
1259 * src/hildon-animation-actor.c:
1260 Don't include unused private headers.
1262 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1264 * src/hildon-program-private.h
1265 * src/hildon-program.c
1266 (hildon_program_set_common_menu)
1267 (hildon_program_get_common_menu)
1268 (hildon_program_set_common_app_menu)
1269 (hildon_program_get_common_app_menu):
1270 Change common menu pointers from GtkWidget* to GtkMenu* and
1271 HildonAppMenu* to avoid unnecessary casts.
1273 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1275 * src/hildon-window.c (hildon_window_set_main_menu):
1276 Removed incorrect 'Since:' tag
1278 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1280 * src/hildon-pannable-area.c,
1281 (hildon_pannable_area_calculate_velocity): We use now the
1282 RATIO_TOLERANCE here to check the distance, fixed typo in the
1284 (hildon_pannable_area_motion_notify_cb): We have to set the type
1285 and time even if we are not sending the motion.
1287 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1289 * doc/hildon-sections.txt
1290 * src/hildon-app-menu.h
1291 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1292 (+hildon_app_menu_get_filters): New methods to get the contents of
1295 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1298 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1300 * src/hildon-app-menu.c (hildon_app_menu_popup):
1303 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1305 * src/hildon-window.h
1306 * src/hildon-window.c (+hildon_window_get_main_menu)
1307 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1308 and deprecated hildon_window_get_menu().
1310 * src/hildon-stackable-window.h
1311 * src/hildon-stackable-window.c
1312 (+hildon_stackable_window_set_app_menu)
1313 (+hildon_stackable_window_get_app_menu)
1314 (hildon_stackable_window_set_main_menu): Created
1315 hildon_stackable_window_{get,set}_app_menu() and deprecated
1316 hildon_stackable_window_set_main_menu().
1318 * doc/hildon-sections.txt
1319 * examples/hildon-app-menu-example.c (main)
1320 * src/hildon-app-menu.c
1321 * src/hildon-program.c:
1322 Updated examples and documentation.
1324 Fixes: NB#103758 (No way to obtain a menu from a
1325 HildonStackableWindow)
1327 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1332 * configure.ac: Bump version.
1333 * debian/changelog: Updates.
1335 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1337 * examples/hildon-remote-texture-example.c: Include
1338 hildon-remote-texture.h explicitely.
1339 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1340 applications not defining _XOPEN_SOURCE which don't require this header.
1342 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1344 * doc/hildon-sections.txt
1345 * src/hildon-app-menu.h
1346 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1347 New function to pop up a HildonAppMenu
1349 * src/hildon-stackable-window.c
1350 (hildon_stackable_window_toggle_menu):
1351 Use hildon_app_menu_popup() to show the menu.
1353 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1355 * src/hildon-app-menu.c (hildon_app_menu_show)
1356 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1357 menu if there's another window between it and its parent window.
1359 Fixes: NB#100468 (Application menu window is launched even when a
1360 new secondary-window/dialog is pending to be shown/realized)
1362 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1364 * src/hildon-window-stack.c (hildon_window_stack_push)
1365 (hildon_window_stack_pop_and_push):
1366 Don't forget to push/pop the first window.
1367 Reverse the window list before calling _push_list()
1369 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1371 * src/hildon-picker-button.h
1372 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1373 Remove "value_changed" slot to avoid ABI breakage
1375 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1377 * src/hildon-pannable-area.c,
1378 (hildon_pannable_area_realize),
1379 (hildon_pannable_area_unrealize),
1380 (hildon_pannable_draw_vscroll),
1381 (hildon_pannable_draw_hscroll): Changed the method to handle the
1382 GC used to draw the transparent scrollbar, this way we avoid
1383 creating the GC all the time when drawing the scrollbars.
1385 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1387 * src/hildon-pannable-area.c,
1388 (hildon_pannable_area_init),
1389 (hildon_pannable_area_remove): Removed some unnecessary casts.
1390 (hildon_pannable_area_dispose): Disconnected some signals before
1391 releasing the adjustments.
1393 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1395 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1396 Make sure that all widgets contained in the toolbar are shown.
1398 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1400 * doc/hildon-sections.txt
1401 * src/hildon-picker-button.h
1402 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1403 (_selection_changed, hildon_picker_button_on_dialog_response)
1404 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1405 New hildon_picker_button_value_changed() method.
1408 * src/hildon-picker-button-private.h
1409 * src/hildon-picker-button.c (hildon_picker_button_init)
1410 (+hildon_picker_button_disable_value_changed): Add protected
1411 function for disabling the "value-changed" signal.
1413 * src/hildon-date-button.c (hildon_date_button_set_date):
1414 Don't emit "value-changed" for each one of the three columns.
1416 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1417 before actual change of values)
1419 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1421 * src/hildon-pannable-area.c,
1422 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1423 for the treeview overshooting.
1425 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1427 * src/hildon-banner.c (+hildon_banner_bind_style):
1428 Renamed from hildon_banner_bind_label_style(), now naming the
1429 banner itself as well.
1430 (hildon_banner_show_information),
1431 (hildon_banner_show_information_with_markup),
1432 (hildon_banner_show_animation), (hildon_banner_show_progress):
1433 Name the widgets and labels, based on their type.
1435 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1438 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1440 * src/hildon-note.c (hildon_note_set_property): call
1441 hildon_note_rename() on HildonNote:note-type set.
1442 (hildon_note_rename): Name the note and its label, based on the
1443 HildonNote:note-type property.
1445 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1448 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1450 * src/hildon-pannable-area.c,
1451 (hildon_pannable_area_class_init),
1452 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1453 panning parameters, increased SPS and deceleration factor. Added
1454 also a margin to control fake directions.
1456 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1458 Patch by Sven Herzberg (sven@imendio.com)
1460 * configure.ac: Add missing AM_PROG_CC_C_0
1461 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1463 See NB#101420 (Update unit tests and fix make check)
1465 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1467 This patch was applied before but reverted because it caused
1468 problems, we have changed the main condition and tested the
1469 regressions we detected before and they work ok. We have done a
1470 complete review of the topmost algorithm in order to get a more
1473 * src/hildon-pannable-area.c,
1474 (hildon_pannable_area_get_topmost): Added a new parameter to
1475 filter the the windows that do not include those events.
1476 (hildon_pannable_area_button_press_cb),
1477 (hildon_pannable_area_button_release_cb),
1478 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1479 topmost function, we have added the new parameter.
1481 Fixes: NB#97458 (Pannable area prevents propagation of button
1484 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1486 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1487 if all columns in the selector have an item selected.
1488 (_on_dialog_response): Stop "response" signal emission if there is
1489 any selector column without selected items.
1491 Fixes: NB#101889 (Picker dialog should not close when nothing is
1492 selected in multiple selection list)
1494 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1496 * src/hildon-font-selection-dialog.c
1497 (hildon_font_selection_dialog_class_init),
1498 (hildon_font_selection_dialog_init): Remove the preview
1499 button and dialog, since previewing with default theming is likely
1500 to be overcomplicated. The :preview property has now no effect.
1501 Update documentation blurbs to inform about this.
1503 Fixes: NB#92297 (Preview content is not clearly visible for
1504 default colour text)
1506 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1508 Reviewed the geometry that handles the children size and
1509 scrollbar, now it tries a size and reviews the results depending
1510 on the scrollbars visibility.
1512 * src/hildon-pannable-area.c,
1513 (hildon_pannable_area_realize): Fixed a typo.
1514 (hildon_pannable_area_child_allocate_calculate): Added this
1515 function to calculate the child allocation.
1516 (hildon_pannable_area_size_allocate): Reviewed the allocation
1518 (hildon_pannable_area_check_scrollbars),
1519 (hildon_pannable_area_refresh): Refactored refresh function, this
1520 way we can call the code handling the scrollbars without causing a
1521 size_request, it is interesting in the allocate.
1522 (hildon_pannable_area_init): Replace the callbacks of the
1523 value_changed and changed signals to propertly deal with the
1525 (hildon_pannable_area_grab_notify),
1526 (hildon_pannable_area_initial_effect),
1527 (hildon_pannable_area_launch_fade_timeout),
1528 (hildon_pannable_area_adjust_changed),
1529 (hildon_pannable_area_adjust_value_changed),
1530 (hildon_pannable_area_redraw),
1531 (hildon_pannable_area_button_press_cb),
1532 (hildon_pannable_area_button_release_cb),
1533 (hildon_pannable_area_scroll_cb),
1534 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1535 code and use the new functions adjust_changed and
1536 adjust_value_changed.
1538 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1539 Contact editor dialog)
1541 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1546 * configure.ac: Bump version.
1547 * debian/changelog: Updates.
1549 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1551 * src/hildon-pannable-area.c,
1552 (hildon_pannable_area_get_topmost),
1553 (hildon_pannable_area_button_press_cb),
1554 (hildon_pannable_area_button_release_cb),
1555 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1556 topmost function adding the event mask. We have to try a
1557 differente approach because it is still causing problems (NB#9745,
1560 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1562 * src/hildon-banner.c:
1563 Update the maximum width of timed banners.
1564 (force_to_wrap_truncated): Enforce the maximum text width if the
1567 Fixes: NB#102413 (The text margins (wrapping) in information
1568 banner should be HILDON_MARGIN_TRIPLE)
1570 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1572 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1574 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1575 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1576 bound when calculating the scroll indicator position.
1578 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1579 treat ->lower correctly)
1581 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1583 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1584 expose event handling, since it is not necessary to draw the focus
1587 Fixes: NB#102467 (Do not show highlight on the text in
1590 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1592 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1593 full height of the toolbar for the button and the label.
1595 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1597 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1598 padding before the label and after the button.
1600 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1602 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1604 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1605 Add a GtkVSeparator between the button and the back arrow.
1606 Let the button have automatic size.
1607 Set a name to the widget for theming handling.
1609 Fixes: NB#101793 (Make edit toolbar the same height as window
1610 title bar (use title area theming))
1612 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1614 * src/hildon-helper.c (attach_new_color_element): Fix memory
1617 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1619 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1621 * examples/hildon-button-example.c (common_buttons_window): Don't
1624 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1626 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1627 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1629 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1631 * src/hildon-gtk.c: Check that the window is realized.
1633 Fixes: NB#102225 (Crash setting the progress indicator to a non
1636 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1638 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1639 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1640 instead of modifying the one in the widget style.
1642 Fixes: NB#101043 (Second row of all the command button are
1643 displayed in transparent mode.)
1645 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1647 * src/hildon-date-button.c
1648 * src/hildon-time-button.c: Add gettext macros
1650 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1652 * src/hildon-date-button.c (hildon_date_button_new):
1653 * src/hildon-time-button.c (hildon_time_button_new_step):
1654 Use new logical strings to set the button default title.
1656 Fixes: NB#99915 (Date and Time options are not localised in Date
1659 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1661 * src/hildon-pannable-area.c
1662 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1663 the PANNING_THRESHOLD.
1665 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1667 * src/hildon-pannable-area.c,
1668 (hildon_pannable_area_class_init): Increased the maximum speed.
1669 (hildon_pannable_area_get_property),
1670 (hildon_pannable_area_set_property),
1671 (hildon_pannable_area_timeout): Added a new low friction mode, it
1672 allows the user avoid friction when launching the widget fast
1673 enough. It is interesting to traverse long lists.
1675 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1677 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1678 (+hildon_stackable_window_delete_event): Ignore delete events if
1679 the window is not the topmost one.
1681 Fixes: NB#101698 (Back button long press and delete-event handling)
1683 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1685 * src/hildon-pannable-area.c,
1686 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1687 gtk-dnd-drag-threshold, it was too big. We have defined our own
1688 dnd define and set a smaller value: PANNIG_THRESHOLD.
1690 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1692 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1693 user-defined icons, use always the default one.
1695 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1697 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1699 This patch was applied before but reverted because it caused
1700 problems, we have changed the main condition and tested the
1701 regressions we detected before and they work ok.
1703 * src/hildon-pannable-area.c,
1704 (hildon_pannable_area_get_topmost): Added a new parameter to
1705 filter the the windows that do not include those events. Added
1706 also a condition when finding the window to filter windows that do
1707 not ask for those events.
1708 (hildon_pannable_area_button_press_cb),
1709 (hildon_pannable_area_button_release_cb),
1710 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1711 topmost function, we have added the new parameter.
1713 Fixes: NB#97458 (Pannable area prevents propagation of button
1716 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1718 * tests/check-hildon-color-button.c (START_TEST): do not leak
1721 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1723 * src/hildon-font-selection-dialog.c
1724 (hildon_font_selection_dialog_get_preview_text): Return NULL
1725 instead of FALSE on the g_return_val_if_fail().
1727 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1729 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1730 * src/hildon-date-selector.c
1731 (hildon_date_selector_select_current_date):
1732 Do not compare unsigned integers to be greater than or equal 0,
1733 because it's always TRUE.
1735 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1737 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1738 (hildon_date_selector_constructor): Do not select the current
1739 date until we are handle the "changed" signal, to avoid having bogus
1740 elements in the days model.
1742 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1744 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1745 for num_days, since _month_days() can return a negative value.
1747 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1749 * src/hildon-caption.c (hildon_caption_size_allocate):
1750 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1751 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1753 Initialize allocation variables to 0, to avoid eventually using
1754 unitialized variables.
1756 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1758 * src/hildon-bread-crumb-trail.c
1759 (hildon_bread_crumb_trail_size_allocate):
1760 * src/hildon-calendar.c (hildon_calendar_set_background):
1761 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1762 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1763 * src/hildon-seekbar.c (hildon_seekbar_init):
1764 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1765 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1766 * src/hildon-touch-selector-entry.c
1767 (hildon_touch_selector_get_text_from_model):
1768 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1769 * src/hildon-window.c (hildon_window_finalize):
1771 Remove many unused variables.
1773 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1775 * src/hildon-seekbar.c: (hildon_seekbar_init),
1776 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1778 Remove unnecessary g_assert() calls.
1780 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1782 * src/hildon-caption.c: (hildon_caption_expose),
1783 (hildon_caption_set_property), (hildon_caption_init),
1784 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1785 (hildon_caption_size_request), (hildon_caption_size_allocate),
1786 (hildon_caption_forall), (hildon_caption_set_separator),
1787 (hildon_caption_activate), (hildon_caption_set_child_expand),
1788 (hildon_caption_set_label_text),
1789 (hildon_caption_get_label_alignment):
1791 Remove unnecessary g_assert() calls.
1793 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1795 * src/hildon-banner.c
1796 (hildon_banner_map, hildon_banner_init): Make banner temporary
1797 before mapping it to avoid closing other temporary windows, but
1798 make it non-temporary afterwards to avoid being closed by other
1799 non-temporary windows.
1800 (-hildon_banner_client_event, hildon_banner_init):
1801 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1803 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1806 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1808 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1811 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1813 * src/hildon-remote-texture.c
1814 * src/hildon-remote-texture.h
1815 * src/hildon-remote-texture-private.h
1816 * examples/hildon-remote-texture-example.c:
1817 Updates/fixes to remote-texture and its example.
1819 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1821 Patch by Mox Soini (ext-mox.soini@nokia.com)
1823 * src/hildon-code-dialog.c: Update logical id.
1824 * src/hildon-set-password-dialog.c: Update logical id.
1826 Fixes: NB#100646 (Logical strings is shown for ok in set
1827 password,Password needed dialogs)
1829 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1832 * src/hildon-remote-texture.c
1833 * src/hildon-remote-texture.h
1834 * src/hildon-remote-texture-private.h
1836 Added remote texture widget (for Clutter shared memory textures)
1838 * examples/hildon-remote-texture-example.c
1839 * examples/Makefile.am
1840 Added example file for remote texture usage
1842 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1844 * configure.ac: post release version bump.
1845 * debian/changelog: version bump.
1847 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1852 * configure.ac: Bump version.
1853 * debian/changelog: Updates.
1855 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1857 * src/hildon-date-selector.c (hildon_date_selector_init)
1858 (hildon_date_selector_constructor): Don't connect to the "changed"
1859 signal until the selector is completely constructed.
1861 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1863 * src/hildon-touch-selector.c: (_create_new_column),
1864 (hildon_touch_selector_append_column),
1865 (hildon_touch_selector_set_column_selection_mode),
1866 (hildon_touch_selector_set_active),
1867 (hildon_touch_selector_select_iter):
1868 Emit the HildonTouchSelector::changed signal every time selection
1869 is changed in any of the methods above. This behavior was already
1870 documented but not fully functional.
1872 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1873 selection is programmatically changed)
1875 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1877 * doc/hildon-sections.txt: Remove obsolete icon
1878 sizes from here as well.
1880 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1882 * examples/hildon-stackable-window-example.c (add_window): Remove
1885 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1887 * src/hildon-app-menu.c
1888 (hildon_app_menu_show): Check whether the parent window of a menu
1889 is topmost before popping it up.
1891 Fixes: NB#100468 (Application menu window is launched even when a
1892 new secondary-window/dialog is pending to be shown/realized.)
1894 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1896 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1899 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1901 Patch by Mox Soini (ext-mox.soini@nokia.com)
1903 * src/hildon-banner.c: (hildon_banner_show_animation):
1904 use stylus size instead of obsolete note size.
1905 * src/hildon-defines.h: Update icon sizes.
1907 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1909 * src/hildon-touch-selector-entry.c:
1910 (hildon_touch_selector_entry_init): Disable unsupported
1912 (hildon_touch_selector_entry_get_text_column): Emit a warning
1913 if an unsupported input modes is used and explicitile state
1914 these modes in the documentation.
1916 Fixes: NB#99802 (Hildon touch selector entry not working properly
1917 for some of the input modes)
1919 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1921 * src/hildon-pannable-area.c,
1922 (hildon_pannable_area_init): Added the changed signal handlers of
1925 Fixes: NB#100320 (HildonPannableArea does not listen to
1926 GtkAdjustment "change" signals)
1928 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1930 * doc/hildon-sections.txt
1931 * src/hildon-window-private.h
1932 * src/hildon-window.h
1933 * src/hildon-window.c (hildon_window_init)
1934 (hildon_window_realize, hildon_window_unrealize)
1935 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1936 (hildon_window_size_request, hildon_window_size_allocate)
1937 (hildon_window_forall, hildon_window_show_all)
1938 (hildon_window_destroy, +paint_edit_toolbar)
1939 (+hildon_window_set_edit_toolbar):
1940 New hildon_window_set_edit_toolbar() method, to add a
1941 HildonEditToolbar to a window without having to pack it manually.
1943 Reorganize hildon_window_size_allocate()
1945 * src/hildon-edit-toolbar.c: Update documentation.
1947 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1948 example to use the new API.
1950 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1952 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1954 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1955 Remove from stack before calling parent's hide.
1957 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1959 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1960 window is removed from the middle of the stack, update the
1961 transiency of the previous one.
1963 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1966 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1968 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1969 block/unblock the signal handler if it's not actually being used.
1970 Fixes some critical warnings.
1972 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1974 Based on a patch by Iván Gómez (igomez@igalia.com)
1976 * src/hildon-banner.c
1980 * src/hildon-pannable-area.c
1981 * src/hildon-picker-dialog.c
1982 * src/hildon-wizard-dialog.h
1983 * src/hildon-wizard-dialog.c: Documentation updates.
1985 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1986 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1988 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1990 * configure.ac: post release version bump.
1991 * debian/changelog: version bump.
1993 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1998 * configure.ac: Bump version.
1999 * debian/changelog: Updates.
2001 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2003 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2004 a stock icon nor change the relief of the back arrow.
2006 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2007 graphics from theme)
2009 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2011 * src/hildon-button.c (hildon_button_set_alignment): Use
2012 priv->alignment if the button has no child yet.
2014 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2016 * src/hildon-button.c: (hildon_button_init): Set the
2017 button style during initialization to give it the proper
2020 Fixes: NB#99713 (HildonButton value label color is wrong)
2022 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2024 * src/hildon-touch-selector.c: Document
2025 hildon_touch_selector_center_on_selected()
2027 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2030 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2031 all menu items, but not the menu itself.
2032 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2033 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2034 items after adding them to the menu so keyboard accelerators work.
2035 (hildon_app_menu_show): Don't show the menu if it contains items
2036 but none of them are visible.
2038 * examples/hildon-app-menu-example.c (create_menu): Use
2039 gtk_widget_show_all() to show all menu items.
2041 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2043 * src/hildon-picker-dialog.c:
2044 (-_update_title_on_selector_changed_cb),
2045 (-_dialog_update_title): Removed.
2046 (_select_on_selector_changed_cb), (_on_dialog_response),
2047 (on_selector_columns_changed): Do not update the dialog title.
2048 (setup_interaction_mode): Do not connect to
2049 HildonTouchSelector::changed signal if there's a "done" button, as
2050 the dialog title doesn't need to be updated.
2052 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2055 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2057 Patch by Kristian Rietveld (kris@imendio.com)
2059 * src/hildon-touch-selector.c: (_create_new_column): Use new
2060 GtkTreeView::hildon-row-tapped signal to react to user interactions
2061 instead of ::changed.
2063 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2064 with some dynamic tree model)
2066 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2068 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2069 (+screen_size_changed, +label_size_request)
2070 (hildon_note_class_init): Make the Hildon information note have a
2071 minimum height, and make its text hvae a maximum width.
2073 Fixes: NB#98614 (Hildon information note (background) should have
2074 minimum height and maximum text width)
2076 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2078 * src/hildon-banner.h
2079 * src/hildon-banner.c (hildon_banner_show_information)
2080 (hildon_banner_show_informationf)
2081 (hildon_banner_show_information_with_markup): Update documentation
2082 to reflect that the icon_name parameter is not used anymore.
2083 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2084 Remove all code from these functions and mark them as deprecated.
2085 (hildon_banner_show_progress): Mark as deprecated.
2087 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2089 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2091 * src/hildon-pannable-area.c,
2092 (hildon_pannable_area_class_init),
2093 (tranparency_color),
2094 (hildon_pannable_draw_vscroll),
2095 (hildon_pannable_draw_hscroll),
2096 (hildon_pannable_area_expose_event): Added a new way to render the
2097 scrollbars of the pannable area avoiding using cairo at all. This
2098 way we improve the performance of the pannable area rendering. The
2099 cairo rendering procedure is still in the code, we can control
2100 which one to use changing the value of the define
2101 USE_CAIRO_SCROLLBARS.
2103 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2105 * configure.ac: post release version bump.
2106 * debian/changelog: version bump.
2108 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2113 * configure.ac: Bump version.
2114 * debian/changelog: Updates.
2116 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2118 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2119 banners instead of destroying them when they receive a button
2122 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2124 Reverted commit 34028, it was causing regressions, probably the
2125 topmost condition is not correct, we have to check it in more
2126 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2127 propagation of button press events)
2129 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2131 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2132 that the selection is not empty before attempting to retrieve the
2133 current ampm selection.
2135 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2137 * src/hildon-picker-button.c:
2138 (hildon_picker_button_on_dialog_response): Directly update the
2139 button contents when required instead of calling _selection_changed.
2141 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2143 * src/hildon-program.c (hildon_program_update_top_most): Update
2144 'is-topmost' property also when wm_hints is not set.
2146 Fixes: NB#98383 (is-topmost signal is not emitted when task
2147 switcher is clicked.)
2149 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2151 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2155 * src/hildon-animation-actor.c,
2156 * src/hildon-animation-actor.h: Added the animation actor class,
2157 this widget represents an animation actor for WM-assisted
2158 animation effects in the Hildon framework.
2160 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2162 * src/hildon-window-stack-private.h
2163 * src/hildon-window-stack.c
2164 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2165 Avoid calling gtk_widget_show() again indirectly from
2166 hildon_stackable_window_show()
2168 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2170 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2173 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2175 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2176 (hildon_time_selector_init): Move the construction of the hours and
2177 ampm columns to the constructor to preserve the order the columns
2180 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2182 * src/hildon-picker-dialog.c:
2183 (hildon_picker_dialog_class_init): Connect a realize method.
2184 (+hildon_picker_dialog_realize): Setup the interaction mode here
2186 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2187 yet, do it during the realize instead.
2188 (_on_dialog_response):
2189 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2190 if the widget is not realized, to avoid the dialog response before it
2193 Avoid premature responses in the HildonPickerDialog that can cause it
2194 to be hidden before it's even shown.
2196 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2198 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2199 (on_selector_columns_changed), (requires_done_button),
2200 (+prepare_action_area), (setup_interaction_mode),
2201 (_hildon_picker_dialog_set_selector):
2203 Split the interaction mode setup into preparation of the
2204 action area (prepare_action_area()) and the connection of
2205 the signals in setup_interaction_mode() and update the code to
2208 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2210 * src/hildon-pannable-area.c,
2211 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2212 per second to 15, we will check if this is ok regarding
2215 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2217 * src/hildon-pannable-area.c,
2218 (hildon_pannable_axis_scroll): Avoid resize if we already have
2219 reached overshoot_max.
2221 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2223 * src/hildon-pannable-area.c,
2224 (hildon_pannable_area_init),
2225 (hildon_pannable_area_realize),
2226 (hildon_pannable_area_size_allocate),
2227 (hildon_pannable_area_map),
2228 (hildon_pannable_area_unmap),
2229 (hildon_pannable_draw_vscroll),
2230 (hildon_pannable_draw_hscroll),
2231 (hildon_pannable_area_expose_event),
2232 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2233 pannable are to avoid the expose events go to the window and
2234 redraw the window. We save this way that part of the stack and the
2235 paint_boxes. We had to change the positions of the elements when
2238 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2240 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2241 * src/hildon-color-chooser-dialog.c:
2242 (hildon_color_chooser_dialog_init):
2243 * src/hildon-font-selection-dialog.c:
2244 (hildon_font_selection_dialog_init),
2245 (hildon_font_selection_dialog_show_preview):
2246 * src/hildon-get-password-dialog.c:
2247 * src/hildon-login-dialog.c:
2248 * src/hildon-set-password-dialog.c:
2249 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2250 * src/hildon-time-picker.c: (hildon_time_picker_init):
2252 Remove obsolete logical string IDs and update to the appropriate ones.
2254 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2256 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2258 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2259 that happens if the window hasn't been realized yet.
2261 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2262 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2264 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2266 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2267 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2270 Fixes: NB#98537 (Device hangs in account settings dialog)
2272 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2274 * configure.ac: post release version bump.
2275 * debian/changelog: version bump
2277 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2282 * configure.ac: Bump version.
2283 * debian/changelog: Updates.
2285 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2287 Added a new function to the HildonTimeButton widget that allows to
2288 change the step of the minutes in the selector associated with the
2289 button: hildon_time_button_new_step
2291 * src/hildon-time-button.c,
2292 (hildon_time_button_init),
2293 (hildon_time_button_new),
2294 (hildon_time_button_new_step):
2295 * src/hildon-time-button.h: Added the new function and refactored
2297 * examples/hildon-time-button-example.c,
2298 (main): We have replaced the function without parameters with the
2299 function with the steps set to 5
2301 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2303 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2305 * src/hildon-time-selector.c,
2306 (hildon_time_selector_class_init),
2307 (hildon_time_selector_constructor),
2308 (hildon_time_selector_get_property),
2309 (hildon_time_selector_set_property),
2310 (_create_minutes_model),
2311 (hildon_time_selector_new_step),
2312 (hildon_time_selector_set_time),
2313 * src/hildon-time-selector.h: Added a new property to the
2314 HildonTimeSelector (minutes-step), we use that property to control
2315 the steps between the minutes in the list of the selector. We have
2316 added a new function to the API to create a widget changing the
2317 step: hildon_time_selector_new_step.
2319 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2321 * src/hildon-time-selector.c,
2322 (hildon_time_selector_class_init),
2323 (hildon_time_selector_constructor),
2324 (hildon_time_selector_init): Overrided the construct function when
2325 creating the time selector object. We have moved the minutes model
2326 handling code from the init to the new construction function:
2327 hildon_time_selector_constructor.
2329 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2331 * examples/hildon-date-button-example.c: (main): Use the new
2332 hildon_date_button_new_with_year_range() method in the example.
2333 * src/hildon-date-button.c:
2334 (+hildon_date_button_new_with_year_range): New public method
2335 to conveniently create a HildonDateButton with a custom year range
2336 in its HildonDateSelector.
2337 * src/hildon-date-button.h: Add the new public method definition.
2339 Fixes: NB#97908 (Not possible to change the year range in
2340 HildonDateSelector/HildonDateButton)
2342 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2344 * src/hildon-date-selector.c:
2345 (+hildon_date_selector_set_property),
2346 (+hildon_date_selector_get_property),
2347 (hildon_date_selector_class_init): Install new properties "min-year"
2348 and "max-year" to define boundaries for the year column.
2349 (_create_year_model): Use the boundary properties to populate the model.
2350 (+hildon_date_selector_new_with_year_range): New public method to
2351 create a HildonDateSelector with a user defined year range.
2352 (hildon_date_selector_select_current_date): Use the new boundaries to
2353 calculate the iterator of current year.
2354 * src/hildon-date-selector.h: Add the new public method definition.
2356 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2358 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2359 Install a constructor method.
2360 (+hildon_date_selector_construct_ui): construct the widget.
2361 (+hildon_date_selector_constructor): new constructor.
2362 (+hildon_date_selector_init): move out widget construction code to
2363 the new constructor.
2365 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2367 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2368 that there's actually a month or year selected before obtaining them.
2369 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2370 of the HildonTouchSelector::changed signal, as it was emitted on every
2371 single item selection.
2373 Fix some warnings and possible crashers due to the selection restoring.
2375 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2377 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2378 the signal handlers only after creating the dialog instead of on every
2381 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2383 * src/hildon-button.c (hildon_button_init)
2384 * src/hildon-check-button.c (hildon_check_button_init)
2385 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2386 focus when clicked by default.
2388 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2390 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2393 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2395 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2396 Alejandro G. Castro (alex@igalia.com)
2398 * src/hildon-picker-dialog.c:
2399 (hildon_picker_dialog_class_init): install new "center-on-show"
2401 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2402 (hildon_picker_dialog_set_property): add setter code for the new
2404 (hildon_picker_dialog_get_property): add getter code for the new
2406 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2407 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2410 Fixes: NB#92849 (Selected item is not always visible when
2411 HildonTouchSelector is shown)
2413 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2415 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2416 Alejandro G. Castro (alex@igalia.com)
2418 * src/hildon-touch-selector.c:
2419 (_create_new_column): Do not connect to the "realize" signal of the
2421 (hildon_touch_selector_append_column): center on the selected items
2422 when a new column is appended.
2423 (hildon_touch_selector_select_iter): Factor out the code to select a
2424 column to hildon_touch_selector_scroll_to().
2425 (+search_nearest_element): Method to retrieve the nearest selected
2426 element to the visible area of the pannable area in a column.
2427 (+on_realize_cb): scroll to the initially selected item.
2428 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2429 the pannable area is realized, otherwise delay this until it is.
2430 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2431 selected items of a given column.
2432 (+hildon_touch_selector_center_on_selected): Public method to center
2433 all columns on the nearest selected item.
2434 * src/hildon-touch-selector.h: Add definition for
2435 hildon_touch_selector_center_on_selected().
2437 Implement public API to ensure visibility of all selected items in
2438 a HildonTouchSelector.
2440 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2442 Fixed a problem in the fading when calling the scroll_to API, and
2443 improve scrollbar fading handling.
2445 * src/hildon-pannable-area.c,
2446 (hildon_pannable_area_grab_notify): avoid the timeout when the
2448 (hildon_pannable_area_button_press_cb),
2449 (hildon_pannable_area_motion_notify_cb): Code style changes.
2450 (hildon_pannable_area_button_release_cb): Review the conditions
2451 when releasing the mouse button to avoid unrequired fading
2453 (hildon_pannable_area_scroll_to): Do not calculate and set the
2454 velocity if the scroll is not required.
2456 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2458 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2459 Don't check whether the new selector is NULL: it cannot be.
2460 Hold a reference to the selector while doing the replacement.
2462 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2464 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2465 unnecessary size_request in a removed widget.
2467 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2469 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2470 an unnecessary reference tracking that was leaking.
2472 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2474 Added delayed motion notify event handling, this way we can
2475 discard redrawing if more than 25 events arrive per second.
2477 * src/hildon-pannable-area.c,
2478 (hildon_pannable_area_init): Initialized the new private atributes
2479 controlling this timeout
2480 (hildon_pannable_area_dispose): Remove the timeout that controls
2481 the motion notify events.
2482 (hildon_pannable_area_scroll): Added a condition to control the
2483 use of the acceleration.
2484 (hildon_pannable_area_motion_event_scroll_timeout),
2485 (hildon_pannable_area_motion_event_scroll): Added this two
2486 functions, they handle the motion notify events inside the
2488 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2489 to the scroll method with the new function.
2490 (hildon_pannable_area_button_release_cb): We have to remove the
2491 timeout handler and move to the last position if the last motion
2492 events were not handled.
2494 Fixes: NB#97028 (Pannable area updates on every motion event)
2496 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2498 * src/hildon-pannable-area.c,
2499 (hildon_pannable_area_get_topmost): Added a new parameter to
2500 filter the the windows that do not include those events. Added
2501 also a condition when finding the window to filter windows that do
2502 not ask for those events.
2503 (hildon_pannable_area_button_press_cb),
2504 (hildon_pannable_area_button_release_cb),
2505 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2506 topmost function, we have added the new parameter.
2508 Fixes: NB#97458 (Pannable area prevents propagation of button
2511 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2513 * src/hildon-pannable-area.c,
2514 (hildon_pannable_area_initial_effect): Added controls before
2515 launching the timeout and the idle functions.
2516 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2517 of the method, in some situations it can return with TRUE and 0 in
2519 (hildon_pannable_area_button_press_cb): We do not need to set
2520 DELAY for fading out here.
2522 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2524 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2526 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2527 post-cleaning if the selection is not NULL.
2529 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2531 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2532 all items before restoring the selection.
2534 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2536 * src/hildon-touch-selector.c:
2537 (+hildon_touch_selector_unselect_all):
2538 * src/hildon-touch-selector.h: New API to unselect all items in a
2539 column of the touch selector.
2541 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2543 * src/hildon-pannable-area.c,
2544 (hildon_pannable_area_redraw): Added a call to the refresh
2545 function inside the redraw because apparently in some cases the
2546 change in the adjustment does not imply a size allocate.
2548 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2549 despite the view not being scrollable)
2551 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2553 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2554 leak. Check for NULL before attempting to set the window title.
2556 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2558 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2559 whether to show or not the 'Done' button each time the dialog is
2560 shown, as it depends on the HildonTouchSelector selection mode.
2562 Fixes: NB#96226 (In multiple selection mode Done button is shown
2563 sometimes in listpicker)
2565 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2567 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2568 for the number of columns in the HildonTouchSelector more than once.
2570 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2572 * src/hildon-touch-selector.c: Minor documentation fixes.
2574 * src/hildon-picker-dialog.c (+_dialog_update_title)
2575 (_select_on_selector_changed_cb)
2576 (_update_title_on_selector_changed_cb)
2577 (on_selector_columns_changed): Update dialog title when there's no
2578 'Done' button and also when the number of columns in the selector
2582 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2583 (+_selection_changed, hildon_picker_button_on_dialog_response)
2584 (hildon_picker_button_selector_selection_changed)
2585 (+hildon_picker_button_selector_columns_changed)
2586 (hildon_picker_button_set_selector): Update button value and emit
2587 'value-changed' when the number of columns in the selector
2591 Fixes: NB#96225 (Dialog titles are not shown according to the
2592 values selected in the list picker)
2594 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2596 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2597 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2598 New "arrow-width" and "arrow-height" style properties to set the
2599 size of the arrow button.
2600 Set name of arrow button ("hildon-edit-toolbar-arrow").
2602 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2603 graphics from theme)
2605 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2607 * src/hildon-picker-button.c:
2608 (hildon_picker_button_selector_selection_changed): Use
2609 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2610 the dialog is present.
2612 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2613 the selection is accepted in the dialog)
2615 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2617 * src/hildon-color-chooser.h
2618 * src/hildon-color-chooser-dialog.h:
2619 Added G_BEGIN_DECLS and G_END_DECLS
2621 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2623 (_clean_current_selection): plug a leak in the list.
2625 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2627 * src/hildon-picker-dialog.c:
2628 (+free_path_list): Method to free a GList of GtkTreePaths.
2629 (_clean_current_selection), (_save_current_selection),
2630 (_restore_current_selection): Save the current selection in
2631 as a list of lists, to support multiple selection properly.
2633 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2635 patch by Claudio Saavedra (csaavedra@igalia.com)
2637 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2638 Store the press position.
2639 (+hildon_text_view_button_release_event): If the release position is
2640 close enough to the press position, move the cursor here. Otherwise,
2642 (hildon_text_view_class_init): Override GtkTextView press, release, and
2643 motion event handlers, disabling this way text selection through
2644 pointer interaction, and allowing the container widget to handle the
2647 Fixes: NB#95828 (HildonTextView functionality)
2649 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2651 Based on a patch by Iván Gómez (igomez@igalia.com)
2653 * src/hildon-button.[ch]
2654 * src/hildon-calendar.c
2655 * src/hildon-check-button.c
2656 * src/hildon-date-editor.c
2657 * src/hildon-date-selector.c
2658 * src/hildon-picker-button.c
2659 * src/hildon-time-editor.c
2660 * src/hildon-time-selector.c
2661 * src/hildon-touch-selector.[ch]:
2662 Documentation updates
2664 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2666 * src/hildon-pannable-area.c,
2667 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2668 threshold, it was required due to X events handling.
2670 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2672 * src/hildon-pannable-area.c,
2673 (hildon_pannable_area_grab_notify),
2674 (hildon_pannable_area_initial_effect),
2675 (hildon_pannable_area_button_press_cb),
2676 (hildon_pannable_area_button_release_cb),
2677 (hildon_pannable_area_scroll_cb),
2678 (hildon_pannable_area_scroll_to): Review the timeout management of
2679 the scrollbar, the frecuency was incorrectly set.
2681 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2683 * src/hildon-picker-button.c:
2684 (+hildon_picker_button_on_dialog_response),
2685 (hildon_picker_button_clicked): Present the dialog instead of
2686 running it with gtk_dialog_run().
2688 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2691 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2693 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2694 (hildon_app_menu_finalize): When a window is hidden it doesn't
2695 emit notify::is-topmost, so make sure than the menu also
2696 disappears in that case.
2697 (parent_window_topmost_notify): Renamed from parent_window_hidden
2699 Fixes: NB#94460 (stackable window's menu is not closed when its
2702 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2704 * src/hildon-touch-selector-entry.c:
2705 (+hildon_touch_selector_entry_set_input_mode),
2706 (+hildon_touch_selector_entry_get_input_mode):
2707 * src/hildon-touch-selector-entry.h: New methods to access the input
2708 mode in the selector's entry.
2710 Fixes: NB#93410 (API required for setting IM mode in
2711 HildonTouchSelectorEntry)
2713 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2715 * configure.ac: post release version bump.
2716 * debian/changelog: version bump
2718 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2723 * configure.ac: Bump version.
2724 * debian/changelog: Updates.
2726 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2728 * src/hildon-touch-selector.c:
2729 (_hildon_touch_selector_has_multiple_selection): No need
2730 to initialize the variables here.
2732 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2734 * src/hildon-note-private.h
2735 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2736 (hildon_note_finalize, hildon_note_rebuild): Close information
2737 notes when they receive a button press.
2739 Fixes: NB#89890 (Information notes does not get disappeared after
2742 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2744 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2745 mark from the wizard title, as it's not really necessary. Also,
2746 do not display the page title if not set.
2748 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2750 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2751 (parent_window_hidden): Use the window's "is-topmost" property to
2752 detect when to hide the menu.
2754 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2756 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2757 (hildon_app_menu_finalize): If the parent window of the menu is
2758 hidden, hide the menu too.
2760 Fixes: NB#94460 (stackable window's menu is not closed when its
2763 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2766 * debian/libhildon1-examples.install
2768 * examples/Makefile.am:
2769 Use dh_install to install all examples.
2770 Use DEB_SRCDIR instead of defining SOURCE_DIR
2772 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2774 * configure.ac: post release version bump.
2775 * debian/changelog: version bump
2777 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2782 * configure.ac: bump version
2783 * debian/changelog: updates
2784 * debian/control: bump gtk+ dependency
2786 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2788 patch by Christian Dywan (christian@imendio.com)
2790 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2791 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2793 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2795 * src/hildon-check-button.c (hildon_check_button_init)
2796 (hildon_check_button_class_init, hildon_check_button_style_set)
2797 (hildon_check_button_apply_style):
2798 New "checkbox-size" style property.
2800 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2801 larger / configurable size)
2803 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2805 * configure.ac: post release version bump.
2806 * debian/changelog: version bump
2808 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2813 * configure.ac: bump version
2814 * debian/changelog: updates
2816 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2818 * doc/hildon-sections.txt
2819 * src/hildon-pannable-area.c
2820 * src/hildon-program.c
2821 * src/hildon-time-editor.c
2822 * src/hildon-touch-selector-entry.c:
2824 More documentation updates.
2826 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2828 * doc/hildon-sections.txt
2829 * src/hildon-caption.c
2830 * src/hildon-code-dialog.c
2831 * src/hildon-color-button.c
2832 * src/hildon-controlbar.c
2833 * src/hildon-date-editor.c
2834 * src/hildon-date-selector.c
2835 * src/hildon-edit-toolbar.c
2836 * src/hildon-find-toolbar.c
2837 * src/hildon-font-selection-dialog.c
2839 * src/hildon-program.c
2840 * src/hildon-range-editor.c
2841 * src/hildon-seekbar.c
2842 * src/hildon-time-editor.c
2843 * src/hildon-time-selector.c
2844 * src/hildon-volumebar-range.c
2845 * src/hildon-volumebar.c
2846 * src/hildon-vvolumebar.c
2847 * src/hildon-weekday-picker.c
2848 * src/hildon-window.c
2849 * src/hildon-wizard-dialog.c:
2851 Lots of documentation fixes.
2853 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2855 Patch contributed by Iván Gómez (igomez@igalia.com)
2857 * src/hildon-check-button.c:
2858 * src/hildon-date-button.c:
2859 * src/hildon-date-selector.c:
2860 * src/hildon-dialog.c:
2861 * src/hildon-edit-toolbar.c:
2862 * src/hildon-entry.c:
2863 * src/hildon-picker-button.c:
2864 * src/hildon-program.c:
2865 * src/hildon-text-view.c:
2866 * src/hildon-time-button.c:
2867 * src/hildon-touch-selector-entry.c:
2868 * src/hildon-window-stack.c:
2870 Add more "since" tags to the new API.
2872 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2874 * doc/hildon-sections.txt: Add below method.
2875 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2876 version for the hildonized scale.
2877 * src/hildon-gtk.h: Add the definition.
2879 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2881 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2883 * doc/hildon-sections.txt: Add missing entries for new methods.
2885 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2887 Added API to pannable are in order to get its adjustments. We
2888 added two properties to manage the values we had in the private
2891 * src/hildon-pannable-area.c:
2892 (hildon_pannable_area_class_init): Added hadjustment and
2893 vadjustment properties in order to expose horizontal and vertical
2895 (hildon_pannable_area_get_property),
2896 (hildon_pannable_area_set_property): Added code to handle the new
2898 (hildon_pannable_area_get_hadjustment),
2899 (hildon_pannable_area_get_vadjustment): API functions to get the
2901 * src/hildon-pannable-area.h:
2902 (hildon_pannable_area_get_hadjustment),
2903 (hildon_pannable_area_get_vadjustment): API functions to get the
2906 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2908 Fixed some leaks, after valgrinding.
2910 * src/hildon-touch-selector.c:
2911 (_default_print_func): Fixed a leak.
2912 (hildon_touch_selector_append_column): Fixed a leak.
2913 * src/hildon-date-button.c:
2914 (hildon_date_button_init): Fixed a leak.
2915 * src/hildon-date-selector.c
2916 (hildon_date_selector_finalize): Fixed a leak.
2918 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2920 Based on a patch by Christian Dywan (christian@imendio.com)
2922 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2924 * src/hildon-gtk.h: Add definition.
2926 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2928 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2930 * src/hildon-picker-button.c: (hildon_picker_button_init),
2931 (hildon_picker_button_new): Set the HildonButton::style property
2932 in the init method, to propagate the value to the derived classes.
2934 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2936 * src/hildon-button.c: (hildon_button_class_init): Do not make
2937 the "style" property a construct property.
2939 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2941 * src/hildon-wizard-dialog.h
2942 * src/hildon-wizard-dialog.c
2943 (hildon_wizard_dialog_set_forward_page_func)
2944 * src/hildon-pannable-area.h
2945 * src/hildon-pannable-area.c
2946 (hildon_pannable_area_set_size_request_policy):
2947 Documentation fixes.
2949 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2951 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2953 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2955 * doc/hildon-sections.txt: Added sections file.
2957 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2960 * src/*.[ch]: Updates.
2962 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2964 * examples/hildon-progress-indicator-example.c: new file
2965 * examples/Makefile.am: include the new example program
2967 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2969 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2971 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2973 * configure.ac: post release version bump
2974 * debian/changelog: version bump
2976 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2981 * configure.ac: bump version
2982 * debian/changelog: updates
2983 * debian/control: bump gtk+ dependency
2985 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2987 * src/hildon-dialog.c: Mark as deprecated.
2988 * src/hildon-dialog.h: Mark as deprecated.
2989 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2990 from HildonDialog and still work, even if
2991 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2992 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2994 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2995 maemo changes) instead)
2997 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2999 * src/hildon-pannable_area.h:
3000 * src/hildon-pannable_area.c:
3001 (hildon_pannable_area_class_init),
3002 (hildon_pannable_area_set_property),
3003 (hildon_pannable_area_get_property),
3004 (hildon_pannable_area_size_request),
3005 (hildon_pannable_area_get_size_request_policy),
3006 (hildon_pannable_area_set_size_request_policy): Added new API
3007 allowing applications to control the request policy. Now they can
3008 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3009 children allocation (HILDON_MOVEMENT_CHILDREN).
3011 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3015 (hildon_gtk_tree_view_set_ui_mode)
3016 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3017 mode of treeviews and iconviews.
3019 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3021 * src/hildon-touch-selector-entry.c:
3022 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3023 of a GtkEntry to get proper theming.
3025 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3026 widget, not GtkEntry)
3028 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3030 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3031 no HildonWizardDialogPageFunc.
3033 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3035 Patch contributed by Iván Gómez (igomez@igalia.com)
3037 * src/hildon-app-menu.c:
3038 * src/hildon-button.c:
3039 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3040 * src/hildon-stackable-window.c:
3041 * src/hildon-time-selector.c:
3042 * src/hildon-touch-selector.c:
3043 * src/hildon-window.c:
3045 Add more "since" tags to the new API in hildon 2.2.
3047 2008-12-05 Tim Janik <timj@imendio.com>
3049 Patch contributed by Christian Dywan (christian@imendio.com)
3051 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3052 HildonSizeType, which are supplied by Gtk+ now.
3054 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3056 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3057 (with maemo changes) instead)
3059 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3061 Patch contributed by Iván Gómez (igomez@igalia.com)
3063 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3066 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3068 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3069 (some_page_func), (main): Update the example to use a
3070 HildonWizardDialogPageFunc function.
3072 * src/hildon-wizard-dialog-private.h: Add private data for
3073 the HildonWizardDialogPageFunc function usage.
3075 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3076 (destroy), (hildon_wizard_dialog_init), (response),
3077 (hildon_wizard_dialog_set_forward_page_func):
3078 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3079 that applications can use to stop a HildonWizardDialog to jump to
3082 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3085 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3087 * src/hildon-program.h
3088 * src/hildon-program-private.h
3089 * src/hildon-program.c (hildon_program_init)
3090 (hildon_program_set_common_app_menu)
3091 (hildon_program_get_common_app_menu):
3092 New API for setting a common HildonAppMenu for all
3093 HildonStackableWindows registered with the HildonProgram.
3095 * src/hildon-stackable-window.c
3096 (hildon_stackable_window_toggle_menu):
3097 Use the common HildonAppMenu if a window doesn't have a specific
3100 * src/hildon-app-menu-private.h
3101 * src/hildon-app-menu.c
3102 (hildon_app_menu_get_parent_window):
3103 Function to obtain the window a HildonAppMenu is attached to.
3104 (hildon_app_menu_set_parent_window):
3105 Hide the menu if the parent window is set to NULL.
3107 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3109 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3110 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3111 search widget to popup.
3113 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3115 * configure.ac: post release version bump
3116 * debian/changelog: version bump
3118 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3123 * configure.ac: bump version
3124 * debian/changelog: updates
3126 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3128 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3130 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3131 (hildon_window_stack_window_realized)
3132 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3133 Set the leader GdkWindow when a window is stacked and realized,
3134 unset it when it's unstacked.
3135 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3137 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3139 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3141 * src/hildon-stackable-window.h
3142 * src/hildon-window-stack.h:
3143 Protect definition of HildonWindowStack using the preprocessor.
3145 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3147 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3148 Fix warning if all menu items are hidden.
3150 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3152 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3154 * src/hildon-controlbar.c:
3155 * src/hildon-hvolumebar.c:
3156 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3157 Multiple scale size defines updates.
3159 Fixes: NB#94322 (Scale Updates)
3161 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3163 * examples/hildon-app-menu-example.c (create_menu)
3164 Show items after adding them to the menu, as in the future the
3165 menu will no longer call gtk_widget_show() on the added items.
3167 * src/hildon-app-menu.c:
3168 Update example as explained above.
3170 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3172 * src/hildon-app-menu.c
3173 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3174 Make sure that all menu items have finger height.
3176 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3178 * src/hildon-picker-dialog.c:
3179 (_on_dialog_response), (_save_current_selection),
3180 (_restore_current_selection), (_clean_current_selection),
3181 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3182 Defined new functions in order to save the current internal selector
3183 selection previous open the dialog, in case that the use cancel the
3184 interaction, so the widget restores the previous selection.
3186 Fixes: NB#92032 (In calendar application, date values in 'new event'
3189 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3191 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3193 * src/hildon-button.c: Add a reference to the button examples in
3194 hildon-button-example.c
3196 * examples/hildon-button-example.c: Added examples of the most
3197 common button layouts.
3199 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3201 * src/hildon-app-menu.c (hildon_app_menu_show)
3202 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3204 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3206 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3208 * src/hildon-picker-dialog.c:
3209 (hildon_picker_dialog_init): Initialize the signal id for
3210 HildonTouchSelector::columns-changed.
3211 (+on_selector_columns_changed): Set up the interaction mode everytime a
3212 column is added or removed from the HildonTouchSelector.
3213 (_hildon_picker_dialog_set_selector): Connect to
3214 HildonTouchSelector::columns-changed and keep track of it.
3216 Make sure to update the interaction mode of the dialog everytime a
3217 column is added or removed in the HildonTouchSelector.
3219 Fixes: NB#93228 (Done button is not shown always in listpicker)
3221 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3223 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3224 a new ::columns-changed signal.
3225 (hildon_touch_selector_append_column): Emit ::columns-changed.
3226 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3228 Add a ::columns-changed signal, emitted when the number of columns in a
3229 HildonTouchSelector changes.
3231 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3233 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3234 (_hildon_picker_dialog_set_selector): Factor out the code
3235 to set up the dialog interaction mode.
3237 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3239 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3240 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3241 to signal_changed_id.
3243 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3245 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3248 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3250 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3251 Updated the logical ids related to ampm format, as now it is required to
3252 show it correctly localized even on languages with no default
3253 abbreviations for am or pm
3254 (_check_am_pm_format): check correctly the 24h format gconf property
3256 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3258 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3260 * src/hildon-button.c: Documentation updates.
3262 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3264 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3265 * src/hildon-caption.c: (hildon_caption_class_init):
3266 * src/hildon-color-button.c: (hildon_color_button_class_init):
3267 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3268 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3269 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3270 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3272 Remove deprecated GTK+ marshalers and replace them with the ones
3273 provided by GLib, for those available, add a marshaler for
3274 BOOLEAN:VOID, which is not available in GLib, and use it.
3276 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3278 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3279 the text from the previous column if there is no
3280 HildonTouchSelectorColumn::text-property set.
3282 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3284 * src/hildon-button.h
3285 * src/hildon-button.c (hildon_button_set_property)
3286 (hildon_button_get_property, hildon_button_class_init)
3287 (hildon_button_set_style, hildon_button_get_style):
3288 New "style" property to change the visual appearance of the
3291 * src/hildon-picker-button.c (hildon_picker_button_new):
3292 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3294 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3295 HildonButton look like PickerButton)
3297 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3299 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3300 column while building the default string.
3302 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3304 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3305 scroll indicator by default.
3307 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3309 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3311 * src/hildon-main.c: Fix the documentation for hildon_init()
3313 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3315 * doc/hildon-docs.sgml
3319 * src/hildon-window-stack-private.h
3320 * src/hildon-window-stack.h
3321 * src/hildon-window-stack.c:
3322 New HildonWindowStack object, that adds support for multiple
3323 stacks of windows per process.
3325 * src/hildon-stackable-window-private.h
3326 * src/hildon-stackable-window.h
3327 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3328 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3329 (hildon_stackable_window_show, hildon_stackable_window_hide)
3330 (hildon_stackable_window_class_init)
3331 (hildon_stackable_window_init):
3332 Use HildonWindowStack for stack management.
3334 * src/hildon-program.c (hildon_program_pop_window_stack)
3335 (hildon_program_peek_window_stack)
3336 (hildon_program_go_to_root_window):
3337 Add a fallback implementation to the deprecated functions using
3340 * examples/hildon-stackable-window-example.c:
3341 Use the new HildonWindowStack API.
3343 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3345 * src/hildon-stackable-window-private.h
3346 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3347 (hildon_stackable_window_hide, hildon_stackable_window_init):
3348 Remove all window stack management.
3350 * src/hildon-program-private.h
3351 * src/hildon-program.h
3352 * src/hildon-program.c (hildon_program_init)
3353 (hildon_program_pop_window_stack)
3354 (hildon_program_peek_window_stack)
3355 (hildon_program_go_to_root_window):
3356 Remove all window stack management and mark functions as
3359 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3361 * src/hildon-app-menu.c (hildon_app_menu_realize):
3362 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3364 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3366 * configure.ac: post release version bump
3367 * debian/changelog: version bump
3369 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3374 * configure.ac: bump version
3375 * debian/changelog: updates
3377 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3379 Based on initial code by Christian Dywan (christian@imendio.com)
3381 * doc/hildon-docs.sgml: Add section for hildon-main.
3382 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3383 * src/Makefile.am: Add new hildon-main.[ch]
3384 * src/hildon-defines.h: Update the icon sizes.
3385 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3386 new library initialization files and register icon sizes.
3387 * src/hildon-main.h: New declarations.
3388 * src/hildon.h: Include hildon-main.h
3390 Add new initialization functions to the library. These methods
3391 will register the hildon specific icon sizes and can be used in the
3392 future for other hildon specific bits.
3394 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3396 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3398 * src/hildon-window.c: (hildon_window_realize),
3399 (hildon_window_notify), (-hildon_window_update_title): Do not set
3400 the application name in the window title.
3402 Fixes: NB#89754 (Applications shouldn't display their names in the
3405 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3407 * src/hildon-note-private.h:
3408 * src/hildon-note.c: (hildon_note_set_property),
3409 (hildon_note_get_property), (hildon_note_class_init),
3410 (hildon_note_init), (hildon_note_finalize),
3411 (hildon_note_new_confirmation_with_icon_name),
3412 (hildon_note_new_information_with_icon_name):
3414 No need to mark as deprecated the actual code. Revert
3415 to avoid missing symbols in widgets using deprecated API.
3417 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3419 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3421 * src/hildon-volumebar.h
3422 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3423 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3425 * src/hildon-helper.h
3426 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3427 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3429 * examples/Makefile.am:
3430 Deprecate hildon-insensitive-example
3432 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3434 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3436 * examples/hildon-pannable-area-buttons-scroll-example.c:
3437 Make all buttons finger height
3439 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3441 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3443 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3444 update the day model only if it is really required, and to avoid the
3445 full-reconstruction aproach. Now it only add or remove the required days.
3447 The purpose of this is avoid superfluous HildonTouchSelector::changed
3450 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3451 with strange parameters)
3453 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3455 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3457 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3458 the WINDOW_TYPE property.
3460 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3462 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3465 Fix dependency to allow parallel compilation with make -jX
3467 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3469 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3470 color frame and some minor tweaks to make it more consistent with
3473 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3474 highlighted but not visible)
3476 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3478 * examples/Makefile.am: Fixed typo in the Makefile.am.
3480 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3482 Reviewed the use of MAEMO_GTK define, now we add the define in the
3483 compilation line, and we also add it to the pc file.
3485 * configure.ac: Added MAEMO_GTK define to the compilation command
3486 and removed it from the config.h.
3488 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3489 do not have to take care about this define if the library was
3493 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3495 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3497 * examples/Makefile.am,
3498 * examples/hildon-pannable-area-buttons-scroll-example.c,
3499 * examples/hildon-pannable-area-gesture-signals-example.c,
3500 * examples/hildon-pannable-area-scroll-jump-example.c,
3501 * examples/hildon-pannable-area-tree-view-example.c:
3502 Renamed the pannable area examples, now they have more meaningful
3505 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3507 * src/hildon-touch-selector.c:
3508 (hildon_touch_selector_set_column_selection_mode): Used of
3509 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3510 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3511 to avoid re-seting the same selection mode.
3513 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3514 breaks HildonPickerDialog)
3516 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3518 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3519 conditional in the Makefile.am
3521 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3523 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3524 Remove unused methods.
3526 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3528 * src/hildon-button.c (hildon_button_init):
3529 Make button images center-aligned by default
3531 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3534 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3535 activated, we have to think about how to deal with both defines
3536 MAEMO_GTK and MAEMO_CHANGES.
3538 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3540 * examples/hildon-app-menu-example.c (create_menu): Make all
3541 buttons finger size.
3543 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3545 Fixed the compilation without maemo gtk adding ifdefs with
3546 MAEMO_GTK define to the code, we have to check this version more
3549 * examples/Makefile.am: Added control to avoid some examples that
3550 just make sense with maemo gtk.
3553 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3554 hildon modes with the define.
3556 * examples/hildon-edit-toolbar-example.c,
3557 (create_icon_view): Create the icon view without hildon-gtk
3558 helpers if we are not using maemo gtk.
3560 * src/hildon-touch-selector.c,
3561 (_create_new_column): Create the treeview without hildon-gtk
3562 helpers if we are not using maemo gtk.
3564 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3566 * src/hildon-pnnable-area.c,
3567 (hildon_pannable_area_dispose),
3568 (hildon_pannable_area_button_press_cb),
3569 (hildon_pannable_area_child_mapped),
3570 (hildon_pannable_area_add),
3571 (hildon_pannable_area_remove): Added code to control the position
3572 of the event_window when adding and removing children from the
3573 pannable. We have to raise the event window when the child is
3576 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3577 selection mode using custom widget inside pannable)
3579 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3581 * configure.ac: post release version bump
3582 * debian/changelog: version bump
3584 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3589 * configure.ac: bump version
3590 * debian/changelog: updates
3592 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3594 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3595 search mode, in order to avoid lose the focus on the treeview when
3596 a hw key (like enter) is pressed.
3598 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3599 in HildonDateSelector dialog)
3601 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3603 * debian/rules: Added --enable-maintainer-mode
3604 * Makefile.am: Added ACLOCAL_AMFLAGS
3606 This allows to properly regenerate the Makefiles if you modify the
3607 configure.ac or any Makefile.am.
3609 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3611 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3612 properties, not needed at all.
3614 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3616 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3618 * src/hildon-note.c: (hildon_note_set_property),
3619 (hildon_note_get_property), (hildon_note_class_init),
3620 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3621 (hildon_note_new_confirmation_add_buttons): Remove icons.
3622 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3623 (hildon_note_new_information_with_icon_name): Deprecate.
3624 (hildon_note_new_confirmation): Act directly, without calling
3625 the deprecated constructor.
3626 (hildon_note_new_information): Act directly, without calling
3627 the deprecated constructor.
3628 * src/hildon-note.h: Mark deprecate methods as such.
3629 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3630 not run tests on the deprecated methods if built with deprecation
3633 Fixes: NB#91688 (Never show icons in information notes/confirmation
3636 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3638 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3639 (hildon_app_menu_key_press): Remove leftover usage of the
3640 private structure in HildonAppMenu struct.
3641 * src/hildon-app-menu.h: Remove leftover private structure
3642 from the HildonAppMenu struct.
3644 Fixes a crasher when using the HildonAppMenu.
3646 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3648 * src/hildon-picker-dialog.c: Use appropriate logical id
3649 for the default "Done" text.
3651 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3653 * configure.ac: post release version bump
3654 * debian/changelog: version bump
3656 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3658 Modified the way to scroll to the current selection just when the touch
3659 selector is shown on the screen, avoiding a g_idle. Added too a property
3660 to configure this behaviour. See hildon_pannable_area_jump_to_child
3661 documentation for more information.
3663 * src/hildon-touch-selector.c
3664 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3665 Added 'initial-scroll' property
3666 (hildon_touch_selector_set_property): Added
3667 (hildon_touch_selector_map): Removed as not required anymore
3668 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3669 only a concrete column, instead of iterate along all the columns
3671 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3676 * configure.ac: bump version
3677 * debian/changelog: updates
3679 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3681 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3682 compilation time warnings.
3684 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3686 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3687 the default value for HildonPannableArea::mov-mode to
3688 HILDON_PANNABLE_AREA_MODE_VERT.
3690 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3692 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3694 Reverting following commit:
3696 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3698 * src/hildon-app-menu-private.h
3699 * src/hildon-app-menu.[ch]
3700 * src/hildon-button.[ch]
3701 * src/hildon-check-button.[ch]
3702 * src/hildon-entry.[ch]
3703 * src/hildon-pannable-area.[ch]
3704 * src/hildon-text-view.[ch]:
3705 Added private field to the object's structure.
3707 because it causes an ABI breakage. We will need to introduce these
3708 changes later at some point. See NB#91636 for an extensive
3709 explanation and status.
3711 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3713 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3715 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3716 remove special cases that are no longer necessary.
3718 Fixes: NB#91016 (Change toolbar sizes, simplification)
3720 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3722 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3723 is shown in the cancel note.
3725 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3727 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3728 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3729 (hildon_seekbar_init): Remove steppers, remove expose event.
3730 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3732 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3734 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3736 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3737 label font to "SmallSystemFont" for vertically arranged buttons.
3739 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3742 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3744 * src/hildon-check-button.c
3745 (hildon_check_button_set_active, hildon_check_button_clicked):
3746 Don't access private parts directly, use getters instead.
3748 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3750 * src/hildon-check-button.c (hildon_check_button_new):
3751 Align the contents of the check button to the left.
3753 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3755 * src/hildon-pannable-area.c,
3756 (hildon_pannable_area_scroll_to),
3757 (hildon_pannable_area_jump_to),
3758 (hildon_pannable_area_scroll_to_child),
3759 (hildon_pannable_area_jump_to_child): Replace the mapped
3760 precondition of these functions with the realized, it is the
3761 correct state of the widget in this case. Changed the
3762 documentation according to this modification.
3764 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3766 Added a new EXTRA_CFLAGS option to add the deprecated define to
3767 the compilation command. This way we can avoid using the define in
3768 the documentation compilation.
3770 * configure.ac: Defined EXTRA_CFLAGS.
3772 * examples/Makefile.am:
3774 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3776 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3778 * src/hildon-picker-dialog.c:
3779 Defined a utility macro with the desired touch selector height
3780 Removed currently unused separator, and title_label variables from
3782 (hildon_picker_dialog_init): Removed code related to the creation
3783 of unused private variables title_label and separator.
3784 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3785 to ensure correct visualization of the touch selector inside the dialog.
3786 * src/hildon-touch-selector.c
3787 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3788 ensure a concrete height of the widget.
3790 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3793 * tests/Makefile.am:
3795 Remove spurious whitespaces.
3797 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3799 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3800 compilation warning after the cancel button removal.
3802 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3804 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3806 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3807 Makefile.am, that way we can choose not to compile some examples
3808 and tests of the deprecated widgets.
3810 * examples/Makefile.am: Divided the sources in deprecated and
3813 * src/Makefile.am: Added undef statement of the deprecated
3814 symbol to the enums file generation process.
3816 * src/hildon-color-chooser-dialog.c
3817 * src/hildon-color-chooser-dialog.h
3818 * src/hildon-color-button.c
3819 * src/hildon-color-button.h
3820 * src/hildon-color-chooser.c
3821 * src/hildon-color-chooser.h
3822 * src/hildon-controlbar.c
3823 * src/hildon-controlbar.h
3824 * src/hildon-date-editor.c
3825 * src/hildon-date-editor.h
3826 * src/hildon-hvolumebar.c
3827 * src/hildon-hvolumebar.h
3828 * src/hildon-private.c
3829 * src/hildon-private.h
3830 * src/hildon-range-editor.c
3831 * src/hildon-range-editor.h
3832 * src/hildon-seekbar.c
3833 * src/hildon-seekbar.h
3834 * src/hildon-time-editor.c
3835 * src/hildon-time-editor.h
3836 * src/hildon-time-picker.c
3837 * src/hildon-time-picker.h
3838 * src/hildon-volumebar.c
3839 * src/hildon-volumebar.h
3840 * src/hildon-vvolumebar.c
3841 * src/hildon-vvolumebar.h
3842 * src/hildon-bread-crumb-trail.h
3843 * src/hildon-bread-crumb-trail.c
3844 * src/hildon-calendar-popup.c
3845 * src/hildon-calendar-popup.h
3846 * src/hildon-weekday-picker.c:
3847 * src/hildon-weekday-picker.h:
3848 * src/hildon-bread-crumb-widget.c:
3849 * src/hildon-bread-crumb-widget.h:
3850 * src/hildon-bread-crumb.c:
3851 * src/hildon-bread-crumb.h:
3852 * src/hildon-calendar.c:
3853 * src/hildon-calendar.h:
3854 * src/hildon-caption.c:
3855 * src/hildon-code-dialog.c:
3856 * src/hildon-code-dialog.h:
3857 * src/hildon-font-selection-dialog.c:
3858 * src/hildon-font-selection-dialog.h:
3859 * src/hildon-get-password-dialog.c:
3860 * src/hildon-get-password-dialog.h:
3861 * src/hildon-login-dialog.c:
3862 * src/hildon-login-dialog.h:
3863 * src/hildon-number-editor.c:
3864 * src/hildon-number-editor.h:
3865 * src/hildon-set-password-dialog.c:
3866 * src/hildon-set-password-dialog.h:
3867 * src/hildon-sort-dialog.c:
3868 * src/hildon-sort-dialog.h: This is the list of deprecated
3871 * src/hildon-touch-selector.c:
3872 * src/hildon-window.c: Added undef statement to avoid compilation
3875 * tests/Makefile.am: Divided the sources in deprecated and
3878 * tests/check_test.c,
3879 (configure_tests): Marked the deprecated code that was adding
3880 suites with deprecated tests.
3882 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3884 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3886 * src/hildon-touch-selector.c: (_default_print_func): Do not
3887 duplicate a string returned by gtk_tree_model_get(), it is already
3890 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3893 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3895 * src/hildon-pannable-area.c
3896 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3897 method, it had problems when adding a widget with viewport the
3898 second time. Now checks if it already has a viewport and uses it.
3900 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3903 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3905 * src/hildon-pannable-area.c,
3906 (hildon_pannable_area_scroll_to),
3907 (hildon_pannable_area_jump_to),
3908 (hildon_pannable_area_scroll_to_child),
3909 (hildon_pannable_area_jump_to_child): Added a precondition to the
3910 scroll and jump to functions: the widget must be mapped before we
3911 can safely call these functions. We have also added documentation
3912 to the functions to explain how to use them in this situation.
3915 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3917 Reviewed the threading handling of the pannable widget, we have
3918 used the gdk_threads_add_timeout function instead of the usual
3919 glib handlers. This avoids some problems with the threads.
3921 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3922 (hildon_pannable_area_initial_effect),
3923 (hildon_pannable_area_scroll_indicator_fade),
3924 (hildon_pannable_area_button_press_cb),
3925 (hildon_pannable_area_timeout),
3926 (hildon_pannable_area_motion_notify_cb),
3927 (hildon_pannable_area_button_release_cb),
3928 (hildon_pannable_area_scroll_cb),
3929 (hildon_pannable_area_scroll_to): Removed the
3930 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3931 gdk_threads_add_timeout.
3933 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3935 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3940 * configure.ac: bump version
3941 * debian/changelog: updates
3943 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3945 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3946 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3947 * src/hildon-color-chooser-dialog.c:
3948 (hildon_color_chooser_dialog_init):
3949 * src/hildon-font-selection-dialog.c:
3950 (hildon_font_selection_dialog_init):
3951 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3953 Remove all cancel/close-like dialogs, as these are not going to be
3956 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3958 * src/hildon-note.c: (hildon_note_rebuild),
3959 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3962 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3964 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3966 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3967 sure all buttons are shown, even the Cancel/Close-like ones.
3969 Fixes: NB#90861 (Custom Confirmation dialogs should be
3970 protected from cancel button removal)
3972 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3974 * debian/control: Change libhildon1-examples dependency from libhildon1
3976 * debian/libhildon1-examples.install
3978 * Makefile.am: Modified the final install directory for the examples on
3979 package libhildon1-examples
3980 * Makefile.static: Update clean target in order to remove all the binary
3983 Changes suggested by Claudio after review new libhildon1-examples package
3985 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3987 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3988 * src/hildon-touch-selector.c: Ditto.
3990 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3992 * debian/control: Added new package libhildon1-examples, in order to pack
3993 the current hildon examples as documentation
3994 * debian/rules: Not to compress .c files, modify some includes on the
3995 examples (as normally are compiled locally, but when installed it will
3996 require to include the installed libhildon1 library), and rename
3998 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3999 install all the example files on the new example package
4000 * examples/Makefile.static: Added static makefile that can be used to
4001 compile the examples, once installed the new example package
4002 * examples: Most of the examples were modified in order to grant that
4003 all use only '#include "hildon.h"', in order to be easy to prepare
4004 it on the example package
4006 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4009 * debian/libhildon1-dev.install
4010 * debian/libhildon1-doc.install:
4011 Move all gtk-doc files to a separate libhildon1-doc package.
4013 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4015 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4017 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4019 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4021 * debian/rules: Fixed a error in order to avoid unnecessary calls
4022 to autogen.sh on package building
4024 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4026 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4028 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4030 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4033 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4035 * src/hildon-picker-button.c
4036 (hildon_picker_button_finalize):
4037 Free priv->done_button_text
4039 * src/hildon-time-button.c
4040 (hildon_time_button_set_time)
4041 * src/hildon-picker-button.c
4042 (hildon_picker_button_clicked)
4043 (hildon_picker_button_selector_selection_changed)
4044 (hildon_picker_button_set_selector)
4045 * src/hildon-date-button.c
4046 (hildon_date_button_set_date):
4047 Free strings returned by hildon_touch_selector_get_current_text()
4049 * src/hildon-button.c (hildon_button_construct_child):
4050 Fix leaks in priv->image and priv->label_box
4052 Fixes: NB#90535 (Memory leak in picker button)
4054 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4056 * src/hildon-button.c: (hildon_button_get_property): Do not access
4057 private elements directly, use getters instead.
4059 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4061 * src/hildon-app-menu-private.h
4062 * src/hildon-app-menu.c
4063 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4064 Store the menu's parent window.
4066 * src/hildon-stackable-window.c
4067 (hildon_stackable_window_toggle_menu)
4068 (hildon_stackable_window_finalize):
4069 Set the menu's parent window when the menu is shown, unset it when
4072 * src/hildon-app-menu.c
4073 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4074 (hildon_app_menu_class_init):
4075 Send unhandled keyboard accelerators to the parent window.
4077 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4079 * src/hildon-stackable-window.c
4080 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4082 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4084 * configure.ac: post release version bump
4086 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4089 * configure.ac: Bump version
4090 * debian/changelog: Updates
4091 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4094 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4096 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4099 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4100 GtkMenu with Hildon style.
4102 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4104 * src/hildon-picker-button.c:
4105 (hildon_picker_button_set_done_button_text): Set the dialog's
4106 done button text here as well.
4108 Fixes: NB#90232 (Picker button does not set the label on done button
4109 for the second time)
4111 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4113 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4116 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4118 * src/hildon-app-menu.c (hildon_app_menu_insert)
4119 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4120 the HildonAppMenu to be activatable using keyboard accelerators
4121 when the menu is not being shown.
4123 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4125 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4127 * src/hildon-stackable-window.c
4128 (hildon_stackable_window_show):
4129 Don't hide old windows automatically when new windows are shown:
4130 this is now a task for the window manager.
4131 (hildon_stackable_window_class_init)
4132 (hildon_stackable_window_hide):
4133 Remove windows from the stack everytime they're hidden.
4134 (hildon_stackable_window_realize):
4135 Don't change the _NET_WM_WINDOW_TYPE property. Use
4136 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4137 it as a stackable window.
4139 * src/hildon-program.c
4140 (hildon_program_pop_window_stack):
4141 Just hide the window to remove it from the stack.
4142 (hildon_program_go_to_root_window):
4143 Don't call gtk_widget_show(), this is now a task for the window
4146 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4148 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4150 * src/hildon-button.c
4151 (hildon_button_construct_child):
4152 Don't pack anything in the button until text or image are
4153 set. This allows adding a custom child after creating the button
4154 with hildon_button_new().
4155 (hildon_button_finalize, hildon_button_class_init)
4156 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4157 alignment and the label box even when they're not packed in the
4160 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4162 * src/hildon-touch-selector.h:
4163 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4164 currently the type definition was using GTK_TYPE_VBOX
4165 * src/hildon-touch-selector.c:
4166 Added some implementation notes in order to clarify that any other widget
4167 added without the column related API will not be included on the
4168 selection logic, and how the widget is freed, as some people ask about
4170 (hildon_touch_selector_remove): Reimplemented in order to free properly
4171 the column related data when you remove the private hbox.
4172 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4173 to get a proper HildonTouchSelectorColumn documentation
4175 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4177 * src/hildon-touch-selector-entry.c:
4178 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4179 text in the GtkEntry and there is no item selected. Fixes a
4182 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4184 * src/hildon-app-menu-private.h
4185 * src/hildon-app-menu.[ch]
4186 * src/hildon-button.[ch]
4187 * src/hildon-check-button.[ch]
4188 * src/hildon-entry.[ch]
4189 * src/hildon-pannable-area.[ch]
4190 * src/hildon-text-view.[ch]:
4191 Added private field to the object's structure.
4193 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4195 * configure.ac: post-release version bump
4197 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4201 * configure.ac: pre-release version bump
4203 * debian/changelog: updates.
4205 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4207 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4208 Disconnect the handler for HildonTouchSelector::changed.
4210 (hildon_picker_button_selector_selection_changed): Update the button
4211 value if the selection change was not triggered by the
4214 (hildon_picker_button_set_selector): connect to
4215 HildonTouchSelector::changed.
4217 Fixes: NB#89650 (Picker button is not updated, when selection in
4218 selector has changed)
4220 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4222 * src/hildon-picker-dialog.c
4223 (hildon_picker_dialog_realize): Removed as not required
4224 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4225 * src/hildon-picker-button.c
4226 (_current_selector_empty): New function, checks if the selector is empty
4227 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4228 if the current selector is empty, in order to avoid to show the dialog
4229 close the dialog in this case (and shows a g_warning).
4231 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4233 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4235 * src/hildon-pannable-area.c,
4236 (hildon_pannable_area_scroll): Added clause to stop movement when
4237 the child of pannable is smaller than one page.
4238 (hildon_pannable_area_scroll_to): Added conditions to avoid
4239 starting the scrolling movement if the child is smaller than one
4240 page, the complete child is in the screen, we do not have to move.
4242 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4244 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4246 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4247 this is managed automatically by the widget when the size of the
4250 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4252 * src/hildon-picker-button.c
4253 (hildon_picker_button_set_done_button_text): Make a copy of the
4254 text, and free the previous value.
4256 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4258 * src/hildon-touch-selector-entry.c:
4259 (hildon_touch_selector_entry_print_func): Return the selected row's
4260 text if the entry is empty.
4262 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4265 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4267 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4269 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4272 * src/hildon-check-button.h
4273 * src/hildon-check-button.c
4274 * examples/hildon-check-button-example.c:
4275 HildonCheckButton is now a new widget. 'toggled' signal added.
4277 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4279 * src/hildon-program-private.h
4280 * src/hildon-program.c (hildon_program_init)
4281 (hildon_program_finalize): Removed unused variables group_leader
4282 and name from HildonProgramPrivate.
4284 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4286 * src/hildon-check-button.c (hildon_check_button_set_active)
4287 (hildon_check_button_get_active, hildon_check_button_new): Use
4288 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4290 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4292 * src/hildon-touch-selector.h
4293 (hildon_touch_selector_set_column_attributes): added deprecation
4294 guard HILDON_DISABLE_DEPRECATED
4295 * src/hildon-time-selector.c
4296 (hildon_time_selector_set_time)
4297 (hildon_time_selector_get_time): Fixed a typo on documentation
4298 * src/hildon-touch-selector.c: update HildonTouchSelector and
4299 HildonTouchSelectorColumn documentation
4300 * src/hildon-touch-selector-entry.c: update "text-column" property
4302 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4303 to be added to the general documentation.
4305 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4307 * examples/hildon-pannable-area-example-4.c,
4309 * examples/hildon-pannable-area-example.c,
4310 (main): Modified the code in order to use the container add, with
4311 viewport treeviews could have problems if they are really big.
4313 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4315 * src/hildon-weekday-picker.c,
4316 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4317 the agreement regarding deprecation in the library.
4319 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4321 * examples/hildon-picker-button-multicolumn-example.c:
4322 (main): Use custom "done" button text.
4324 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4325 (hildon_picker_button_set_property),
4326 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4327 (hildon_picker_button_init),
4328 (+hildon_picker_button_get_done_button_text),
4329 (+hildon_picker_button_set_done_button_text): New methods to customize
4330 the "done" button label in the launched HildonPickerDialog. Also,
4333 * src/hildon-picker-button.h: add the public API.
4335 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4337 * src/hildon-date-selector.h:
4338 * src/hildon-picker-dialog.h:
4339 * src/hildon-time-selector.h:
4340 * src/hildon-touch-selector-column.h:
4341 * src/hildon-touch-selector.h:
4343 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4344 declarations. Fixes gtk-doc warnings.
4346 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4348 * src/hildon-picker-dialog.h
4349 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4350 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4352 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4353 long text is set as label for done button)
4355 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4357 * src/hildon-dialog.c (hildon_dialog_add_button):
4358 Set fixed width to all buttons in the HildonDialog.
4360 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4362 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4364 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4365 Set widget name using class name plus "-finger" or "-thumb".
4367 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4369 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4370 'clicked' when the state of the button is manually changed.
4372 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4374 * src/hildon-app-menu.c (hildon_app_menu_realize)
4375 (hildon_app_menu_unrealize, hildon_app_menu_init)
4376 (hildon_app_menu_class_init, item_visibility_changed):
4377 Change the menu layout when the size of the screen changes.
4378 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4379 Show warning only when changing the number of colums using the
4382 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4384 * debian/compat: Set to 5
4385 * debian/control: Update dependencies.
4386 * debian/libhildon1-dbg.install: Remove.
4387 * debian/libhildon1-dev.install: Update according to cdbs paths.
4388 * debian/libhildon1.install: Update according to cdbs paths.
4389 * debian/rules: Switch to cdbs.
4391 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4393 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4394 'item' variable renamed to 'filter'
4396 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4398 * src/hildon-app-menu.c (hildon_app_menu_insert)
4399 (hildon_app_menu_add_filter, remove_item_from_list)
4400 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4401 Don't leak hidden items when the menu is destroyed.
4403 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4405 * src/hildon-app-menu.c (hildon_app_menu_insert)
4406 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4407 (hildon_app_menu_set_columns, item_visibility_changed)
4408 (filter_visibility_changed, hildon_app_menu_repack_filters)
4409 (hildon_app_menu_repack_items):
4410 Repack items and filters separately.
4412 Don't repack all items, change only the ones that are needed to
4415 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4417 * src/Makefile.am: added hildon-touch-selector-column.h
4419 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4421 * src/hildon-touch-selector.c: added the property "text-column" to the
4422 class HildonTouchSelectorColumn, and related get/set functions
4423 (_default_printf_func): updated to use "text-column" property
4424 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4425 "text-column" in his documentation, as this is now included on
4426 HildonTouchSelectorColumn. The get/set_property can still be used,
4427 working as a wrapper to the concrete column "text-column" property
4428 (_text_column_modified): callback added in order to handle the signal
4429 "notify::text-column" of the concrete HildonTouchSelectorColumn
4430 (hildon_touch_selector_entry_get_text_column)
4431 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4432 modified in order to use the HildonTouchSelectorColumn "text-column"
4434 * src/hildon-time-selector.c:
4435 * src/hildon-date-selector.c:
4436 * examples/hildon-touch-selector-example.c
4437 * examples/hildon-touch-selector-multi-cells-example.c
4438 * examples/hildon-picker-button-multicolumn-example.c
4439 Set the right value to "text-column" property on the creation of a new
4440 column using hildon_touch_selector_append_column()
4442 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4444 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4446 * src/hildon-app-menu.c
4447 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4448 updating the layout of the menu, don't create all widgets again,
4449 just repack the items in their new places.
4451 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4453 * src/hildon-time-selector.c
4454 (hildon_time_selector_get_time)
4455 (hildon_time_selector_set_time)
4456 Added documentation of these public methods
4458 * src/hildon-date-button.h
4459 * src/hildon-touch-selector-column.h
4460 * src/hildon-time-button.h
4461 * src/hildon-picker-dialog.h
4462 * src/hildon-time-selector.h
4463 * src/hildon-picker-button.h
4464 * src/hildon-touch-selector.h
4465 * src/hildon-time-picker.h
4466 * src/hildon-date-selector.h
4467 * src/hildon-touch-selector-entry.h
4468 Modified in order to use hildon-widgets code style
4470 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4472 Added deprecated support to the compilation process using
4473 HILDON_DISABLE_DEPRECATED
4475 * configure.ac: Added the --disable-deprecated to the configure
4478 * src/hildon-weekday-picker.c:
4479 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4480 to use the deprecated support. We will update the other deprecated
4481 widgets status in a new patch.
4483 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4485 * configure.ac: Fixed typo with fatal warnings support, the
4486 variable name was not correct
4488 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4490 * src/hildon-app-menu.c
4491 * src/hildon-program.c: Update documentation.
4493 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4495 * configure.ac: Post-release version bump.
4497 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4502 * configure.ac: Pre-release version bump.
4503 * debian/changelog: Updates.
4505 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4507 * NEWS: Update news for previous releases.
4509 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4511 * examples/hildon-touch-selector-multi-cells-example.c:
4512 (create_selector): Update the example to use
4513 hildon_touch_selector_append_column() with a NULL renderer and set
4514 the renderers later.
4515 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4516 passed a NULL renderer. This is documented behavior now.
4518 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4519 This must be used if the developer wants full control on the layout of
4520 the renderers to be added to the column.
4522 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4524 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4526 * src/hildon-touch-selector.c: Documentation fixes.
4528 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4530 * src/hildon-wizard-dialog-private.h: Remove image and box.
4531 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4532 (hildon_wizard_dialog_set_property), (response): Completely remove
4533 image/icon support, and the containers required for the layout.
4535 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4537 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4539 * src/hildon-app-menu.c: Updated documentation.
4541 * src/hildon-stackable-window.c
4542 (hildon_stackable_window_set_main_menu): Unref the old menu after
4543 ref'ing the new one.
4545 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4547 * src/hildon-stackable-window.c
4548 (hildon_stackable_window_set_main_menu): Unref the previous menu
4549 instead of destroying it.
4551 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4552 floating reference and set has_user_ref_count to FALSE to make
4553 HildonAppMenu act like a normal ref-counted widget and not a
4556 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4559 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4561 * src/hildon-touch-selector-column.h: new file
4562 * src/hildon-touch-selector.h
4563 * src/hildon-touch-selector.c
4564 Implemented GtkCellLayout interface, in order to allow to configure
4565 the cell layout on each individual selector column
4566 (hildon_touch_selector_set_column_attributes): marked as deprecated
4567 * examples/hildon-touch-selector-multi-cells-example.c
4568 Example of how to use the GtkCellLayout interface on the selector
4570 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4572 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4574 * src/hildon-app-menu.h
4575 * src/hildon-app-menu.c
4576 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4577 (hildon_app_menu_append, hildon_app_menu_prepend):
4578 New methods to prepend, insert and move items in the menu.
4580 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4582 * src/hildon-wizard-dialog.c:
4584 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4586 (create_title): Update logical IDs and related code.
4587 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4589 * src/hildon-wizard-dialog.h: Note that
4590 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4591 point, as it is not used anymore.
4593 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4595 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4597 * src/hildon-note.c:
4598 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4599 shown. Do not display an icon in confirmation notes nor information
4601 (hildon_note_set_button_text): Update logical ID for cancel button.
4603 Fixes: NB#88850 (Update HildonNote button strings + signals)
4605 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4607 * src/hildon-stackable-window.c
4608 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4610 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4612 * src/hildon-app-menu-private.h
4613 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4614 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4615 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4616 temporary property 'columns' to change the number of columns.
4618 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4620 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4622 * examples/hildon-note-example.c: (on_information_clicked),
4623 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4624 debugging information.
4625 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4627 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4628 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4629 in order to close: this will be handled by the WM from now on.
4631 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4633 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4635 * src/hildon-app-menu-private.h
4636 * src/hildon-app-menu.c
4637 (hildon_app_menu_append, hildon_app_menu_add_filter)
4638 (button_visibility_changed, hildon_app_menu_apply_style)
4639 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4640 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4641 layout everytime a button (item or filter) is shown or hidden.
4643 * src/hildon-stackable-window.c
4644 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4647 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4649 * src/hildon-touch-selector.c:
4650 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4651 that the treeview inside the touch selector is in fremantle hildon mode
4652 * examples/hildon-date-button-example.c
4653 * examples/hildon-picker-button-multicolumn-example.c
4654 * examples/hildon-touch-selector-entry-example.c
4655 * examples/hildon-touch-selector-example.c
4656 * examples/hildon-time-button-example.c
4657 * examples/hildon-picker-button-example.c:
4658 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4660 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4662 * examples/hildon-text-view-example.c: (main): Remove the
4663 gtkrc bits, now handled by the theme.
4665 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4667 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4670 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4672 * po/Makefile.am: Install properly the mo files.
4673 * po/en_GB.po: Update translation, to ease testing purposes.
4675 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4677 * examples/hildon-picker-button-example.c: (main): Select an item
4678 in the selector before setting it to the button.
4680 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4682 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4683 Update button's value if the selector has an item active.
4685 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4686 'value' with the selector)
4688 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4690 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4691 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4692 (hildon_picker_button_class_init): Plug the finalize method.
4693 (hildon_picker_button_set_selector): If there's a previously set
4694 selector, unref'it before setting a new one.
4696 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4697 HildonTouchSelector)
4699 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4701 * src/hildon-touch-selector-entry.c:
4702 (hildon_touch_selector_entry_changed): Check if there is no text
4703 selected before setting the entry text.
4706 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4708 * src/hildon-touch-selector.h
4709 * src/hildon-touch-selector.c
4710 (hildon_touch_selector_get_active)
4711 (hildon_touch_selector_set_active): New methods to set/get the
4712 index of the selected item.
4714 * src/hildon-picker-button.h
4715 * src/hildon-picker-button.c
4716 (hildon_picker_button_get_active)
4717 (hildon_picker_button_set_active): New methods to set/get the
4718 index of the selected item.
4720 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4722 * configure.ac: post-release version bump.
4724 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4728 * configure.ac: Pre-release version bump.
4729 * debian/changelog: Updates.
4730 * debian/control: Add myself as maintainer and depend on l10n
4733 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4735 * src/hildon-window.c
4736 (hildon_window_set_main_menu)
4737 * src/hildon-stackable-window.c
4738 (hildon_stackable_window_set_main_menu):
4739 Updated documentation.
4741 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4743 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4744 Don't free selector->priv manually.
4747 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4750 (hildon_gtk_window_set_progress_indicator):
4751 * src/hildon-gtk.h: Added the new API
4752 hildon_gtk_window_set_progress_indicator, it changes the state of
4753 the window progress hint.
4755 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4757 * src/hildon-button.c
4758 * src/hildon-stackable-window.c: Minor documentation updates.
4760 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4762 * src/hildon-stackable-window.c: Updated documentation.
4764 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4766 * src/hildon-defines.h: Update margins definitions
4767 to the Fremantle sizes.
4770 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4772 * src/hildon-touch-selector.c,
4773 (_hildon_touch_selector_set_model): Cleaning the code after
4774 review, removed g_print and #if 0 from the code.
4776 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4778 * src/hildon-edit-toolbar.c: Update documentation.
4780 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4782 * src/hildon-check-button.h
4783 * src/hildon-check-button.c
4784 (hildon_check_button_set_label, hildon_check_button_get_label)
4785 * examples/hildon-check-button-example.c
4786 (button_clicked_cb):
4787 Removed deprecated methods.
4789 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4791 * src/hildon-text-view.c:
4792 Add sample code to the documentation.
4794 * src/hildon-entry.h
4795 * src/hildon-text-view.h:
4796 Minor cosmetic changes.
4798 * src/hildon-entry.c:
4799 Add sample code to the documentation.
4800 (hildon_entry_init, hildon_entry_refresh_contents):
4801 Don't allow NULL values in the placeholder.
4803 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4805 * doc/hildon-docs.sgml
4807 * examples/Makefile.am
4808 * examples/hildon-text-view-example.c
4810 * src/hildon-text-view.c
4811 * src/hildon-text-view.h
4813 New HildonTextView widget, with example.
4815 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4817 * po/POTFILES.in: Add missing files with translatable strings.
4818 Partially fixes NB#88287.
4820 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4822 * examples/hildon-pannable-area-example-2.c: (main): No need to
4823 set the cellrenderer height inside hildon touch lists, the theme does
4826 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4828 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4829 they are integrated in the theme.
4831 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4833 * examples/hildon-entry-example.c: Update the example adding
4834 widgets to modify the text and the placeholder of the HildonEntry.
4836 * src/hildon-entry.c: Show the placeholder everytime the widget
4837 is empty and loses the focus.
4839 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4841 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4843 * src/hildon-pannable-area.c,
4844 (hildon_pannable_area_size_request): Fixed bug in height
4845 requisition, avoid increasing size and add border twice.
4847 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4849 * configure.ac: postrelease version bump.
4851 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4855 * configure.ac: Prerelease version bump.
4856 * debian/changelog: update.
4857 * debian/rules: make -dbg package contain useful debugging symbols.
4859 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4861 * src/hildon-dialog.h
4862 * src/hildon-dialog.c
4863 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4864 New methods to add buttons with finger size.
4865 (hildon_dialog_new_with_buttons):
4866 Create buttons with finger size.
4868 * examples/hildon-dialog-example.c (main): Use HildonDialog
4869 methods to add buttons.
4871 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4873 * src/hildon-entry.c: Updated HildonButton documentation.
4875 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4877 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4878 button value label with (FALSE, FALSE) to prevent NB#88126 from
4881 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4883 * examples/hildon-pannable-area-example.c,
4884 (main): Removed examples panning a vbox inside a pannable
4885 area. Check bug NB#87965
4887 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4889 Patch contributed by Kris Rietveld (kris@imendio.com)
4891 * src/hildon-pannable-area.c,
4892 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4893 get_size and get_position, this saves an X server roundtrip.
4895 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4897 * doc/hildon-docs.sgml
4899 * examples/Makefile.am
4900 * examples/hildon-entry-example.c
4902 * src/hildon-entry.c
4903 * src/hildon-entry.h
4905 New HildonEntry widget, with example.
4907 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4909 * src/hildon-button.c (hildon_button_construct_child): Pack the
4910 image with expand == fill == FALSE. This is a workaround for a bug
4913 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4915 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4916 labels for the text column, to make it more look more dynamic.
4918 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4920 * src/hildon-time-selector.c
4921 Define gettext auxiliar macro N_
4922 (_create_minutes_model)
4923 (_create_hours_model)
4924 (_create_ampm_model): use of strftime in order to fill the model
4925 * src/hildon-date-selector.c
4926 (hildon_date_selector_finalize):
4927 (_locales_init): remove the logic related to get the name of the months
4928 using nl_langinfo, as it is not required anymore
4930 (_create_year_model)
4931 (_create_month_model)
4932 (_update_day_model): use of strftime in order to fill the model properly
4935 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4937 * src/hildon-button.h
4938 * src/hildon-button.c (hildon_button_get_image): New method to
4941 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4943 * src/hildon-touch-selector.c:
4944 (hildon_touch_selector_remove_column): Remove from the correct parent
4945 and also remove the list element and free it.
4948 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4950 * src/hildon-time-selector.c
4951 (_create_hours_model): change the range on 12h ampm format in order to use
4952 a 12-11 range instead of previous 01-12 range
4953 (hildon_time_selector_set_time): change the way to select the current time
4954 on 12h ampm format, due the change on the range
4955 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4958 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4960 * src/hildon-touch-selector.c
4961 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4962 in order to allow use this function on multiple row selection mode if
4963 the column is different that the first one
4966 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4968 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4969 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4971 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4973 * src/hildon-date-selector.h: clean some comments, now on the .c
4974 * src/hildon-date-selector.c
4975 (hildon_date_selector_select_month): first implementation
4976 (hildon_date_selector_select_day): added documentation, reimplemented
4977 using hildon_date_selector_select_current_date to avoid repeat code
4980 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4982 Reviewed interaction logic based on device experiences, refactored
4985 * src/hildon-pannable-area.c,
4986 (hildon_pannable_area_class_init): Updated default vmax speed.
4987 (hildon_pannable_area_calculate_velocity): Added this function, it
4988 avoids duplicate valocity calculation. Adjusted calculation to
4989 avoid problems with zero dist events.
4991 (hildon_pannable_area_motion_notify_cb): Now we use the
4992 calculate_velocity function.
4994 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4996 * src/hildon-date-selector.c
4997 (hildon_date_selector_select_current_date): fix the day range check
4998 as it failed using the last day of the current month
5001 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5003 * src/hildon-touch-selector.c
5004 (hildon_touch_selector_get_num_columns): added a parameter validation
5007 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5009 * examples/Makefile.am
5010 * examples/hildon-edit-toolbar-example.c: Example of the
5011 HildonEditToolbar widget.
5013 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5015 * configure.ac: postrelease version bump.
5017 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5021 * configure.ac: prerelease version bump.
5022 * debian/changelog: update.
5024 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5026 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5027 renderer to display stock icons in the touch list. Also, set the sizes
5028 to the recommended in the style guide.
5030 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5031 * src/hildon-touch-selector.h
5032 (hildon_touch_selector_set_active_iter): renamed, now is
5033 hildon_touch_selector_select_iter
5034 (hildon_touch_selector_get_active_iter): renamed, now is
5035 hildon_touch_selector_get_selected
5036 (hildon_touch_selector_unselect_iter): added
5037 * src/hildon-touch-selector.c
5038 Update after API modification (methods renamed)
5039 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5040 order to avoid problems selecting multiple elements on the column
5041 (hildon_touch_selector_unselect_iter): added the implementation
5042 * src/hildon-time-selector.c
5043 * src/hildon-date-selector.c
5044 * src/hildon-touch-selector-entry.c
5045 Update methods calls after hildon-touch-selector.h API modification (methods
5048 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5050 * src/hildon-stackable-window.c
5051 (hildon_stackable_window_finalize): Call the parent class's finalize.
5053 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5055 * examples/hildon-touch-selector-example.c: (create_selector): Use
5056 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5059 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5061 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5062 set a cell background color, to respect theming.
5064 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5066 * doc/hildon-docs.sgml
5069 * src/hildon-edit-toolbar.c
5070 * src/hildon-edit-toolbar.h
5071 * src/hildon.h: New HildonEditToolbar widget.
5073 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5075 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5078 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5079 * src/hildon-touch-selector.c
5080 (_create_new_column): use g_object_set instead of two g_object_set_property
5082 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5083 * src/hildon-touch-selector.c
5084 (_create_new_column): use of hildon_gtk_tree_view_new to create
5085 the treeview, instead of use directly g_object_new
5086 (_create_new_column): update the property name "vindicator-mode" for the
5087 new one "vscrollbar-policy"
5088 * examples/hildon-date-button-example.c
5089 * examples/hildon-picker-button-multicolumn-example.c
5090 * examples/hildon-touch-selector-entry-example.c
5091 * examples/hildon-touch-selector-example.c
5092 * examples/hildon-time-button-example.c
5093 * examples/hildon-picker-button-example.c
5094 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5095 to all the treeviews inside a pannable area.
5097 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5099 * src/hildon-button.h
5100 * src/hildon-button.c (hildon_button_init)
5101 (hildon_button_set_arrangement, hildon_button_set_alignment)
5102 (hildon_button_set_title_alignment)
5103 (hildon_button_set_value_alignment)
5104 (hildon_button_set_image_alignment)
5105 (hildon_button_construct_child): New methods to set the alignment
5106 of the individual components of the button (title, value,
5107 image). Also, new method to alter the xscale and yscale properties
5108 of the GtkAlignment inside the button, so more complex layouts can
5111 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5113 * src/hildon-button.c (hildon_button_style_set)
5114 (hildon_button_class_init, hildon_button_set_arrangement)
5115 (hildon_button_construct_child): Apply style properties
5116 correctly. Use the 'image-spacing' style property too.
5118 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5120 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5121 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5124 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5126 * src/hildon-pannable-area.c,
5127 (hildon_pannable_area_size_request): Fixed problem with
5128 pannable-area size_request.
5130 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5132 Added management for the grab-focus to a child widget, like a
5133 range, we need to fade out the scrollbar when releasing.
5135 * src/hildon-pannable-area.c,
5136 (hildon_pannable_area_init): Connected the grab-focus signal to
5138 (hildon_pannable_area_grab_notify): Added this function in order
5139 to manage the situation when the grab-focus ends. We have to
5140 fade-out the scrollbar.
5142 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5144 * src/hildon-app-menu.c: Minor documentation update.
5146 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5148 * src/hildon-app-menu.c
5149 * examples/hildon-app-menu-example.c (create_menu): Update
5150 examples and documentation to explain how to connect callbacks.
5152 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5154 * examples/hildon-button-example.c
5155 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5156 hildon_stackable_window_new instead of gtk_window_new
5158 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5160 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5161 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5162 (hildon_pannable_area_set_property),
5163 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5164 (hildon_pannable_area_unrealize),
5165 (hildon_pannable_area_size_request),
5166 (hildon_pannable_area_size_allocate),
5167 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5168 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5169 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5170 (hildon_pannable_area_initial_effect),
5171 (hildon_pannable_area_redraw),
5172 (hildon_pannable_area_scroll_indicator_fade),
5173 (hildon_pannable_area_expose_event),
5174 (hildon_pannable_area_get_topmost), (synth_crossing),
5175 (hildon_pannable_area_button_press_cb),
5176 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5177 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5178 (hildon_pannable_area_motion_notify_cb),
5179 (hildon_pannable_area_button_release_cb),
5180 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5181 (hildon_pannable_area_remove),
5182 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5183 chage the code layout to a more GtkWidget like. Review the use of
5186 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5188 * examples/hildon-pannable-area-example-4.c,
5189 (main): Modified the name of the hindicator_mode to
5192 * src/hildon-pannable-area.c,
5193 (hildon_pannable_area_class_init),
5194 (hildon_pannable_area_motion_notify_cb),
5195 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5196 we have reduced the amount of signals and managed reviewed its
5197 rationale. Changed the default decelerate value.
5199 (hildon_pannable_area_add),
5200 (hildon_pannable_area_redraw): Refactored functions.
5202 (hildon_pannable_area_init),
5203 (hildon_pannable_area_get_property),
5204 (hildon_pannable_area_set_property):
5205 (hildon_pannable_draw_vscroll),
5206 (hildon_pannable_draw_hscroll),
5207 (hildon_pannable_area_initial_effect),
5208 (hildon_pannable_area_expose_event),
5209 (hildon_pannable_area_scroll),
5210 (hildon_pannable_area_button_press_cb),
5211 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5212 and vindicator_mode with hscrollbar_policy and
5213 vscrollbar_policy. Replaced hscroll and vscroll with
5214 hscroll_visible and vscroll_visible.
5216 (hildon_pannable_area_refresh): Refactor the function, remove
5217 variables and check the calls to this function, added resize
5218 conditions in case the children change their layout.
5220 (hildon_pannable_area_size_request): Added more detailed
5221 size_request calculation.
5224 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5226 * src/hildon-color-chooser.c
5227 (init_borders): use the correct gtk_border_free instead of g_free, to
5228 avoid a crash when this widget is used (ie: the three color selection
5231 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5233 * src/hildon-check-button.c,
5234 (hildon_check_button_set_active): Fixed problem when setting the
5235 active value, the widget was not redrawn.
5237 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5239 * src/hildon-pannable-area.c,
5240 (hildon_pannable_area_refresh),
5241 (hildon_pannable_area_scroll),
5242 (hildon_pannable_area_motion_notify_cb): Small code style change.
5244 (hildon_pannable_area_class_init): Default initial_hint set to
5245 FALSE, it is not in the specs.
5247 (hildon_pannable_area_initial_effect),
5248 (hildon_pannable_area_expose_event),
5249 (hildon_pannable_area_map),
5250 (hildon_pannable_area_init): Moved the launching point of the
5251 initial effect, it was in map but the sizes where not correct in
5252 that method so we do not know if we have the reproduce it. Now it
5253 is placed in the expose_event method and uses a variable to
5254 reproduce it just once.
5256 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5258 * src/hildon-pannable-area.c,
5259 (hildon_pannable_draw_vscroll),
5260 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5261 position allowed for the scrollbars.
5263 (hildon_pannable_area_size_allocate): Small style change.
5265 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5267 * src/hildon-pannable-area.c,
5268 (hildon_pannable_area_scroll_indicator_fade),
5269 (hildon_pannable_area_button_press_cb),
5270 (hildon_pannable_area_button_release_cb),
5271 (hildon_pannable_area_scroll_cb),
5272 (hildon_pannable_area_expose_event),
5273 (hildon_pannable_area_init): Added the define parameter
5274 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5275 and refactor the fade variable.
5277 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5279 * src/hildon-pannable-area.c,
5280 (hildon_pannable_area_redraw),
5281 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5282 lines, we were reimplemeting the redraw code.
5284 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5286 * src/hildon-pannable-area.c,
5287 (hildon_pannable_area_scroll_cb),
5288 (hildon_pannable_area_realize),
5289 (hildon_pannable_area_class_init): Added scroll_event management
5290 for pannable area, now we can scroll the usual desktop method.
5292 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5293 initialization of the parameters should depend on idle_id.
5295 (hildon_pannable_area_init),
5296 (hildon_pannable_area_map): Small code style modifications
5298 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5300 * src/hildon-pannable-area.c
5301 (hildon_pannable_area_button_press_cb),
5302 (hildon_pannable_area_motion_notify_cb),
5303 (hildon_pannable_area_button_release_cb),
5304 (hildon_pannable_area_size_allocate),
5305 (hildon_pannable_area_scroll_to): Improved the timeouts
5306 management, we avoid creating them each time.
5308 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5310 * src/hildon-pannable-area.c:
5311 (hildon_pannable_area_refresh),
5312 (hildon_pannable_area_motion_notify_cb),
5313 (hildon_pannable_area_class_init):
5314 * src/hildon-pannable-area.h:
5315 * src/hildon-touch-selector.c
5316 (_create_new_column):
5317 * examples/hildon-pannable-area-example-4.c:
5318 (horizontal_movement),
5319 (vertical_movement),
5321 Replaced the names of enums in the HildonPannableArea:
5322 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5323 HILDON_MOVEMENT_MODE_*
5324 - HILDON_PANNABLE_AREA_MOV_* ->
5326 - Removed HildonPannableAreaIndicatorMode, now we
5329 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5331 * examples/hildon-pannable-area-touch-grid-example.c
5332 * examples/hildon-pannable-area-touch-list-example.c: Fix
5333 compilation warnings.
5335 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5337 * src/hildon-gtk.c (hildon_gtk_button_new)
5338 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5339 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5340 images overriding the value of the "gtk-button-images" setting.
5342 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5344 * src/hildon-check-button.c (hildon_check_button_new):
5345 Instead of using a custom container, display the label and the
5346 checkbox using the standard GtkButton API.
5348 * examples/hildon-check-button-example.c (main): Don't use
5349 hildon_check_button_set_label() anymore
5351 * src/hildon-check-button.h
5352 * src/hildon-check-button.c
5353 (hildon_check_button_set_label, hildon_check_button_get_label):
5354 Set as deprecated, now we're using gtk_button_{get,set}_label()
5356 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5358 * src/hildon-pannable-area.c,
5359 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5360 GtkTreeview first line we detected it after the inclusion of the
5361 GtkWindowImpl in gtk+. We now check if the window is visible, not
5362 just if the pointer is over the window.
5363 (hildon_pannable_axis_scroll),
5364 (hildon_pannable_area_expose_event): Small style changes.
5366 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5368 * src/hildon-button.c: Update documentation.
5370 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5372 * examples/hildon-button-example.c: Add a switch to show images in
5375 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5377 * doc/hildon-docs.sgml: Some docs reorganization.
5379 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5381 * examples/hildon-pannable-area-touch-list-example.c
5383 * examples/hildon-pannable-area-touch-grid-example.c
5384 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5385 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5386 Fix memory leak when setting the tree model.
5388 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5392 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5394 * doc/hildon.types: Remove duplicated hildon_window_get_type
5395 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5396 documentation comment.
5398 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5400 * doc/Makefile.am: Complete list of private headers.
5402 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5404 * doc/hildon-docs.sgml
5405 * src/hildon-app-menu.c
5406 * src/hildon-bread-crumb.c
5407 * src/hildon-button.c
5409 * src/hildon-program.c
5410 * src/hildon-stackable-window.c
5411 * src/hildon-window.c: Lots of documentation updates.
5413 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5415 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5417 * configure.ac: Require Gtk+ 2.12.9 at least
5419 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5421 * src/hildon-pannable-area.c
5422 (hildon_pannable_area_scroll_indicator_fade),
5423 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5424 to protect the return of this timeout callbacks, avoiding deadlocks.
5426 2008-08-12 Christian Dywan <christian@imendio.com>
5429 * src/hildon-*.h: Ensure a consistent include order,
5430 include <gtk/gtk.h> instead of particular files and
5431 only include the topmost header in the gtk stack. See NB #39857
5433 2008-08-12 Christian Dywan <christian@imendio.com>
5435 * src/hildon-picker-dialog.c
5436 * src/hildon-touch-selector.c: Fix warnings about unused and
5437 uninitialized variables.
5439 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5441 * examples/Makefile.am
5442 * examples/hildon-check-button-example.c: Example of the hildon
5445 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5447 * src/hildon-window.h
5448 * src/hildon-window.c (hildon_window_class_init)
5449 (hildon_window_unset_program): Don't make
5450 hildon_window_unset_program a virtual function anymore.
5452 * src/hildon-stackable-window.c: Update documentation
5454 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5457 * doc/hildon-docs.sgml
5458 * doc/visual_index.xml
5459 * src/hildon-defines.c
5461 * src/hildon-helper.c
5462 * src/hildon-range-editor.c: Lots of documentation fixes.
5464 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5466 * examples/hildon-picker-button-multicolumn-example.c
5467 (create_touch_selector): Fix compilation warning.
5469 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5471 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5472 (hildon_pannable_area_button_release_cb)
5473 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5475 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5477 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5480 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5482 * src/hildon-bread-crumb-trail.h
5483 * src/hildon-date-editor.c
5484 * src/hildon-date-selector.c
5485 * src/hildon-pannable-area.c
5486 * src/hildon-picker-dialog.c
5487 * src/hildon-time-selector.c
5488 * src/hildon-touch-selector-entry.c
5489 * src/hildon-touch-selector.c
5490 * src/hildon-touch-selector.h: Misc documentation fixes
5492 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5494 * examples/hildon-date-editor-example.c (main): Updated date
5497 * examples/hildon-note-example.c (on_confirmation_clicked):
5498 Updated confirmation note example.
5500 * src/hildon-date-editor.c
5501 * src/hildon-note.c: Updated sample programs in documentation.
5504 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5506 * src/hildon-date-button.h:
5507 * src/hildon-picker-button.h:
5508 * src/hildon-time-button.c:
5509 * src/hildon-time-button.h:
5511 Some declarations changes to allow gtk-doc to document the widgets
5514 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5516 * src/hildon-date-button.c: Document the widget.
5517 * src/hildon-time-button.c: Document the widget.
5519 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5521 * src/hildon-picker-button.c: Document the widget.
5522 * src/hildon-touch-selector-entry.c: Document the widget.
5524 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5526 * doc/hildon-docs.sgml
5529 * src/hildon-check-button.h
5530 * src/hildon-check-button.c: New functions to create the Hildon
5534 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5536 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5538 * src/hildon-button.h
5539 * src/hildon-button.c
5540 (hildon_button_add_title_size_group)
5541 (hildon_button_add_value_size_group)
5542 (hildon_button_add_image_size_group)
5543 (hildon_button_add_size_groups): New functions to set size groups
5544 for the button labels and image.
5545 (hildon_button_new_full): Removed
5547 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5549 * src/hildon-time-selector.c
5550 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5551 in order to avoid a crash if gconf is not available
5553 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5555 * src/hildon-button.c (hildon_button_set_arrangement)
5556 (hildon_button_construct_child): Don't construct the button child
5557 before setting the arrangement.
5559 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5561 * src/hildon-program-private.h
5562 * src/hildon-program.c
5563 * src/hildon-program.h
5564 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5565 (hildon_program_peek_window_stack)
5566 (hildon_program_pop_window_stack)
5567 (hildon_program_go_to_root_window): HildonProgram now has a
5568 separate list for stackable windows. Functions are provided to
5569 manage that list with a stack-like API.
5571 * src/hildon-stackable-window.c: Stackable window management is
5572 now much simpler with the new HildonProgram API. Windows no
5573 longer need to be manually added to the program, they're
5574 automatically pushed to the top of the stack when shown.
5576 * examples/hildon-stackable-window-example.c: Updated example to
5577 reflect the API changes.
5579 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5581 * src/hildon-touch-selector.c: Comment out unimplemented
5582 hildon_touch_selector_insert_column() to avoid a compile warning.
5584 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5586 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5587 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5588 (hildon_touch_selector_set_column_selection_mode),
5589 (_hildon_touch_selector_set_model),
5590 (hildon_touch_selector_set_model):
5592 Complete review of HildonTouchSelector documentation.
5594 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5596 * doc/hildon-docs.sgml
5600 * src/hildon-gtk.c: Convenience functions for standard Gtk
5601 widgets, used to easily perform frequent operations.
5603 * src/hildon-button-helpers.h
5604 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5606 * src/hildon-helper.h
5607 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5608 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5610 * src/hildon-button.h
5611 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5613 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5615 * src/hildon-button.c (hildon_button_init)
5616 (hildon_button_set_arrangement, hildon_button_construct_child):
5617 Pack the image and the labels inside the same GtkAlignment so
5618 gtk_button_set_alignment() can be used
5620 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5622 * src/hildon-button.h
5623 * src/hildon-button.c
5624 (hildon_button_init, hildon_button_set_image)
5625 (hildon_button_set_image_position)
5626 (hildon_button_construct_child): New functions to add an image to
5629 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5631 * src/hildon-date-button.c
5632 * src/hildon-picker-button.c
5633 * src/hildon-time-button.c
5634 * src/hildon-button.c:
5635 (hildon_button_class_init): "size-flags" renamed to "size"
5636 (hildon_button_set_title): Hide the title label if set to NULL.
5638 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5640 HildonButtonFlags split into HildonButtonArrangement (to set the
5641 button layout) and HildonSizeType (which can be used for any
5644 * src/hildon-button.h
5645 * src/hildon-button.c
5646 (hildon_button_class_init)
5647 (hildon_button_set_arrangement)
5648 (hildon_button_set_property): New "size-flags"
5649 property. "arrangement-flags" renamed to "arrangement".
5650 (hildon_button_new, hildon_button_new_with_text)
5651 (hildon_button_new_full): Constructors updated to reflect type changes.
5653 * src/hildon-helper.h
5654 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5655 to set the size of a widget.
5659 * src/hildon-button-helpers.c
5660 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5662 * src/hildon-date-button.c
5663 * src/hildon-date-button.h
5664 * src/hildon-picker-button.c
5665 * src/hildon-picker-button.h
5666 * src/hildon-time-button.c
5667 * src/hildon-time-button.h: Updated widgets to reflect
5668 HildonButton API changes.
5670 * examples/hildon-button-example.c
5671 * examples/hildon-date-button-example.c
5672 * examples/hildon-picker-button-example.c
5673 * examples/hildon-picker-button-multicolumn-example.c
5674 * examples/hildon-time-button-example.c
5675 * examples/hildon-touch-selector-entry-example.c
5676 * examples/hildon-touch-selector-example.c: Updated examples to
5677 reflect HildonButton API changes.
5679 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5681 * doc/hildon-docs.sgml:
5683 * examples/Makefile.am:
5684 * examples/hildon-touch-selector-entry-example.c:
5686 * src/hildon-touch-selector-entry.c:
5687 * src/hildon-touch-selector-entry.h:
5690 Moved HildonTouchSelectorEntry from sandbox. Added its
5691 documentation and examples.
5693 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5695 * src/hildon-touch-selector.h:
5696 * examples/hildon-picker-button-multicolumn-example.c:
5697 (hildon_touch_selector_append_text_column): Add a gboolean
5698 parameter to determine if text must be centered in the column.
5700 * src/hildon-date-selector.c: (hildon_date_selector_init):
5701 * src/hildon-time-selector.c: (hildon_time_selector_init):
5702 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5703 (create_touch_selector): Update widgets and example to reflect
5706 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5708 * src/hildon-touch-selector.c:
5709 (hildon_touch_selector_set_active_iter): Set also the cursor in
5712 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5714 * doc/hildon-docs.sgml
5717 * src/hildon-toggle-button.c
5718 * src/hildon-toggle-button.h
5719 * src/hildon.h: Removed HildonToggleButton widget, a derived
5720 class is not necessary for this.
5722 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5724 * src/hildon-pannable-area.c,
5725 (hildon_pannable_area_realize),
5726 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5729 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5731 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5732 "done" button the default widget for the dialog.
5734 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5736 * src/hildon-touch-selector.c:
5737 (hildon_touch_selector_class_init),
5738 (hildon_touch_selector_get_property),
5739 (_hildon_touch_selector_set_model),
5740 (_hildon_touch_selector_has_multiple_selection),
5741 (hildon_touch_selector_has_multiple_selection):
5742 Add a "has-multiple-selection" property with a virtual
5743 has_multiple_selection() method to allow derived classes to
5744 override the default value for it. See the method and property
5745 documentation for details.
5747 * src/hildon-touch-selector.h: Add the new API.
5749 * src/hildon-picker-dialog.c: (requires_done_button): Call
5750 hildon_touch_selector_has_multiple_selection() instead of
5751 determining the need for a button itself.
5753 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5755 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5756 (_hildon_touch_selector_set_model),
5757 (hildon_touch_selector_set_model): Move working code to
5758 _hildon_touch_selector_set_mode(). Call the class method instead.
5760 * src/hildon-touch-selector.h: Add (*set_model) to
5761 HildonTouchSelectorClass.
5763 Make hildon_touch_selector_set_model() a virtual method, so that
5764 derived classes can extend it and do fancy stuff with the model.
5766 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5768 * configure.ac: Set back the tarname in AC_INIT to hildon.
5770 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5774 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5775 instead of libesd (NB#86876). Volume handling is still an open issue.
5777 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5780 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5782 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5783 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5784 derived class to ease placement of an entry widget in
5785 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5786 end, where the selector columns are packed now.
5788 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5790 * src/hildon-picker-button.c: Removed the simple _text() API.
5791 * src/hildon-picker-button.h: Likewise.
5793 * src/hildon-touch-selector.h:
5794 * src/hildon-touch-selector.c:
5795 (hildon_touch_selector_new_text),
5796 (hildon_touch_selector_append_text),
5797 (hildon_touch_selector_prepend_text),
5798 (hildon_touch_selector_insert_text):
5800 Moved the simple _text() API from HildonPickerButton to
5801 HildonTouchPicker, to provide better escalability and not to tie
5802 that API to HildonPickerButton.
5804 * examples/hildon-picker-button-example.c: (main): Example updated.
5806 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5808 * src/hildon-button.c: Updated documentation.
5810 * examples/hildon-button-example.c: Add the posibility to create
5811 the buttons using horizontal layout for title and value.
5813 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5815 * src/hildon-app-menu-private.h
5816 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5817 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5818 GtkSizeGroup for the filters, use the 'homogeneous' property of
5821 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5823 * examples/hildon-button-example.c: Updated example.
5825 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5827 * doc/hildon-docs.sgml:
5830 Update documentation.
5832 * examples/Makefile.am: Update renamed examples.
5834 * examples/hildon-picker-button-multicolumn-example.c:
5835 (create_touch_selector), (main): Update after the rename.
5837 * examples/hildon-touch-picker-example.c: Removed.
5838 * examples/hildon-touch-selector-example.c: (value_changed),
5839 (create_selector), (get_visible_content), (main): Renamed from
5840 hildon-touch-picker-example.c
5842 * src/Makefile.am: Updated renamed files.
5844 * src/hildon-date-button.c: (hildon_date_button_init),
5845 (hildon_date_button_get_date), (hildon_date_button_set_date):
5846 * src/hildon-date-selector.c: (hildon_date_selector_init),
5847 (_custom_print_func), (_update_day_model),
5848 (_manage_selector_change_cb),
5849 (hildon_date_selector_select_current_date),
5850 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5851 * src/hildon-date-selector.h:
5852 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5853 (hildon_picker_button_set_property),
5854 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5855 (hildon_picker_button_init), (hildon_picker_button_new_text),
5856 (hildon_picker_button_append_text),
5857 (hildon_picker_button_prepend_text),
5858 (hildon_picker_button_insert_text),
5859 (hildon_picker_button_set_selector),
5860 (hildon_picker_button_get_selector):
5861 * src/hildon-picker-button.h:
5862 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5863 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5864 (_update_title_on_selector_changed_cb), (requires_done_button),
5865 (_hildon_picker_dialog_set_selector),
5866 (hildon_picker_dialog_set_selector),
5867 (hildon_picker_dialog_get_selector):
5868 * src/hildon-picker-dialog.h:
5869 * src/hildon-time-button.c: (hildon_time_button_init),
5870 (hildon_time_button_get_time), (hildon_time_button_set_time):
5871 * src/hildon-time-selector.c: (hildon_time_selector_init),
5872 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5873 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5874 * src/hildon-time-selector.h:
5877 Massive code updates after the rename.
5879 * src/hildon-touch-picker.c: Removed.
5880 * src/hildon-touch-picker.h: Removed.
5882 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5883 (hildon_touch_selector_init), (hildon_touch_selector_map),
5884 (hildon_touch_selector_remove), (_default_print_func),
5885 (_selection_changed_cb), (_create_new_column),
5886 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5887 (hildon_touch_selector_append_text_column),
5888 (hildon_touch_selector_remove_column),
5889 (hildon_touch_selector_set_column_attributes),
5890 (hildon_touch_selector_insert_column),
5891 (hildon_touch_selector_get_num_columns),
5892 (hildon_touch_selector_get_column_selection_mode),
5893 (hildon_touch_selector_set_column_selection_mode),
5894 (hildon_touch_selector_set_print_func),
5895 (hildon_touch_selector_get_print_func),
5896 (hildon_touch_selector_get_active_iter),
5897 (hildon_touch_selector_set_active_iter),
5898 (hildon_touch_selector_get_selected_rows),
5899 (hildon_touch_selector_get_model),
5900 (hildon_touch_selector_set_model),
5901 (hildon_touch_selector_get_current_text),
5902 (_hildon_touch_selector_center_on_selected_items):
5903 * src/hildon-touch-selector.h: Renamed from
5904 hildon-touch-picker.[ch]
5906 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5907 references, code examples, and related documentation.
5909 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5911 * doc/hildon-docs.sgml
5914 * src/hildon-toggle-button.c
5915 * src/hildon-toggle-button.h
5916 * src/hildon.h: New HildonToggleButton widget.
5918 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5920 * src/hildon-button.c: Add API documentation.
5921 (hildon_button_set_size_groups): Check input parameters
5923 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5925 * src/hildon-pannable-area.c
5926 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5927 effect after reaching the movement thredshold. This way we start
5928 using the distance after passing the thredshold.
5930 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5932 * src/hildon-button.c: (hildon_button_set_property): Use the
5933 appropriate g_value_get_flags() method.
5935 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5937 * doc/hildon-docs.sgml:
5940 Add the touch pickers, picker dialogs, and picker button widgets
5941 to the documentation.
5943 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5945 * src/hildon-button.c: (hildon_button_set_property),
5946 (hildon_button_class_init): Make "arrangement-flags" a proper
5947 G_TYPE_FLAGS derived property.
5949 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5951 * examples/Makefile.am: Add below examples.
5952 * examples/hildon-date-button-example.c:
5953 * examples/hildon-picker-button-example.c:
5954 * examples/hildon-picker-button-multicolumn-example.c:
5955 * examples/hildon-time-button-example.c:
5956 * examples/hildon-touch-picker-example.c:
5958 Add examples for the recently added touch pickers,
5959 picker dialogs, and picker button widgets.
5961 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5963 * src/hildon-button.c: Add some API documentation
5965 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5967 * src/hildon-button.h
5968 * src/hildon-button.c
5970 (hildon_button_new_with_text): New constructor to create a button
5971 with no text at all.
5972 (hildon_button_init, hildon_button_set_arrangement)
5973 (hildon_button_set_title, hildon_button_set_value)
5974 (hildon_button_set_text)
5975 (hildon_button_construct_child): Hide the value when it's not used
5976 so the rest of the text is properly aligned.
5977 Allow creating buttons with arbitrary widgets inside (not just
5978 title/value labels).
5980 * examples/hildon-button-example.c (vertical_buttons_window)
5981 (horizontal_buttons_window): Update example to use new API.
5983 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5985 * src/Makefile.am: Added HildonTimeButton.
5986 * src/hildon-time-button.c: Added missing LGPL header.
5987 * src/hildon-time-button.h: Added missing LGPL header.
5988 * src/hildon.h: Add hildon-time-button.h
5990 Copied HildonTimeButton from sandbox to trunk. Future work on this
5991 widget must take place in trunk.
5993 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5995 * src/Makefile.am: Added HildonDateButton.
5996 * src/hildon-date-button.c: Update includes.
5997 * src/hildon.h: Add hildon-date-button.h
5999 Copied HildonDateButton from sandbox to trunk. Future work on this
6000 widget must take place in trunk.
6002 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6004 * src/Makefile.am: Added HildonPickerButton.
6005 * src/hildon-picker-button.h: Update includes.
6006 * src/hildon.h: Add hildon-picker-button.h
6008 Copied HildonPickerButton from sandbox to trunk. Future work on
6009 this widget must take place in trunk.
6011 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6013 * src/Makefile.am: Added HildonPickerDialog.
6014 * src/hildon-picker-dialog.c: Update includes.
6015 * src/hildon.h: Add hildon-picker-dialog.h
6017 Copied HildonPickerDialog from sandbox to trunk. Future work
6018 on this widget must take place in trunk.
6020 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6022 * src/Makefile.am: Added HildonTimeSelector.
6023 * src/hildon.h: Add hildon-time-selector.h
6025 Copied HildonTimeSelector widget from sandbox to trunk. Future
6026 work on this widget must happen in trunk.
6028 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6030 * src/Makefile.am: Added HildonDateSelector.
6031 * src/hildon.h: Add hildon-date-selector.h
6033 Copied HildonDateSelector widget from sandbox to trunk. Future
6034 work on this widget must happen in trunk.
6036 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6038 * src/Makefile.am: Added HildonTouchPicker.
6039 * src/hildon-touch-picker.c: Update includes.
6040 * src/hildon.h: Add hildon-touch-picker.h
6042 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6043 on this widget must happen in trunk.
6045 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6047 * src/hildon-pannable-area.c:
6048 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6050 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6052 * examples/hildon-app-menu-example.c (main): Let the window
6055 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6057 * src/hildon-pannable-area.c
6058 (hildon_pannable_area_class_init): Set the min value of the
6059 overshoot properties to zero, which points out that not
6060 overshooting allowed.
6062 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6064 Modified the procedure to get the widget at a point inside the
6065 pannable area when using the movement type signals. Now the user
6066 has to call a function to get the child, that way we just
6067 calculate the child in case the user really want to use it and not
6070 * src/hildon-marshalers.list: Modified the marshallers, now we do
6071 not have the widget as a parameter.
6073 * src/hildon-pannable-area.c
6074 (hildon_pannable_area_motion_notify_cb),
6075 (hildon_pannable_area_class_init),
6076 (hildon_pannable_get_child_widget_at): Removed the widget
6077 parameter from the signal callback. We have also refactored the
6078 emission of the signals.
6080 * src/hildon-pannable-area.h: Added a new method to the API to
6081 calculate a widget at a point inside the pannable area,
6082 hildon_pannable_get_child_widget_at.
6084 * examples/hildon-pannable-area-example-4.c
6085 (horizontal_movement): Modified the example to use the new API,
6086 added condition to control which widget is under the event. This
6087 way we can avoid scrolling laterally over other widgets.
6089 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6091 * src/hildon-pannable-area.c
6092 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6093 modes, we stop getting the pointer events due to returning the
6094 callback without properly calling the get pointer again. Fixed
6095 also an error using the hscroll and vscroll.
6097 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6099 * src/hildon-app-menu-private.h
6100 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6101 (hildon_app_menu_button_release, hildon_app_menu_init)
6102 (hildon_app_menu_class_init): Don't hide the menu on button
6103 release if the user didn't press outside first.
6105 * src/hildon-window.h
6106 * src/hildon-window.c (hildon_window_toggle_menu)
6107 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6108 hildon_window_toggle_menu a virtual function for the stackable
6109 window to override it.
6111 * src/hildon-stackable-window.h
6112 * src/hildon-stackable-window-private.h
6113 * src/hildon-stackable-window.c
6114 (hildon_stackable_window_realize)
6115 (hildon_stackable_window_finalize)
6116 (hildon_stackable_window_class_init)
6117 (hildon_stackable_window_init)
6118 (hildon_stackable_window_set_main_menu): New function to set the
6119 app menu of a HildonStackableWindow.
6121 * examples/hildon-app-menu-example.c: Remove the button to show
6122 the app menu, now it'll be shown when clicking on the title bar
6125 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6127 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6128 set the widget name if the arrangement flags do not specify
6131 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6133 * src/hildon-button.c: (hildon_button_set_property),
6134 (hildon_button_class_init), (hildon_button_new_full),
6135 (hildon_button_set_arrangement): Added "arrangement-flags"
6138 Make the HildonButtonFlags a construction-only property, to allow
6139 subclasses to set them properly.
6141 2008-07-21 Tim Janik <timj@imendio.com>
6143 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6144 insertion position after backspace, so additional digits are appended,
6147 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6149 * src/hildon-pannable-area.c,
6150 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6151 TODO list, it was complete and removed the g_debug and g_print
6154 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6156 Added the movement modes to the hildon-pannable-area, with this
6157 modes the developers can control in which directions the widget
6158 can scroll. They can also connect to signals in order to do
6159 something when that happens, allowing applications scroll. There
6160 is an example uploaded showing how to use it.
6162 * examples/Makefile.am:
6163 * examples/hildon-pannable-area-example-4.c: Added this example of
6164 an application using the modes.
6166 * src/hildon-marshalers.list: Added a new marshaller for the new
6169 * src/hildon-pannable-area.h: Added new enumerations and flags in
6170 order to control the movement modes and the new signals to warn
6171 about the movements in the area.
6173 * src/hildon-pannable-area.c:
6174 (hildon_pannable_axis_scroll),
6175 (hildon_pannable_area_scroll),
6176 (hildon_pannable_area_motion_notify_cb),
6177 (hildon_pannable_area_get_property),
6178 (hildon_pannable_area_set_property),
6179 (hildon_pannable_area_map),
6180 (hildon_pannable_area_class_init),
6181 (hildon_pannable_area_init),
6182 (hildon_pannable_area_jump_to): Added the modes to control the
6183 movement in the widget. We have added properties to control it,
6184 signals to warn about the movements and refactored some code.
6186 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6188 Changes required in order to allow vfast_factor set to zero to
6191 * src/hildon-pannable-area.c:
6192 (hildon_pannable_area_button_press_cb): Changed the condition, it
6193 is required for not allowing click when vfast_factor is zero.
6194 (hildon_pannable_area_timeout): Initialized velocity variables
6195 when we stop moving, it was less than 1 but not zero and we need
6196 to check zero in some situations.
6197 (hildon_pannable_area_class_init): Changed the default value of
6198 the speed factor, now the button_press is just sent in case the
6199 speed is 2 per cent of the max speed.
6200 (hildon_pannable_area_init): Initialization with 0.
6202 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6204 * src/hildon-pannable-area.c,
6205 (hildon_pannable_area_get_topmost): replaced
6206 gdk_window_get_children with gdk_window_peek_children, this way we
6207 do not have to free the list because it is not a copy.
6209 (hildon_pannable_axis_scroll),
6210 (hildon_pannable_area_scroll),
6211 (hildon_pannable_area_timeout),
6212 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6213 two parameters that were only used inside the
6214 hildon_pannable_area_scroll function.
6216 * examples/hildon-pannable-area-example.c,
6217 (get_sawtooth_label): Fixed small memory leak.
6219 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6221 More checks for the case where the overshoot is bigger than the
6224 * src/hildon-pannable-area.c:
6225 (hildon_pannable_draw_vscroll),
6226 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6227 to draw the slider of the scrollbar under the other scrollbar.
6228 (hildon_pannable_area_expose_event): added new checks to control
6229 the drawing of the overshooting area rectangle, in case it is too
6230 big for the area of the widget.
6231 (hildon_pannable_area_size_allocate): add more checks to avoid
6232 setting a position to the child widget outside the area.
6234 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6236 * src/hildon-pannable-area.c
6237 (hildon_pannable_area_size_allocate): Added conditions to control
6238 when overshooting is bigger than the allocated space for the
6239 children, this avoids negative allocations.
6241 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6243 * doc/hildon-docs.sgml
6245 * examples/Makefile.am
6246 * examples/hildon-button-example.c
6248 * src/hildon-button.c
6249 * src/hildon-button.h
6250 * src/hildon.h: Initial version of the new HildonButton widget,
6253 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6255 * src/hildon-pannable-area.c:
6256 (hildon_pannable_area_button_press_cb),
6257 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6258 (hildon_pannable_area_motion_notify_cb),
6259 (hildon_pannable_area_button_release_cb),
6260 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6261 (hildon_pannable_area_jump_to_child):
6263 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6265 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6267 * examples/Makefile.am
6268 * examples/hildon-pannable-area-touch-grid-example.c
6269 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6270 the Hildon Touch List and Hildon Touch Grid using the
6271 HildonPannableArea widget.
6273 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6275 * src/hildon-pannable-area.c,
6276 (hildon_pannable_area_button_press_cb),
6277 (hildon_pannable_area_refresh),
6278 (hildon_pannable_area_scroll),
6279 (hildon_pannable_area_motion_notify_cb),
6280 (hildon_pannable_area_button_release_cb),
6281 (hildon_pannable_area_expose_event),
6282 (hildon_pannable_area_add),
6283 (hildon_pannable_area_remove),
6284 (hildon_pannable_area_realize),
6285 (hildon_pannable_area_size_allocate),
6286 (hildon_pannable_area_class_init),
6287 (hildon_pannable_area_init),
6288 (hildon_pannable_area_scroll_to_child),
6289 (hildon_pannable_area_jump_to_child): Fixed the problem of
6290 removing the child from the GtkBin, we have rearranged the widget
6291 hierarchy, now there is no GtkAlignment which was not doing
6292 anything interesting but breaking some of the assumptions of
6293 GtkContainer. Now developers if they want to add a GtkAlignment
6294 they could, but it is not inside the area.
6296 We had to review the whole allocation/expose process, now it is
6297 improved and we save at least three signals which would be saving
6298 some time when rendering the widget. The allocation of the
6299 scrollbars is now made in the allocate method as usual.
6301 We have also added some conditions in order to control when there
6302 is no child of the pannable area. Maybe we will need more work
6305 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6307 * src/hildon-pannable-area.c,
6308 (hildon_pannable_area_dispose): Released the fade-out timeout when
6309 disposing the widget.
6311 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6313 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6314 zero, we are going to use that property in order to deactivate the
6316 (hildon_pannable_axis_scroll),
6317 (hildon_pannable_area_size_allocate): Added conditions to control
6318 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6319 call, now it is called in all situations and we can remove calls
6320 in the allocate method.
6321 (hildon_pannable_area_map): Control the situation when
6322 overshoot_max is zero, we do not need the timeout.
6323 (hildon_pannable_area_class_init): Added documentation in order to
6324 point out that setting zero to overshoot_max means deactivate
6327 NOTE: removed trailing whitespaces from my previous comments of
6330 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6332 * src/hildon-pannable-area.c
6333 (hildon_pannable_area_get_property),
6334 (hildon_pannable_area_set_property),
6335 (hildon_pannable_area_map),
6336 (hildon_pannable_area_class_init),
6337 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6338 to cause the widget give a hint about its panning abilities upon
6341 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6343 * src/hildon-pannable-area.c: Several documentation improvements.
6345 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6347 * src/hildon-program.c
6348 * src/hildon-stackable-window.c: Update documentation.
6350 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6352 * src/hildon-stackable-window.c (get_previous_window_if_last):
6353 Renamed get_last_window()
6354 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6355 (hildon_stackable_window_unset_program):
6357 (get_previous_window_if_last):
6358 Detect if the window hasn't been added to a HildonProgram.
6360 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6362 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6364 * src/hildon-pannable-area.c
6365 (hildon_pannable_area_button_press_cb),
6366 (hildon_pannable_axis_scroll),
6367 (hildon_pannable_area_scroll),
6368 (hildon_pannable_area_timeout),
6369 (hildon_pannable_calculate_vel_factor),
6370 (hildon_pannable_area_get_property),
6371 (hildon_pannable_area_set_property),
6372 (hildon_pannable_area_class_init),
6373 (hildon_pannable_area_init),
6374 (hildon_pannable_area_scroll_to),
6375 (hildon_pannable_area_jump_to),
6376 (hildon_pannable_area_scroll_to_child),
6377 (hildon_pannable_area_jump_to_child):
6378 * src/hildon-pannable-area.h: Added the new API functions:
6379 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6380 hildon_pannable_area_scroll_to_child,
6381 hildon_pannable_area_jump_to_child
6384 * examples/Makefile.am
6385 * examples/hildon-pannable-area-example-2.c
6386 * examples/hildon-pannable-area-example-3.c: Added these two new
6387 examples in order to test and show how the new APIs work.
6389 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6391 * examples/hildon-stackable-window-example.c (new_window):
6392 * src/Makefile.am (noinst_HEADERS):
6393 * src/hildon-program.c (hildon_program_go_to_root_window):
6394 * src/hildon-program.h:
6395 * src/hildon-stackable-window-private.h:
6396 * src/hildon-stackable-window.c:
6397 * src/hildon-stackable-window.h:
6398 Create hildon-stackable-window-private.h
6399 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6401 * examples/hildon-app-menu-example.c (create_menu):
6402 * examples/hildon-hvolumebar-insensitive-example.c (main):
6403 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6404 * examples/hildon-toolbar-seekbar-example.c (main):
6405 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6406 * src/hildon-banner.c (hildon_banner_set_property):
6407 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6408 Fix compilation warnings
6410 * src/hildon-window.c:
6413 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6415 * src/hildon-stackable-window.c
6416 (hildon_stackable_window_unset_program):
6417 Calculate correctly whether to show the previous window if the
6418 last one is removed from the stack.
6419 (hildon_stackable_window_go_to_root_window):
6420 Send delete events starting from the topmost window.
6421 Stop if one of the windows is not destroyed.
6423 (hildon_stackable_window_delete_event)
6424 (hildon_stackable_window_class_init):
6425 Ignore the delete event if the window is not the topmost one.
6427 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6429 * src/hildon-pannable-area.c
6430 (hildon_pannable_area_expose_event): Fixed a problem when
6431 selecting the background color of the scrollbars.
6433 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6435 * examples/hildon-stackable-window-example.c
6436 * src/hildon-stackable-window.c
6437 * src/hildon-stackable-window.h
6438 hildon_stackable_window_go_home() renamed to
6439 hildon_stackable_window_go_to_root_window()
6440 Send delete events to windows rather than closing them with
6441 gtk_widget_destroy()
6443 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6445 * src/hildon-pannable-area.c
6446 (hildon_pannable_area_button_release_cb): Fix overshooting in
6449 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6451 * src/hildon-pannable-area.c
6452 (hildon_pannable_area_init): Initially show the scroll indicators.
6453 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6455 Add initial effect showing the widget is pannable.
6457 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6459 * src/hildon-pannable-area.c
6460 (hildon_pannable_area_class_init)
6461 (hildon_pannable_area_set_property)
6462 (hildon_pannable_area_get_property)
6463 (hildon_pannable_area_button_press_cb):
6464 New 'velocity_fast_factor' property to decide which velocity is
6467 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6469 * src/hildon-pannable-area.c
6470 (hildon_pannable_draw_hscroll)
6471 (hildon_pannable_draw_vscroll):
6472 Use float variables to calculate the size of the scrollbars to
6473 avoid error propagation and resizing during scrolling.
6475 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6477 * src/hildon-pannable-area.c
6478 (hildon_pannable_draw_vscroll)
6479 (hildon_pannable_draw_hscroll):
6480 Define a minimum size for the scroll bars
6482 * src/hildon-stackable-window.c
6483 (hildon_stackable_window_go_home): Fix compilation warning
6484 (get_last_window): Minor optimizations
6485 (hildon_stackable_window_class_init): Fix initialization of
6488 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6490 * src/hildon-stackable-window.c: Fixed typos in doc
6492 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6494 * src/hildon-pannable-area.c
6495 (hildon_pannable_area_scroll):
6496 Calculate here whether we need to scroll instead of using the booleans
6497 that tell us whether to /draw/ the scrolling bars.
6499 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6501 * src/hildon-app-menu.h
6503 * src/hildon-app-menu.c
6504 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6505 multiple filter groups related code and API. Now we support only
6507 * examples/hildon-app-menu-example.c:
6509 Update to reflect API changes.
6511 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6513 * src/hildon-stackable-window.c
6514 (hildon_stackable_window_class_init):
6515 Add hildon_stackable_window_realize.
6516 (hildon_stackable_window_realize):
6517 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6518 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6519 to apply theming and behavior specific to HildonStackableWindow
6522 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6524 * src/hildon-note.c (hildon_note_button_release):
6525 Close information notes also when tapping on them
6527 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6529 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6530 ELASTICITY, refactor and review, fix some issues with drawing
6533 * src/hildon-pannable-area.c:
6534 (hildon_pannable_area_button_press_cb): removed the conditions to
6535 avoid clicks when overshooting. It is not required
6537 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6538 define. Refatored and reviewed the code, now we do not need to
6539 manage velocity in motion_notify.
6541 (hildon_pannable_area_motion_notify_cb): We have moved the code
6542 that controls the area_scroll to the axis_scroll function and get
6543 rid of duplicated code.
6545 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6547 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6549 (hildon_pannable_draw_vscroll),
6550 (hildon_pannable_draw_hscroll): Fixed the problems with the
6551 scrollbar drawing, now we do not use two surfaces, it is easier
6552 and saves resources.
6554 (hildon_pannable_area_get_property): Style modification.
6556 (hildon_pannable_area_class_init): Changed some default values.
6558 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6560 * src/hildon-stackable-window.c: Fix some typos in the
6563 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6565 * src/hildon-dialog.c:
6566 Change indentation style
6569 (hildon_note_button_release):
6570 Use root coordinates to check if the release event happened
6573 * src/hildon-app-menu.c
6574 (hildon_app_menu_button_release):
6575 Remove unnecessary check
6577 * examples/hildon-app-menu-example.c
6579 Add cast to fix warning
6581 * src/hildon-app-menu.c
6582 (hildon_app_menu_class_init):
6583 New inner-border style property.
6584 Set all default spacings to 16
6585 (hildon_app_menu_init):
6586 Use vertical-spacing to set the space between filter buttons and
6587 regular menu buttons.
6588 Set the default container border using the inner-border value.
6590 * examples/hildon-app-menu-example.c
6592 Don't set the menu border explicitly, now we have the inner-border
6593 style property for that.
6595 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6597 * src/hildon-app-menu.c (hildon_app_menu_init):
6598 Make the window modal
6600 * src/hildon-note.c (hildon_note_map)
6601 * src/hildon-app-menu.c (hildon_app_menu_map):
6602 Destroy the grab window if we're unable to grab the pointer
6604 * src/hildon-app-menu-private.h
6605 * src/hildon-app-menu.c
6606 (hildon_app_menu_init, hildon_app_menu_finalize)
6607 (hildon_app_menu_map, hildon_app_menu_unmap)
6608 (hildon_app_menu_button_release)
6609 (grab_transfer_window_get):
6610 Bring back the grab window
6611 (hildon_app_menu_realize):
6612 Decorate the window, set WM hint for Matchbox
6614 * src/hildon-note.c (hildon_note_realize):
6615 * src/hildon-banner.c (hildon_banner_realize):
6616 Add WM hints for Matchbox
6618 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6620 * src/hildon-app-menu-private.h
6621 * src/hildon-app-menu.c
6622 (hildon_app_menu_init, hildon_app_menu_finalize)
6623 (hildon_app_menu_map, hildon_app_menu_unmap)
6624 (hildon_app_menu_button_release):
6625 Remove the grab window, it's not needed anymore
6627 * src/hildon-program.c
6628 Fixed typo in documentation
6630 * src/hildon-app-menu.h
6631 * src/hildon-app-menu.c
6632 * examples/hildon-app-menu-example.c
6633 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6635 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6638 Added new transfer_window and close_if_pressed_outside private
6640 (hildon_note_rebuild):
6641 Don't add a cancel button to the information note. It will be
6642 closed when tapping outside
6643 Remove the comment about the OK button in the documentation
6644 (hildon_note_realize):
6645 Set the notification type hint
6646 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6647 Grab/ungrab pointer and keyboard if the note has to be closed when
6649 (hildon_note_button_release):
6650 Close the note when tapping outside (if applicable)
6652 * src/hildon-app-menu.c
6653 Grab/ungrab pointer and keyboard on map/unmap
6654 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6655 Close the menu on button release, not button press
6657 * src/hildon-banner.c
6658 (hildon_banner_set_property)
6659 (hildon_banner_check_position):
6660 Make the banner use the full width of the screen
6661 (hildon_banner_show_information)
6662 (hildon_banner_show_information_with_markup):
6663 Don't display an icon by default
6665 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6667 Added fading scrollbars and adapted all the overshooting code to
6668 horizontal scrolling. We have also fixed bugs with overshooting
6669 and current fading implementation.
6671 * src/hildon-pannable-area.c
6672 (hildon_pannable_area_scroll_indicator_fade): Time out function
6673 used to change the transparency of the scrollbars.
6675 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6676 control and fixed a problem with fading, we now remove the fade
6677 timeout before adding a new one.
6679 (hildon_pannable_axis_scroll):
6680 (hildon_pannable_area_scroll):
6681 (hildon_pannable_area_timeout): Added this functions so we can use
6682 the scroll code both for vertical and horizontal.
6684 (hildon_pannable_area_motion_notify_cb):
6685 (hildon_pannable_area_button_release_cb): Added the horizontal
6686 scrolling control, fixed a problem with the overshooting timeout.
6688 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6689 painting of the scrolls.
6691 (hildon_pannable_draw_vscroll):
6692 (hildon_pannable_draw_hscroll):
6693 (hildon_pannable_area_expose_event):
6694 Draw both scrollbars and rectangles in the overshooting area.
6696 (hildon_pannable_area_get_property):
6697 (hildon_pannable_area_set_property):
6698 Modified the overshoot property to overshoot_max
6700 (hildon_pannable_area_map):
6701 Replaced the comments symbols.
6703 (hildon_pannable_area_size_allocate):
6704 (hildon_pannable_area_class_init):
6705 (hildon_pannable_area_init): Added horizontal scroll, fading
6706 effect properties, fixed a problem when overshooting in the bottom
6709 * examples/hildon-pannable-area-example.c:
6710 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6711 looks better in the example.
6713 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6715 * src/hildon-window.c
6716 * src/hildon-window.h
6717 (hildon_window_class_init)
6718 (hildon_window_unset_program)
6719 (hildon_window_unset_program_real):
6720 Make unset_program a virtual function
6722 * src/hildon-stackable-window.c
6723 * src/hildon-stackable-window.h
6724 Added hildon_stackable_window_go_home()
6726 * examples/Makefile.am
6727 * examples/hildon-stackable-window-example.c
6728 HildonStackableWindow example
6730 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6732 * hildon-pannable-area.c: Added the overshoot property and removed
6733 the OVERSHOOT define. Fixed an indent style error.
6734 (hildon_pannable_area_motion_notify_cb):
6735 (hildon_pannable_area_get_property):
6736 (hildon_pannable_area_set_property): Add overshoot property.
6738 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6741 (hildon_pannable_area_class_init): Installed the new property.
6743 * hildon-pannable-area-example.c: Added a sawtooth function, this
6744 way it is easier to check the movement in the pannable.
6745 (get_sawtooth_label): Added this function.
6746 (main): Now we get the labels from the new get_sawtooth_label
6749 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6751 * src/hildon-app-menu.h
6752 * src/hildon-app-menu.c
6753 Renamed API variables for consistency
6755 (hildon_app_menu_popup): Use also the default window size to
6756 decide where to place the menu
6758 (hildon_app_menu_init, hildon_app_menu_class_init): New
6759 external-border style property
6761 2008-05-26 Michael Natterer <mitch@imendio.com>
6763 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6764 widget_class->tap_and_hold_setup signal slot doesn't exist any
6765 longer, stop overriding it.
6767 (hildon_time_editor_init): g_signal_connect() to the
6768 tap-and-hold-setup signal instead.
6770 (hildon_time_editor_entry_keypress): add cast to fix warning.
6772 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6774 * doc/hildon-docs.sgml
6776 * examples/Makefile.am
6777 * examples/hildon-app-menu-example.c
6779 * src/hildon-app-menu-private.h
6780 * src/hildon-app-menu.c
6781 * src/hildon-app-menu.h
6783 New HildonAppMenu widget
6785 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6787 Rearranged the inheritance of the pannable area, now it inherits
6788 from GtkBin. This will allow us to control the event_window and
6789 the allocation process of the widget, required for some effects.
6791 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6792 GtkBin structures. * src/hildon-pannable-area.c: Added the
6793 event_window variable.
6794 (hildon_pannable_area_button_press_cb):
6795 (hildon_pannable_area_button_release_cb):
6796 (hildon_pannable_area_motion_notify_cb):
6797 Changed the signature of the method, now we override the event
6798 callback instead of connecting to the signal.
6800 (hildon_pannable_area_realize):
6801 (hildon_pannable_area_unrealize):
6802 (hildon_pannable_area_map):
6803 (hildon_pannable_area_unmap):
6804 (hildon_pannable_area_size_allocate):
6805 Added functions to control the widget construction. We add a
6806 INPUT_ONLY window and we put it over the widgets inside the
6807 container, this event_window handles the events.
6809 (hildon_pannable_area_class_init):
6810 Replaced the signal connections with overrides of the event
6813 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6815 Bouncing effect added when touching the borders, you can change
6816 the elasticity of the border changing the ELASTICITY define.
6818 * src/hildon-pannable-area.c: Added ELASTICITY define.
6819 (hildon_pannable_area_timeout): Added inverse velocity when
6820 touching the border of the child widget, that causes a bounce.
6822 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6824 Improved performance, we now do not go to the X server in order to
6825 get the list of window children. Apparently the effect is the
6826 same, we have to be careful and check if this breaks something in
6829 * src/hildon-pannable-area.c:
6830 (get_ordered_children): Removed this function.
6831 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6832 the children windows function with gdk_window_get_children.
6834 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6836 * src/hildon-pannable-area.c:
6837 (hildon_pannable_area_dispose): Fixed a crash when closing the
6838 window and kinetics is activated.
6840 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6842 * src/hildon-pannable-area.h
6843 * src/hildon-pannable-area.c
6844 Changed indentation style to meet the one used in Hildon
6846 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6848 Reviewed the interaction of the AUTO mode, now we use the time
6849 attribute of the events and calculate the velocity in the motion,
6850 doing a gimp like calculation. The velocity is calculated in each
6851 motion event using the last velocity and the current one, the
6852 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6854 * src/hildon-pannable-area.c: Replaced the time based algorithm
6856 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6857 timeout for the AUTO mode when we are still moving the cursor. We
6858 added also the velocity calculation in this function.
6859 (hildon_pannable_area_button_release_cb): launch the timeout in
6860 case we are in AUTO mode. There are still some constants here that
6861 come from the old implementation that should be reviewed and
6864 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6866 * doc/hildon-docs.sgml
6869 * src/hildon-stackable-window.c
6870 * src/hildon-stackable-window.h
6872 New HildonStackableWindow widget
6874 * examples/hildon-dialog-example.c
6875 * examples/hildon-pannable-area-example.c
6878 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6880 * src/hildon-dialog.c
6881 (hildon_dialog_new_with_buttons): New constructor.
6883 * examples/hildon-dialog-example.c
6884 (main): Update the example to use the new
6885 hildon_dialog_new_with_buttons().
6887 * examples/hildon-pannable-area-example.c
6888 (main): Update example.
6890 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6892 * doc/hildon-docs.sgml
6894 Added HildonPannableArea to the documentation.
6896 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6898 * doc/visual_index.xml
6899 Fix reference to HildonLoginDialog in documentation
6901 * doc/hildon-docs.sgml
6903 * examples/Makefile.am
6904 * examples/hildon-dialog-example.c
6906 * src/hildon-dialog.c
6907 * src/hildon-dialog.h
6909 New HildonDialog widget.
6911 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6913 * src/hildon-pannable-area.c
6914 Merge latest changes (r4318, r4342) from libmokoui trunk
6916 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6918 * examples/Makefile.am
6919 * examples/hildon-pannable-area-example.c
6921 * src/hildon-pannable-area.c
6922 * src/hildon-pannable-area.h
6924 New HildonPannableArea widget.
6926 2008-04-15 18:05:19 <timj@imendio.com>
6928 * src/hildon-banner.c: revert the recent change, that introduced
6929 gtk_window_present() calls. this reopens:
6930 Bug 78481 - [freetest] information banners are hidden under browser menu
6931 But resolves another variant of:
6932 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6934 2008-04-15 13:21:13 <timj@imendio.com>
6936 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6937 recreated its layout, spotted by Kris. this fixes all remaining
6938 artefacts and stability issues with the banner code. in particular:
6939 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6941 2008-04-14 16:52:59 <timj@imendio.com>
6943 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6944 operating on unrealized widgets, fixes:
6945 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6947 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6949 2008-04-09 Kristian Rietveld <kris@imendio.com>
6951 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6952 makes banner disappear.
6953 Fixes: NB#79182: info banner flickering with certain message lengts.
6955 * src/hildon-banner.c (hildon_banner_constructor),
6956 (hildon_banner_init), (hildon_banner_set_text),
6957 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6958 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6959 FALSE, reset size requests of label and banner,
6960 (force_to_wrap_truncated): when the text is too wide, always enforce
6961 the maximum possible width instead of recalculating it from the
6962 layout; enforce the maximum banner height of 3 lines,
6963 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6964 nicer wrapping and no truncated chars if space gets tight.
6966 * src/hildon-banner-private.h: add has_been_wrapped and
6967 has_been_truncated fields.
6969 2008-04-07 Sven Herzberg <sven@imendio.com>
6971 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6972 local values in hildon_date_editor_size_allocate
6974 * src/hildon-date-editor.c: moved the real allocation code into the
6977 2008-04-07 Sven Herzberg <sven@imendio.com>
6979 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6980 local values in hildon_date_editor_size_allocate
6982 * src/hildon-date-editor.c: merged the two if() branches together
6984 2008-04-07 Sven Herzberg <sven@imendio.com>
6986 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6987 local values in hildon_date_editor_size_allocate
6989 * src/hildon-date-editor.c: changed the arguments of the if()
6992 2008-04-07 Sven Herzberg <sven@imendio.com>
6994 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6995 local values in hildon_date_editor_size_allocate
6997 * src/hildon-date-editor.c: split the calculation of the allocation
6998 from the real allocation
7000 2008-03-27 Michael Natterer <mitch@imendio.com>
7002 Fixes: NB#81696: The passcode is not overwritten even after
7005 * src/hildon-code-dialog.c
7006 (hildon_code_dialog_button_clicked)
7007 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7008 because that doesn't overwrite selected text. Instead, emit the
7009 "commit" signal on the entry's im_context so the entry's normal
7010 insert logic is triggered. Set the cursor to the end of the entry
7011 after each insert operation so that we *only* insert in the middle
7012 of the text if something was selected.
7014 2008-03-27 Michael Natterer <mitch@imendio.com>
7016 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7017 selector cannot be opened
7019 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7020 when the popup color selector is created. Please connect to this
7021 signal in order to set the dialog's help ID.
7023 2008-03-25 Sven Herzberg <sven@imendio.com>
7025 Fixes: MB#1212: Hide info banners (infoprints) on click
7027 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7028 extracted the close event simulation into an extra function
7029 (hildon_banner_button_press_event): simulate a close event and destroy
7030 the widget if the event wasn't handled
7031 (hildon_banner_class_init): added the button_press_event handler
7032 (hildon_banner_init): added button-press events to the widget
7034 2008-03-25 Sven Herzberg <sven@imendio.com>
7036 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7037 Patch from: Mohammad Anwari <mdamt@maemo.org>
7039 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7040 instead of the right in RTL mode
7041 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7042 breadcrumb button list in RTL mode
7043 * src/hildon-caption.c: mirror the appearance of the caption widget in
7045 * src/hildon-date-editor.c: mirror appearance of the date editor in
7047 * src/hildon-time-editor.c: mirror appearance of the time editor in
7049 * src/hildon-window.c: fix the position of the popup in RTL mode
7051 2008-03-25 Sven Herzberg <sven@imendio.com>
7053 Amendment to the fix of NB#22072. Fix compilation.
7055 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7057 2008-03-19 Sven Herzberg <sven@imendio.com>
7059 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7062 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7063 timeout id properly when the timeout will disappear this leaves no
7064 artifacts around in the destroy(); there will only be the timeout
7065 created by hildon_banner_ensure_timeout() and adding a new timeout
7066 will also work if the timeout gets removed because the timeout_handler
7069 2008-03-19 Michael Natterer <mitch@imendio.com>
7071 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7073 * src/hildon-volumebar.c
7074 * src/hildon-vvolumebar.c
7075 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7076 the widget becomes focussable at all.
7078 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7079 set the focus to wither the mute button or the volumebar.
7081 Remove own "can-focus" property and instead listen to
7082 notify::can-focus in order to update the widget's state.
7084 Implement GtkWidget::focus() and make sure we can also *leave* the
7085 widget, not only enter it, depending on volumebar orientation and
7086 requested focus direction.
7088 Clean up set_mute() to cooperate nicely with all the above.
7090 2008-03-04 Michael Natterer <mitch@imendio.com>
7092 Fixes: NB#78481: information banners are hidden under browser menu
7094 * src/hildon-banner.c: call gtk_window_present() on the banners so
7095 they are risen if they are already visible.
7097 2008-03-03 Sven Herzberg <sven@imendio.com>
7099 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7101 * examples/hildon-window-menu-example.c: (main): extended the window
7102 menu example to serve as a testcase for automatically added
7103 accelerator groups, too
7104 * src/hildon-window.c: (hildon_window_add_accel_group),
7105 (hildon_window_set_menu): added patch by Tommi Komulainen
7107 2008-03-03 Sven Herzberg <sven@imendio.com>
7109 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7111 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7112 knowledge about the border allocators used within GTK+
7114 2008-02-26 Sven Herzberg <sven@imendio.com>
7116 Fixes: MB#2981: Build with asserts broken
7118 * src/hildon-date-editor.c,
7119 * src/hildon-number-editor.c,
7120 * src/hildon-time-editor.c,
7121 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7122 the proper GType instance check
7124 2008-02-25 Sven Herzberg <sven@imendio.com>
7126 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7128 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7129 * examples/hildon-window-menu-example.c: (main): explicitly show
7131 * src/hildon-window.c:
7132 (hildon_window_set_main_menu): moved most of the code from set_menu()
7133 to this place; skipped the call to gtk_widget_show_all(); also didn't
7134 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7135 (hildon_window_set_menu): removed most of the code, just keep the
7136 questionable gtk_widget_show_all()
7137 * src/hildon-window.h: added the new function and deprecate the old
7140 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7146 * debian/changelog: Updating.
7148 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7151 * pkgconfig/Makefile.am:
7152 * pkgconfig/hildon.pc.in:
7155 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7156 use newly created API_MAJOR_VERSION.
7158 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7164 * debian/changelog: Updating.
7166 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7168 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7170 Add outer_border style property, we use it but don't define it (!).
7174 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7176 * examples/hildon-bread-crumb-trail-example.c (main):
7180 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7182 Fix logic for the bread crumb trail node removal.
7186 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7192 * debian/changelog: Updating.
7194 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7196 Patch by Alejandro to get/set passwords dialogs accesibility.
7198 * hildon-1/src/hildon-get-password-dialog.c:
7199 * hildon-1/src/hildon-set-password-dialog.c:
7200 Set atk_set_name to the passwd entries in order to allow
7201 accessibility by name on this entries.
7203 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7208 * debian/control: Updating gtk dep.
7210 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7212 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7213 USE_MAEMO_GTK is enabled.
7215 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7217 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7218 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7220 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7226 * debian/changelog: Updating.
7228 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7230 * examples/Makefile.am:
7231 * examples/hildon-logical-color-example.c:
7232 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7233 applied + adding a test case. Fixes: NB#71660.
7235 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7237 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7238 to be visible, fixes warning on map for windows without toolbars.
7240 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7242 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7243 2.11.0, add a check for that besides the MAEMO_GTK check.
7245 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7251 * debian/changelog: Updating.
7253 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7255 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7256 visibility. Fixes: NB#70842 and MB#615.
7258 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7260 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7261 set the separator as no-show-all so it doesn't unintentionally appear when
7262 someone does a show_all.
7264 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7266 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7267 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7268 toplevel item. Fixes: NB#62031
7270 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7272 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7273 fix the name of the function in the docs.
7275 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7281 * debian/changelog: Updating.
7283 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7285 * examples/hildon-banner-long-example.c: Adding a test-case for long
7288 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7290 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7292 * src/hildon-color-chooser-dialog.c:
7293 * src/hildon-color-chooser.c:
7294 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7295 memory leaks in font selector and color selector. Fixes: NB#70499 and
7298 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7300 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7302 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7304 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7305 little bit bigger. Fixes: #NB63694.
7307 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7313 * debian/changelog: Updating.
7315 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7318 * doc/hildon-docs.sgml:
7319 * doc/images/bread-crumb-trail.png:
7320 * doc/images/calendar-popup.png:
7321 * doc/images/caption.png:
7322 * doc/images/code-dialog.png:
7323 * doc/images/color-button.png:
7324 * doc/images/color-chooser-dialog.png:
7325 * doc/images/color-chooser.png:
7326 * doc/images/controlbar.png:
7327 * doc/images/date-editor.png:
7328 * doc/images/font-selection-dialog.png:
7329 * doc/images/get-password-dialog.png:
7330 * doc/images/hvolumebar.png:
7331 * doc/images/login-dialog.png:
7332 * doc/images/note.png:
7333 * doc/images/number-editor.png:
7334 * doc/images/range-editor.png:
7335 * doc/images/seekbar.png:
7336 * doc/images/set-password-dialog.png:
7337 * doc/images/sort-dialog.png:
7338 * doc/images/time-editor.png:
7339 * doc/images/time-picker.png:
7340 * doc/images/vvolumebar.png:
7341 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7342 Adding the bread-crumb-trial and helpers to the documentation.
7344 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7346 * examples/hildon-find-toolbar-example.c:
7347 * src/hildon-find-toolbar.c:
7348 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7349 actually continue firing the other handlers if connected. Adding a new
7351 hildon_find_toolbar_get_last_index that gets the index of the most
7352 recently added (last) item. Fixes: NB#52301.
7354 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7356 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7357 behaviour. Fixes: NB#68610.
7359 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7361 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7364 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7366 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7367 when realizing the banner. Should make the infonbanner effect a bit more
7370 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7372 * src/hildon-volumebar.c:
7373 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7374 hildon_volumebar_set_range_insensitive_message and
7375 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7377 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7379 * src/hildon-window.c: Fixing the border freeing on destroy.
7381 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7383 * src/hildon-code-dialog-private.h:
7384 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7385 kw keyboard support in HildonCodeDialog.
7387 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7393 * debian/changelog: Updating.
7395 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7397 * src/hildon-date-editor.c:
7398 * src/hildon-number-editor.c:
7399 * src/hildon-private.c:
7400 * src/hildon-private.h:
7401 * src/hildon-time-editor.c:
7402 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7403 handling in subclassed composite widgets. Fixes: NB#66628.
7405 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7407 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7408 from destroy_ callback as it introduces problems in async dbus signal
7409 handlers. Fixes NB#66673.
7411 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7413 * examples/hildon-hvolumebar-example.c:
7414 * src/hildon-volumebar.c: Improving the focus handling in the
7415 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7416 set_property accessor so that "mute" property can be actually set. I'm
7417 scared that nobody noticed it's totally broken.
7419 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7421 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7424 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7426 * src/hildon-calendar.c:
7427 * src/hildon-number-editor.c:
7428 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7429 matches the spec of 6 chars per second. Fixes: NB#60489.
7431 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7433 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7434 gtk_style_lookup_color sometime returns FALSE even though color was
7435 found and values were filled properly. Weird. Removing the warning for the
7438 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7440 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7441 expand vertically. Adding some extra space to the find toolbar buttons to
7442 make them thumbable. Fixes NB#66060.
7444 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7446 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7447 popup with "Ok" and "Cancel". Fixes NB#59299.
7449 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7451 * src/hildon-calendar.c: Process all window updates before executing next
7452 timeout. Fixes: NB#54146.
7454 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7460 * debian/changelog: Updating.
7462 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7464 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7465 the client event and ignore it, since we use the delete event to close
7468 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7470 * src/hildon-helper.c: Remove the bogus warning about color not being
7471 found. Fixes NB#58352.
7473 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7475 * examples/Makefile.am:
7476 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7477 HildonSeekbar widget inside a toolbar.
7479 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7481 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7482 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7483 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7484 don't want to be closed by non-temporary windows on map.
7486 Also use G_DEFINE_TYPE instead of manually typed code.
7488 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7495 * debian/rules: Updating.
7497 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7499 * examples/Makefile.am:
7500 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7501 bug NB#61128. Strangely it works.
7503 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7505 * src/hildon-date-editor.c: When the date editor entry has been changed
7506 but the numbers of characters < max, turn off the skip validation flag.
7507 Prevents a situation when we enter first a valid year and later re-write
7508 it with an invalid one. Fixes NB#60154.
7510 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7512 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7513 code dialog. Fixes NB#64355.
7515 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7517 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7518 switching the page. Fixes NB#49374.
7520 * examples/Makefile.am:
7521 * examples/hildon-wizard-dialog-example.c: Adding an example for
7522 HildonWizardDialog that shows how to handle manual sensitivity setting on
7525 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7529 * src/hildon-version.h.in:
7530 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7532 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7534 * src/hildon-volumebar.c: Updating the docs.
7536 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7542 * debian/changelog: Updating.
7544 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7546 * src/hildon-find-toolbar.c:
7547 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7548 selected item: hildon_find_toolbar_set_active,
7549 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7550 hildon_find_toolbar_get_active_iter . They correspond to respective
7551 GtkComboBox functions.
7553 * examples/Makefile.am:
7554 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7557 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7559 * examples/Makefile.am:
7560 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7563 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7564 when font size > 32 and we pack a focusable widget inside. Actually using
7565 the default response would work too, but since we don't show default
7566 response state in any way (no theming) it would not be visible to the
7567 user. Fixes NB#63430.
7569 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7571 * src/hildon-date-editor.c: Adding the missing variable setter in the
7572 set_property handler. Fixes NB#54182.
7574 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7576 * src/hildon-window.h: Changing the long key press time from 1500ms to
7577 800ms as requested in NB#63700. I have a bad feeling about this, let's
7578 see... Fixes NB#63700.
7580 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7582 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7583 hildon_time_picker_map, hildon_time_picker_realize,
7584 hildon_time_picker_style_set): Split the contents of map to more
7585 appropriate functions; set window decorations on realize and update
7586 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7588 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7593 * debian/changelog: Updating.
7595 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7597 * src/Makefile.am: fixed installation of the header files
7599 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7605 * debian/changelog: Updating.
7607 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7609 * configure.ac: Removing some remaining of --enable-xan.
7611 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7613 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7614 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7616 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7617 2.10.12-osso6 because the move-focus signal needs to be available in
7620 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7622 * examples/Makefile.am:
7623 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7624 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7625 fine. Prolly NB#61128 is fixed now.
7627 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7629 * src/hildon-volumebar.c:
7630 * src/hildon-volumebar.h: Adding the
7631 hildon_volumebar_set_range_insensitive_message and
7632 hildon_volumebar_set_range_insensitive_messagef functions to set
7633 insensitive message on the slider of the volumebar. Fixes NB#61129.
7635 * examples/Makefile.am:
7636 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7637 test the new insensitive messsage functionality on HildonVolumebar.
7639 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7641 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7644 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7646 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7647 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7648 button on after clearing the trail.
7650 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7652 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7654 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7656 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7657 by splitting the installed headers in generated and non-generated groups. Use
7658 only the non-generated headers to create the hildon-enum-types.h file.
7660 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7662 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7664 * src/hildon-window.c: Hide the window before performing the destroy.
7665 Should make the app closing a little tiny bit more snappy.
7667 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7669 * src/hildon-seekbar.c: add gtkrange.h header
7670 * src/hildon-caption.c: remove unused variable
7672 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7674 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7677 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7683 * debian/changelog: Updating.
7685 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7687 * src/hildon-window.c (hildon_window_window_state_event,
7688 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7689 escape timeout on focus-out-event rather than notify::is-topmost; the
7690 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7692 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7694 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7695 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7697 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7699 * src/hildon-window: actually, you need to use the macro always, there's
7700 no private pointer in the instance structure. We should have cleaned this up
7701 when we had the chance...
7703 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7705 * src/hildon-window.c: do not get the private date from HildonWindow before
7706 it passes the g_return_if_fail check. Once it's passed the test, there's no
7707 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7708 if you are only going to access the data once. Whitespace cleanups.
7710 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7712 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7713 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7715 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7721 * debian/changelog: Updating.
7723 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7725 * src/hildon-window.c: When destroying the window, remove (if exists) the
7726 escape timeout handler. Fixes #NB59276.
7728 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7730 * src/hildon-banner.c: When realizing the widget, set the window
7731 transiency. Setting the transiency in the gobject constructor is not
7732 good, as the widget is not realized at that point. Fixes: #NB56624.
7734 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7736 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7737 Add padding for future expansions.
7739 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7741 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7742 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7743 will fake an activation on the previous to the last item of the trail, so
7744 the effect can be overrided by the developer as usual.
7745 Also change the callback for the back button to do the same thing, so its
7746 effect can be overrided too. Fixes: NB#58982
7748 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7750 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7751 HildonCaption. Fixes NB#52379.
7753 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7755 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7756 the internal state of the trail after the user has had the chance of executing
7757 his handler for the signal. Specifically, it may happen that the activated button
7758 is removed and the user still lets the default handler run. This would segfault
7761 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7763 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7764 scrollbar to the preview dialog. Fixes NB#54147.
7766 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7768 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7769 max/min year properties can be altered, so the client can modify it
7770 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7772 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7774 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7775 hildonlike by default. Fixing a problem with disappearing arrows when
7776 scrolling through months and years. Fixes NB#54127.
7778 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7780 * examples/hildon-date-editor-example.c: Adding error callback to the date
7783 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7789 * configure.ac: Updating.
7791 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7793 * configure.ac: Adding a special '--enable-xan' configure option that
7794 turns off the -Werror compilation setting. Usefull for development.
7796 * src/hildon-calendar.c:
7797 * src/hildon-number-editor.c:
7798 * src/hildon-time-picker.c: Adding the 5* multiplier to
7801 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7803 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7804 instead of g_object_ref + gtk_object_sink.
7806 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7812 * debian/changelog: Updating.
7814 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7816 * src/hildon-color-chooser-dialog.c:
7817 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7818 straight from Tommi labs.
7820 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7822 * examples/hildon-finger-example.c: Correcting the header file path.
7824 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7825 the changed signal. Fixes a small memory leak.
7827 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7831 * src/hildon-banner.c: Importing several usefull fixes from the
7832 ubuntu-mobile branch.
7834 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7836 * examples/Makefile.am:
7837 * examples/hildon-finger-example.c: Adding a finger-checking code
7840 * src/hildon-font-selection-dialog.c: Do not allocate the color
7841 structure using the g_new. Fixes NB#54061.
7843 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7845 * src/hildon-helper.c: Correcting tabs in file.
7847 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7849 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7850 control the visibility of the children.
7852 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7854 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7860 * debian/changelog: Updating.
7862 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7864 * src/hildon-bread-crumb-trail.c:
7865 (hildon_bread_crumb_trail_size_allocate):
7867 Make the back button always a square.
7869 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7871 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7872 from the .c file as it's a private file.
7874 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7876 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7877 uses slightly bigger height.
7879 * src/hildon-font-selection-dialog.c: Adding some checks before
7880 freeing memory in the font selection dialog.
7882 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7884 * src/hildon-font-selection-dialog.c: Adding a small check when
7887 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7888 buttons sensitivity on page switching.
7890 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7892 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7893 internal details of adding a bread crumb to the trail.
7895 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7901 * debian/changelog: Updating.
7903 * src/hildon-bread-crumb-trail.h:
7904 * src/hildon-bread-crumb.h: Changing the API guard to
7905 HILDON_ENABLE_UNSTABLE_API.
7907 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7915 * src/hildon-helper.h: Updating.
7917 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7925 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7929 * src/hildon-helper.h: Small fix to make the package actually compile.
7931 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7933 * src/hildon-bread-crumb-trail.h:
7934 * src/hildon-bread-crumb.h:
7936 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7937 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7939 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7941 * examples/hildon-bread-crumb-trail-example.c:
7943 * src/hildon-bread-crumb-trail.c:
7944 * src/hildon-bread-crumb-trail.h:
7945 * src/hildon-bread-crumb.c:
7946 * src/hildon-bread-crumb.h:
7947 * src/hildon-marshalers.list:
7948 * src/hildon-bread-crumb-widget.c:
7949 * src/hildon-bread-crumb-widget.h:
7951 Slight change in the widget design. The bread crumb trail API is
7952 unchanged, but HildonBreadCrumb is now an interface. A *private*
7953 implementation, hildon-bread-crumb-widget, is provided and used
7954 internally by the trail for the push_text/push_icon functions.
7956 The generic push API is still available, so anyone can implement
7957 and use its own bread crumb widget.
7959 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7961 * debian/rules: Fixing the shlibs.
7963 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7965 * src/hildon-banner.c: Fixing a problem with timed banners having
7966 their parrent destroyed before they are.
7968 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7970 * src/hildon-bread-crumb.c:
7971 * src/hildon-bread-crumb.h:
7973 Make the get_natural_size function a vfunc.
7975 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7977 * src/hildon-bread-crumb.c:
7978 * src/hildon-bread-crumb-trail.c:
7982 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7989 * debian/changelog: Updating for release.
7991 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7993 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7994 don't leak the pango layout.
7996 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7999 * examples/hildon-bread-crumb-trail-example.c:
8003 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8005 * debian/changelog: Removing the bug-fixed entries that were actually
8006 resolved as WONTFIX.
8008 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8011 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8013 * src/hildon-bread-crumb-trail.c:
8014 * src/hildon-bread-crumb-trail.h:
8015 * src/hildon-bread-crumb.c:
8016 * src/hildon-bread-crumb.h:
8020 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8022 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8023 until it's passed the type check.
8025 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8027 * examples/hildon-bread-crumb-trail-example.c
8031 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8033 * examples/Makefile.am
8034 * examples/hildon-bread-crumb-trail-example.c
8036 * src/hildon-bread-crumb-trail.c
8037 * src/hildon-bread-crumb-trail.h
8038 * src/hildon-bread-crumb.c
8039 * src/hildon-bread-crumb.h
8041 New HildonBreadCrumbTrail widget.
8043 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8045 * src/hildon-range-editor.c (hildon_range_editor_init),
8046 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8047 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8048 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8049 hildon_time_editor_class_init, hildon_time_editor_init),
8050 src/hildon-get-password-dialog.c (invalid_input,
8051 hildon_get_password_set_property, hildon_get_password_get_property,
8052 create_contents, hildon_get_password_dialog_set_max_characters),
8053 src/hildon-set-password-dialog.c (create_contents),
8054 src/hildon-date-editor.c (hildon_date_editor_init),
8055 src/hildon-login-dialog.c (hildon_login_dialog_init),
8056 src/hildon-number-editor.c (hildon_number_editor_init),
8057 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8058 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8059 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8060 configure option and adding the respective checks in the code.
8061 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8062 hildon_calendar_drag_data_received): fixed some build warnings.
8064 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8066 * debian/changelog: A 1.0.0 release notes.