1 2009-05-06 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-app-menu.c (hildon_app_menu_init):
4 Don't make the menu a modal window, it causes strange interactions
5 with the pointer grab and it's not really needed.
7 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
9 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
11 * hildon/hildon-touch-selector.[ch]
12 (hildon_touch_selector_optimal_size_request): function added to get a
13 optimal size request from the touch selector, when you want a dialog to
14 show as much of the selector
15 * hildon/hildon-picker-dialog.c:
16 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
17 (hildon_app_menu_class_init):
18 New "max-height-landscape" and "max-height-portrait" style properties
19 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
20 (hildon_picker_dialog_get_max_height): returns the maximum height using
21 the style properties defined and checking the current portrait/landscape
23 (_hildon_picker_dialog_set_selector): removed the set_size_request
25 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
27 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
29 * hildon/hildon-bread-crumb-trail.c:
30 * hildon/hildon-bread-crumb.c:
31 * hildon/hildon-seekbar.c:
32 Add reference to replacements for these deprecated widgets.
34 Fixes: MB#4461 (Documentation: All deprecations should mention
37 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
39 * examples/hildon-remote-texture-example.c
41 Change the include to the hildon-remote-texture in order to compile
42 properly the examples on the installed libhildon1-examples package
44 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
46 * tests/Makefile.am: Add check for HildonPickerButton.
47 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
48 (START_TEST), (create_hildon_picker_button_suite): Add three simple
49 checks for the HildonPickerButton.
50 * tests/check_test.c (configure_tests): Add the test suite.
51 * tests/test_suites.h: likewise.
53 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
55 * hildon/hildon-touch-selector.c
56 (+on_row_changed): Emit HildonTouchSelector:changed when the
57 contents of a selected row change.
58 (_create_new_column), (_hildon_touch_selector_set_model): connect
59 to GtkTreeModel:row-changed on a newly set model.
61 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
63 2009-05-05 Alberto Garcia <agarcia@igalia.com>
65 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
67 * hildon/hildon-banner.c (hildon_banner_destroy)
68 (hildon_banner_show_progress, hildon_banner_set_fraction):
69 Remove the progress bar from HildonBanner and use a progress
72 Fixes: NB#113761 (Update progress banner to use progress
75 2009-05-04 Alberto Garcia <agarcia@igalia.com>
77 * hildon/hildon-banner.c:
78 Calculate size of the banner label using the actual screen width
79 rather than using a fixed value.
81 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
84 2009-05-04 Alejandro G. Castro <alex@igalia.com>
86 * hildon/hildon-pannable-area.c,
87 (hildon_pannable_area_class_init): Fixed signals documentation
90 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
92 * configure.ac: post release version bump
93 * debian/changelog: post release version bump
95 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
100 * configure.ac: Bump version.
101 * debian/changelog: Updates.
103 2009-05-01 Alberto Garcia <agarcia@igalia.com>
105 * hildon/hildon-edit-toolbar.c
106 (hildon_edit_toolbar_init):
107 Don't let buttons in HildonEditToolbar receive focus.
109 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
110 typing on an HW arrows key)
112 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
114 * doc/Makefile.am: Fix build.
116 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
118 * doc/Makefile.am: Do not redefine content_files.
120 2009-04-30 Alberto Garcia <agarcia@igalia.com>
128 Renamed src/ to hildon/
133 Include <hildon/hildon.h> directly in all examples.
135 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
137 * src/hildon-sort-dialog.c
138 (hildon_sort_dialog_add_sort_key_with_sorting)
142 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
144 * src/Makefile.am: Move generated sources to CLEANFILES, so that
145 make distcheck passes.
147 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
149 * Makefile.am: Enable gtk-doc during distcheck.
151 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
153 * Makefile.am: Do not distribute the debian/ directory.
155 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
157 * doc/Makefile.am: Add the extra SGML files to content_files,
158 so that they are distributed properly.
160 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
162 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
165 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
167 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
168 (hildon_note_new_information_with_icon_name): Set the "icon" property
169 to preserve soundness.
171 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
173 * src/hildon-font-selection-dialog.c
174 (hildon_font_selection_dialog_set_property): Fail when the "family"
175 property is set to NULL.
177 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
179 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
182 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
184 * src/hildon-time-selector.h:
185 Added HildonTimeSelectorFormatPolicy
186 * src/hildon-time-selector.c:
187 Added PROP_TIME_FORMAT_POLICY
188 (_check_ampm_format): renamed to check_automatic_ampm_format
189 (update_format_policy), (update_format_dependant_columns): new functions
190 (hildon_time_selector_class_init)
191 (hildon_time_selector_contructor)
192 (hildon_time_selector_init)
193 (hildon_time_selector_get_property)
194 (hildon_time_selector_set_property)
195 (hildon_time_selector_get_time)
196 (hildon_time_selector_set_time)
197 * src/hildon-touch-selector.h: new file
198 * src/hildon-touch-selector.c
199 (hildon_touch_selector_emit_changed)
200 (hildon_touch_selector_block_changed)
201 (hildon_touch_selector_unblock_changed)
202 Added functions to allow to block the emission of the "changed" signal
203 * src/hildon-picker-dialog.c
204 (hildon_picker_dialog_show): call the parent show before the custom code
205 * examples/hildon-time-button-example.c
206 Modified, so now you can configure the time format using the new property
208 Added a new property "time-format-policy" that allow to choose the time
209 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
210 case it uses gconf in order to check if the time selector must use
213 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
216 2009-04-28 Alberto Garcia <agarcia@igalia.com>
218 * src/hildon-note.c (hildon_note_init):
219 Label in HildonNote must be left aligned, not centered. This
220 reverts the last commit in HildonNote.
222 Fixes: NB#112933 (text is not left aligned in confirmation dialog
223 is connectivity dialog)
225 2009-04-27 Alberto Garcia <agarcia@igalia.com>
230 * doc/hildon-sections.txt:
231 Added hildon_gtk_window_set_do_not_disturb()
233 2009-04-27 Alberto Garcia <agarcia@igalia.com>
235 * src/hildon-note.c (hildon_note_init): Center label.
237 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
240 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
245 * configure.ac: Bump version.
246 * debian/changelog: Updates.
248 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
250 * src/hildon-note-private.h: Add button-width to the private data.
251 * src/hildon-note.c (+resize_button),
252 (+hildon_note_orientation_update): methods to repack widgets on orientation
254 (screen_size_changed): Call above method for confirmation notes.
255 (hildon_note_realize): Always connect to the "screen-size" changed signal.
256 (hildon_note_rebuild): Store the original width request from buttons.
258 Fixes: NB#109635 (Confirmation notes do not support portrait)
260 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
262 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
263 when it is a progress note.
265 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
267 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
268 in the note, since there are no horizontally arranged contents.
270 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
272 * src/hildon-gtk.c (+set_flag): new generic method to
273 set/delay a flag setting in a window.
274 (hildon_gtk_window_set_progress_indicator):
275 (hildon_gtk_window_set_do_not_disturb),
276 (hildon_gtk_window_set_portrait_flags): use set_flag() to
277 avoid code redundance.
279 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
281 Based on a patch by Alberto Garcia (agarcia@igalia.com)
283 * src/hildon-gtk.c (set_clear_window_flag),
284 (do_set_progress_indicator), (do_set_do_not_disturb),
285 (do_set_portrait_flags),
286 (hildon_gtk_window_set_progress_indicator),
287 (hildon_gtk_window_set_do_not_disturb),
288 (hildon_gtk_window_set_portrait_flags):
289 Allow setting dnd-flag, progress indicator, and portrait flags
290 when the window is not realized.
292 2009-04-24 Alejandro G. Castro <alex@igalia.com>
294 * src/hildon-pannable-area.c,
295 * src/hildon-pannable-area.h: Add the hildon deprecated define to
296 the size request policy function and defines.
298 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
300 * doc/hildon-sections.txt: Add the new API.
301 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
302 method to set the portrait flags.
303 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
305 Fixes: NB#112328 (Adding helpers for setting portrait properties)
307 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
309 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
310 to allow using this method with other flags.
311 (hildon_gtk_window_set_progress_indicator): Update accordingly.
312 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
314 2009-04-22 Alberto Garcia <agarcia@igalia.com>
316 * src/hildon-touch-selector.c
317 (hildon_touch_selector_append_text_column):
318 Make the cell renderer use the smallest width possible.
320 Fixes: NB#108470 (Selected items in multiple selection are either
321 having a tick that is cut or not visible at all.)
323 2009-04-22 Alberto Garcia <agarcia@igalia.com>
325 * src/hildon-touch-selector.c
326 (hildon_touch_selector_append_text_column):
329 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
331 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
332 Use g_strdup_printf() instead of a fixed size buffer.
334 2009-04-21 Alberto Garcia <agarcia@igalia.com>
336 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
337 Close banners when a HildonAppMenu is popped up.
339 Fixes: NB#111027 (Title menu closed immediately if activated when
340 "Invalid e-mail address" banner is shown)
342 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
347 * configure.ac: Bump version.
348 * debian/changelog: Updates.
350 2009-04-20 Alberto Garcia <agarcia@igalia.com>
352 * src/hildon-banner.c (hildon_banner_realize):
353 Mark HildonBanner as supporting portrait mode.
354 Use GDK to set window properties insetad of direct Xlib calls.
356 Fixes: NB#111830 (HildonBanner should be marked as supporting
359 2009-04-20 Alberto Garcia <agarcia@igalia.com>
361 * src/hildon-note.c (hildon_note_rebuild):
362 Hide action area in information notes. Prevents text from being
363 slightly aligned to the left.
365 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
368 2009-04-20 Alberto Garcia <agarcia@igalia.com>
370 Patch by Mox Soini (ext-mox.soini@nokia.com)
372 * src/hildon-banner.c (hildon_banner_create_animation):
373 Use stylus-sized icons in animation banner.
375 Fixes: NB#111206 (stylus sized icon for animation banner)
377 2009-04-20 Alberto Garcia <agarcia@igalia.com>
381 (+hildon_gtk_window_set_do_not_disturb):
382 New API to set the do-not-disturb flag.
384 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
386 2009-04-20 Alberto Garcia <agarcia@igalia.com>
388 * examples/hildon-progress-indicator-example.c: Fix example
390 * src/hildon-gtk.c (set_clear_window_flag)
391 (hildon_gtk_window_set_progress_indicator):
392 Create a generic function for setting flags to a window.
393 Use GDK instead of direct Xlib calls.
395 2009-04-14 Alberto Garcia <agarcia@igalia.com>
397 * src/hildon-button.c (hildon_button_set_arrangement):
398 Due to NB#88126, if one of the labels is too long it will be
399 painted outside the button. The 'value' label is more likely to be
400 the longest one, so we change its packing options in order to
401 truncate it if necessary. As a side effect, the 'title' label will
402 no longer be truncated.
404 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
406 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
411 * configure.ac: Bump version.
412 * debian/changelog: Updates.
414 2009-04-13 Alejandro G. Castro <alex@igalia.com>
416 Deprecation of the hildon_pannable_area_set_size_request_policy
417 API, the only policy properly supported in gtk+ nowadays is the
420 * src/hildon-pannable-area.c,
421 (hildon_pannable_area_size_request): Added a workaround for the
422 size_request to avoid the problems of huge pixmaps in case someone
423 is still using the function.
424 * src/hildon-pannable-area.h: Deprecated the enum with the
427 Fixes: NB#110244 (Problems with the
428 hildon_pannable_area_set_size_request_policy API)
430 2009-04-08 Alejandro G. Castro <alex@igalia.com>
432 * src/hildon-pannable-area.c,
433 (hildon_pannable_area_init),
434 (hildon_pannable_area_size_request),
435 (hildon_pannable_area_style_set),
436 (hildon_pannable_draw_vscroll),
437 (hildon_pannable_draw_hscroll),
438 (hildon_pannable_area_check_scrollbars): Replaced area_width with
439 indicator_width to clarify the use of the attribute.
441 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
446 * configure.ac: Bump version.
447 * debian/changelog: Updates.
449 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
451 * src/hildon-picker-dialog.c
452 * src/hildon-touch-selector.c
453 Reverting the change that tried to avoid the hardcoded height on
454 the picker dialog, as causes problems on the hildon-touch-selector
457 Fixes: NB#110029 (selectors not scrolling to selected value)
459 2009-04-07 Alberto Garcia <agarcia@igalia.com>
461 * src/hildon-touch-selector.c: Fix typos
463 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
465 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
466 Use the event coordinates instead of gdk_window_get_pointer(). Also,
467 request more motions after using it.
469 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
471 * src/hildon-calendar.c (hildon_calendar_expose),
472 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
473 Remove unused variables.
475 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
477 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
480 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
482 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
483 Check the return value of gtk_tree_selection_get_selected()
486 2009-04-06 Alberto Garcia <agarcia@igalia.com>
488 * src/hildon-animation-actor.c
489 * src/hildon-button.c
491 * src/hildon-pannable-area.c
492 * src/hildon-picker-button.c
493 * src/hildon-program.c
494 * src/hildon-remote-texture.c
495 * src/hildon-text-view.c
496 * src/hildon-touch-selector.c
497 * src/hildon-window-stack.c
498 * src/hildon-window.c:
499 Add missing 'Since: 2.2' tags.
501 * doc/hildon-sections.txt:
502 Add some missing symbols.
504 * doc/hildon-docs.sgml:
505 New 'Other' section for HildonAnimationActor and
508 2009-04-06 Alberto Garcia <agarcia@igalia.com>
510 Patch by Iván Gómez (igomez@igalia.com)
514 * doc/hildon-docs.sgml
515 * doc/hildon-sections.txt
519 New chapters on using the Hildon library.
520 Updated the general structure of the reference manual.
521 Other minor documentation fixes.
523 * src/hildon-calendar-popup.c
524 * src/hildon-calendar.c
525 * src/hildon-controlbar.c
526 * src/hildon-date-editor.c
527 * src/hildon-dialog.c
528 * src/hildon-hvolumebar.c
529 * src/hildon-number-editor.c
530 * src/hildon-range-editor.c
531 * src/hildon-sort-dialog.c
532 * src/hildon-time-editor.c
533 * src/hildon-time-picker.c
534 * src/hildon-volumebar-range.c
535 * src/hildon-volumebar.c
536 * src/hildon-vvolumebar.c
537 * src/hildon-weekday-picker.c:
538 Add deprecation notes
540 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
541 Document 'horizontal-movement' and 'vertical-movement' signals.
543 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
548 * configure.ac: Bump version.
549 * debian/changelog: Updates.
551 2009-04-06 Alejandro G. Castro <alex@igalia.com>
553 * src/hildon-pannable-area.c,
554 (hildon_pannable_area_class_init): increased the minimum velocity.
555 (hildon_pannable_area_button_release_cb): Updated the
556 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
557 setup. Review the code to control that last event.
559 Fixes: NB#109790 (Releasing finger in pannable area easily causes
562 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
564 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
566 * src/hildon-get-password-dialog.c
567 (hildon_get_password_set_property),
568 (hildon_get_password_get_property), (create_contents):
569 * src/hildon-login-dialog-private.h:
570 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
571 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
572 (hildon_login_dialog_get_password):
573 * src/hildon-set-password-dialog-private.h:
574 * src/hildon-set-password-dialog.c
575 (hildon_set_password_set_property),
576 (hildon_set_password_get_property), (create_contents),
577 (hildon_set_password_response_change),
578 (hildon_set_password_response_set), (hildon_checkbox_toggled):
580 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
581 instead and look more Fremantle style.
583 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
585 2009-04-03 Alberto Garcia <agarcia@igalia.com>
587 * doc/hildon-sections.txt
588 * src/hildon-window-stack.h
589 * src/hildon-window-stack.c
590 (+hildon_window_stack_get_windows):
591 New API to obtain the list of windows on a stack.
593 2009-04-02 Alberto Garcia <agarcia@igalia.com>
595 * src/hildon-app-menu.c (hildon_app_menu_popup)
596 (hildon_app_menu_class_init, -hildon_app_menu_show):
597 Remove hildon_app_menu_show() and move all its checks to
598 hildon_app_menu_popup()
600 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
602 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
603 (_hildon_picker_dialog_set_selector): removed call to
604 gtk_widget_set_size_request
605 * src/hildon-touch-selector.c
606 (_create_new_column): change the pannable size request policy
608 Avoid to use a hardcoded height for the hildon picker dialog. In order
609 to get that, we needed to change the hildon pannable size request
611 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
613 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
615 * src/hildon-window.c (hildon_window_map): Check for vbox to be
616 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
619 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
621 * debian/control: Depend on osso-system-lock localization package.
622 * src/hildon-code-dialog.c: Obtain the secu_application_title
623 translation from osso-system-lock.
624 * src/hildon-get-password-dialog.c (create_contents): Do not mark
625 for translation the atk related strings, that's not necessary.
626 * src/hildon-set-password-dialog.c (create_contents): Ditto.
627 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
628 cancel button, it is not required.
630 2009-04-02 Alejandro G. Castro <alex@igalia.com>
632 * src/hildon-pannable-area.c,
633 (hildon_pannable_area_class_init): Modified the default value of
634 the overshooting max speed, we have reduced it.
636 2009-04-02 Alberto Garcia <agarcia@igalia.com>
638 * doc/hildon-sections.txt
639 * src/hildon-window-private.h
640 * src/hildon-window.h
641 * src/hildon-window.c (hildon_window_class_init)
642 (hildon_window_init, hildon_window_finalize)
643 (hildon_window_realize, hildon_window_get_property)
644 (hildon_window_set_property, hildon_window_update_markup)
645 (hildon_window_get_markup, hildon_window_set_markup):
646 New "markup" property and hildon_window_{get,set}_markup() methods.
648 * examples/hildon-stackable-window-example.c (new_window):
649 Update example to use hildon_window_set_markup()
651 Fixes: NB#106375 (Need API to retitle a window with a title
654 2009-04-01 Alejandro G. Castro <alex@igalia.com>
656 * src/hildon-pannable-area.c,
657 (hildon_pannable_area_class_init): Changed the default value of
658 the initial_hint to TRUE.
659 (hildon_pannable_area_initial_effect): Changed the initial effect,
660 not the effect is just the fade-out of the scrollbars.
662 Fixes: NB#107775 (No scrollbars can be seen when several items are
663 available in a dialog)
665 2009-04-01 Alberto Garcia <agarcia@igalia.com>
667 * src/hildon-program.c (hildon_program_update_top_most):
670 Fixes: NB#109179 (Memory leak in Hildon program)
672 2009-04-01 Alberto Garcia <agarcia@igalia.com>
674 * src/hildon-banner.c (-get_current_app_window):
675 Remove unused function.
677 2009-04-01 Alejandro G. Castro <alex@igalia.com>
679 * src/hildon-pannable-area.c: Modified the documentation of the
680 get adjustments functions to explain the problem of using the
682 (hildon_pannable_area_class_init): Improved the explanation about
685 2009-04-01 Alberto Garcia <agarcia@igalia.com>
687 * src/hildon-app-menu-private.h
688 * src/hildon-app-menu.c
689 (hildon_app_menu_class_init):
690 Bring back the 'external-border' style property
691 (hildon_app_menu_class_init, hildon_app_menu_init)
692 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
693 Set a fixed width-request for the menu, independent of the number
696 Fixes: NB#94957 (Smoothly opened application menu)
698 2009-03-30 Alberto Garcia <agarcia@igalia.com>
700 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
702 * src/hildon-banner.c
703 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
705 Make sure that the banner is correctly placed the first time it's
707 (hildon_banner_check_position, -check_fullscreen_state):
708 Show the banner in the same place no matter if the window is in
709 fullscreen mode or not.
711 Fixes: NB#107386 (Odd stacking behaviour for information banners)
713 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
715 * src/hildon-touch-selector.c (_default_print_func): reorder
716 concatenation for clarity.
718 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
720 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
721 for multicolumn selectors.
723 Fixes: NB#109099 (Memory leak in Hildon touch selector)
725 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
730 * configure.ac: Bump version.
731 * debian/changelog: Updates.
733 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
735 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
738 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
740 * configure.ac: removed libcangerra-gtk dependency
741 * debian/control: removed libcanberra-gtk dependency
742 * src/Makefile.am: removed libcanberra gtk related flags
743 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
744 context, and manage a global canberra context instead
746 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
748 2009-03-26 Alberto Garcia <agarcia@igalia.com>
750 Patch by Daniel Borgmann (danielb@openismus.com)
752 * src/hildon-edit-toolbar.c:
753 Adjust the left padding.
754 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
755 Paint background of the edit toolbar.
757 Fixes: NB#107897 (Patch to make editmodetoolbar background
758 themeable and adjust margin)
760 2009-03-25 Alberto Garcia <agarcia@igalia.com>
762 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
764 * src/hildon-program.c (hildon_program_update_top_most):
765 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
767 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
768 change when the user tasks in/out of an application)
770 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
772 * configure.ac: added libcangerra-gtk dependency
773 * debian/control: added libcanberra-gtk dependency
774 * src/Makefile.am: added libcanberra gtk related flags
775 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
778 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
780 2009-03-25 Alberto Garcia <agarcia@igalia.com>
782 * src/hildon-program.c (hildon_program_remove_window)
783 (hildon_program_add_window): Add checks for the window
784 parameter. Don't decrease the window counter if the window is not
787 2009-03-24 Alejandro G. Castro <alex@igalia.com>
789 * src/hildon-pannable-area.c,
790 (hildon_pannable_area_realize): Fixed position of the event_window
791 in the realize method.
793 2009-03-24 Alberto Garcia <agarcia@igalia.com>
795 * src/hildon-app-menu-private.h
796 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
797 (hildon_app_menu_map, hildon_app_menu_hide_idle)
798 (hildon_app_menu_key_press, hildon_app_menu_init)
799 (hildon_app_menu_finalize):
800 Make sure that all idle functions are removed when the widget is
803 Fixes: NB#107583 (Hildon app menu crashes in various applications)
805 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
810 * configure.ac: Bump version.
811 * debian/changelog: Updates.
813 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
816 (+hildon_entry_show_placeholder),
817 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
818 that replace hildon_entry_update_contents().
819 (hildon_entry_set_text),
820 (hildon_entry_set_placeholder),
821 (hildon_entry_focus_in_event),
822 (hildon_entry_focus_out_event): Determine when it is needed
823 either to show or hide the placeholder and call the above methods.
825 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
826 when the placeholder text is already set)
828 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
830 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
831 simple GdkPixbufAnim using the new icons for the banner.
832 (hildon_banner_show_animation): Use the above mentioned method to
833 create the animation widget.
835 Fixes: NB#103564 (Make hildon animation banner use individual
836 image files as the animation)
838 2009-03-24 Alejandro G. Castro <alex@igalia.com>
840 * src/hildon-pannable-area.c,
841 (hildon_pannable_leave_notify_event): Check if the child is NULL
842 to avoid sending the leave.
844 2009-03-24 Alejandro G. Castro <alex@igalia.com>
846 * src/hildon-pannable-area.c,
847 (hildon_pannable_area_class_init),
848 (hildon_pannable_leave_notify_event): Added a handler of the
849 leave-notify-signal to consider when no motion notify before
852 Fixes: NB#107494 (Items stay selected when clicking and moving
853 away when inside pannable area)
855 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
860 * configure.ac: Bump version.
861 * debian/changelog: Updates.
863 2009-03-19 Alejandro G. Castro <alex@igalia.com>
865 Patch by Alberto Garcia (agarcia@igalia.com)
867 * src/hildon-date-button.c,
868 (hildon_date_button_class_init),
869 (hildon_date_button_init): Removed the construct property handling
870 and created a default selector in the init method.
871 * src/hildon-picker-button.c,
872 (hildon_picker_button_class_init): Removed the construct flag of the
875 2009-03-18 Alberto Garcia <agarcia@igalia.com>
877 * src/hildon-main.c (hildon_init):
878 Don't allow hildon_init() to be called more than once.
880 Fixes: NB#106607 (hildon_init should issue error message upon
883 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
885 * examples/hildon-pannable-area-touch-list-example.c
886 * examples/hildon-pannagle-area-touch-grid-example.c
887 * examples/hildon-edit-toolbar-example.c
888 * examples/hildon-touch-selector-multi-cells-example.c
889 Removed the call to gtk_rc_parse_string, as it is not required since
892 2009-03-17 Alejandro G. Castro <alex@igalia.com>
894 * src/hildon-pannable-area.c,
895 (hildon_pannable_area_class_init): Modified the default panning
896 threshold of the widget to 6px.
898 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
899 than the threshold value ) within the button is not sending the
902 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
904 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
905 for the treeview in the new column. This way, the touch list will never
908 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
909 be selected manually for the HW keys to work)
911 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
913 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
914 comparison instead of using strcmp(). Fixes a compiler warning as well.
916 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
918 * doc/hildon-docs.sgml: Do not set the library version in the
919 document title, use the releaseinfo tag for that purpose instead.
921 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
923 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
924 Do not jump to the first item if the text in the entry is removed.
926 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
931 * configure.ac: Bump version.
932 * debian/changelog: Updates.
934 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
936 * src/hildon-entry.c (hildon_entry_refresh_contents):
937 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
938 Use "ReversedSecondaryTextColor" for the placeholder text.
940 2009-03-12 Alberto Garcia <agarcia@igalia.com>
942 * src/hildon-text-view.c: Fix compilation warning.
944 2009-03-12 Alberto Garcia <agarcia@igalia.com>
946 * src/hildon-button.c (hildon_button_class_init): Don't make
947 "title" and "value" construction properties, to prevent them from
948 overwriting labels set from derived classes.
950 * src/hildon-picker-button.c
951 (hildon_picker_button_set_selector): Allow setting a NULL selector.
952 (hildon_picker_button_class_init): Make touch-selector a
953 construction property.
955 * src/hildon-date-button.c (hildon_date_button_class_init)
956 (+hildon_date_button_constructed): Add a default date selector if
959 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
961 * src/hildon-touch-selector.c: Small documentation fixes.
963 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
965 Based on a patch by Daniel Borgmann (danielb@openismus.com)
967 * src/hildon-entry.c (hildon_entry_refresh_contents),
968 (hildon_entry_get_text), (hildon_entry_init): Do not use the
969 widget name, set the logical color directly instead and a boolean
970 showing_placeholder instead.
971 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
972 use the widget name here either.
974 Fixes: NB#105678 (HildonTextView should use logical colours
975 instead of setting widget name)
977 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
979 Patch by Daniel Elster (danielk@openismus.com)
981 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
982 Add user_data parameter.
983 (hildon_touch_selector_set_print_func_full): New function akin
984 hildon_touch_selector_set_print_func() but with support for user
985 data and a destroy callback.
986 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
987 to clean up the print function user data.
988 (hildon_touch_selector_class_init): Install dispose function.
989 (HildonTouchSelectorPrivate::print_user_data),
990 (HildonTouchSelectorPrivate::print_destroy_func): New private
992 (hildon_touch_selector_init): Initialize new private members.
993 (hildon_touch_selector_get_current_text): Pass along user data
994 to the print function.
995 (_default_print_func): Add dummy user_data to parameter list.
996 * hildon-date-selector.c (_custom_print_func): ditto,
997 * hildon-time-selector.c (_custom_print_func): ditto,
998 * hildon-touch-selector-entry.c
999 (hildon_touch_selector_entry_print_func): ditto.
1001 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1003 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1005 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1007 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1009 * src/hildon-pannable-area.c,
1010 (hildon_pannable_area_init),
1011 (hildon_pannable_area_button_press_cb),
1012 (hildon_pannable_area_motion_notify_cb): We have added code to
1013 handle the leave and enter events when using the motion events.
1015 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1017 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1019 * src/hildon-date-button.c (hildon_date_button_get_date)
1020 (hildon_date_button_set_date): Make sure that the button has a
1023 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1025 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1027 * src/hildon-pannable-area.c,
1028 (hildon_pannable_area_class_init),
1029 (hildon_pannable_area_calculate_velocity): Modify the use of the
1030 force and adapt the value.
1032 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1034 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1035 (hildon_app_menu_class_init): Hide the menu if it receives a
1036 delete-event, but don't destroy it
1038 Fixes: NB#104485 (Not able to address the call when application
1039 menu is opened at background)
1041 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1043 * src/hildon-app-menu.c
1044 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1045 Remove the "external-border" style property, let the menu take its
1046 natural size (or the one set by the window manager)
1047 (hildon_app_menu_repack_items):
1048 Don't reshow the menu, avoid flickers.
1050 Partially fixes NB#94957 (Smoothly opened application menu)
1052 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1057 * configure.ac: Bump version.
1058 * debian/changelog: Updates.
1060 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1062 * src/hildon-pannable-area.c,
1063 (hildon_pannable_area_motion_notify_cb): We control that the
1064 direction error margin is used just in case the movement is
1065 allowed in the other direction.
1067 Fixes: NB#105012 (buttons inside a pannable area not getting
1068 release event when dragging/releasing)
1070 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1072 * src/hildon-pannable-area.c,
1073 (hildon_pannable_area_class_init),
1074 (hildon_pannable_area_get_property),
1075 (hildon_pannable_area_set_property),
1076 (hildon_pannable_area_initial_effect),
1077 (hildon_pannable_axis_scroll),
1078 (hildon_pannable_area_button_release_cb): Reviewed the
1079 overshooting effect, now it has its own max
1080 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1081 speed when bouncing.
1083 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1088 * configure.ac: Bump version.
1089 * debian/changelog: Updates.
1091 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1093 * src/hildon-pannable-area.c,
1094 (hildon_pannable_area_class_init): Changed the max speed, now
1095 users can launch the widget very fast. Reduced the default force,
1096 that way it is easier to control the launch speed.
1098 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1100 * src/hildon-pannable-area.c,
1101 (hildon_pannable_area_button_release_cb): Removed this check
1102 because it causes problems when the device is overloaded.
1104 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1106 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1107 add a current_text field to store the text entered in the
1108 touch selector entry.
1109 (_clean_current_selection): clean up the current text as well.
1110 (_save_current_selection), (_restore_current_selection):
1111 Save/restore the text in the entry if the selector is a
1112 HildonTouchSelectorEntry.
1114 Fixes: NB#102541 (value entered in the touch selector entry is not
1115 shown when opened for second time)
1117 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1119 * doc/hildon-sections.txt:
1120 * src/hildon-touch-selector-entry.c
1121 (+hildon_touch_selector_entry_get_entry):
1122 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1124 Fixes: NB#104815 (I need accessor to the entry inside
1125 HildonTouchSelectorEntry)
1127 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1129 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1130 (hildon_app_menu_class_init):
1131 New "filter-vertical-spacing" style property.
1133 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1135 * src/hildon-find-toolbar.c
1136 (hildon_find_toolbar_emit_close)
1137 (hildon_find_toolbar_emit_invalid_input)
1138 (hildon_find_toolbar_entry_activate):
1139 Use g_signal_emit() instead of g_signal_emit_by_name()
1141 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1143 Patch by Mox Soini (ext-mox.soini@nokia.com)
1145 * tests/TEST-CASES.txt
1146 * tests/check-hildon-banner.c
1147 * tests/check-hildon-note.c
1148 * src/hildon-banner.c
1149 * src/hildon-code-dialog.c
1150 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1151 * src/hildon-time-editor.c
1152 * examples/hildon-lookup-example.c (main):
1153 Replace obsolete icon names with new ones.
1155 * src/hildon-find-toolbar-private.h:
1156 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1157 (-hildon_find_toolbar_emit_search):
1158 Remove find button and change icon of close button.
1160 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1162 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1164 * src/hildon-time-button.c (hildon_time_button_new_step):
1165 Use the "touch-selector" property to set the selector directly
1166 when creating the object.
1168 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1170 Added a new example application that allows tuning the pannable
1171 area and replaced defines with properties in order to simplify the
1172 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1173 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1174 PROP_DIRECTION_ERROR_MARGIN.
1176 * examples/hildon-pannable-area-tuning-example.c: New example
1178 * src/hildon-pannable-area.c,
1179 (hildon_pannable_area_class_init),
1180 (hildon_pannable_area_init),
1181 (hildon_pannable_area_get_property),
1182 (hildon_pannable_area_set_property),
1183 (hildon_pannable_area_launch_fade_timeout),
1184 (hildon_pannable_area_adjust_value_changed),
1185 (hildon_pannable_axis_scroll),
1186 (hildon_pannable_area_motion_notify_cb),
1187 (hildon_pannable_area_scroll_cb),
1188 (hildon_pannable_area_button_release_cb): We have converted some
1189 of the defines that control the widget to properties to simplify
1192 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1194 * src/hildon-app-menu.c (hildon_app_menu_map)
1195 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1196 so it's closed if a new window appears.
1198 Fixes: NB#104485 (Not able to address the call when application
1199 menu is opened at background)
1201 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1203 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1204 missing 'break' statement in in 'case' construct to avoid
1207 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1209 * src/hildon-touch-selector-entry.c
1210 (hildon_touch_selector_entry_get_property),
1211 (hildon_touch_selector_entry_set_property): Add missing 'break'
1212 statements in in 'case' constructs to avoid incorrect warnings.
1214 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1216 * src/hildon-time-editor.c
1217 (hildon_time_editor_get_time_separators): Do not crash if
1218 the first label is NULL.
1220 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1222 * src/hildon-date-selector.c (_month_days): Check for month to be
1223 strictly less than 12, since otherwise we may overrun the array.
1225 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1227 * src/hildon-date-button.c (+hildon_date_button_new_full)
1228 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1229 (hildon_date_button_init): Set the date selector using a
1230 construction property, to make it happen after HildonButton's
1231 "value" property is set.
1233 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1234 current date by default)
1236 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1238 * doc/hildon-sections.txt
1239 * src/hildon-program.c
1240 * src/hildon-stackable-window.c
1241 * src/hildon-window.c:
1242 Documentation updates
1244 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1246 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1247 (hildon_window_stack_new, +hildon_window_stack_set_property)
1248 (+hildon_window_stack_get_property)
1249 (hildon_window_stack_class_init)
1250 (+hildon_window_stack_set_window_group)
1251 (+hildon_window_stack_get_window_group):
1252 Make the window group a construction property.
1254 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1256 * doc/hildon-sections.txt
1257 * src/hildon-stackable-window-private.h
1258 * src/hildon-stackable-window.h
1259 * src/hildon-stackable-window.c
1260 (-hildon_stackable_window_set_app_menu)
1261 (-hildon_stackable_window_get_app_menu)
1262 (-hildon_stackable_window_toggle_menu)
1263 (-hildon_stackable_window_finalize)
1264 (hildon_stackable_window_class_init)
1265 (hildon_stackable_window_init)
1266 * src/hildon-window-private.h
1267 * src/hildon-window.h
1268 * src/hildon-window.c (hildon_window_init)
1269 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1270 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1271 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1272 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1273 Moved all HildonAppMenu code to HildonWindow. The menu does not
1274 require a HildonStackableWindow anymore.
1276 * src/hildon-app-menu.c
1277 * src/hildon-program.c
1278 * examples/hildon-app-menu-example.c (main):
1279 Update examples and documentation to reflect HildonAppMenu
1282 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1284 * src/hildon-remote-texture.c
1285 * src/hildon-animation-actor.c:
1286 Don't include unused private headers.
1288 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1290 * src/hildon-program-private.h
1291 * src/hildon-program.c
1292 (hildon_program_set_common_menu)
1293 (hildon_program_get_common_menu)
1294 (hildon_program_set_common_app_menu)
1295 (hildon_program_get_common_app_menu):
1296 Change common menu pointers from GtkWidget* to GtkMenu* and
1297 HildonAppMenu* to avoid unnecessary casts.
1299 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1301 * src/hildon-window.c (hildon_window_set_main_menu):
1302 Removed incorrect 'Since:' tag
1304 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1306 * src/hildon-pannable-area.c,
1307 (hildon_pannable_area_calculate_velocity): We use now the
1308 RATIO_TOLERANCE here to check the distance, fixed typo in the
1310 (hildon_pannable_area_motion_notify_cb): We have to set the type
1311 and time even if we are not sending the motion.
1313 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1315 * doc/hildon-sections.txt
1316 * src/hildon-app-menu.h
1317 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1318 (+hildon_app_menu_get_filters): New methods to get the contents of
1321 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1324 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1326 * src/hildon-app-menu.c (hildon_app_menu_popup):
1329 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1331 * src/hildon-window.h
1332 * src/hildon-window.c (+hildon_window_get_main_menu)
1333 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1334 and deprecated hildon_window_get_menu().
1336 * src/hildon-stackable-window.h
1337 * src/hildon-stackable-window.c
1338 (+hildon_stackable_window_set_app_menu)
1339 (+hildon_stackable_window_get_app_menu)
1340 (hildon_stackable_window_set_main_menu): Created
1341 hildon_stackable_window_{get,set}_app_menu() and deprecated
1342 hildon_stackable_window_set_main_menu().
1344 * doc/hildon-sections.txt
1345 * examples/hildon-app-menu-example.c (main)
1346 * src/hildon-app-menu.c
1347 * src/hildon-program.c:
1348 Updated examples and documentation.
1350 Fixes: NB#103758 (No way to obtain a menu from a
1351 HildonStackableWindow)
1353 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1358 * configure.ac: Bump version.
1359 * debian/changelog: Updates.
1361 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1363 * examples/hildon-remote-texture-example.c: Include
1364 hildon-remote-texture.h explicitely.
1365 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1366 applications not defining _XOPEN_SOURCE which don't require this header.
1368 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1370 * doc/hildon-sections.txt
1371 * src/hildon-app-menu.h
1372 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1373 New function to pop up a HildonAppMenu
1375 * src/hildon-stackable-window.c
1376 (hildon_stackable_window_toggle_menu):
1377 Use hildon_app_menu_popup() to show the menu.
1379 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1381 * src/hildon-app-menu.c (hildon_app_menu_show)
1382 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1383 menu if there's another window between it and its parent window.
1385 Fixes: NB#100468 (Application menu window is launched even when a
1386 new secondary-window/dialog is pending to be shown/realized)
1388 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1390 * src/hildon-window-stack.c (hildon_window_stack_push)
1391 (hildon_window_stack_pop_and_push):
1392 Don't forget to push/pop the first window.
1393 Reverse the window list before calling _push_list()
1395 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1397 * src/hildon-picker-button.h
1398 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1399 Remove "value_changed" slot to avoid ABI breakage
1401 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1403 * src/hildon-pannable-area.c,
1404 (hildon_pannable_area_realize),
1405 (hildon_pannable_area_unrealize),
1406 (hildon_pannable_draw_vscroll),
1407 (hildon_pannable_draw_hscroll): Changed the method to handle the
1408 GC used to draw the transparent scrollbar, this way we avoid
1409 creating the GC all the time when drawing the scrollbars.
1411 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1413 * src/hildon-pannable-area.c,
1414 (hildon_pannable_area_init),
1415 (hildon_pannable_area_remove): Removed some unnecessary casts.
1416 (hildon_pannable_area_dispose): Disconnected some signals before
1417 releasing the adjustments.
1419 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1421 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1422 Make sure that all widgets contained in the toolbar are shown.
1424 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1426 * doc/hildon-sections.txt
1427 * src/hildon-picker-button.h
1428 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1429 (_selection_changed, hildon_picker_button_on_dialog_response)
1430 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1431 New hildon_picker_button_value_changed() method.
1434 * src/hildon-picker-button-private.h
1435 * src/hildon-picker-button.c (hildon_picker_button_init)
1436 (+hildon_picker_button_disable_value_changed): Add protected
1437 function for disabling the "value-changed" signal.
1439 * src/hildon-date-button.c (hildon_date_button_set_date):
1440 Don't emit "value-changed" for each one of the three columns.
1442 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1443 before actual change of values)
1445 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1447 * src/hildon-pannable-area.c,
1448 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1449 for the treeview overshooting.
1451 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1453 * src/hildon-banner.c (+hildon_banner_bind_style):
1454 Renamed from hildon_banner_bind_label_style(), now naming the
1455 banner itself as well.
1456 (hildon_banner_show_information),
1457 (hildon_banner_show_information_with_markup),
1458 (hildon_banner_show_animation), (hildon_banner_show_progress):
1459 Name the widgets and labels, based on their type.
1461 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1464 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1466 * src/hildon-note.c (hildon_note_set_property): call
1467 hildon_note_rename() on HildonNote:note-type set.
1468 (hildon_note_rename): Name the note and its label, based on the
1469 HildonNote:note-type property.
1471 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1474 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1476 * src/hildon-pannable-area.c,
1477 (hildon_pannable_area_class_init),
1478 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1479 panning parameters, increased SPS and deceleration factor. Added
1480 also a margin to control fake directions.
1482 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1484 Patch by Sven Herzberg (sven@imendio.com)
1486 * configure.ac: Add missing AM_PROG_CC_C_0
1487 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1489 See NB#101420 (Update unit tests and fix make check)
1491 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1493 This patch was applied before but reverted because it caused
1494 problems, we have changed the main condition and tested the
1495 regressions we detected before and they work ok. We have done a
1496 complete review of the topmost algorithm in order to get a more
1499 * src/hildon-pannable-area.c,
1500 (hildon_pannable_area_get_topmost): Added a new parameter to
1501 filter the the windows that do not include those events.
1502 (hildon_pannable_area_button_press_cb),
1503 (hildon_pannable_area_button_release_cb),
1504 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1505 topmost function, we have added the new parameter.
1507 Fixes: NB#97458 (Pannable area prevents propagation of button
1510 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1512 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1513 if all columns in the selector have an item selected.
1514 (_on_dialog_response): Stop "response" signal emission if there is
1515 any selector column without selected items.
1517 Fixes: NB#101889 (Picker dialog should not close when nothing is
1518 selected in multiple selection list)
1520 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1522 * src/hildon-font-selection-dialog.c
1523 (hildon_font_selection_dialog_class_init),
1524 (hildon_font_selection_dialog_init): Remove the preview
1525 button and dialog, since previewing with default theming is likely
1526 to be overcomplicated. The :preview property has now no effect.
1527 Update documentation blurbs to inform about this.
1529 Fixes: NB#92297 (Preview content is not clearly visible for
1530 default colour text)
1532 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1534 Reviewed the geometry that handles the children size and
1535 scrollbar, now it tries a size and reviews the results depending
1536 on the scrollbars visibility.
1538 * src/hildon-pannable-area.c,
1539 (hildon_pannable_area_realize): Fixed a typo.
1540 (hildon_pannable_area_child_allocate_calculate): Added this
1541 function to calculate the child allocation.
1542 (hildon_pannable_area_size_allocate): Reviewed the allocation
1544 (hildon_pannable_area_check_scrollbars),
1545 (hildon_pannable_area_refresh): Refactored refresh function, this
1546 way we can call the code handling the scrollbars without causing a
1547 size_request, it is interesting in the allocate.
1548 (hildon_pannable_area_init): Replace the callbacks of the
1549 value_changed and changed signals to propertly deal with the
1551 (hildon_pannable_area_grab_notify),
1552 (hildon_pannable_area_initial_effect),
1553 (hildon_pannable_area_launch_fade_timeout),
1554 (hildon_pannable_area_adjust_changed),
1555 (hildon_pannable_area_adjust_value_changed),
1556 (hildon_pannable_area_redraw),
1557 (hildon_pannable_area_button_press_cb),
1558 (hildon_pannable_area_button_release_cb),
1559 (hildon_pannable_area_scroll_cb),
1560 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1561 code and use the new functions adjust_changed and
1562 adjust_value_changed.
1564 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1565 Contact editor dialog)
1567 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1572 * configure.ac: Bump version.
1573 * debian/changelog: Updates.
1575 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1577 * src/hildon-pannable-area.c,
1578 (hildon_pannable_area_get_topmost),
1579 (hildon_pannable_area_button_press_cb),
1580 (hildon_pannable_area_button_release_cb),
1581 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1582 topmost function adding the event mask. We have to try a
1583 differente approach because it is still causing problems (NB#9745,
1586 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1588 * src/hildon-banner.c:
1589 Update the maximum width of timed banners.
1590 (force_to_wrap_truncated): Enforce the maximum text width if the
1593 Fixes: NB#102413 (The text margins (wrapping) in information
1594 banner should be HILDON_MARGIN_TRIPLE)
1596 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1598 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1600 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1601 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1602 bound when calculating the scroll indicator position.
1604 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1605 treat ->lower correctly)
1607 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1609 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1610 expose event handling, since it is not necessary to draw the focus
1613 Fixes: NB#102467 (Do not show highlight on the text in
1616 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1618 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1619 full height of the toolbar for the button and the label.
1621 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1623 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1624 padding before the label and after the button.
1626 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1628 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1630 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1631 Add a GtkVSeparator between the button and the back arrow.
1632 Let the button have automatic size.
1633 Set a name to the widget for theming handling.
1635 Fixes: NB#101793 (Make edit toolbar the same height as window
1636 title bar (use title area theming))
1638 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1640 * src/hildon-helper.c (attach_new_color_element): Fix memory
1643 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1645 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1647 * examples/hildon-button-example.c (common_buttons_window): Don't
1650 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1652 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1653 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1655 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1657 * src/hildon-gtk.c: Check that the window is realized.
1659 Fixes: NB#102225 (Crash setting the progress indicator to a non
1662 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1664 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1665 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1666 instead of modifying the one in the widget style.
1668 Fixes: NB#101043 (Second row of all the command button are
1669 displayed in transparent mode.)
1671 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1673 * src/hildon-date-button.c
1674 * src/hildon-time-button.c: Add gettext macros
1676 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1678 * src/hildon-date-button.c (hildon_date_button_new):
1679 * src/hildon-time-button.c (hildon_time_button_new_step):
1680 Use new logical strings to set the button default title.
1682 Fixes: NB#99915 (Date and Time options are not localised in Date
1685 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1687 * src/hildon-pannable-area.c
1688 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1689 the PANNING_THRESHOLD.
1691 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1693 * src/hildon-pannable-area.c,
1694 (hildon_pannable_area_class_init): Increased the maximum speed.
1695 (hildon_pannable_area_get_property),
1696 (hildon_pannable_area_set_property),
1697 (hildon_pannable_area_timeout): Added a new low friction mode, it
1698 allows the user avoid friction when launching the widget fast
1699 enough. It is interesting to traverse long lists.
1701 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1703 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1704 (+hildon_stackable_window_delete_event): Ignore delete events if
1705 the window is not the topmost one.
1707 Fixes: NB#101698 (Back button long press and delete-event handling)
1709 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1711 * src/hildon-pannable-area.c,
1712 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1713 gtk-dnd-drag-threshold, it was too big. We have defined our own
1714 dnd define and set a smaller value: PANNIG_THRESHOLD.
1716 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1718 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1719 user-defined icons, use always the default one.
1721 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1723 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1725 This patch was applied before but reverted because it caused
1726 problems, we have changed the main condition and tested the
1727 regressions we detected before and they work ok.
1729 * src/hildon-pannable-area.c,
1730 (hildon_pannable_area_get_topmost): Added a new parameter to
1731 filter the the windows that do not include those events. Added
1732 also a condition when finding the window to filter windows that do
1733 not ask for those events.
1734 (hildon_pannable_area_button_press_cb),
1735 (hildon_pannable_area_button_release_cb),
1736 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1737 topmost function, we have added the new parameter.
1739 Fixes: NB#97458 (Pannable area prevents propagation of button
1742 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1744 * tests/check-hildon-color-button.c (START_TEST): do not leak
1747 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1749 * src/hildon-font-selection-dialog.c
1750 (hildon_font_selection_dialog_get_preview_text): Return NULL
1751 instead of FALSE on the g_return_val_if_fail().
1753 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1755 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1756 * src/hildon-date-selector.c
1757 (hildon_date_selector_select_current_date):
1758 Do not compare unsigned integers to be greater than or equal 0,
1759 because it's always TRUE.
1761 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1763 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1764 (hildon_date_selector_constructor): Do not select the current
1765 date until we are handle the "changed" signal, to avoid having bogus
1766 elements in the days model.
1768 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1770 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1771 for num_days, since _month_days() can return a negative value.
1773 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1775 * src/hildon-caption.c (hildon_caption_size_allocate):
1776 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1777 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1779 Initialize allocation variables to 0, to avoid eventually using
1780 unitialized variables.
1782 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1784 * src/hildon-bread-crumb-trail.c
1785 (hildon_bread_crumb_trail_size_allocate):
1786 * src/hildon-calendar.c (hildon_calendar_set_background):
1787 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1788 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1789 * src/hildon-seekbar.c (hildon_seekbar_init):
1790 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1791 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1792 * src/hildon-touch-selector-entry.c
1793 (hildon_touch_selector_get_text_from_model):
1794 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1795 * src/hildon-window.c (hildon_window_finalize):
1797 Remove many unused variables.
1799 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1801 * src/hildon-seekbar.c: (hildon_seekbar_init),
1802 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1804 Remove unnecessary g_assert() calls.
1806 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1808 * src/hildon-caption.c: (hildon_caption_expose),
1809 (hildon_caption_set_property), (hildon_caption_init),
1810 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1811 (hildon_caption_size_request), (hildon_caption_size_allocate),
1812 (hildon_caption_forall), (hildon_caption_set_separator),
1813 (hildon_caption_activate), (hildon_caption_set_child_expand),
1814 (hildon_caption_set_label_text),
1815 (hildon_caption_get_label_alignment):
1817 Remove unnecessary g_assert() calls.
1819 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1821 * src/hildon-banner.c
1822 (hildon_banner_map, hildon_banner_init): Make banner temporary
1823 before mapping it to avoid closing other temporary windows, but
1824 make it non-temporary afterwards to avoid being closed by other
1825 non-temporary windows.
1826 (-hildon_banner_client_event, hildon_banner_init):
1827 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1829 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1832 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1834 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1837 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1839 * src/hildon-remote-texture.c
1840 * src/hildon-remote-texture.h
1841 * src/hildon-remote-texture-private.h
1842 * examples/hildon-remote-texture-example.c:
1843 Updates/fixes to remote-texture and its example.
1845 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1847 Patch by Mox Soini (ext-mox.soini@nokia.com)
1849 * src/hildon-code-dialog.c: Update logical id.
1850 * src/hildon-set-password-dialog.c: Update logical id.
1852 Fixes: NB#100646 (Logical strings is shown for ok in set
1853 password,Password needed dialogs)
1855 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1858 * src/hildon-remote-texture.c
1859 * src/hildon-remote-texture.h
1860 * src/hildon-remote-texture-private.h
1862 Added remote texture widget (for Clutter shared memory textures)
1864 * examples/hildon-remote-texture-example.c
1865 * examples/Makefile.am
1866 Added example file for remote texture usage
1868 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1870 * configure.ac: post release version bump.
1871 * debian/changelog: version bump.
1873 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1878 * configure.ac: Bump version.
1879 * debian/changelog: Updates.
1881 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1883 * src/hildon-date-selector.c (hildon_date_selector_init)
1884 (hildon_date_selector_constructor): Don't connect to the "changed"
1885 signal until the selector is completely constructed.
1887 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1889 * src/hildon-touch-selector.c: (_create_new_column),
1890 (hildon_touch_selector_append_column),
1891 (hildon_touch_selector_set_column_selection_mode),
1892 (hildon_touch_selector_set_active),
1893 (hildon_touch_selector_select_iter):
1894 Emit the HildonTouchSelector::changed signal every time selection
1895 is changed in any of the methods above. This behavior was already
1896 documented but not fully functional.
1898 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1899 selection is programmatically changed)
1901 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1903 * doc/hildon-sections.txt: Remove obsolete icon
1904 sizes from here as well.
1906 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1908 * examples/hildon-stackable-window-example.c (add_window): Remove
1911 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1913 * src/hildon-app-menu.c
1914 (hildon_app_menu_show): Check whether the parent window of a menu
1915 is topmost before popping it up.
1917 Fixes: NB#100468 (Application menu window is launched even when a
1918 new secondary-window/dialog is pending to be shown/realized.)
1920 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1922 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1925 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1927 Patch by Mox Soini (ext-mox.soini@nokia.com)
1929 * src/hildon-banner.c: (hildon_banner_show_animation):
1930 use stylus size instead of obsolete note size.
1931 * src/hildon-defines.h: Update icon sizes.
1933 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1935 * src/hildon-touch-selector-entry.c:
1936 (hildon_touch_selector_entry_init): Disable unsupported
1938 (hildon_touch_selector_entry_get_text_column): Emit a warning
1939 if an unsupported input modes is used and explicitile state
1940 these modes in the documentation.
1942 Fixes: NB#99802 (Hildon touch selector entry not working properly
1943 for some of the input modes)
1945 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1947 * src/hildon-pannable-area.c,
1948 (hildon_pannable_area_init): Added the changed signal handlers of
1951 Fixes: NB#100320 (HildonPannableArea does not listen to
1952 GtkAdjustment "change" signals)
1954 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1956 * doc/hildon-sections.txt
1957 * src/hildon-window-private.h
1958 * src/hildon-window.h
1959 * src/hildon-window.c (hildon_window_init)
1960 (hildon_window_realize, hildon_window_unrealize)
1961 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1962 (hildon_window_size_request, hildon_window_size_allocate)
1963 (hildon_window_forall, hildon_window_show_all)
1964 (hildon_window_destroy, +paint_edit_toolbar)
1965 (+hildon_window_set_edit_toolbar):
1966 New hildon_window_set_edit_toolbar() method, to add a
1967 HildonEditToolbar to a window without having to pack it manually.
1969 Reorganize hildon_window_size_allocate()
1971 * src/hildon-edit-toolbar.c: Update documentation.
1973 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1974 example to use the new API.
1976 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1978 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1980 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1981 Remove from stack before calling parent's hide.
1983 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1985 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1986 window is removed from the middle of the stack, update the
1987 transiency of the previous one.
1989 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1992 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1994 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1995 block/unblock the signal handler if it's not actually being used.
1996 Fixes some critical warnings.
1998 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2000 Based on a patch by Iván Gómez (igomez@igalia.com)
2002 * src/hildon-banner.c
2006 * src/hildon-pannable-area.c
2007 * src/hildon-picker-dialog.c
2008 * src/hildon-wizard-dialog.h
2009 * src/hildon-wizard-dialog.c: Documentation updates.
2011 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2012 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2014 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2016 * configure.ac: post release version bump.
2017 * debian/changelog: version bump.
2019 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2024 * configure.ac: Bump version.
2025 * debian/changelog: Updates.
2027 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2030 a stock icon nor change the relief of the back arrow.
2032 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2033 graphics from theme)
2035 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2037 * src/hildon-button.c (hildon_button_set_alignment): Use
2038 priv->alignment if the button has no child yet.
2040 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2042 * src/hildon-button.c: (hildon_button_init): Set the
2043 button style during initialization to give it the proper
2046 Fixes: NB#99713 (HildonButton value label color is wrong)
2048 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2050 * src/hildon-touch-selector.c: Document
2051 hildon_touch_selector_center_on_selected()
2053 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2055 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2056 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2057 all menu items, but not the menu itself.
2058 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2059 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2060 items after adding them to the menu so keyboard accelerators work.
2061 (hildon_app_menu_show): Don't show the menu if it contains items
2062 but none of them are visible.
2064 * examples/hildon-app-menu-example.c (create_menu): Use
2065 gtk_widget_show_all() to show all menu items.
2067 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2069 * src/hildon-picker-dialog.c:
2070 (-_update_title_on_selector_changed_cb),
2071 (-_dialog_update_title): Removed.
2072 (_select_on_selector_changed_cb), (_on_dialog_response),
2073 (on_selector_columns_changed): Do not update the dialog title.
2074 (setup_interaction_mode): Do not connect to
2075 HildonTouchSelector::changed signal if there's a "done" button, as
2076 the dialog title doesn't need to be updated.
2078 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2081 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2083 Patch by Kristian Rietveld (kris@imendio.com)
2085 * src/hildon-touch-selector.c: (_create_new_column): Use new
2086 GtkTreeView::hildon-row-tapped signal to react to user interactions
2087 instead of ::changed.
2089 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2090 with some dynamic tree model)
2092 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2094 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2095 (+screen_size_changed, +label_size_request)
2096 (hildon_note_class_init): Make the Hildon information note have a
2097 minimum height, and make its text hvae a maximum width.
2099 Fixes: NB#98614 (Hildon information note (background) should have
2100 minimum height and maximum text width)
2102 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2104 * src/hildon-banner.h
2105 * src/hildon-banner.c (hildon_banner_show_information)
2106 (hildon_banner_show_informationf)
2107 (hildon_banner_show_information_with_markup): Update documentation
2108 to reflect that the icon_name parameter is not used anymore.
2109 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2110 Remove all code from these functions and mark them as deprecated.
2111 (hildon_banner_show_progress): Mark as deprecated.
2113 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2115 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2117 * src/hildon-pannable-area.c,
2118 (hildon_pannable_area_class_init),
2119 (tranparency_color),
2120 (hildon_pannable_draw_vscroll),
2121 (hildon_pannable_draw_hscroll),
2122 (hildon_pannable_area_expose_event): Added a new way to render the
2123 scrollbars of the pannable area avoiding using cairo at all. This
2124 way we improve the performance of the pannable area rendering. The
2125 cairo rendering procedure is still in the code, we can control
2126 which one to use changing the value of the define
2127 USE_CAIRO_SCROLLBARS.
2129 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2131 * configure.ac: post release version bump.
2132 * debian/changelog: version bump.
2134 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2139 * configure.ac: Bump version.
2140 * debian/changelog: Updates.
2142 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2144 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2145 banners instead of destroying them when they receive a button
2148 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2150 Reverted commit 34028, it was causing regressions, probably the
2151 topmost condition is not correct, we have to check it in more
2152 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2153 propagation of button press events)
2155 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2157 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2158 that the selection is not empty before attempting to retrieve the
2159 current ampm selection.
2161 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2163 * src/hildon-picker-button.c:
2164 (hildon_picker_button_on_dialog_response): Directly update the
2165 button contents when required instead of calling _selection_changed.
2167 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2169 * src/hildon-program.c (hildon_program_update_top_most): Update
2170 'is-topmost' property also when wm_hints is not set.
2172 Fixes: NB#98383 (is-topmost signal is not emitted when task
2173 switcher is clicked.)
2175 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2177 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2181 * src/hildon-animation-actor.c,
2182 * src/hildon-animation-actor.h: Added the animation actor class,
2183 this widget represents an animation actor for WM-assisted
2184 animation effects in the Hildon framework.
2186 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2188 * src/hildon-window-stack-private.h
2189 * src/hildon-window-stack.c
2190 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2191 Avoid calling gtk_widget_show() again indirectly from
2192 hildon_stackable_window_show()
2194 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2199 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2201 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2202 (hildon_time_selector_init): Move the construction of the hours and
2203 ampm columns to the constructor to preserve the order the columns
2206 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/hildon-picker-dialog.c:
2209 (hildon_picker_dialog_class_init): Connect a realize method.
2210 (+hildon_picker_dialog_realize): Setup the interaction mode here
2212 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2213 yet, do it during the realize instead.
2214 (_on_dialog_response):
2215 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2216 if the widget is not realized, to avoid the dialog response before it
2219 Avoid premature responses in the HildonPickerDialog that can cause it
2220 to be hidden before it's even shown.
2222 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2224 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2225 (on_selector_columns_changed), (requires_done_button),
2226 (+prepare_action_area), (setup_interaction_mode),
2227 (_hildon_picker_dialog_set_selector):
2229 Split the interaction mode setup into preparation of the
2230 action area (prepare_action_area()) and the connection of
2231 the signals in setup_interaction_mode() and update the code to
2234 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2236 * src/hildon-pannable-area.c,
2237 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2238 per second to 15, we will check if this is ok regarding
2241 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2243 * src/hildon-pannable-area.c,
2244 (hildon_pannable_axis_scroll): Avoid resize if we already have
2245 reached overshoot_max.
2247 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2249 * src/hildon-pannable-area.c,
2250 (hildon_pannable_area_init),
2251 (hildon_pannable_area_realize),
2252 (hildon_pannable_area_size_allocate),
2253 (hildon_pannable_area_map),
2254 (hildon_pannable_area_unmap),
2255 (hildon_pannable_draw_vscroll),
2256 (hildon_pannable_draw_hscroll),
2257 (hildon_pannable_area_expose_event),
2258 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2259 pannable are to avoid the expose events go to the window and
2260 redraw the window. We save this way that part of the stack and the
2261 paint_boxes. We had to change the positions of the elements when
2264 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2266 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2267 * src/hildon-color-chooser-dialog.c:
2268 (hildon_color_chooser_dialog_init):
2269 * src/hildon-font-selection-dialog.c:
2270 (hildon_font_selection_dialog_init),
2271 (hildon_font_selection_dialog_show_preview):
2272 * src/hildon-get-password-dialog.c:
2273 * src/hildon-login-dialog.c:
2274 * src/hildon-set-password-dialog.c:
2275 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2276 * src/hildon-time-picker.c: (hildon_time_picker_init):
2278 Remove obsolete logical string IDs and update to the appropriate ones.
2280 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2282 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2284 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2285 that happens if the window hasn't been realized yet.
2287 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2288 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2290 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2292 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2293 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2296 Fixes: NB#98537 (Device hangs in account settings dialog)
2298 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2300 * configure.ac: post release version bump.
2301 * debian/changelog: version bump
2303 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2308 * configure.ac: Bump version.
2309 * debian/changelog: Updates.
2311 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2313 Added a new function to the HildonTimeButton widget that allows to
2314 change the step of the minutes in the selector associated with the
2315 button: hildon_time_button_new_step
2317 * src/hildon-time-button.c,
2318 (hildon_time_button_init),
2319 (hildon_time_button_new),
2320 (hildon_time_button_new_step):
2321 * src/hildon-time-button.h: Added the new function and refactored
2323 * examples/hildon-time-button-example.c,
2324 (main): We have replaced the function without parameters with the
2325 function with the steps set to 5
2327 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2329 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2331 * src/hildon-time-selector.c,
2332 (hildon_time_selector_class_init),
2333 (hildon_time_selector_constructor),
2334 (hildon_time_selector_get_property),
2335 (hildon_time_selector_set_property),
2336 (_create_minutes_model),
2337 (hildon_time_selector_new_step),
2338 (hildon_time_selector_set_time),
2339 * src/hildon-time-selector.h: Added a new property to the
2340 HildonTimeSelector (minutes-step), we use that property to control
2341 the steps between the minutes in the list of the selector. We have
2342 added a new function to the API to create a widget changing the
2343 step: hildon_time_selector_new_step.
2345 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2347 * src/hildon-time-selector.c,
2348 (hildon_time_selector_class_init),
2349 (hildon_time_selector_constructor),
2350 (hildon_time_selector_init): Overrided the construct function when
2351 creating the time selector object. We have moved the minutes model
2352 handling code from the init to the new construction function:
2353 hildon_time_selector_constructor.
2355 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2357 * examples/hildon-date-button-example.c: (main): Use the new
2358 hildon_date_button_new_with_year_range() method in the example.
2359 * src/hildon-date-button.c:
2360 (+hildon_date_button_new_with_year_range): New public method
2361 to conveniently create a HildonDateButton with a custom year range
2362 in its HildonDateSelector.
2363 * src/hildon-date-button.h: Add the new public method definition.
2365 Fixes: NB#97908 (Not possible to change the year range in
2366 HildonDateSelector/HildonDateButton)
2368 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2370 * src/hildon-date-selector.c:
2371 (+hildon_date_selector_set_property),
2372 (+hildon_date_selector_get_property),
2373 (hildon_date_selector_class_init): Install new properties "min-year"
2374 and "max-year" to define boundaries for the year column.
2375 (_create_year_model): Use the boundary properties to populate the model.
2376 (+hildon_date_selector_new_with_year_range): New public method to
2377 create a HildonDateSelector with a user defined year range.
2378 (hildon_date_selector_select_current_date): Use the new boundaries to
2379 calculate the iterator of current year.
2380 * src/hildon-date-selector.h: Add the new public method definition.
2382 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2384 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2385 Install a constructor method.
2386 (+hildon_date_selector_construct_ui): construct the widget.
2387 (+hildon_date_selector_constructor): new constructor.
2388 (+hildon_date_selector_init): move out widget construction code to
2389 the new constructor.
2391 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2393 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2394 that there's actually a month or year selected before obtaining them.
2395 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2396 of the HildonTouchSelector::changed signal, as it was emitted on every
2397 single item selection.
2399 Fix some warnings and possible crashers due to the selection restoring.
2401 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2403 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2404 the signal handlers only after creating the dialog instead of on every
2407 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2409 * src/hildon-button.c (hildon_button_init)
2410 * src/hildon-check-button.c (hildon_check_button_init)
2411 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2412 focus when clicked by default.
2414 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2416 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2419 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2421 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2422 Alejandro G. Castro (alex@igalia.com)
2424 * src/hildon-picker-dialog.c:
2425 (hildon_picker_dialog_class_init): install new "center-on-show"
2427 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2428 (hildon_picker_dialog_set_property): add setter code for the new
2430 (hildon_picker_dialog_get_property): add getter code for the new
2432 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2433 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2436 Fixes: NB#92849 (Selected item is not always visible when
2437 HildonTouchSelector is shown)
2439 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2441 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2442 Alejandro G. Castro (alex@igalia.com)
2444 * src/hildon-touch-selector.c:
2445 (_create_new_column): Do not connect to the "realize" signal of the
2447 (hildon_touch_selector_append_column): center on the selected items
2448 when a new column is appended.
2449 (hildon_touch_selector_select_iter): Factor out the code to select a
2450 column to hildon_touch_selector_scroll_to().
2451 (+search_nearest_element): Method to retrieve the nearest selected
2452 element to the visible area of the pannable area in a column.
2453 (+on_realize_cb): scroll to the initially selected item.
2454 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2455 the pannable area is realized, otherwise delay this until it is.
2456 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2457 selected items of a given column.
2458 (+hildon_touch_selector_center_on_selected): Public method to center
2459 all columns on the nearest selected item.
2460 * src/hildon-touch-selector.h: Add definition for
2461 hildon_touch_selector_center_on_selected().
2463 Implement public API to ensure visibility of all selected items in
2464 a HildonTouchSelector.
2466 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2468 Fixed a problem in the fading when calling the scroll_to API, and
2469 improve scrollbar fading handling.
2471 * src/hildon-pannable-area.c,
2472 (hildon_pannable_area_grab_notify): avoid the timeout when the
2474 (hildon_pannable_area_button_press_cb),
2475 (hildon_pannable_area_motion_notify_cb): Code style changes.
2476 (hildon_pannable_area_button_release_cb): Review the conditions
2477 when releasing the mouse button to avoid unrequired fading
2479 (hildon_pannable_area_scroll_to): Do not calculate and set the
2480 velocity if the scroll is not required.
2482 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2484 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2485 Don't check whether the new selector is NULL: it cannot be.
2486 Hold a reference to the selector while doing the replacement.
2488 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2490 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2491 unnecessary size_request in a removed widget.
2493 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2495 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2496 an unnecessary reference tracking that was leaking.
2498 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2500 Added delayed motion notify event handling, this way we can
2501 discard redrawing if more than 25 events arrive per second.
2503 * src/hildon-pannable-area.c,
2504 (hildon_pannable_area_init): Initialized the new private atributes
2505 controlling this timeout
2506 (hildon_pannable_area_dispose): Remove the timeout that controls
2507 the motion notify events.
2508 (hildon_pannable_area_scroll): Added a condition to control the
2509 use of the acceleration.
2510 (hildon_pannable_area_motion_event_scroll_timeout),
2511 (hildon_pannable_area_motion_event_scroll): Added this two
2512 functions, they handle the motion notify events inside the
2514 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2515 to the scroll method with the new function.
2516 (hildon_pannable_area_button_release_cb): We have to remove the
2517 timeout handler and move to the last position if the last motion
2518 events were not handled.
2520 Fixes: NB#97028 (Pannable area updates on every motion event)
2522 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2524 * src/hildon-pannable-area.c,
2525 (hildon_pannable_area_get_topmost): Added a new parameter to
2526 filter the the windows that do not include those events. Added
2527 also a condition when finding the window to filter windows that do
2528 not ask for those events.
2529 (hildon_pannable_area_button_press_cb),
2530 (hildon_pannable_area_button_release_cb),
2531 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2532 topmost function, we have added the new parameter.
2534 Fixes: NB#97458 (Pannable area prevents propagation of button
2537 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2539 * src/hildon-pannable-area.c,
2540 (hildon_pannable_area_initial_effect): Added controls before
2541 launching the timeout and the idle functions.
2542 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2543 of the method, in some situations it can return with TRUE and 0 in
2545 (hildon_pannable_area_button_press_cb): We do not need to set
2546 DELAY for fading out here.
2548 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2550 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2552 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2553 post-cleaning if the selection is not NULL.
2555 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2557 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2558 all items before restoring the selection.
2560 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2562 * src/hildon-touch-selector.c:
2563 (+hildon_touch_selector_unselect_all):
2564 * src/hildon-touch-selector.h: New API to unselect all items in a
2565 column of the touch selector.
2567 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2569 * src/hildon-pannable-area.c,
2570 (hildon_pannable_area_redraw): Added a call to the refresh
2571 function inside the redraw because apparently in some cases the
2572 change in the adjustment does not imply a size allocate.
2574 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2575 despite the view not being scrollable)
2577 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2579 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2580 leak. Check for NULL before attempting to set the window title.
2582 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2584 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2585 whether to show or not the 'Done' button each time the dialog is
2586 shown, as it depends on the HildonTouchSelector selection mode.
2588 Fixes: NB#96226 (In multiple selection mode Done button is shown
2589 sometimes in listpicker)
2591 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2593 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2594 for the number of columns in the HildonTouchSelector more than once.
2596 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2598 * src/hildon-touch-selector.c: Minor documentation fixes.
2600 * src/hildon-picker-dialog.c (+_dialog_update_title)
2601 (_select_on_selector_changed_cb)
2602 (_update_title_on_selector_changed_cb)
2603 (on_selector_columns_changed): Update dialog title when there's no
2604 'Done' button and also when the number of columns in the selector
2608 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2609 (+_selection_changed, hildon_picker_button_on_dialog_response)
2610 (hildon_picker_button_selector_selection_changed)
2611 (+hildon_picker_button_selector_columns_changed)
2612 (hildon_picker_button_set_selector): Update button value and emit
2613 'value-changed' when the number of columns in the selector
2617 Fixes: NB#96225 (Dialog titles are not shown according to the
2618 values selected in the list picker)
2620 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2622 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2623 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2624 New "arrow-width" and "arrow-height" style properties to set the
2625 size of the arrow button.
2626 Set name of arrow button ("hildon-edit-toolbar-arrow").
2628 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2629 graphics from theme)
2631 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2633 * src/hildon-picker-button.c:
2634 (hildon_picker_button_selector_selection_changed): Use
2635 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2636 the dialog is present.
2638 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2639 the selection is accepted in the dialog)
2641 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2643 * src/hildon-color-chooser.h
2644 * src/hildon-color-chooser-dialog.h:
2645 Added G_BEGIN_DECLS and G_END_DECLS
2647 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2649 (_clean_current_selection): plug a leak in the list.
2651 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2653 * src/hildon-picker-dialog.c:
2654 (+free_path_list): Method to free a GList of GtkTreePaths.
2655 (_clean_current_selection), (_save_current_selection),
2656 (_restore_current_selection): Save the current selection in
2657 as a list of lists, to support multiple selection properly.
2659 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2661 patch by Claudio Saavedra (csaavedra@igalia.com)
2663 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2664 Store the press position.
2665 (+hildon_text_view_button_release_event): If the release position is
2666 close enough to the press position, move the cursor here. Otherwise,
2668 (hildon_text_view_class_init): Override GtkTextView press, release, and
2669 motion event handlers, disabling this way text selection through
2670 pointer interaction, and allowing the container widget to handle the
2673 Fixes: NB#95828 (HildonTextView functionality)
2675 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2677 Based on a patch by Iván Gómez (igomez@igalia.com)
2679 * src/hildon-button.[ch]
2680 * src/hildon-calendar.c
2681 * src/hildon-check-button.c
2682 * src/hildon-date-editor.c
2683 * src/hildon-date-selector.c
2684 * src/hildon-picker-button.c
2685 * src/hildon-time-editor.c
2686 * src/hildon-time-selector.c
2687 * src/hildon-touch-selector.[ch]:
2688 Documentation updates
2690 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2692 * src/hildon-pannable-area.c,
2693 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2694 threshold, it was required due to X events handling.
2696 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2698 * src/hildon-pannable-area.c,
2699 (hildon_pannable_area_grab_notify),
2700 (hildon_pannable_area_initial_effect),
2701 (hildon_pannable_area_button_press_cb),
2702 (hildon_pannable_area_button_release_cb),
2703 (hildon_pannable_area_scroll_cb),
2704 (hildon_pannable_area_scroll_to): Review the timeout management of
2705 the scrollbar, the frecuency was incorrectly set.
2707 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2709 * src/hildon-picker-button.c:
2710 (+hildon_picker_button_on_dialog_response),
2711 (hildon_picker_button_clicked): Present the dialog instead of
2712 running it with gtk_dialog_run().
2714 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2717 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2719 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2720 (hildon_app_menu_finalize): When a window is hidden it doesn't
2721 emit notify::is-topmost, so make sure than the menu also
2722 disappears in that case.
2723 (parent_window_topmost_notify): Renamed from parent_window_hidden
2725 Fixes: NB#94460 (stackable window's menu is not closed when its
2728 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2730 * src/hildon-touch-selector-entry.c:
2731 (+hildon_touch_selector_entry_set_input_mode),
2732 (+hildon_touch_selector_entry_get_input_mode):
2733 * src/hildon-touch-selector-entry.h: New methods to access the input
2734 mode in the selector's entry.
2736 Fixes: NB#93410 (API required for setting IM mode in
2737 HildonTouchSelectorEntry)
2739 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2741 * configure.ac: post release version bump.
2742 * debian/changelog: version bump
2744 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2749 * configure.ac: Bump version.
2750 * debian/changelog: Updates.
2752 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2754 * src/hildon-touch-selector.c:
2755 (_hildon_touch_selector_has_multiple_selection): No need
2756 to initialize the variables here.
2758 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2760 * src/hildon-note-private.h
2761 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2762 (hildon_note_finalize, hildon_note_rebuild): Close information
2763 notes when they receive a button press.
2765 Fixes: NB#89890 (Information notes does not get disappeared after
2768 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2770 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2771 mark from the wizard title, as it's not really necessary. Also,
2772 do not display the page title if not set.
2774 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2776 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2777 (parent_window_hidden): Use the window's "is-topmost" property to
2778 detect when to hide the menu.
2780 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2782 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2783 (hildon_app_menu_finalize): If the parent window of the menu is
2784 hidden, hide the menu too.
2786 Fixes: NB#94460 (stackable window's menu is not closed when its
2789 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2792 * debian/libhildon1-examples.install
2794 * examples/Makefile.am:
2795 Use dh_install to install all examples.
2796 Use DEB_SRCDIR instead of defining SOURCE_DIR
2798 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2800 * configure.ac: post release version bump.
2801 * debian/changelog: version bump
2803 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2808 * configure.ac: bump version
2809 * debian/changelog: updates
2810 * debian/control: bump gtk+ dependency
2812 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2814 patch by Christian Dywan (christian@imendio.com)
2816 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2817 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2819 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2821 * src/hildon-check-button.c (hildon_check_button_init)
2822 (hildon_check_button_class_init, hildon_check_button_style_set)
2823 (hildon_check_button_apply_style):
2824 New "checkbox-size" style property.
2826 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2827 larger / configurable size)
2829 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2831 * configure.ac: post release version bump.
2832 * debian/changelog: version bump
2834 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2839 * configure.ac: bump version
2840 * debian/changelog: updates
2842 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2844 * doc/hildon-sections.txt
2845 * src/hildon-pannable-area.c
2846 * src/hildon-program.c
2847 * src/hildon-time-editor.c
2848 * src/hildon-touch-selector-entry.c:
2850 More documentation updates.
2852 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2854 * doc/hildon-sections.txt
2855 * src/hildon-caption.c
2856 * src/hildon-code-dialog.c
2857 * src/hildon-color-button.c
2858 * src/hildon-controlbar.c
2859 * src/hildon-date-editor.c
2860 * src/hildon-date-selector.c
2861 * src/hildon-edit-toolbar.c
2862 * src/hildon-find-toolbar.c
2863 * src/hildon-font-selection-dialog.c
2865 * src/hildon-program.c
2866 * src/hildon-range-editor.c
2867 * src/hildon-seekbar.c
2868 * src/hildon-time-editor.c
2869 * src/hildon-time-selector.c
2870 * src/hildon-volumebar-range.c
2871 * src/hildon-volumebar.c
2872 * src/hildon-vvolumebar.c
2873 * src/hildon-weekday-picker.c
2874 * src/hildon-window.c
2875 * src/hildon-wizard-dialog.c:
2877 Lots of documentation fixes.
2879 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2881 Patch contributed by Iván Gómez (igomez@igalia.com)
2883 * src/hildon-check-button.c:
2884 * src/hildon-date-button.c:
2885 * src/hildon-date-selector.c:
2886 * src/hildon-dialog.c:
2887 * src/hildon-edit-toolbar.c:
2888 * src/hildon-entry.c:
2889 * src/hildon-picker-button.c:
2890 * src/hildon-program.c:
2891 * src/hildon-text-view.c:
2892 * src/hildon-time-button.c:
2893 * src/hildon-touch-selector-entry.c:
2894 * src/hildon-window-stack.c:
2896 Add more "since" tags to the new API.
2898 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2900 * doc/hildon-sections.txt: Add below method.
2901 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2902 version for the hildonized scale.
2903 * src/hildon-gtk.h: Add the definition.
2905 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2907 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2909 * doc/hildon-sections.txt: Add missing entries for new methods.
2911 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2913 Added API to pannable are in order to get its adjustments. We
2914 added two properties to manage the values we had in the private
2917 * src/hildon-pannable-area.c:
2918 (hildon_pannable_area_class_init): Added hadjustment and
2919 vadjustment properties in order to expose horizontal and vertical
2921 (hildon_pannable_area_get_property),
2922 (hildon_pannable_area_set_property): Added code to handle the new
2924 (hildon_pannable_area_get_hadjustment),
2925 (hildon_pannable_area_get_vadjustment): API functions to get the
2927 * src/hildon-pannable-area.h:
2928 (hildon_pannable_area_get_hadjustment),
2929 (hildon_pannable_area_get_vadjustment): API functions to get the
2932 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2934 Fixed some leaks, after valgrinding.
2936 * src/hildon-touch-selector.c:
2937 (_default_print_func): Fixed a leak.
2938 (hildon_touch_selector_append_column): Fixed a leak.
2939 * src/hildon-date-button.c:
2940 (hildon_date_button_init): Fixed a leak.
2941 * src/hildon-date-selector.c
2942 (hildon_date_selector_finalize): Fixed a leak.
2944 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2946 Based on a patch by Christian Dywan (christian@imendio.com)
2948 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2950 * src/hildon-gtk.h: Add definition.
2952 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2954 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2956 * src/hildon-picker-button.c: (hildon_picker_button_init),
2957 (hildon_picker_button_new): Set the HildonButton::style property
2958 in the init method, to propagate the value to the derived classes.
2960 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2962 * src/hildon-button.c: (hildon_button_class_init): Do not make
2963 the "style" property a construct property.
2965 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2967 * src/hildon-wizard-dialog.h
2968 * src/hildon-wizard-dialog.c
2969 (hildon_wizard_dialog_set_forward_page_func)
2970 * src/hildon-pannable-area.h
2971 * src/hildon-pannable-area.c
2972 (hildon_pannable_area_set_size_request_policy):
2973 Documentation fixes.
2975 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2977 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2979 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2981 * doc/hildon-sections.txt: Added sections file.
2983 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2986 * src/*.[ch]: Updates.
2988 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2990 * examples/hildon-progress-indicator-example.c: new file
2991 * examples/Makefile.am: include the new example program
2993 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2995 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2997 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2999 * configure.ac: post release version bump
3000 * debian/changelog: version bump
3002 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3007 * configure.ac: bump version
3008 * debian/changelog: updates
3009 * debian/control: bump gtk+ dependency
3011 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3013 * src/hildon-dialog.c: Mark as deprecated.
3014 * src/hildon-dialog.h: Mark as deprecated.
3015 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3016 from HildonDialog and still work, even if
3017 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3018 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3020 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3021 maemo changes) instead)
3023 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3025 * src/hildon-pannable_area.h:
3026 * src/hildon-pannable_area.c:
3027 (hildon_pannable_area_class_init),
3028 (hildon_pannable_area_set_property),
3029 (hildon_pannable_area_get_property),
3030 (hildon_pannable_area_size_request),
3031 (hildon_pannable_area_get_size_request_policy),
3032 (hildon_pannable_area_set_size_request_policy): Added new API
3033 allowing applications to control the request policy. Now they can
3034 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3035 children allocation (HILDON_MOVEMENT_CHILDREN).
3037 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3041 (hildon_gtk_tree_view_set_ui_mode)
3042 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3043 mode of treeviews and iconviews.
3045 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3047 * src/hildon-touch-selector-entry.c:
3048 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3049 of a GtkEntry to get proper theming.
3051 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3052 widget, not GtkEntry)
3054 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3056 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3057 no HildonWizardDialogPageFunc.
3059 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3061 Patch contributed by Iván Gómez (igomez@igalia.com)
3063 * src/hildon-app-menu.c:
3064 * src/hildon-button.c:
3065 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3066 * src/hildon-stackable-window.c:
3067 * src/hildon-time-selector.c:
3068 * src/hildon-touch-selector.c:
3069 * src/hildon-window.c:
3071 Add more "since" tags to the new API in hildon 2.2.
3073 2008-12-05 Tim Janik <timj@imendio.com>
3075 Patch contributed by Christian Dywan (christian@imendio.com)
3077 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3078 HildonSizeType, which are supplied by Gtk+ now.
3080 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3082 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3083 (with maemo changes) instead)
3085 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3087 Patch contributed by Iván Gómez (igomez@igalia.com)
3089 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3092 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3094 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3095 (some_page_func), (main): Update the example to use a
3096 HildonWizardDialogPageFunc function.
3098 * src/hildon-wizard-dialog-private.h: Add private data for
3099 the HildonWizardDialogPageFunc function usage.
3101 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3102 (destroy), (hildon_wizard_dialog_init), (response),
3103 (hildon_wizard_dialog_set_forward_page_func):
3104 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3105 that applications can use to stop a HildonWizardDialog to jump to
3108 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3111 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3113 * src/hildon-program.h
3114 * src/hildon-program-private.h
3115 * src/hildon-program.c (hildon_program_init)
3116 (hildon_program_set_common_app_menu)
3117 (hildon_program_get_common_app_menu):
3118 New API for setting a common HildonAppMenu for all
3119 HildonStackableWindows registered with the HildonProgram.
3121 * src/hildon-stackable-window.c
3122 (hildon_stackable_window_toggle_menu):
3123 Use the common HildonAppMenu if a window doesn't have a specific
3126 * src/hildon-app-menu-private.h
3127 * src/hildon-app-menu.c
3128 (hildon_app_menu_get_parent_window):
3129 Function to obtain the window a HildonAppMenu is attached to.
3130 (hildon_app_menu_set_parent_window):
3131 Hide the menu if the parent window is set to NULL.
3133 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3135 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3136 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3137 search widget to popup.
3139 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3141 * configure.ac: post release version bump
3142 * debian/changelog: version bump
3144 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3149 * configure.ac: bump version
3150 * debian/changelog: updates
3152 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3154 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3156 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3157 (hildon_window_stack_window_realized)
3158 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3159 Set the leader GdkWindow when a window is stacked and realized,
3160 unset it when it's unstacked.
3161 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3163 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3165 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3167 * src/hildon-stackable-window.h
3168 * src/hildon-window-stack.h:
3169 Protect definition of HildonWindowStack using the preprocessor.
3171 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3173 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3174 Fix warning if all menu items are hidden.
3176 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3178 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3180 * src/hildon-controlbar.c:
3181 * src/hildon-hvolumebar.c:
3182 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3183 Multiple scale size defines updates.
3185 Fixes: NB#94322 (Scale Updates)
3187 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3189 * examples/hildon-app-menu-example.c (create_menu)
3190 Show items after adding them to the menu, as in the future the
3191 menu will no longer call gtk_widget_show() on the added items.
3193 * src/hildon-app-menu.c:
3194 Update example as explained above.
3196 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3198 * src/hildon-app-menu.c
3199 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3200 Make sure that all menu items have finger height.
3202 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3204 * src/hildon-picker-dialog.c:
3205 (_on_dialog_response), (_save_current_selection),
3206 (_restore_current_selection), (_clean_current_selection),
3207 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3208 Defined new functions in order to save the current internal selector
3209 selection previous open the dialog, in case that the use cancel the
3210 interaction, so the widget restores the previous selection.
3212 Fixes: NB#92032 (In calendar application, date values in 'new event'
3215 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3217 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3219 * src/hildon-button.c: Add a reference to the button examples in
3220 hildon-button-example.c
3222 * examples/hildon-button-example.c: Added examples of the most
3223 common button layouts.
3225 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3227 * src/hildon-app-menu.c (hildon_app_menu_show)
3228 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3230 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3232 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3234 * src/hildon-picker-dialog.c:
3235 (hildon_picker_dialog_init): Initialize the signal id for
3236 HildonTouchSelector::columns-changed.
3237 (+on_selector_columns_changed): Set up the interaction mode everytime a
3238 column is added or removed from the HildonTouchSelector.
3239 (_hildon_picker_dialog_set_selector): Connect to
3240 HildonTouchSelector::columns-changed and keep track of it.
3242 Make sure to update the interaction mode of the dialog everytime a
3243 column is added or removed in the HildonTouchSelector.
3245 Fixes: NB#93228 (Done button is not shown always in listpicker)
3247 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3249 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3250 a new ::columns-changed signal.
3251 (hildon_touch_selector_append_column): Emit ::columns-changed.
3252 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3254 Add a ::columns-changed signal, emitted when the number of columns in a
3255 HildonTouchSelector changes.
3257 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3259 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3260 (_hildon_picker_dialog_set_selector): Factor out the code
3261 to set up the dialog interaction mode.
3263 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3265 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3266 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3267 to signal_changed_id.
3269 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3271 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3274 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3276 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3277 Updated the logical ids related to ampm format, as now it is required to
3278 show it correctly localized even on languages with no default
3279 abbreviations for am or pm
3280 (_check_am_pm_format): check correctly the 24h format gconf property
3282 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3284 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3286 * src/hildon-button.c: Documentation updates.
3288 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3290 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3291 * src/hildon-caption.c: (hildon_caption_class_init):
3292 * src/hildon-color-button.c: (hildon_color_button_class_init):
3293 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3294 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3295 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3296 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3298 Remove deprecated GTK+ marshalers and replace them with the ones
3299 provided by GLib, for those available, add a marshaler for
3300 BOOLEAN:VOID, which is not available in GLib, and use it.
3302 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3304 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3305 the text from the previous column if there is no
3306 HildonTouchSelectorColumn::text-property set.
3308 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3310 * src/hildon-button.h
3311 * src/hildon-button.c (hildon_button_set_property)
3312 (hildon_button_get_property, hildon_button_class_init)
3313 (hildon_button_set_style, hildon_button_get_style):
3314 New "style" property to change the visual appearance of the
3317 * src/hildon-picker-button.c (hildon_picker_button_new):
3318 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3320 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3321 HildonButton look like PickerButton)
3323 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3325 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3326 column while building the default string.
3328 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3330 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3331 scroll indicator by default.
3333 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3335 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3337 * src/hildon-main.c: Fix the documentation for hildon_init()
3339 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3341 * doc/hildon-docs.sgml
3345 * src/hildon-window-stack-private.h
3346 * src/hildon-window-stack.h
3347 * src/hildon-window-stack.c:
3348 New HildonWindowStack object, that adds support for multiple
3349 stacks of windows per process.
3351 * src/hildon-stackable-window-private.h
3352 * src/hildon-stackable-window.h
3353 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3354 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3355 (hildon_stackable_window_show, hildon_stackable_window_hide)
3356 (hildon_stackable_window_class_init)
3357 (hildon_stackable_window_init):
3358 Use HildonWindowStack for stack management.
3360 * src/hildon-program.c (hildon_program_pop_window_stack)
3361 (hildon_program_peek_window_stack)
3362 (hildon_program_go_to_root_window):
3363 Add a fallback implementation to the deprecated functions using
3366 * examples/hildon-stackable-window-example.c:
3367 Use the new HildonWindowStack API.
3369 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3371 * src/hildon-stackable-window-private.h
3372 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3373 (hildon_stackable_window_hide, hildon_stackable_window_init):
3374 Remove all window stack management.
3376 * src/hildon-program-private.h
3377 * src/hildon-program.h
3378 * src/hildon-program.c (hildon_program_init)
3379 (hildon_program_pop_window_stack)
3380 (hildon_program_peek_window_stack)
3381 (hildon_program_go_to_root_window):
3382 Remove all window stack management and mark functions as
3385 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3387 * src/hildon-app-menu.c (hildon_app_menu_realize):
3388 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3390 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3392 * configure.ac: post release version bump
3393 * debian/changelog: version bump
3395 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3400 * configure.ac: bump version
3401 * debian/changelog: updates
3403 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3405 Based on initial code by Christian Dywan (christian@imendio.com)
3407 * doc/hildon-docs.sgml: Add section for hildon-main.
3408 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3409 * src/Makefile.am: Add new hildon-main.[ch]
3410 * src/hildon-defines.h: Update the icon sizes.
3411 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3412 new library initialization files and register icon sizes.
3413 * src/hildon-main.h: New declarations.
3414 * src/hildon.h: Include hildon-main.h
3416 Add new initialization functions to the library. These methods
3417 will register the hildon specific icon sizes and can be used in the
3418 future for other hildon specific bits.
3420 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3422 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3424 * src/hildon-window.c: (hildon_window_realize),
3425 (hildon_window_notify), (-hildon_window_update_title): Do not set
3426 the application name in the window title.
3428 Fixes: NB#89754 (Applications shouldn't display their names in the
3431 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3433 * src/hildon-note-private.h:
3434 * src/hildon-note.c: (hildon_note_set_property),
3435 (hildon_note_get_property), (hildon_note_class_init),
3436 (hildon_note_init), (hildon_note_finalize),
3437 (hildon_note_new_confirmation_with_icon_name),
3438 (hildon_note_new_information_with_icon_name):
3440 No need to mark as deprecated the actual code. Revert
3441 to avoid missing symbols in widgets using deprecated API.
3443 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3445 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3447 * src/hildon-volumebar.h
3448 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3449 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3451 * src/hildon-helper.h
3452 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3453 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3455 * examples/Makefile.am:
3456 Deprecate hildon-insensitive-example
3458 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3460 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3462 * examples/hildon-pannable-area-buttons-scroll-example.c:
3463 Make all buttons finger height
3465 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3467 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3469 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3470 update the day model only if it is really required, and to avoid the
3471 full-reconstruction aproach. Now it only add or remove the required days.
3473 The purpose of this is avoid superfluous HildonTouchSelector::changed
3476 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3477 with strange parameters)
3479 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3481 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3483 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3484 the WINDOW_TYPE property.
3486 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3488 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3491 Fix dependency to allow parallel compilation with make -jX
3493 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3495 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3496 color frame and some minor tweaks to make it more consistent with
3499 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3500 highlighted but not visible)
3502 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3504 * examples/Makefile.am: Fixed typo in the Makefile.am.
3506 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3508 Reviewed the use of MAEMO_GTK define, now we add the define in the
3509 compilation line, and we also add it to the pc file.
3511 * configure.ac: Added MAEMO_GTK define to the compilation command
3512 and removed it from the config.h.
3514 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3515 do not have to take care about this define if the library was
3519 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3521 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3523 * examples/Makefile.am,
3524 * examples/hildon-pannable-area-buttons-scroll-example.c,
3525 * examples/hildon-pannable-area-gesture-signals-example.c,
3526 * examples/hildon-pannable-area-scroll-jump-example.c,
3527 * examples/hildon-pannable-area-tree-view-example.c:
3528 Renamed the pannable area examples, now they have more meaningful
3531 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3533 * src/hildon-touch-selector.c:
3534 (hildon_touch_selector_set_column_selection_mode): Used of
3535 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3536 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3537 to avoid re-seting the same selection mode.
3539 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3540 breaks HildonPickerDialog)
3542 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3544 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3545 conditional in the Makefile.am
3547 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3549 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3550 Remove unused methods.
3552 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3554 * src/hildon-button.c (hildon_button_init):
3555 Make button images center-aligned by default
3557 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3560 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3561 activated, we have to think about how to deal with both defines
3562 MAEMO_GTK and MAEMO_CHANGES.
3564 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3566 * examples/hildon-app-menu-example.c (create_menu): Make all
3567 buttons finger size.
3569 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3571 Fixed the compilation without maemo gtk adding ifdefs with
3572 MAEMO_GTK define to the code, we have to check this version more
3575 * examples/Makefile.am: Added control to avoid some examples that
3576 just make sense with maemo gtk.
3579 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3580 hildon modes with the define.
3582 * examples/hildon-edit-toolbar-example.c,
3583 (create_icon_view): Create the icon view without hildon-gtk
3584 helpers if we are not using maemo gtk.
3586 * src/hildon-touch-selector.c,
3587 (_create_new_column): Create the treeview without hildon-gtk
3588 helpers if we are not using maemo gtk.
3590 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3592 * src/hildon-pnnable-area.c,
3593 (hildon_pannable_area_dispose),
3594 (hildon_pannable_area_button_press_cb),
3595 (hildon_pannable_area_child_mapped),
3596 (hildon_pannable_area_add),
3597 (hildon_pannable_area_remove): Added code to control the position
3598 of the event_window when adding and removing children from the
3599 pannable. We have to raise the event window when the child is
3602 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3603 selection mode using custom widget inside pannable)
3605 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3607 * configure.ac: post release version bump
3608 * debian/changelog: version bump
3610 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3615 * configure.ac: bump version
3616 * debian/changelog: updates
3618 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3620 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3621 search mode, in order to avoid lose the focus on the treeview when
3622 a hw key (like enter) is pressed.
3624 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3625 in HildonDateSelector dialog)
3627 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3629 * debian/rules: Added --enable-maintainer-mode
3630 * Makefile.am: Added ACLOCAL_AMFLAGS
3632 This allows to properly regenerate the Makefiles if you modify the
3633 configure.ac or any Makefile.am.
3635 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3637 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3638 properties, not needed at all.
3640 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3642 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3644 * src/hildon-note.c: (hildon_note_set_property),
3645 (hildon_note_get_property), (hildon_note_class_init),
3646 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3647 (hildon_note_new_confirmation_add_buttons): Remove icons.
3648 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3649 (hildon_note_new_information_with_icon_name): Deprecate.
3650 (hildon_note_new_confirmation): Act directly, without calling
3651 the deprecated constructor.
3652 (hildon_note_new_information): Act directly, without calling
3653 the deprecated constructor.
3654 * src/hildon-note.h: Mark deprecate methods as such.
3655 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3656 not run tests on the deprecated methods if built with deprecation
3659 Fixes: NB#91688 (Never show icons in information notes/confirmation
3662 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3664 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3665 (hildon_app_menu_key_press): Remove leftover usage of the
3666 private structure in HildonAppMenu struct.
3667 * src/hildon-app-menu.h: Remove leftover private structure
3668 from the HildonAppMenu struct.
3670 Fixes a crasher when using the HildonAppMenu.
3672 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3674 * src/hildon-picker-dialog.c: Use appropriate logical id
3675 for the default "Done" text.
3677 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3679 * configure.ac: post release version bump
3680 * debian/changelog: version bump
3682 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3684 Modified the way to scroll to the current selection just when the touch
3685 selector is shown on the screen, avoiding a g_idle. Added too a property
3686 to configure this behaviour. See hildon_pannable_area_jump_to_child
3687 documentation for more information.
3689 * src/hildon-touch-selector.c
3690 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3691 Added 'initial-scroll' property
3692 (hildon_touch_selector_set_property): Added
3693 (hildon_touch_selector_map): Removed as not required anymore
3694 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3695 only a concrete column, instead of iterate along all the columns
3697 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3702 * configure.ac: bump version
3703 * debian/changelog: updates
3705 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3707 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3708 compilation time warnings.
3710 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3712 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3713 the default value for HildonPannableArea::mov-mode to
3714 HILDON_PANNABLE_AREA_MODE_VERT.
3716 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3718 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3720 Reverting following commit:
3722 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3724 * src/hildon-app-menu-private.h
3725 * src/hildon-app-menu.[ch]
3726 * src/hildon-button.[ch]
3727 * src/hildon-check-button.[ch]
3728 * src/hildon-entry.[ch]
3729 * src/hildon-pannable-area.[ch]
3730 * src/hildon-text-view.[ch]:
3731 Added private field to the object's structure.
3733 because it causes an ABI breakage. We will need to introduce these
3734 changes later at some point. See NB#91636 for an extensive
3735 explanation and status.
3737 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3739 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3741 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3742 remove special cases that are no longer necessary.
3744 Fixes: NB#91016 (Change toolbar sizes, simplification)
3746 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3748 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3749 is shown in the cancel note.
3751 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3753 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3754 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3755 (hildon_seekbar_init): Remove steppers, remove expose event.
3756 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3758 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3760 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3762 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3763 label font to "SmallSystemFont" for vertically arranged buttons.
3765 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3768 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3770 * src/hildon-check-button.c
3771 (hildon_check_button_set_active, hildon_check_button_clicked):
3772 Don't access private parts directly, use getters instead.
3774 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3776 * src/hildon-check-button.c (hildon_check_button_new):
3777 Align the contents of the check button to the left.
3779 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3781 * src/hildon-pannable-area.c,
3782 (hildon_pannable_area_scroll_to),
3783 (hildon_pannable_area_jump_to),
3784 (hildon_pannable_area_scroll_to_child),
3785 (hildon_pannable_area_jump_to_child): Replace the mapped
3786 precondition of these functions with the realized, it is the
3787 correct state of the widget in this case. Changed the
3788 documentation according to this modification.
3790 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3792 Added a new EXTRA_CFLAGS option to add the deprecated define to
3793 the compilation command. This way we can avoid using the define in
3794 the documentation compilation.
3796 * configure.ac: Defined EXTRA_CFLAGS.
3798 * examples/Makefile.am:
3800 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3802 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3804 * src/hildon-picker-dialog.c:
3805 Defined a utility macro with the desired touch selector height
3806 Removed currently unused separator, and title_label variables from
3808 (hildon_picker_dialog_init): Removed code related to the creation
3809 of unused private variables title_label and separator.
3810 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3811 to ensure correct visualization of the touch selector inside the dialog.
3812 * src/hildon-touch-selector.c
3813 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3814 ensure a concrete height of the widget.
3816 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3819 * tests/Makefile.am:
3821 Remove spurious whitespaces.
3823 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3825 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3826 compilation warning after the cancel button removal.
3828 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3830 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3832 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3833 Makefile.am, that way we can choose not to compile some examples
3834 and tests of the deprecated widgets.
3836 * examples/Makefile.am: Divided the sources in deprecated and
3839 * src/Makefile.am: Added undef statement of the deprecated
3840 symbol to the enums file generation process.
3842 * src/hildon-color-chooser-dialog.c
3843 * src/hildon-color-chooser-dialog.h
3844 * src/hildon-color-button.c
3845 * src/hildon-color-button.h
3846 * src/hildon-color-chooser.c
3847 * src/hildon-color-chooser.h
3848 * src/hildon-controlbar.c
3849 * src/hildon-controlbar.h
3850 * src/hildon-date-editor.c
3851 * src/hildon-date-editor.h
3852 * src/hildon-hvolumebar.c
3853 * src/hildon-hvolumebar.h
3854 * src/hildon-private.c
3855 * src/hildon-private.h
3856 * src/hildon-range-editor.c
3857 * src/hildon-range-editor.h
3858 * src/hildon-seekbar.c
3859 * src/hildon-seekbar.h
3860 * src/hildon-time-editor.c
3861 * src/hildon-time-editor.h
3862 * src/hildon-time-picker.c
3863 * src/hildon-time-picker.h
3864 * src/hildon-volumebar.c
3865 * src/hildon-volumebar.h
3866 * src/hildon-vvolumebar.c
3867 * src/hildon-vvolumebar.h
3868 * src/hildon-bread-crumb-trail.h
3869 * src/hildon-bread-crumb-trail.c
3870 * src/hildon-calendar-popup.c
3871 * src/hildon-calendar-popup.h
3872 * src/hildon-weekday-picker.c:
3873 * src/hildon-weekday-picker.h:
3874 * src/hildon-bread-crumb-widget.c:
3875 * src/hildon-bread-crumb-widget.h:
3876 * src/hildon-bread-crumb.c:
3877 * src/hildon-bread-crumb.h:
3878 * src/hildon-calendar.c:
3879 * src/hildon-calendar.h:
3880 * src/hildon-caption.c:
3881 * src/hildon-code-dialog.c:
3882 * src/hildon-code-dialog.h:
3883 * src/hildon-font-selection-dialog.c:
3884 * src/hildon-font-selection-dialog.h:
3885 * src/hildon-get-password-dialog.c:
3886 * src/hildon-get-password-dialog.h:
3887 * src/hildon-login-dialog.c:
3888 * src/hildon-login-dialog.h:
3889 * src/hildon-number-editor.c:
3890 * src/hildon-number-editor.h:
3891 * src/hildon-set-password-dialog.c:
3892 * src/hildon-set-password-dialog.h:
3893 * src/hildon-sort-dialog.c:
3894 * src/hildon-sort-dialog.h: This is the list of deprecated
3897 * src/hildon-touch-selector.c:
3898 * src/hildon-window.c: Added undef statement to avoid compilation
3901 * tests/Makefile.am: Divided the sources in deprecated and
3904 * tests/check_test.c,
3905 (configure_tests): Marked the deprecated code that was adding
3906 suites with deprecated tests.
3908 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3910 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3912 * src/hildon-touch-selector.c: (_default_print_func): Do not
3913 duplicate a string returned by gtk_tree_model_get(), it is already
3916 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3919 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3921 * src/hildon-pannable-area.c
3922 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3923 method, it had problems when adding a widget with viewport the
3924 second time. Now checks if it already has a viewport and uses it.
3926 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3929 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3931 * src/hildon-pannable-area.c,
3932 (hildon_pannable_area_scroll_to),
3933 (hildon_pannable_area_jump_to),
3934 (hildon_pannable_area_scroll_to_child),
3935 (hildon_pannable_area_jump_to_child): Added a precondition to the
3936 scroll and jump to functions: the widget must be mapped before we
3937 can safely call these functions. We have also added documentation
3938 to the functions to explain how to use them in this situation.
3941 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3943 Reviewed the threading handling of the pannable widget, we have
3944 used the gdk_threads_add_timeout function instead of the usual
3945 glib handlers. This avoids some problems with the threads.
3947 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3948 (hildon_pannable_area_initial_effect),
3949 (hildon_pannable_area_scroll_indicator_fade),
3950 (hildon_pannable_area_button_press_cb),
3951 (hildon_pannable_area_timeout),
3952 (hildon_pannable_area_motion_notify_cb),
3953 (hildon_pannable_area_button_release_cb),
3954 (hildon_pannable_area_scroll_cb),
3955 (hildon_pannable_area_scroll_to): Removed the
3956 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3957 gdk_threads_add_timeout.
3959 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3961 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3966 * configure.ac: bump version
3967 * debian/changelog: updates
3969 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3971 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3972 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3973 * src/hildon-color-chooser-dialog.c:
3974 (hildon_color_chooser_dialog_init):
3975 * src/hildon-font-selection-dialog.c:
3976 (hildon_font_selection_dialog_init):
3977 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3979 Remove all cancel/close-like dialogs, as these are not going to be
3982 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3984 * src/hildon-note.c: (hildon_note_rebuild),
3985 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3988 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3990 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3992 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3993 sure all buttons are shown, even the Cancel/Close-like ones.
3995 Fixes: NB#90861 (Custom Confirmation dialogs should be
3996 protected from cancel button removal)
3998 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4000 * debian/control: Change libhildon1-examples dependency from libhildon1
4002 * debian/libhildon1-examples.install
4004 * Makefile.am: Modified the final install directory for the examples on
4005 package libhildon1-examples
4006 * Makefile.static: Update clean target in order to remove all the binary
4009 Changes suggested by Claudio after review new libhildon1-examples package
4011 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4013 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4014 * src/hildon-touch-selector.c: Ditto.
4016 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4018 * debian/control: Added new package libhildon1-examples, in order to pack
4019 the current hildon examples as documentation
4020 * debian/rules: Not to compress .c files, modify some includes on the
4021 examples (as normally are compiled locally, but when installed it will
4022 require to include the installed libhildon1 library), and rename
4024 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4025 install all the example files on the new example package
4026 * examples/Makefile.static: Added static makefile that can be used to
4027 compile the examples, once installed the new example package
4028 * examples: Most of the examples were modified in order to grant that
4029 all use only '#include "hildon.h"', in order to be easy to prepare
4030 it on the example package
4032 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4035 * debian/libhildon1-dev.install
4036 * debian/libhildon1-doc.install:
4037 Move all gtk-doc files to a separate libhildon1-doc package.
4039 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4041 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4043 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4045 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4047 * debian/rules: Fixed a error in order to avoid unnecessary calls
4048 to autogen.sh on package building
4050 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4052 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4054 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4056 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4059 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4061 * src/hildon-picker-button.c
4062 (hildon_picker_button_finalize):
4063 Free priv->done_button_text
4065 * src/hildon-time-button.c
4066 (hildon_time_button_set_time)
4067 * src/hildon-picker-button.c
4068 (hildon_picker_button_clicked)
4069 (hildon_picker_button_selector_selection_changed)
4070 (hildon_picker_button_set_selector)
4071 * src/hildon-date-button.c
4072 (hildon_date_button_set_date):
4073 Free strings returned by hildon_touch_selector_get_current_text()
4075 * src/hildon-button.c (hildon_button_construct_child):
4076 Fix leaks in priv->image and priv->label_box
4078 Fixes: NB#90535 (Memory leak in picker button)
4080 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4082 * src/hildon-button.c: (hildon_button_get_property): Do not access
4083 private elements directly, use getters instead.
4085 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4087 * src/hildon-app-menu-private.h
4088 * src/hildon-app-menu.c
4089 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4090 Store the menu's parent window.
4092 * src/hildon-stackable-window.c
4093 (hildon_stackable_window_toggle_menu)
4094 (hildon_stackable_window_finalize):
4095 Set the menu's parent window when the menu is shown, unset it when
4098 * src/hildon-app-menu.c
4099 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4100 (hildon_app_menu_class_init):
4101 Send unhandled keyboard accelerators to the parent window.
4103 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4105 * src/hildon-stackable-window.c
4106 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4108 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4110 * configure.ac: post release version bump
4112 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4115 * configure.ac: Bump version
4116 * debian/changelog: Updates
4117 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4120 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4122 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4125 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4126 GtkMenu with Hildon style.
4128 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4130 * src/hildon-picker-button.c:
4131 (hildon_picker_button_set_done_button_text): Set the dialog's
4132 done button text here as well.
4134 Fixes: NB#90232 (Picker button does not set the label on done button
4135 for the second time)
4137 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4139 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4142 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4144 * src/hildon-app-menu.c (hildon_app_menu_insert)
4145 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4146 the HildonAppMenu to be activatable using keyboard accelerators
4147 when the menu is not being shown.
4149 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4151 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4153 * src/hildon-stackable-window.c
4154 (hildon_stackable_window_show):
4155 Don't hide old windows automatically when new windows are shown:
4156 this is now a task for the window manager.
4157 (hildon_stackable_window_class_init)
4158 (hildon_stackable_window_hide):
4159 Remove windows from the stack everytime they're hidden.
4160 (hildon_stackable_window_realize):
4161 Don't change the _NET_WM_WINDOW_TYPE property. Use
4162 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4163 it as a stackable window.
4165 * src/hildon-program.c
4166 (hildon_program_pop_window_stack):
4167 Just hide the window to remove it from the stack.
4168 (hildon_program_go_to_root_window):
4169 Don't call gtk_widget_show(), this is now a task for the window
4172 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4174 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4176 * src/hildon-button.c
4177 (hildon_button_construct_child):
4178 Don't pack anything in the button until text or image are
4179 set. This allows adding a custom child after creating the button
4180 with hildon_button_new().
4181 (hildon_button_finalize, hildon_button_class_init)
4182 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4183 alignment and the label box even when they're not packed in the
4186 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4188 * src/hildon-touch-selector.h:
4189 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4190 currently the type definition was using GTK_TYPE_VBOX
4191 * src/hildon-touch-selector.c:
4192 Added some implementation notes in order to clarify that any other widget
4193 added without the column related API will not be included on the
4194 selection logic, and how the widget is freed, as some people ask about
4196 (hildon_touch_selector_remove): Reimplemented in order to free properly
4197 the column related data when you remove the private hbox.
4198 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4199 to get a proper HildonTouchSelectorColumn documentation
4201 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4203 * src/hildon-touch-selector-entry.c:
4204 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4205 text in the GtkEntry and there is no item selected. Fixes a
4208 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4210 * src/hildon-app-menu-private.h
4211 * src/hildon-app-menu.[ch]
4212 * src/hildon-button.[ch]
4213 * src/hildon-check-button.[ch]
4214 * src/hildon-entry.[ch]
4215 * src/hildon-pannable-area.[ch]
4216 * src/hildon-text-view.[ch]:
4217 Added private field to the object's structure.
4219 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4221 * configure.ac: post-release version bump
4223 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4227 * configure.ac: pre-release version bump
4229 * debian/changelog: updates.
4231 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4233 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4234 Disconnect the handler for HildonTouchSelector::changed.
4236 (hildon_picker_button_selector_selection_changed): Update the button
4237 value if the selection change was not triggered by the
4240 (hildon_picker_button_set_selector): connect to
4241 HildonTouchSelector::changed.
4243 Fixes: NB#89650 (Picker button is not updated, when selection in
4244 selector has changed)
4246 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4248 * src/hildon-picker-dialog.c
4249 (hildon_picker_dialog_realize): Removed as not required
4250 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4251 * src/hildon-picker-button.c
4252 (_current_selector_empty): New function, checks if the selector is empty
4253 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4254 if the current selector is empty, in order to avoid to show the dialog
4255 close the dialog in this case (and shows a g_warning).
4257 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4259 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4261 * src/hildon-pannable-area.c,
4262 (hildon_pannable_area_scroll): Added clause to stop movement when
4263 the child of pannable is smaller than one page.
4264 (hildon_pannable_area_scroll_to): Added conditions to avoid
4265 starting the scrolling movement if the child is smaller than one
4266 page, the complete child is in the screen, we do not have to move.
4268 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4270 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4272 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4273 this is managed automatically by the widget when the size of the
4276 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4278 * src/hildon-picker-button.c
4279 (hildon_picker_button_set_done_button_text): Make a copy of the
4280 text, and free the previous value.
4282 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4284 * src/hildon-touch-selector-entry.c:
4285 (hildon_touch_selector_entry_print_func): Return the selected row's
4286 text if the entry is empty.
4288 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4291 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4293 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4295 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4298 * src/hildon-check-button.h
4299 * src/hildon-check-button.c
4300 * examples/hildon-check-button-example.c:
4301 HildonCheckButton is now a new widget. 'toggled' signal added.
4303 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4305 * src/hildon-program-private.h
4306 * src/hildon-program.c (hildon_program_init)
4307 (hildon_program_finalize): Removed unused variables group_leader
4308 and name from HildonProgramPrivate.
4310 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4312 * src/hildon-check-button.c (hildon_check_button_set_active)
4313 (hildon_check_button_get_active, hildon_check_button_new): Use
4314 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4316 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4318 * src/hildon-touch-selector.h
4319 (hildon_touch_selector_set_column_attributes): added deprecation
4320 guard HILDON_DISABLE_DEPRECATED
4321 * src/hildon-time-selector.c
4322 (hildon_time_selector_set_time)
4323 (hildon_time_selector_get_time): Fixed a typo on documentation
4324 * src/hildon-touch-selector.c: update HildonTouchSelector and
4325 HildonTouchSelectorColumn documentation
4326 * src/hildon-touch-selector-entry.c: update "text-column" property
4328 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4329 to be added to the general documentation.
4331 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4333 * examples/hildon-pannable-area-example-4.c,
4335 * examples/hildon-pannable-area-example.c,
4336 (main): Modified the code in order to use the container add, with
4337 viewport treeviews could have problems if they are really big.
4339 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4341 * src/hildon-weekday-picker.c,
4342 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4343 the agreement regarding deprecation in the library.
4345 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4347 * examples/hildon-picker-button-multicolumn-example.c:
4348 (main): Use custom "done" button text.
4350 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4351 (hildon_picker_button_set_property),
4352 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4353 (hildon_picker_button_init),
4354 (+hildon_picker_button_get_done_button_text),
4355 (+hildon_picker_button_set_done_button_text): New methods to customize
4356 the "done" button label in the launched HildonPickerDialog. Also,
4359 * src/hildon-picker-button.h: add the public API.
4361 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4363 * src/hildon-date-selector.h:
4364 * src/hildon-picker-dialog.h:
4365 * src/hildon-time-selector.h:
4366 * src/hildon-touch-selector-column.h:
4367 * src/hildon-touch-selector.h:
4369 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4370 declarations. Fixes gtk-doc warnings.
4372 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4374 * src/hildon-picker-dialog.h
4375 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4376 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4378 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4379 long text is set as label for done button)
4381 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4383 * src/hildon-dialog.c (hildon_dialog_add_button):
4384 Set fixed width to all buttons in the HildonDialog.
4386 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4388 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4390 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4391 Set widget name using class name plus "-finger" or "-thumb".
4393 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4395 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4396 'clicked' when the state of the button is manually changed.
4398 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4400 * src/hildon-app-menu.c (hildon_app_menu_realize)
4401 (hildon_app_menu_unrealize, hildon_app_menu_init)
4402 (hildon_app_menu_class_init, item_visibility_changed):
4403 Change the menu layout when the size of the screen changes.
4404 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4405 Show warning only when changing the number of colums using the
4408 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4410 * debian/compat: Set to 5
4411 * debian/control: Update dependencies.
4412 * debian/libhildon1-dbg.install: Remove.
4413 * debian/libhildon1-dev.install: Update according to cdbs paths.
4414 * debian/libhildon1.install: Update according to cdbs paths.
4415 * debian/rules: Switch to cdbs.
4417 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4419 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4420 'item' variable renamed to 'filter'
4422 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4424 * src/hildon-app-menu.c (hildon_app_menu_insert)
4425 (hildon_app_menu_add_filter, remove_item_from_list)
4426 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4427 Don't leak hidden items when the menu is destroyed.
4429 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4431 * src/hildon-app-menu.c (hildon_app_menu_insert)
4432 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4433 (hildon_app_menu_set_columns, item_visibility_changed)
4434 (filter_visibility_changed, hildon_app_menu_repack_filters)
4435 (hildon_app_menu_repack_items):
4436 Repack items and filters separately.
4438 Don't repack all items, change only the ones that are needed to
4441 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4443 * src/Makefile.am: added hildon-touch-selector-column.h
4445 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4447 * src/hildon-touch-selector.c: added the property "text-column" to the
4448 class HildonTouchSelectorColumn, and related get/set functions
4449 (_default_printf_func): updated to use "text-column" property
4450 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4451 "text-column" in his documentation, as this is now included on
4452 HildonTouchSelectorColumn. The get/set_property can still be used,
4453 working as a wrapper to the concrete column "text-column" property
4454 (_text_column_modified): callback added in order to handle the signal
4455 "notify::text-column" of the concrete HildonTouchSelectorColumn
4456 (hildon_touch_selector_entry_get_text_column)
4457 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4458 modified in order to use the HildonTouchSelectorColumn "text-column"
4460 * src/hildon-time-selector.c:
4461 * src/hildon-date-selector.c:
4462 * examples/hildon-touch-selector-example.c
4463 * examples/hildon-touch-selector-multi-cells-example.c
4464 * examples/hildon-picker-button-multicolumn-example.c
4465 Set the right value to "text-column" property on the creation of a new
4466 column using hildon_touch_selector_append_column()
4468 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4470 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4472 * src/hildon-app-menu.c
4473 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4474 updating the layout of the menu, don't create all widgets again,
4475 just repack the items in their new places.
4477 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4479 * src/hildon-time-selector.c
4480 (hildon_time_selector_get_time)
4481 (hildon_time_selector_set_time)
4482 Added documentation of these public methods
4484 * src/hildon-date-button.h
4485 * src/hildon-touch-selector-column.h
4486 * src/hildon-time-button.h
4487 * src/hildon-picker-dialog.h
4488 * src/hildon-time-selector.h
4489 * src/hildon-picker-button.h
4490 * src/hildon-touch-selector.h
4491 * src/hildon-time-picker.h
4492 * src/hildon-date-selector.h
4493 * src/hildon-touch-selector-entry.h
4494 Modified in order to use hildon-widgets code style
4496 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4498 Added deprecated support to the compilation process using
4499 HILDON_DISABLE_DEPRECATED
4501 * configure.ac: Added the --disable-deprecated to the configure
4504 * src/hildon-weekday-picker.c:
4505 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4506 to use the deprecated support. We will update the other deprecated
4507 widgets status in a new patch.
4509 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4511 * configure.ac: Fixed typo with fatal warnings support, the
4512 variable name was not correct
4514 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4516 * src/hildon-app-menu.c
4517 * src/hildon-program.c: Update documentation.
4519 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4521 * configure.ac: Post-release version bump.
4523 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4528 * configure.ac: Pre-release version bump.
4529 * debian/changelog: Updates.
4531 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4533 * NEWS: Update news for previous releases.
4535 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4537 * examples/hildon-touch-selector-multi-cells-example.c:
4538 (create_selector): Update the example to use
4539 hildon_touch_selector_append_column() with a NULL renderer and set
4540 the renderers later.
4541 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4542 passed a NULL renderer. This is documented behavior now.
4544 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4545 This must be used if the developer wants full control on the layout of
4546 the renderers to be added to the column.
4548 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4550 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4552 * src/hildon-touch-selector.c: Documentation fixes.
4554 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4556 * src/hildon-wizard-dialog-private.h: Remove image and box.
4557 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4558 (hildon_wizard_dialog_set_property), (response): Completely remove
4559 image/icon support, and the containers required for the layout.
4561 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4563 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4565 * src/hildon-app-menu.c: Updated documentation.
4567 * src/hildon-stackable-window.c
4568 (hildon_stackable_window_set_main_menu): Unref the old menu after
4569 ref'ing the new one.
4571 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4573 * src/hildon-stackable-window.c
4574 (hildon_stackable_window_set_main_menu): Unref the previous menu
4575 instead of destroying it.
4577 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4578 floating reference and set has_user_ref_count to FALSE to make
4579 HildonAppMenu act like a normal ref-counted widget and not a
4582 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4585 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4587 * src/hildon-touch-selector-column.h: new file
4588 * src/hildon-touch-selector.h
4589 * src/hildon-touch-selector.c
4590 Implemented GtkCellLayout interface, in order to allow to configure
4591 the cell layout on each individual selector column
4592 (hildon_touch_selector_set_column_attributes): marked as deprecated
4593 * examples/hildon-touch-selector-multi-cells-example.c
4594 Example of how to use the GtkCellLayout interface on the selector
4596 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4598 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4600 * src/hildon-app-menu.h
4601 * src/hildon-app-menu.c
4602 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4603 (hildon_app_menu_append, hildon_app_menu_prepend):
4604 New methods to prepend, insert and move items in the menu.
4606 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4608 * src/hildon-wizard-dialog.c:
4610 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4612 (create_title): Update logical IDs and related code.
4613 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4615 * src/hildon-wizard-dialog.h: Note that
4616 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4617 point, as it is not used anymore.
4619 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4621 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4623 * src/hildon-note.c:
4624 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4625 shown. Do not display an icon in confirmation notes nor information
4627 (hildon_note_set_button_text): Update logical ID for cancel button.
4629 Fixes: NB#88850 (Update HildonNote button strings + signals)
4631 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4633 * src/hildon-stackable-window.c
4634 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4636 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4638 * src/hildon-app-menu-private.h
4639 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4640 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4641 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4642 temporary property 'columns' to change the number of columns.
4644 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4646 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4648 * examples/hildon-note-example.c: (on_information_clicked),
4649 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4650 debugging information.
4651 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4653 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4654 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4655 in order to close: this will be handled by the WM from now on.
4657 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4659 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4661 * src/hildon-app-menu-private.h
4662 * src/hildon-app-menu.c
4663 (hildon_app_menu_append, hildon_app_menu_add_filter)
4664 (button_visibility_changed, hildon_app_menu_apply_style)
4665 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4666 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4667 layout everytime a button (item or filter) is shown or hidden.
4669 * src/hildon-stackable-window.c
4670 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4673 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4675 * src/hildon-touch-selector.c:
4676 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4677 that the treeview inside the touch selector is in fremantle hildon mode
4678 * examples/hildon-date-button-example.c
4679 * examples/hildon-picker-button-multicolumn-example.c
4680 * examples/hildon-touch-selector-entry-example.c
4681 * examples/hildon-touch-selector-example.c
4682 * examples/hildon-time-button-example.c
4683 * examples/hildon-picker-button-example.c:
4684 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4686 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4688 * examples/hildon-text-view-example.c: (main): Remove the
4689 gtkrc bits, now handled by the theme.
4691 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4693 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4696 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4698 * po/Makefile.am: Install properly the mo files.
4699 * po/en_GB.po: Update translation, to ease testing purposes.
4701 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4703 * examples/hildon-picker-button-example.c: (main): Select an item
4704 in the selector before setting it to the button.
4706 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4708 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4709 Update button's value if the selector has an item active.
4711 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4712 'value' with the selector)
4714 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4716 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4717 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4718 (hildon_picker_button_class_init): Plug the finalize method.
4719 (hildon_picker_button_set_selector): If there's a previously set
4720 selector, unref'it before setting a new one.
4722 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4723 HildonTouchSelector)
4725 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4727 * src/hildon-touch-selector-entry.c:
4728 (hildon_touch_selector_entry_changed): Check if there is no text
4729 selected before setting the entry text.
4732 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4734 * src/hildon-touch-selector.h
4735 * src/hildon-touch-selector.c
4736 (hildon_touch_selector_get_active)
4737 (hildon_touch_selector_set_active): New methods to set/get the
4738 index of the selected item.
4740 * src/hildon-picker-button.h
4741 * src/hildon-picker-button.c
4742 (hildon_picker_button_get_active)
4743 (hildon_picker_button_set_active): New methods to set/get the
4744 index of the selected item.
4746 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4748 * configure.ac: post-release version bump.
4750 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4754 * configure.ac: Pre-release version bump.
4755 * debian/changelog: Updates.
4756 * debian/control: Add myself as maintainer and depend on l10n
4759 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4761 * src/hildon-window.c
4762 (hildon_window_set_main_menu)
4763 * src/hildon-stackable-window.c
4764 (hildon_stackable_window_set_main_menu):
4765 Updated documentation.
4767 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4769 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4770 Don't free selector->priv manually.
4773 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4776 (hildon_gtk_window_set_progress_indicator):
4777 * src/hildon-gtk.h: Added the new API
4778 hildon_gtk_window_set_progress_indicator, it changes the state of
4779 the window progress hint.
4781 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4783 * src/hildon-button.c
4784 * src/hildon-stackable-window.c: Minor documentation updates.
4786 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4788 * src/hildon-stackable-window.c: Updated documentation.
4790 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4792 * src/hildon-defines.h: Update margins definitions
4793 to the Fremantle sizes.
4796 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4798 * src/hildon-touch-selector.c,
4799 (_hildon_touch_selector_set_model): Cleaning the code after
4800 review, removed g_print and #if 0 from the code.
4802 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4804 * src/hildon-edit-toolbar.c: Update documentation.
4806 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4808 * src/hildon-check-button.h
4809 * src/hildon-check-button.c
4810 (hildon_check_button_set_label, hildon_check_button_get_label)
4811 * examples/hildon-check-button-example.c
4812 (button_clicked_cb):
4813 Removed deprecated methods.
4815 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4817 * src/hildon-text-view.c:
4818 Add sample code to the documentation.
4820 * src/hildon-entry.h
4821 * src/hildon-text-view.h:
4822 Minor cosmetic changes.
4824 * src/hildon-entry.c:
4825 Add sample code to the documentation.
4826 (hildon_entry_init, hildon_entry_refresh_contents):
4827 Don't allow NULL values in the placeholder.
4829 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4831 * doc/hildon-docs.sgml
4833 * examples/Makefile.am
4834 * examples/hildon-text-view-example.c
4836 * src/hildon-text-view.c
4837 * src/hildon-text-view.h
4839 New HildonTextView widget, with example.
4841 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4843 * po/POTFILES.in: Add missing files with translatable strings.
4844 Partially fixes NB#88287.
4846 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4848 * examples/hildon-pannable-area-example-2.c: (main): No need to
4849 set the cellrenderer height inside hildon touch lists, the theme does
4852 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4854 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4855 they are integrated in the theme.
4857 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4859 * examples/hildon-entry-example.c: Update the example adding
4860 widgets to modify the text and the placeholder of the HildonEntry.
4862 * src/hildon-entry.c: Show the placeholder everytime the widget
4863 is empty and loses the focus.
4865 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4867 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4869 * src/hildon-pannable-area.c,
4870 (hildon_pannable_area_size_request): Fixed bug in height
4871 requisition, avoid increasing size and add border twice.
4873 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4875 * configure.ac: postrelease version bump.
4877 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4881 * configure.ac: Prerelease version bump.
4882 * debian/changelog: update.
4883 * debian/rules: make -dbg package contain useful debugging symbols.
4885 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4887 * src/hildon-dialog.h
4888 * src/hildon-dialog.c
4889 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4890 New methods to add buttons with finger size.
4891 (hildon_dialog_new_with_buttons):
4892 Create buttons with finger size.
4894 * examples/hildon-dialog-example.c (main): Use HildonDialog
4895 methods to add buttons.
4897 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4899 * src/hildon-entry.c: Updated HildonButton documentation.
4901 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4903 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4904 button value label with (FALSE, FALSE) to prevent NB#88126 from
4907 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4909 * examples/hildon-pannable-area-example.c,
4910 (main): Removed examples panning a vbox inside a pannable
4911 area. Check bug NB#87965
4913 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4915 Patch contributed by Kris Rietveld (kris@imendio.com)
4917 * src/hildon-pannable-area.c,
4918 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4919 get_size and get_position, this saves an X server roundtrip.
4921 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4923 * doc/hildon-docs.sgml
4925 * examples/Makefile.am
4926 * examples/hildon-entry-example.c
4928 * src/hildon-entry.c
4929 * src/hildon-entry.h
4931 New HildonEntry widget, with example.
4933 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4935 * src/hildon-button.c (hildon_button_construct_child): Pack the
4936 image with expand == fill == FALSE. This is a workaround for a bug
4939 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4941 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4942 labels for the text column, to make it more look more dynamic.
4944 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4946 * src/hildon-time-selector.c
4947 Define gettext auxiliar macro N_
4948 (_create_minutes_model)
4949 (_create_hours_model)
4950 (_create_ampm_model): use of strftime in order to fill the model
4951 * src/hildon-date-selector.c
4952 (hildon_date_selector_finalize):
4953 (_locales_init): remove the logic related to get the name of the months
4954 using nl_langinfo, as it is not required anymore
4956 (_create_year_model)
4957 (_create_month_model)
4958 (_update_day_model): use of strftime in order to fill the model properly
4961 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4963 * src/hildon-button.h
4964 * src/hildon-button.c (hildon_button_get_image): New method to
4967 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4969 * src/hildon-touch-selector.c:
4970 (hildon_touch_selector_remove_column): Remove from the correct parent
4971 and also remove the list element and free it.
4974 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4976 * src/hildon-time-selector.c
4977 (_create_hours_model): change the range on 12h ampm format in order to use
4978 a 12-11 range instead of previous 01-12 range
4979 (hildon_time_selector_set_time): change the way to select the current time
4980 on 12h ampm format, due the change on the range
4981 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4984 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4986 * src/hildon-touch-selector.c
4987 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4988 in order to allow use this function on multiple row selection mode if
4989 the column is different that the first one
4992 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4994 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4995 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4997 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4999 * src/hildon-date-selector.h: clean some comments, now on the .c
5000 * src/hildon-date-selector.c
5001 (hildon_date_selector_select_month): first implementation
5002 (hildon_date_selector_select_day): added documentation, reimplemented
5003 using hildon_date_selector_select_current_date to avoid repeat code
5006 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5008 Reviewed interaction logic based on device experiences, refactored
5011 * src/hildon-pannable-area.c,
5012 (hildon_pannable_area_class_init): Updated default vmax speed.
5013 (hildon_pannable_area_calculate_velocity): Added this function, it
5014 avoids duplicate valocity calculation. Adjusted calculation to
5015 avoid problems with zero dist events.
5017 (hildon_pannable_area_motion_notify_cb): Now we use the
5018 calculate_velocity function.
5020 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5022 * src/hildon-date-selector.c
5023 (hildon_date_selector_select_current_date): fix the day range check
5024 as it failed using the last day of the current month
5027 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5029 * src/hildon-touch-selector.c
5030 (hildon_touch_selector_get_num_columns): added a parameter validation
5033 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5035 * examples/Makefile.am
5036 * examples/hildon-edit-toolbar-example.c: Example of the
5037 HildonEditToolbar widget.
5039 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5041 * configure.ac: postrelease version bump.
5043 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5047 * configure.ac: prerelease version bump.
5048 * debian/changelog: update.
5050 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5052 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5053 renderer to display stock icons in the touch list. Also, set the sizes
5054 to the recommended in the style guide.
5056 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5057 * src/hildon-touch-selector.h
5058 (hildon_touch_selector_set_active_iter): renamed, now is
5059 hildon_touch_selector_select_iter
5060 (hildon_touch_selector_get_active_iter): renamed, now is
5061 hildon_touch_selector_get_selected
5062 (hildon_touch_selector_unselect_iter): added
5063 * src/hildon-touch-selector.c
5064 Update after API modification (methods renamed)
5065 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5066 order to avoid problems selecting multiple elements on the column
5067 (hildon_touch_selector_unselect_iter): added the implementation
5068 * src/hildon-time-selector.c
5069 * src/hildon-date-selector.c
5070 * src/hildon-touch-selector-entry.c
5071 Update methods calls after hildon-touch-selector.h API modification (methods
5074 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5076 * src/hildon-stackable-window.c
5077 (hildon_stackable_window_finalize): Call the parent class's finalize.
5079 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5081 * examples/hildon-touch-selector-example.c: (create_selector): Use
5082 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5085 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5087 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5088 set a cell background color, to respect theming.
5090 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5092 * doc/hildon-docs.sgml
5095 * src/hildon-edit-toolbar.c
5096 * src/hildon-edit-toolbar.h
5097 * src/hildon.h: New HildonEditToolbar widget.
5099 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5101 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5104 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5105 * src/hildon-touch-selector.c
5106 (_create_new_column): use g_object_set instead of two g_object_set_property
5108 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5109 * src/hildon-touch-selector.c
5110 (_create_new_column): use of hildon_gtk_tree_view_new to create
5111 the treeview, instead of use directly g_object_new
5112 (_create_new_column): update the property name "vindicator-mode" for the
5113 new one "vscrollbar-policy"
5114 * examples/hildon-date-button-example.c
5115 * examples/hildon-picker-button-multicolumn-example.c
5116 * examples/hildon-touch-selector-entry-example.c
5117 * examples/hildon-touch-selector-example.c
5118 * examples/hildon-time-button-example.c
5119 * examples/hildon-picker-button-example.c
5120 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5121 to all the treeviews inside a pannable area.
5123 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5125 * src/hildon-button.h
5126 * src/hildon-button.c (hildon_button_init)
5127 (hildon_button_set_arrangement, hildon_button_set_alignment)
5128 (hildon_button_set_title_alignment)
5129 (hildon_button_set_value_alignment)
5130 (hildon_button_set_image_alignment)
5131 (hildon_button_construct_child): New methods to set the alignment
5132 of the individual components of the button (title, value,
5133 image). Also, new method to alter the xscale and yscale properties
5134 of the GtkAlignment inside the button, so more complex layouts can
5137 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5139 * src/hildon-button.c (hildon_button_style_set)
5140 (hildon_button_class_init, hildon_button_set_arrangement)
5141 (hildon_button_construct_child): Apply style properties
5142 correctly. Use the 'image-spacing' style property too.
5144 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5146 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5147 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5150 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5152 * src/hildon-pannable-area.c,
5153 (hildon_pannable_area_size_request): Fixed problem with
5154 pannable-area size_request.
5156 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5158 Added management for the grab-focus to a child widget, like a
5159 range, we need to fade out the scrollbar when releasing.
5161 * src/hildon-pannable-area.c,
5162 (hildon_pannable_area_init): Connected the grab-focus signal to
5164 (hildon_pannable_area_grab_notify): Added this function in order
5165 to manage the situation when the grab-focus ends. We have to
5166 fade-out the scrollbar.
5168 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5170 * src/hildon-app-menu.c: Minor documentation update.
5172 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5174 * src/hildon-app-menu.c
5175 * examples/hildon-app-menu-example.c (create_menu): Update
5176 examples and documentation to explain how to connect callbacks.
5178 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5180 * examples/hildon-button-example.c
5181 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5182 hildon_stackable_window_new instead of gtk_window_new
5184 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5186 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5187 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5188 (hildon_pannable_area_set_property),
5189 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5190 (hildon_pannable_area_unrealize),
5191 (hildon_pannable_area_size_request),
5192 (hildon_pannable_area_size_allocate),
5193 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5194 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5195 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5196 (hildon_pannable_area_initial_effect),
5197 (hildon_pannable_area_redraw),
5198 (hildon_pannable_area_scroll_indicator_fade),
5199 (hildon_pannable_area_expose_event),
5200 (hildon_pannable_area_get_topmost), (synth_crossing),
5201 (hildon_pannable_area_button_press_cb),
5202 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5203 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5204 (hildon_pannable_area_motion_notify_cb),
5205 (hildon_pannable_area_button_release_cb),
5206 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5207 (hildon_pannable_area_remove),
5208 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5209 chage the code layout to a more GtkWidget like. Review the use of
5212 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5214 * examples/hildon-pannable-area-example-4.c,
5215 (main): Modified the name of the hindicator_mode to
5218 * src/hildon-pannable-area.c,
5219 (hildon_pannable_area_class_init),
5220 (hildon_pannable_area_motion_notify_cb),
5221 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5222 we have reduced the amount of signals and managed reviewed its
5223 rationale. Changed the default decelerate value.
5225 (hildon_pannable_area_add),
5226 (hildon_pannable_area_redraw): Refactored functions.
5228 (hildon_pannable_area_init),
5229 (hildon_pannable_area_get_property),
5230 (hildon_pannable_area_set_property):
5231 (hildon_pannable_draw_vscroll),
5232 (hildon_pannable_draw_hscroll),
5233 (hildon_pannable_area_initial_effect),
5234 (hildon_pannable_area_expose_event),
5235 (hildon_pannable_area_scroll),
5236 (hildon_pannable_area_button_press_cb),
5237 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5238 and vindicator_mode with hscrollbar_policy and
5239 vscrollbar_policy. Replaced hscroll and vscroll with
5240 hscroll_visible and vscroll_visible.
5242 (hildon_pannable_area_refresh): Refactor the function, remove
5243 variables and check the calls to this function, added resize
5244 conditions in case the children change their layout.
5246 (hildon_pannable_area_size_request): Added more detailed
5247 size_request calculation.
5250 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5252 * src/hildon-color-chooser.c
5253 (init_borders): use the correct gtk_border_free instead of g_free, to
5254 avoid a crash when this widget is used (ie: the three color selection
5257 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5259 * src/hildon-check-button.c,
5260 (hildon_check_button_set_active): Fixed problem when setting the
5261 active value, the widget was not redrawn.
5263 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5265 * src/hildon-pannable-area.c,
5266 (hildon_pannable_area_refresh),
5267 (hildon_pannable_area_scroll),
5268 (hildon_pannable_area_motion_notify_cb): Small code style change.
5270 (hildon_pannable_area_class_init): Default initial_hint set to
5271 FALSE, it is not in the specs.
5273 (hildon_pannable_area_initial_effect),
5274 (hildon_pannable_area_expose_event),
5275 (hildon_pannable_area_map),
5276 (hildon_pannable_area_init): Moved the launching point of the
5277 initial effect, it was in map but the sizes where not correct in
5278 that method so we do not know if we have the reproduce it. Now it
5279 is placed in the expose_event method and uses a variable to
5280 reproduce it just once.
5282 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5284 * src/hildon-pannable-area.c,
5285 (hildon_pannable_draw_vscroll),
5286 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5287 position allowed for the scrollbars.
5289 (hildon_pannable_area_size_allocate): Small style change.
5291 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5293 * src/hildon-pannable-area.c,
5294 (hildon_pannable_area_scroll_indicator_fade),
5295 (hildon_pannable_area_button_press_cb),
5296 (hildon_pannable_area_button_release_cb),
5297 (hildon_pannable_area_scroll_cb),
5298 (hildon_pannable_area_expose_event),
5299 (hildon_pannable_area_init): Added the define parameter
5300 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5301 and refactor the fade variable.
5303 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5305 * src/hildon-pannable-area.c,
5306 (hildon_pannable_area_redraw),
5307 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5308 lines, we were reimplemeting the redraw code.
5310 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5312 * src/hildon-pannable-area.c,
5313 (hildon_pannable_area_scroll_cb),
5314 (hildon_pannable_area_realize),
5315 (hildon_pannable_area_class_init): Added scroll_event management
5316 for pannable area, now we can scroll the usual desktop method.
5318 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5319 initialization of the parameters should depend on idle_id.
5321 (hildon_pannable_area_init),
5322 (hildon_pannable_area_map): Small code style modifications
5324 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5326 * src/hildon-pannable-area.c
5327 (hildon_pannable_area_button_press_cb),
5328 (hildon_pannable_area_motion_notify_cb),
5329 (hildon_pannable_area_button_release_cb),
5330 (hildon_pannable_area_size_allocate),
5331 (hildon_pannable_area_scroll_to): Improved the timeouts
5332 management, we avoid creating them each time.
5334 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5336 * src/hildon-pannable-area.c:
5337 (hildon_pannable_area_refresh),
5338 (hildon_pannable_area_motion_notify_cb),
5339 (hildon_pannable_area_class_init):
5340 * src/hildon-pannable-area.h:
5341 * src/hildon-touch-selector.c
5342 (_create_new_column):
5343 * examples/hildon-pannable-area-example-4.c:
5344 (horizontal_movement),
5345 (vertical_movement),
5347 Replaced the names of enums in the HildonPannableArea:
5348 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5349 HILDON_MOVEMENT_MODE_*
5350 - HILDON_PANNABLE_AREA_MOV_* ->
5352 - Removed HildonPannableAreaIndicatorMode, now we
5355 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5357 * examples/hildon-pannable-area-touch-grid-example.c
5358 * examples/hildon-pannable-area-touch-list-example.c: Fix
5359 compilation warnings.
5361 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5363 * src/hildon-gtk.c (hildon_gtk_button_new)
5364 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5365 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5366 images overriding the value of the "gtk-button-images" setting.
5368 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5370 * src/hildon-check-button.c (hildon_check_button_new):
5371 Instead of using a custom container, display the label and the
5372 checkbox using the standard GtkButton API.
5374 * examples/hildon-check-button-example.c (main): Don't use
5375 hildon_check_button_set_label() anymore
5377 * src/hildon-check-button.h
5378 * src/hildon-check-button.c
5379 (hildon_check_button_set_label, hildon_check_button_get_label):
5380 Set as deprecated, now we're using gtk_button_{get,set}_label()
5382 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5384 * src/hildon-pannable-area.c,
5385 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5386 GtkTreeview first line we detected it after the inclusion of the
5387 GtkWindowImpl in gtk+. We now check if the window is visible, not
5388 just if the pointer is over the window.
5389 (hildon_pannable_axis_scroll),
5390 (hildon_pannable_area_expose_event): Small style changes.
5392 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5394 * src/hildon-button.c: Update documentation.
5396 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5398 * examples/hildon-button-example.c: Add a switch to show images in
5401 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5403 * doc/hildon-docs.sgml: Some docs reorganization.
5405 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5407 * examples/hildon-pannable-area-touch-list-example.c
5409 * examples/hildon-pannable-area-touch-grid-example.c
5410 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5411 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5412 Fix memory leak when setting the tree model.
5414 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5418 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5420 * doc/hildon.types: Remove duplicated hildon_window_get_type
5421 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5422 documentation comment.
5424 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5426 * doc/Makefile.am: Complete list of private headers.
5428 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5430 * doc/hildon-docs.sgml
5431 * src/hildon-app-menu.c
5432 * src/hildon-bread-crumb.c
5433 * src/hildon-button.c
5435 * src/hildon-program.c
5436 * src/hildon-stackable-window.c
5437 * src/hildon-window.c: Lots of documentation updates.
5439 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5441 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5443 * configure.ac: Require Gtk+ 2.12.9 at least
5445 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5447 * src/hildon-pannable-area.c
5448 (hildon_pannable_area_scroll_indicator_fade),
5449 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5450 to protect the return of this timeout callbacks, avoiding deadlocks.
5452 2008-08-12 Christian Dywan <christian@imendio.com>
5455 * src/hildon-*.h: Ensure a consistent include order,
5456 include <gtk/gtk.h> instead of particular files and
5457 only include the topmost header in the gtk stack. See NB #39857
5459 2008-08-12 Christian Dywan <christian@imendio.com>
5461 * src/hildon-picker-dialog.c
5462 * src/hildon-touch-selector.c: Fix warnings about unused and
5463 uninitialized variables.
5465 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5467 * examples/Makefile.am
5468 * examples/hildon-check-button-example.c: Example of the hildon
5471 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5473 * src/hildon-window.h
5474 * src/hildon-window.c (hildon_window_class_init)
5475 (hildon_window_unset_program): Don't make
5476 hildon_window_unset_program a virtual function anymore.
5478 * src/hildon-stackable-window.c: Update documentation
5480 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5483 * doc/hildon-docs.sgml
5484 * doc/visual_index.xml
5485 * src/hildon-defines.c
5487 * src/hildon-helper.c
5488 * src/hildon-range-editor.c: Lots of documentation fixes.
5490 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5492 * examples/hildon-picker-button-multicolumn-example.c
5493 (create_touch_selector): Fix compilation warning.
5495 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5497 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5498 (hildon_pannable_area_button_release_cb)
5499 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5501 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5503 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5506 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5508 * src/hildon-bread-crumb-trail.h
5509 * src/hildon-date-editor.c
5510 * src/hildon-date-selector.c
5511 * src/hildon-pannable-area.c
5512 * src/hildon-picker-dialog.c
5513 * src/hildon-time-selector.c
5514 * src/hildon-touch-selector-entry.c
5515 * src/hildon-touch-selector.c
5516 * src/hildon-touch-selector.h: Misc documentation fixes
5518 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5520 * examples/hildon-date-editor-example.c (main): Updated date
5523 * examples/hildon-note-example.c (on_confirmation_clicked):
5524 Updated confirmation note example.
5526 * src/hildon-date-editor.c
5527 * src/hildon-note.c: Updated sample programs in documentation.
5530 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5532 * src/hildon-date-button.h:
5533 * src/hildon-picker-button.h:
5534 * src/hildon-time-button.c:
5535 * src/hildon-time-button.h:
5537 Some declarations changes to allow gtk-doc to document the widgets
5540 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5542 * src/hildon-date-button.c: Document the widget.
5543 * src/hildon-time-button.c: Document the widget.
5545 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5547 * src/hildon-picker-button.c: Document the widget.
5548 * src/hildon-touch-selector-entry.c: Document the widget.
5550 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5552 * doc/hildon-docs.sgml
5555 * src/hildon-check-button.h
5556 * src/hildon-check-button.c: New functions to create the Hildon
5560 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5562 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5564 * src/hildon-button.h
5565 * src/hildon-button.c
5566 (hildon_button_add_title_size_group)
5567 (hildon_button_add_value_size_group)
5568 (hildon_button_add_image_size_group)
5569 (hildon_button_add_size_groups): New functions to set size groups
5570 for the button labels and image.
5571 (hildon_button_new_full): Removed
5573 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5575 * src/hildon-time-selector.c
5576 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5577 in order to avoid a crash if gconf is not available
5579 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5581 * src/hildon-button.c (hildon_button_set_arrangement)
5582 (hildon_button_construct_child): Don't construct the button child
5583 before setting the arrangement.
5585 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5587 * src/hildon-program-private.h
5588 * src/hildon-program.c
5589 * src/hildon-program.h
5590 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5591 (hildon_program_peek_window_stack)
5592 (hildon_program_pop_window_stack)
5593 (hildon_program_go_to_root_window): HildonProgram now has a
5594 separate list for stackable windows. Functions are provided to
5595 manage that list with a stack-like API.
5597 * src/hildon-stackable-window.c: Stackable window management is
5598 now much simpler with the new HildonProgram API. Windows no
5599 longer need to be manually added to the program, they're
5600 automatically pushed to the top of the stack when shown.
5602 * examples/hildon-stackable-window-example.c: Updated example to
5603 reflect the API changes.
5605 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5607 * src/hildon-touch-selector.c: Comment out unimplemented
5608 hildon_touch_selector_insert_column() to avoid a compile warning.
5610 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5612 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5613 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5614 (hildon_touch_selector_set_column_selection_mode),
5615 (_hildon_touch_selector_set_model),
5616 (hildon_touch_selector_set_model):
5618 Complete review of HildonTouchSelector documentation.
5620 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5622 * doc/hildon-docs.sgml
5626 * src/hildon-gtk.c: Convenience functions for standard Gtk
5627 widgets, used to easily perform frequent operations.
5629 * src/hildon-button-helpers.h
5630 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5632 * src/hildon-helper.h
5633 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5634 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5636 * src/hildon-button.h
5637 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5639 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5641 * src/hildon-button.c (hildon_button_init)
5642 (hildon_button_set_arrangement, hildon_button_construct_child):
5643 Pack the image and the labels inside the same GtkAlignment so
5644 gtk_button_set_alignment() can be used
5646 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5648 * src/hildon-button.h
5649 * src/hildon-button.c
5650 (hildon_button_init, hildon_button_set_image)
5651 (hildon_button_set_image_position)
5652 (hildon_button_construct_child): New functions to add an image to
5655 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5657 * src/hildon-date-button.c
5658 * src/hildon-picker-button.c
5659 * src/hildon-time-button.c
5660 * src/hildon-button.c:
5661 (hildon_button_class_init): "size-flags" renamed to "size"
5662 (hildon_button_set_title): Hide the title label if set to NULL.
5664 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5666 HildonButtonFlags split into HildonButtonArrangement (to set the
5667 button layout) and HildonSizeType (which can be used for any
5670 * src/hildon-button.h
5671 * src/hildon-button.c
5672 (hildon_button_class_init)
5673 (hildon_button_set_arrangement)
5674 (hildon_button_set_property): New "size-flags"
5675 property. "arrangement-flags" renamed to "arrangement".
5676 (hildon_button_new, hildon_button_new_with_text)
5677 (hildon_button_new_full): Constructors updated to reflect type changes.
5679 * src/hildon-helper.h
5680 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5681 to set the size of a widget.
5685 * src/hildon-button-helpers.c
5686 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5688 * src/hildon-date-button.c
5689 * src/hildon-date-button.h
5690 * src/hildon-picker-button.c
5691 * src/hildon-picker-button.h
5692 * src/hildon-time-button.c
5693 * src/hildon-time-button.h: Updated widgets to reflect
5694 HildonButton API changes.
5696 * examples/hildon-button-example.c
5697 * examples/hildon-date-button-example.c
5698 * examples/hildon-picker-button-example.c
5699 * examples/hildon-picker-button-multicolumn-example.c
5700 * examples/hildon-time-button-example.c
5701 * examples/hildon-touch-selector-entry-example.c
5702 * examples/hildon-touch-selector-example.c: Updated examples to
5703 reflect HildonButton API changes.
5705 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5707 * doc/hildon-docs.sgml:
5709 * examples/Makefile.am:
5710 * examples/hildon-touch-selector-entry-example.c:
5712 * src/hildon-touch-selector-entry.c:
5713 * src/hildon-touch-selector-entry.h:
5716 Moved HildonTouchSelectorEntry from sandbox. Added its
5717 documentation and examples.
5719 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5721 * src/hildon-touch-selector.h:
5722 * examples/hildon-picker-button-multicolumn-example.c:
5723 (hildon_touch_selector_append_text_column): Add a gboolean
5724 parameter to determine if text must be centered in the column.
5726 * src/hildon-date-selector.c: (hildon_date_selector_init):
5727 * src/hildon-time-selector.c: (hildon_time_selector_init):
5728 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5729 (create_touch_selector): Update widgets and example to reflect
5732 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5734 * src/hildon-touch-selector.c:
5735 (hildon_touch_selector_set_active_iter): Set also the cursor in
5738 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5740 * doc/hildon-docs.sgml
5743 * src/hildon-toggle-button.c
5744 * src/hildon-toggle-button.h
5745 * src/hildon.h: Removed HildonToggleButton widget, a derived
5746 class is not necessary for this.
5748 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5750 * src/hildon-pannable-area.c,
5751 (hildon_pannable_area_realize),
5752 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5755 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5757 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5758 "done" button the default widget for the dialog.
5760 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5762 * src/hildon-touch-selector.c:
5763 (hildon_touch_selector_class_init),
5764 (hildon_touch_selector_get_property),
5765 (_hildon_touch_selector_set_model),
5766 (_hildon_touch_selector_has_multiple_selection),
5767 (hildon_touch_selector_has_multiple_selection):
5768 Add a "has-multiple-selection" property with a virtual
5769 has_multiple_selection() method to allow derived classes to
5770 override the default value for it. See the method and property
5771 documentation for details.
5773 * src/hildon-touch-selector.h: Add the new API.
5775 * src/hildon-picker-dialog.c: (requires_done_button): Call
5776 hildon_touch_selector_has_multiple_selection() instead of
5777 determining the need for a button itself.
5779 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5781 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5782 (_hildon_touch_selector_set_model),
5783 (hildon_touch_selector_set_model): Move working code to
5784 _hildon_touch_selector_set_mode(). Call the class method instead.
5786 * src/hildon-touch-selector.h: Add (*set_model) to
5787 HildonTouchSelectorClass.
5789 Make hildon_touch_selector_set_model() a virtual method, so that
5790 derived classes can extend it and do fancy stuff with the model.
5792 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5794 * configure.ac: Set back the tarname in AC_INIT to hildon.
5796 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5800 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5801 instead of libesd (NB#86876). Volume handling is still an open issue.
5803 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5806 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5808 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5809 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5810 derived class to ease placement of an entry widget in
5811 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5812 end, where the selector columns are packed now.
5814 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5816 * src/hildon-picker-button.c: Removed the simple _text() API.
5817 * src/hildon-picker-button.h: Likewise.
5819 * src/hildon-touch-selector.h:
5820 * src/hildon-touch-selector.c:
5821 (hildon_touch_selector_new_text),
5822 (hildon_touch_selector_append_text),
5823 (hildon_touch_selector_prepend_text),
5824 (hildon_touch_selector_insert_text):
5826 Moved the simple _text() API from HildonPickerButton to
5827 HildonTouchPicker, to provide better escalability and not to tie
5828 that API to HildonPickerButton.
5830 * examples/hildon-picker-button-example.c: (main): Example updated.
5832 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5834 * src/hildon-button.c: Updated documentation.
5836 * examples/hildon-button-example.c: Add the posibility to create
5837 the buttons using horizontal layout for title and value.
5839 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5841 * src/hildon-app-menu-private.h
5842 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5843 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5844 GtkSizeGroup for the filters, use the 'homogeneous' property of
5847 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5849 * examples/hildon-button-example.c: Updated example.
5851 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5853 * doc/hildon-docs.sgml:
5856 Update documentation.
5858 * examples/Makefile.am: Update renamed examples.
5860 * examples/hildon-picker-button-multicolumn-example.c:
5861 (create_touch_selector), (main): Update after the rename.
5863 * examples/hildon-touch-picker-example.c: Removed.
5864 * examples/hildon-touch-selector-example.c: (value_changed),
5865 (create_selector), (get_visible_content), (main): Renamed from
5866 hildon-touch-picker-example.c
5868 * src/Makefile.am: Updated renamed files.
5870 * src/hildon-date-button.c: (hildon_date_button_init),
5871 (hildon_date_button_get_date), (hildon_date_button_set_date):
5872 * src/hildon-date-selector.c: (hildon_date_selector_init),
5873 (_custom_print_func), (_update_day_model),
5874 (_manage_selector_change_cb),
5875 (hildon_date_selector_select_current_date),
5876 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5877 * src/hildon-date-selector.h:
5878 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5879 (hildon_picker_button_set_property),
5880 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5881 (hildon_picker_button_init), (hildon_picker_button_new_text),
5882 (hildon_picker_button_append_text),
5883 (hildon_picker_button_prepend_text),
5884 (hildon_picker_button_insert_text),
5885 (hildon_picker_button_set_selector),
5886 (hildon_picker_button_get_selector):
5887 * src/hildon-picker-button.h:
5888 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5889 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5890 (_update_title_on_selector_changed_cb), (requires_done_button),
5891 (_hildon_picker_dialog_set_selector),
5892 (hildon_picker_dialog_set_selector),
5893 (hildon_picker_dialog_get_selector):
5894 * src/hildon-picker-dialog.h:
5895 * src/hildon-time-button.c: (hildon_time_button_init),
5896 (hildon_time_button_get_time), (hildon_time_button_set_time):
5897 * src/hildon-time-selector.c: (hildon_time_selector_init),
5898 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5899 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5900 * src/hildon-time-selector.h:
5903 Massive code updates after the rename.
5905 * src/hildon-touch-picker.c: Removed.
5906 * src/hildon-touch-picker.h: Removed.
5908 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5909 (hildon_touch_selector_init), (hildon_touch_selector_map),
5910 (hildon_touch_selector_remove), (_default_print_func),
5911 (_selection_changed_cb), (_create_new_column),
5912 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5913 (hildon_touch_selector_append_text_column),
5914 (hildon_touch_selector_remove_column),
5915 (hildon_touch_selector_set_column_attributes),
5916 (hildon_touch_selector_insert_column),
5917 (hildon_touch_selector_get_num_columns),
5918 (hildon_touch_selector_get_column_selection_mode),
5919 (hildon_touch_selector_set_column_selection_mode),
5920 (hildon_touch_selector_set_print_func),
5921 (hildon_touch_selector_get_print_func),
5922 (hildon_touch_selector_get_active_iter),
5923 (hildon_touch_selector_set_active_iter),
5924 (hildon_touch_selector_get_selected_rows),
5925 (hildon_touch_selector_get_model),
5926 (hildon_touch_selector_set_model),
5927 (hildon_touch_selector_get_current_text),
5928 (_hildon_touch_selector_center_on_selected_items):
5929 * src/hildon-touch-selector.h: Renamed from
5930 hildon-touch-picker.[ch]
5932 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5933 references, code examples, and related documentation.
5935 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5937 * doc/hildon-docs.sgml
5940 * src/hildon-toggle-button.c
5941 * src/hildon-toggle-button.h
5942 * src/hildon.h: New HildonToggleButton widget.
5944 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5946 * src/hildon-button.c: Add API documentation.
5947 (hildon_button_set_size_groups): Check input parameters
5949 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5951 * src/hildon-pannable-area.c
5952 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5953 effect after reaching the movement thredshold. This way we start
5954 using the distance after passing the thredshold.
5956 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5958 * src/hildon-button.c: (hildon_button_set_property): Use the
5959 appropriate g_value_get_flags() method.
5961 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5963 * doc/hildon-docs.sgml:
5966 Add the touch pickers, picker dialogs, and picker button widgets
5967 to the documentation.
5969 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5971 * src/hildon-button.c: (hildon_button_set_property),
5972 (hildon_button_class_init): Make "arrangement-flags" a proper
5973 G_TYPE_FLAGS derived property.
5975 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5977 * examples/Makefile.am: Add below examples.
5978 * examples/hildon-date-button-example.c:
5979 * examples/hildon-picker-button-example.c:
5980 * examples/hildon-picker-button-multicolumn-example.c:
5981 * examples/hildon-time-button-example.c:
5982 * examples/hildon-touch-picker-example.c:
5984 Add examples for the recently added touch pickers,
5985 picker dialogs, and picker button widgets.
5987 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5989 * src/hildon-button.c: Add some API documentation
5991 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5993 * src/hildon-button.h
5994 * src/hildon-button.c
5996 (hildon_button_new_with_text): New constructor to create a button
5997 with no text at all.
5998 (hildon_button_init, hildon_button_set_arrangement)
5999 (hildon_button_set_title, hildon_button_set_value)
6000 (hildon_button_set_text)
6001 (hildon_button_construct_child): Hide the value when it's not used
6002 so the rest of the text is properly aligned.
6003 Allow creating buttons with arbitrary widgets inside (not just
6004 title/value labels).
6006 * examples/hildon-button-example.c (vertical_buttons_window)
6007 (horizontal_buttons_window): Update example to use new API.
6009 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6011 * src/Makefile.am: Added HildonTimeButton.
6012 * src/hildon-time-button.c: Added missing LGPL header.
6013 * src/hildon-time-button.h: Added missing LGPL header.
6014 * src/hildon.h: Add hildon-time-button.h
6016 Copied HildonTimeButton from sandbox to trunk. Future work on this
6017 widget must take place in trunk.
6019 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6021 * src/Makefile.am: Added HildonDateButton.
6022 * src/hildon-date-button.c: Update includes.
6023 * src/hildon.h: Add hildon-date-button.h
6025 Copied HildonDateButton from sandbox to trunk. Future work on this
6026 widget must take place in trunk.
6028 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6030 * src/Makefile.am: Added HildonPickerButton.
6031 * src/hildon-picker-button.h: Update includes.
6032 * src/hildon.h: Add hildon-picker-button.h
6034 Copied HildonPickerButton from sandbox to trunk. Future work on
6035 this widget must take place in trunk.
6037 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6039 * src/Makefile.am: Added HildonPickerDialog.
6040 * src/hildon-picker-dialog.c: Update includes.
6041 * src/hildon.h: Add hildon-picker-dialog.h
6043 Copied HildonPickerDialog from sandbox to trunk. Future work
6044 on this widget must take place in trunk.
6046 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6048 * src/Makefile.am: Added HildonTimeSelector.
6049 * src/hildon.h: Add hildon-time-selector.h
6051 Copied HildonTimeSelector widget from sandbox to trunk. Future
6052 work on this widget must happen in trunk.
6054 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6056 * src/Makefile.am: Added HildonDateSelector.
6057 * src/hildon.h: Add hildon-date-selector.h
6059 Copied HildonDateSelector widget from sandbox to trunk. Future
6060 work on this widget must happen in trunk.
6062 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6064 * src/Makefile.am: Added HildonTouchPicker.
6065 * src/hildon-touch-picker.c: Update includes.
6066 * src/hildon.h: Add hildon-touch-picker.h
6068 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6069 on this widget must happen in trunk.
6071 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6073 * src/hildon-pannable-area.c:
6074 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6076 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6078 * examples/hildon-app-menu-example.c (main): Let the window
6081 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6083 * src/hildon-pannable-area.c
6084 (hildon_pannable_area_class_init): Set the min value of the
6085 overshoot properties to zero, which points out that not
6086 overshooting allowed.
6088 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6090 Modified the procedure to get the widget at a point inside the
6091 pannable area when using the movement type signals. Now the user
6092 has to call a function to get the child, that way we just
6093 calculate the child in case the user really want to use it and not
6096 * src/hildon-marshalers.list: Modified the marshallers, now we do
6097 not have the widget as a parameter.
6099 * src/hildon-pannable-area.c
6100 (hildon_pannable_area_motion_notify_cb),
6101 (hildon_pannable_area_class_init),
6102 (hildon_pannable_get_child_widget_at): Removed the widget
6103 parameter from the signal callback. We have also refactored the
6104 emission of the signals.
6106 * src/hildon-pannable-area.h: Added a new method to the API to
6107 calculate a widget at a point inside the pannable area,
6108 hildon_pannable_get_child_widget_at.
6110 * examples/hildon-pannable-area-example-4.c
6111 (horizontal_movement): Modified the example to use the new API,
6112 added condition to control which widget is under the event. This
6113 way we can avoid scrolling laterally over other widgets.
6115 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6117 * src/hildon-pannable-area.c
6118 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6119 modes, we stop getting the pointer events due to returning the
6120 callback without properly calling the get pointer again. Fixed
6121 also an error using the hscroll and vscroll.
6123 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6125 * src/hildon-app-menu-private.h
6126 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6127 (hildon_app_menu_button_release, hildon_app_menu_init)
6128 (hildon_app_menu_class_init): Don't hide the menu on button
6129 release if the user didn't press outside first.
6131 * src/hildon-window.h
6132 * src/hildon-window.c (hildon_window_toggle_menu)
6133 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6134 hildon_window_toggle_menu a virtual function for the stackable
6135 window to override it.
6137 * src/hildon-stackable-window.h
6138 * src/hildon-stackable-window-private.h
6139 * src/hildon-stackable-window.c
6140 (hildon_stackable_window_realize)
6141 (hildon_stackable_window_finalize)
6142 (hildon_stackable_window_class_init)
6143 (hildon_stackable_window_init)
6144 (hildon_stackable_window_set_main_menu): New function to set the
6145 app menu of a HildonStackableWindow.
6147 * examples/hildon-app-menu-example.c: Remove the button to show
6148 the app menu, now it'll be shown when clicking on the title bar
6151 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6153 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6154 set the widget name if the arrangement flags do not specify
6157 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6159 * src/hildon-button.c: (hildon_button_set_property),
6160 (hildon_button_class_init), (hildon_button_new_full),
6161 (hildon_button_set_arrangement): Added "arrangement-flags"
6164 Make the HildonButtonFlags a construction-only property, to allow
6165 subclasses to set them properly.
6167 2008-07-21 Tim Janik <timj@imendio.com>
6169 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6170 insertion position after backspace, so additional digits are appended,
6173 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6175 * src/hildon-pannable-area.c,
6176 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6177 TODO list, it was complete and removed the g_debug and g_print
6180 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6182 Added the movement modes to the hildon-pannable-area, with this
6183 modes the developers can control in which directions the widget
6184 can scroll. They can also connect to signals in order to do
6185 something when that happens, allowing applications scroll. There
6186 is an example uploaded showing how to use it.
6188 * examples/Makefile.am:
6189 * examples/hildon-pannable-area-example-4.c: Added this example of
6190 an application using the modes.
6192 * src/hildon-marshalers.list: Added a new marshaller for the new
6195 * src/hildon-pannable-area.h: Added new enumerations and flags in
6196 order to control the movement modes and the new signals to warn
6197 about the movements in the area.
6199 * src/hildon-pannable-area.c:
6200 (hildon_pannable_axis_scroll),
6201 (hildon_pannable_area_scroll),
6202 (hildon_pannable_area_motion_notify_cb),
6203 (hildon_pannable_area_get_property),
6204 (hildon_pannable_area_set_property),
6205 (hildon_pannable_area_map),
6206 (hildon_pannable_area_class_init),
6207 (hildon_pannable_area_init),
6208 (hildon_pannable_area_jump_to): Added the modes to control the
6209 movement in the widget. We have added properties to control it,
6210 signals to warn about the movements and refactored some code.
6212 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6214 Changes required in order to allow vfast_factor set to zero to
6217 * src/hildon-pannable-area.c:
6218 (hildon_pannable_area_button_press_cb): Changed the condition, it
6219 is required for not allowing click when vfast_factor is zero.
6220 (hildon_pannable_area_timeout): Initialized velocity variables
6221 when we stop moving, it was less than 1 but not zero and we need
6222 to check zero in some situations.
6223 (hildon_pannable_area_class_init): Changed the default value of
6224 the speed factor, now the button_press is just sent in case the
6225 speed is 2 per cent of the max speed.
6226 (hildon_pannable_area_init): Initialization with 0.
6228 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6230 * src/hildon-pannable-area.c,
6231 (hildon_pannable_area_get_topmost): replaced
6232 gdk_window_get_children with gdk_window_peek_children, this way we
6233 do not have to free the list because it is not a copy.
6235 (hildon_pannable_axis_scroll),
6236 (hildon_pannable_area_scroll),
6237 (hildon_pannable_area_timeout),
6238 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6239 two parameters that were only used inside the
6240 hildon_pannable_area_scroll function.
6242 * examples/hildon-pannable-area-example.c,
6243 (get_sawtooth_label): Fixed small memory leak.
6245 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6247 More checks for the case where the overshoot is bigger than the
6250 * src/hildon-pannable-area.c:
6251 (hildon_pannable_draw_vscroll),
6252 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6253 to draw the slider of the scrollbar under the other scrollbar.
6254 (hildon_pannable_area_expose_event): added new checks to control
6255 the drawing of the overshooting area rectangle, in case it is too
6256 big for the area of the widget.
6257 (hildon_pannable_area_size_allocate): add more checks to avoid
6258 setting a position to the child widget outside the area.
6260 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6262 * src/hildon-pannable-area.c
6263 (hildon_pannable_area_size_allocate): Added conditions to control
6264 when overshooting is bigger than the allocated space for the
6265 children, this avoids negative allocations.
6267 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6269 * doc/hildon-docs.sgml
6271 * examples/Makefile.am
6272 * examples/hildon-button-example.c
6274 * src/hildon-button.c
6275 * src/hildon-button.h
6276 * src/hildon.h: Initial version of the new HildonButton widget,
6279 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6281 * src/hildon-pannable-area.c:
6282 (hildon_pannable_area_button_press_cb),
6283 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6284 (hildon_pannable_area_motion_notify_cb),
6285 (hildon_pannable_area_button_release_cb),
6286 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6287 (hildon_pannable_area_jump_to_child):
6289 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6291 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6293 * examples/Makefile.am
6294 * examples/hildon-pannable-area-touch-grid-example.c
6295 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6296 the Hildon Touch List and Hildon Touch Grid using the
6297 HildonPannableArea widget.
6299 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6301 * src/hildon-pannable-area.c,
6302 (hildon_pannable_area_button_press_cb),
6303 (hildon_pannable_area_refresh),
6304 (hildon_pannable_area_scroll),
6305 (hildon_pannable_area_motion_notify_cb),
6306 (hildon_pannable_area_button_release_cb),
6307 (hildon_pannable_area_expose_event),
6308 (hildon_pannable_area_add),
6309 (hildon_pannable_area_remove),
6310 (hildon_pannable_area_realize),
6311 (hildon_pannable_area_size_allocate),
6312 (hildon_pannable_area_class_init),
6313 (hildon_pannable_area_init),
6314 (hildon_pannable_area_scroll_to_child),
6315 (hildon_pannable_area_jump_to_child): Fixed the problem of
6316 removing the child from the GtkBin, we have rearranged the widget
6317 hierarchy, now there is no GtkAlignment which was not doing
6318 anything interesting but breaking some of the assumptions of
6319 GtkContainer. Now developers if they want to add a GtkAlignment
6320 they could, but it is not inside the area.
6322 We had to review the whole allocation/expose process, now it is
6323 improved and we save at least three signals which would be saving
6324 some time when rendering the widget. The allocation of the
6325 scrollbars is now made in the allocate method as usual.
6327 We have also added some conditions in order to control when there
6328 is no child of the pannable area. Maybe we will need more work
6331 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6333 * src/hildon-pannable-area.c,
6334 (hildon_pannable_area_dispose): Released the fade-out timeout when
6335 disposing the widget.
6337 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6339 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6340 zero, we are going to use that property in order to deactivate the
6342 (hildon_pannable_axis_scroll),
6343 (hildon_pannable_area_size_allocate): Added conditions to control
6344 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6345 call, now it is called in all situations and we can remove calls
6346 in the allocate method.
6347 (hildon_pannable_area_map): Control the situation when
6348 overshoot_max is zero, we do not need the timeout.
6349 (hildon_pannable_area_class_init): Added documentation in order to
6350 point out that setting zero to overshoot_max means deactivate
6353 NOTE: removed trailing whitespaces from my previous comments of
6356 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6358 * src/hildon-pannable-area.c
6359 (hildon_pannable_area_get_property),
6360 (hildon_pannable_area_set_property),
6361 (hildon_pannable_area_map),
6362 (hildon_pannable_area_class_init),
6363 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6364 to cause the widget give a hint about its panning abilities upon
6367 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6369 * src/hildon-pannable-area.c: Several documentation improvements.
6371 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6373 * src/hildon-program.c
6374 * src/hildon-stackable-window.c: Update documentation.
6376 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6378 * src/hildon-stackable-window.c (get_previous_window_if_last):
6379 Renamed get_last_window()
6380 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6381 (hildon_stackable_window_unset_program):
6383 (get_previous_window_if_last):
6384 Detect if the window hasn't been added to a HildonProgram.
6386 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6388 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6390 * src/hildon-pannable-area.c
6391 (hildon_pannable_area_button_press_cb),
6392 (hildon_pannable_axis_scroll),
6393 (hildon_pannable_area_scroll),
6394 (hildon_pannable_area_timeout),
6395 (hildon_pannable_calculate_vel_factor),
6396 (hildon_pannable_area_get_property),
6397 (hildon_pannable_area_set_property),
6398 (hildon_pannable_area_class_init),
6399 (hildon_pannable_area_init),
6400 (hildon_pannable_area_scroll_to),
6401 (hildon_pannable_area_jump_to),
6402 (hildon_pannable_area_scroll_to_child),
6403 (hildon_pannable_area_jump_to_child):
6404 * src/hildon-pannable-area.h: Added the new API functions:
6405 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6406 hildon_pannable_area_scroll_to_child,
6407 hildon_pannable_area_jump_to_child
6410 * examples/Makefile.am
6411 * examples/hildon-pannable-area-example-2.c
6412 * examples/hildon-pannable-area-example-3.c: Added these two new
6413 examples in order to test and show how the new APIs work.
6415 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6417 * examples/hildon-stackable-window-example.c (new_window):
6418 * src/Makefile.am (noinst_HEADERS):
6419 * src/hildon-program.c (hildon_program_go_to_root_window):
6420 * src/hildon-program.h:
6421 * src/hildon-stackable-window-private.h:
6422 * src/hildon-stackable-window.c:
6423 * src/hildon-stackable-window.h:
6424 Create hildon-stackable-window-private.h
6425 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6427 * examples/hildon-app-menu-example.c (create_menu):
6428 * examples/hildon-hvolumebar-insensitive-example.c (main):
6429 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6430 * examples/hildon-toolbar-seekbar-example.c (main):
6431 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6432 * src/hildon-banner.c (hildon_banner_set_property):
6433 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6434 Fix compilation warnings
6436 * src/hildon-window.c:
6439 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6441 * src/hildon-stackable-window.c
6442 (hildon_stackable_window_unset_program):
6443 Calculate correctly whether to show the previous window if the
6444 last one is removed from the stack.
6445 (hildon_stackable_window_go_to_root_window):
6446 Send delete events starting from the topmost window.
6447 Stop if one of the windows is not destroyed.
6449 (hildon_stackable_window_delete_event)
6450 (hildon_stackable_window_class_init):
6451 Ignore the delete event if the window is not the topmost one.
6453 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6455 * src/hildon-pannable-area.c
6456 (hildon_pannable_area_expose_event): Fixed a problem when
6457 selecting the background color of the scrollbars.
6459 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6461 * examples/hildon-stackable-window-example.c
6462 * src/hildon-stackable-window.c
6463 * src/hildon-stackable-window.h
6464 hildon_stackable_window_go_home() renamed to
6465 hildon_stackable_window_go_to_root_window()
6466 Send delete events to windows rather than closing them with
6467 gtk_widget_destroy()
6469 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6471 * src/hildon-pannable-area.c
6472 (hildon_pannable_area_button_release_cb): Fix overshooting in
6475 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6477 * src/hildon-pannable-area.c
6478 (hildon_pannable_area_init): Initially show the scroll indicators.
6479 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6481 Add initial effect showing the widget is pannable.
6483 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6485 * src/hildon-pannable-area.c
6486 (hildon_pannable_area_class_init)
6487 (hildon_pannable_area_set_property)
6488 (hildon_pannable_area_get_property)
6489 (hildon_pannable_area_button_press_cb):
6490 New 'velocity_fast_factor' property to decide which velocity is
6493 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6495 * src/hildon-pannable-area.c
6496 (hildon_pannable_draw_hscroll)
6497 (hildon_pannable_draw_vscroll):
6498 Use float variables to calculate the size of the scrollbars to
6499 avoid error propagation and resizing during scrolling.
6501 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6503 * src/hildon-pannable-area.c
6504 (hildon_pannable_draw_vscroll)
6505 (hildon_pannable_draw_hscroll):
6506 Define a minimum size for the scroll bars
6508 * src/hildon-stackable-window.c
6509 (hildon_stackable_window_go_home): Fix compilation warning
6510 (get_last_window): Minor optimizations
6511 (hildon_stackable_window_class_init): Fix initialization of
6514 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6516 * src/hildon-stackable-window.c: Fixed typos in doc
6518 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6520 * src/hildon-pannable-area.c
6521 (hildon_pannable_area_scroll):
6522 Calculate here whether we need to scroll instead of using the booleans
6523 that tell us whether to /draw/ the scrolling bars.
6525 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6527 * src/hildon-app-menu.h
6529 * src/hildon-app-menu.c
6530 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6531 multiple filter groups related code and API. Now we support only
6533 * examples/hildon-app-menu-example.c:
6535 Update to reflect API changes.
6537 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6539 * src/hildon-stackable-window.c
6540 (hildon_stackable_window_class_init):
6541 Add hildon_stackable_window_realize.
6542 (hildon_stackable_window_realize):
6543 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6544 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6545 to apply theming and behavior specific to HildonStackableWindow
6548 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6550 * src/hildon-note.c (hildon_note_button_release):
6551 Close information notes also when tapping on them
6553 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6555 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6556 ELASTICITY, refactor and review, fix some issues with drawing
6559 * src/hildon-pannable-area.c:
6560 (hildon_pannable_area_button_press_cb): removed the conditions to
6561 avoid clicks when overshooting. It is not required
6563 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6564 define. Refatored and reviewed the code, now we do not need to
6565 manage velocity in motion_notify.
6567 (hildon_pannable_area_motion_notify_cb): We have moved the code
6568 that controls the area_scroll to the axis_scroll function and get
6569 rid of duplicated code.
6571 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6573 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6575 (hildon_pannable_draw_vscroll),
6576 (hildon_pannable_draw_hscroll): Fixed the problems with the
6577 scrollbar drawing, now we do not use two surfaces, it is easier
6578 and saves resources.
6580 (hildon_pannable_area_get_property): Style modification.
6582 (hildon_pannable_area_class_init): Changed some default values.
6584 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6586 * src/hildon-stackable-window.c: Fix some typos in the
6589 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6591 * src/hildon-dialog.c:
6592 Change indentation style
6595 (hildon_note_button_release):
6596 Use root coordinates to check if the release event happened
6599 * src/hildon-app-menu.c
6600 (hildon_app_menu_button_release):
6601 Remove unnecessary check
6603 * examples/hildon-app-menu-example.c
6605 Add cast to fix warning
6607 * src/hildon-app-menu.c
6608 (hildon_app_menu_class_init):
6609 New inner-border style property.
6610 Set all default spacings to 16
6611 (hildon_app_menu_init):
6612 Use vertical-spacing to set the space between filter buttons and
6613 regular menu buttons.
6614 Set the default container border using the inner-border value.
6616 * examples/hildon-app-menu-example.c
6618 Don't set the menu border explicitly, now we have the inner-border
6619 style property for that.
6621 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6623 * src/hildon-app-menu.c (hildon_app_menu_init):
6624 Make the window modal
6626 * src/hildon-note.c (hildon_note_map)
6627 * src/hildon-app-menu.c (hildon_app_menu_map):
6628 Destroy the grab window if we're unable to grab the pointer
6630 * src/hildon-app-menu-private.h
6631 * src/hildon-app-menu.c
6632 (hildon_app_menu_init, hildon_app_menu_finalize)
6633 (hildon_app_menu_map, hildon_app_menu_unmap)
6634 (hildon_app_menu_button_release)
6635 (grab_transfer_window_get):
6636 Bring back the grab window
6637 (hildon_app_menu_realize):
6638 Decorate the window, set WM hint for Matchbox
6640 * src/hildon-note.c (hildon_note_realize):
6641 * src/hildon-banner.c (hildon_banner_realize):
6642 Add WM hints for Matchbox
6644 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6646 * src/hildon-app-menu-private.h
6647 * src/hildon-app-menu.c
6648 (hildon_app_menu_init, hildon_app_menu_finalize)
6649 (hildon_app_menu_map, hildon_app_menu_unmap)
6650 (hildon_app_menu_button_release):
6651 Remove the grab window, it's not needed anymore
6653 * src/hildon-program.c
6654 Fixed typo in documentation
6656 * src/hildon-app-menu.h
6657 * src/hildon-app-menu.c
6658 * examples/hildon-app-menu-example.c
6659 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6661 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6664 Added new transfer_window and close_if_pressed_outside private
6666 (hildon_note_rebuild):
6667 Don't add a cancel button to the information note. It will be
6668 closed when tapping outside
6669 Remove the comment about the OK button in the documentation
6670 (hildon_note_realize):
6671 Set the notification type hint
6672 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6673 Grab/ungrab pointer and keyboard if the note has to be closed when
6675 (hildon_note_button_release):
6676 Close the note when tapping outside (if applicable)
6678 * src/hildon-app-menu.c
6679 Grab/ungrab pointer and keyboard on map/unmap
6680 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6681 Close the menu on button release, not button press
6683 * src/hildon-banner.c
6684 (hildon_banner_set_property)
6685 (hildon_banner_check_position):
6686 Make the banner use the full width of the screen
6687 (hildon_banner_show_information)
6688 (hildon_banner_show_information_with_markup):
6689 Don't display an icon by default
6691 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6693 Added fading scrollbars and adapted all the overshooting code to
6694 horizontal scrolling. We have also fixed bugs with overshooting
6695 and current fading implementation.
6697 * src/hildon-pannable-area.c
6698 (hildon_pannable_area_scroll_indicator_fade): Time out function
6699 used to change the transparency of the scrollbars.
6701 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6702 control and fixed a problem with fading, we now remove the fade
6703 timeout before adding a new one.
6705 (hildon_pannable_axis_scroll):
6706 (hildon_pannable_area_scroll):
6707 (hildon_pannable_area_timeout): Added this functions so we can use
6708 the scroll code both for vertical and horizontal.
6710 (hildon_pannable_area_motion_notify_cb):
6711 (hildon_pannable_area_button_release_cb): Added the horizontal
6712 scrolling control, fixed a problem with the overshooting timeout.
6714 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6715 painting of the scrolls.
6717 (hildon_pannable_draw_vscroll):
6718 (hildon_pannable_draw_hscroll):
6719 (hildon_pannable_area_expose_event):
6720 Draw both scrollbars and rectangles in the overshooting area.
6722 (hildon_pannable_area_get_property):
6723 (hildon_pannable_area_set_property):
6724 Modified the overshoot property to overshoot_max
6726 (hildon_pannable_area_map):
6727 Replaced the comments symbols.
6729 (hildon_pannable_area_size_allocate):
6730 (hildon_pannable_area_class_init):
6731 (hildon_pannable_area_init): Added horizontal scroll, fading
6732 effect properties, fixed a problem when overshooting in the bottom
6735 * examples/hildon-pannable-area-example.c:
6736 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6737 looks better in the example.
6739 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6741 * src/hildon-window.c
6742 * src/hildon-window.h
6743 (hildon_window_class_init)
6744 (hildon_window_unset_program)
6745 (hildon_window_unset_program_real):
6746 Make unset_program a virtual function
6748 * src/hildon-stackable-window.c
6749 * src/hildon-stackable-window.h
6750 Added hildon_stackable_window_go_home()
6752 * examples/Makefile.am
6753 * examples/hildon-stackable-window-example.c
6754 HildonStackableWindow example
6756 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6758 * hildon-pannable-area.c: Added the overshoot property and removed
6759 the OVERSHOOT define. Fixed an indent style error.
6760 (hildon_pannable_area_motion_notify_cb):
6761 (hildon_pannable_area_get_property):
6762 (hildon_pannable_area_set_property): Add overshoot property.
6764 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6767 (hildon_pannable_area_class_init): Installed the new property.
6769 * hildon-pannable-area-example.c: Added a sawtooth function, this
6770 way it is easier to check the movement in the pannable.
6771 (get_sawtooth_label): Added this function.
6772 (main): Now we get the labels from the new get_sawtooth_label
6775 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6777 * src/hildon-app-menu.h
6778 * src/hildon-app-menu.c
6779 Renamed API variables for consistency
6781 (hildon_app_menu_popup): Use also the default window size to
6782 decide where to place the menu
6784 (hildon_app_menu_init, hildon_app_menu_class_init): New
6785 external-border style property
6787 2008-05-26 Michael Natterer <mitch@imendio.com>
6789 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6790 widget_class->tap_and_hold_setup signal slot doesn't exist any
6791 longer, stop overriding it.
6793 (hildon_time_editor_init): g_signal_connect() to the
6794 tap-and-hold-setup signal instead.
6796 (hildon_time_editor_entry_keypress): add cast to fix warning.
6798 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6800 * doc/hildon-docs.sgml
6802 * examples/Makefile.am
6803 * examples/hildon-app-menu-example.c
6805 * src/hildon-app-menu-private.h
6806 * src/hildon-app-menu.c
6807 * src/hildon-app-menu.h
6809 New HildonAppMenu widget
6811 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6813 Rearranged the inheritance of the pannable area, now it inherits
6814 from GtkBin. This will allow us to control the event_window and
6815 the allocation process of the widget, required for some effects.
6817 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6818 GtkBin structures. * src/hildon-pannable-area.c: Added the
6819 event_window variable.
6820 (hildon_pannable_area_button_press_cb):
6821 (hildon_pannable_area_button_release_cb):
6822 (hildon_pannable_area_motion_notify_cb):
6823 Changed the signature of the method, now we override the event
6824 callback instead of connecting to the signal.
6826 (hildon_pannable_area_realize):
6827 (hildon_pannable_area_unrealize):
6828 (hildon_pannable_area_map):
6829 (hildon_pannable_area_unmap):
6830 (hildon_pannable_area_size_allocate):
6831 Added functions to control the widget construction. We add a
6832 INPUT_ONLY window and we put it over the widgets inside the
6833 container, this event_window handles the events.
6835 (hildon_pannable_area_class_init):
6836 Replaced the signal connections with overrides of the event
6839 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6841 Bouncing effect added when touching the borders, you can change
6842 the elasticity of the border changing the ELASTICITY define.
6844 * src/hildon-pannable-area.c: Added ELASTICITY define.
6845 (hildon_pannable_area_timeout): Added inverse velocity when
6846 touching the border of the child widget, that causes a bounce.
6848 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6850 Improved performance, we now do not go to the X server in order to
6851 get the list of window children. Apparently the effect is the
6852 same, we have to be careful and check if this breaks something in
6855 * src/hildon-pannable-area.c:
6856 (get_ordered_children): Removed this function.
6857 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6858 the children windows function with gdk_window_get_children.
6860 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6862 * src/hildon-pannable-area.c:
6863 (hildon_pannable_area_dispose): Fixed a crash when closing the
6864 window and kinetics is activated.
6866 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6868 * src/hildon-pannable-area.h
6869 * src/hildon-pannable-area.c
6870 Changed indentation style to meet the one used in Hildon
6872 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6874 Reviewed the interaction of the AUTO mode, now we use the time
6875 attribute of the events and calculate the velocity in the motion,
6876 doing a gimp like calculation. The velocity is calculated in each
6877 motion event using the last velocity and the current one, the
6878 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6880 * src/hildon-pannable-area.c: Replaced the time based algorithm
6882 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6883 timeout for the AUTO mode when we are still moving the cursor. We
6884 added also the velocity calculation in this function.
6885 (hildon_pannable_area_button_release_cb): launch the timeout in
6886 case we are in AUTO mode. There are still some constants here that
6887 come from the old implementation that should be reviewed and
6890 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6892 * doc/hildon-docs.sgml
6895 * src/hildon-stackable-window.c
6896 * src/hildon-stackable-window.h
6898 New HildonStackableWindow widget
6900 * examples/hildon-dialog-example.c
6901 * examples/hildon-pannable-area-example.c
6904 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6906 * src/hildon-dialog.c
6907 (hildon_dialog_new_with_buttons): New constructor.
6909 * examples/hildon-dialog-example.c
6910 (main): Update the example to use the new
6911 hildon_dialog_new_with_buttons().
6913 * examples/hildon-pannable-area-example.c
6914 (main): Update example.
6916 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6918 * doc/hildon-docs.sgml
6920 Added HildonPannableArea to the documentation.
6922 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6924 * doc/visual_index.xml
6925 Fix reference to HildonLoginDialog in documentation
6927 * doc/hildon-docs.sgml
6929 * examples/Makefile.am
6930 * examples/hildon-dialog-example.c
6932 * src/hildon-dialog.c
6933 * src/hildon-dialog.h
6935 New HildonDialog widget.
6937 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6939 * src/hildon-pannable-area.c
6940 Merge latest changes (r4318, r4342) from libmokoui trunk
6942 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6944 * examples/Makefile.am
6945 * examples/hildon-pannable-area-example.c
6947 * src/hildon-pannable-area.c
6948 * src/hildon-pannable-area.h
6950 New HildonPannableArea widget.
6952 2008-04-15 18:05:19 <timj@imendio.com>
6954 * src/hildon-banner.c: revert the recent change, that introduced
6955 gtk_window_present() calls. this reopens:
6956 Bug 78481 - [freetest] information banners are hidden under browser menu
6957 But resolves another variant of:
6958 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6960 2008-04-15 13:21:13 <timj@imendio.com>
6962 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6963 recreated its layout, spotted by Kris. this fixes all remaining
6964 artefacts and stability issues with the banner code. in particular:
6965 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6967 2008-04-14 16:52:59 <timj@imendio.com>
6969 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6970 operating on unrealized widgets, fixes:
6971 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6973 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6975 2008-04-09 Kristian Rietveld <kris@imendio.com>
6977 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6978 makes banner disappear.
6979 Fixes: NB#79182: info banner flickering with certain message lengts.
6981 * src/hildon-banner.c (hildon_banner_constructor),
6982 (hildon_banner_init), (hildon_banner_set_text),
6983 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6984 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6985 FALSE, reset size requests of label and banner,
6986 (force_to_wrap_truncated): when the text is too wide, always enforce
6987 the maximum possible width instead of recalculating it from the
6988 layout; enforce the maximum banner height of 3 lines,
6989 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6990 nicer wrapping and no truncated chars if space gets tight.
6992 * src/hildon-banner-private.h: add has_been_wrapped and
6993 has_been_truncated fields.
6995 2008-04-07 Sven Herzberg <sven@imendio.com>
6997 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6998 local values in hildon_date_editor_size_allocate
7000 * src/hildon-date-editor.c: moved the real allocation code into the
7003 2008-04-07 Sven Herzberg <sven@imendio.com>
7005 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7006 local values in hildon_date_editor_size_allocate
7008 * src/hildon-date-editor.c: merged the two if() branches together
7010 2008-04-07 Sven Herzberg <sven@imendio.com>
7012 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7013 local values in hildon_date_editor_size_allocate
7015 * src/hildon-date-editor.c: changed the arguments of the if()
7018 2008-04-07 Sven Herzberg <sven@imendio.com>
7020 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7021 local values in hildon_date_editor_size_allocate
7023 * src/hildon-date-editor.c: split the calculation of the allocation
7024 from the real allocation
7026 2008-03-27 Michael Natterer <mitch@imendio.com>
7028 Fixes: NB#81696: The passcode is not overwritten even after
7031 * src/hildon-code-dialog.c
7032 (hildon_code_dialog_button_clicked)
7033 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7034 because that doesn't overwrite selected text. Instead, emit the
7035 "commit" signal on the entry's im_context so the entry's normal
7036 insert logic is triggered. Set the cursor to the end of the entry
7037 after each insert operation so that we *only* insert in the middle
7038 of the text if something was selected.
7040 2008-03-27 Michael Natterer <mitch@imendio.com>
7042 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7043 selector cannot be opened
7045 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7046 when the popup color selector is created. Please connect to this
7047 signal in order to set the dialog's help ID.
7049 2008-03-25 Sven Herzberg <sven@imendio.com>
7051 Fixes: MB#1212: Hide info banners (infoprints) on click
7053 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7054 extracted the close event simulation into an extra function
7055 (hildon_banner_button_press_event): simulate a close event and destroy
7056 the widget if the event wasn't handled
7057 (hildon_banner_class_init): added the button_press_event handler
7058 (hildon_banner_init): added button-press events to the widget
7060 2008-03-25 Sven Herzberg <sven@imendio.com>
7062 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7063 Patch from: Mohammad Anwari <mdamt@maemo.org>
7065 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7066 instead of the right in RTL mode
7067 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7068 breadcrumb button list in RTL mode
7069 * src/hildon-caption.c: mirror the appearance of the caption widget in
7071 * src/hildon-date-editor.c: mirror appearance of the date editor in
7073 * src/hildon-time-editor.c: mirror appearance of the time editor in
7075 * src/hildon-window.c: fix the position of the popup in RTL mode
7077 2008-03-25 Sven Herzberg <sven@imendio.com>
7079 Amendment to the fix of NB#22072. Fix compilation.
7081 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7083 2008-03-19 Sven Herzberg <sven@imendio.com>
7085 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7088 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7089 timeout id properly when the timeout will disappear this leaves no
7090 artifacts around in the destroy(); there will only be the timeout
7091 created by hildon_banner_ensure_timeout() and adding a new timeout
7092 will also work if the timeout gets removed because the timeout_handler
7095 2008-03-19 Michael Natterer <mitch@imendio.com>
7097 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7099 * src/hildon-volumebar.c
7100 * src/hildon-vvolumebar.c
7101 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7102 the widget becomes focussable at all.
7104 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7105 set the focus to wither the mute button or the volumebar.
7107 Remove own "can-focus" property and instead listen to
7108 notify::can-focus in order to update the widget's state.
7110 Implement GtkWidget::focus() and make sure we can also *leave* the
7111 widget, not only enter it, depending on volumebar orientation and
7112 requested focus direction.
7114 Clean up set_mute() to cooperate nicely with all the above.
7116 2008-03-04 Michael Natterer <mitch@imendio.com>
7118 Fixes: NB#78481: information banners are hidden under browser menu
7120 * src/hildon-banner.c: call gtk_window_present() on the banners so
7121 they are risen if they are already visible.
7123 2008-03-03 Sven Herzberg <sven@imendio.com>
7125 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7127 * examples/hildon-window-menu-example.c: (main): extended the window
7128 menu example to serve as a testcase for automatically added
7129 accelerator groups, too
7130 * src/hildon-window.c: (hildon_window_add_accel_group),
7131 (hildon_window_set_menu): added patch by Tommi Komulainen
7133 2008-03-03 Sven Herzberg <sven@imendio.com>
7135 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7137 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7138 knowledge about the border allocators used within GTK+
7140 2008-02-26 Sven Herzberg <sven@imendio.com>
7142 Fixes: MB#2981: Build with asserts broken
7144 * src/hildon-date-editor.c,
7145 * src/hildon-number-editor.c,
7146 * src/hildon-time-editor.c,
7147 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7148 the proper GType instance check
7150 2008-02-25 Sven Herzberg <sven@imendio.com>
7152 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7154 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7155 * examples/hildon-window-menu-example.c: (main): explicitly show
7157 * src/hildon-window.c:
7158 (hildon_window_set_main_menu): moved most of the code from set_menu()
7159 to this place; skipped the call to gtk_widget_show_all(); also didn't
7160 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7161 (hildon_window_set_menu): removed most of the code, just keep the
7162 questionable gtk_widget_show_all()
7163 * src/hildon-window.h: added the new function and deprecate the old
7166 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7172 * debian/changelog: Updating.
7174 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7177 * pkgconfig/Makefile.am:
7178 * pkgconfig/hildon.pc.in:
7181 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7182 use newly created API_MAJOR_VERSION.
7184 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7190 * debian/changelog: Updating.
7192 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7194 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7196 Add outer_border style property, we use it but don't define it (!).
7200 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7202 * examples/hildon-bread-crumb-trail-example.c (main):
7206 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7208 Fix logic for the bread crumb trail node removal.
7212 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7218 * debian/changelog: Updating.
7220 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7222 Patch by Alejandro to get/set passwords dialogs accesibility.
7224 * hildon-1/src/hildon-get-password-dialog.c:
7225 * hildon-1/src/hildon-set-password-dialog.c:
7226 Set atk_set_name to the passwd entries in order to allow
7227 accessibility by name on this entries.
7229 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7234 * debian/control: Updating gtk dep.
7236 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7238 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7239 USE_MAEMO_GTK is enabled.
7241 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7243 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7244 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7246 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7252 * debian/changelog: Updating.
7254 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7256 * examples/Makefile.am:
7257 * examples/hildon-logical-color-example.c:
7258 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7259 applied + adding a test case. Fixes: NB#71660.
7261 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7263 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7264 to be visible, fixes warning on map for windows without toolbars.
7266 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7268 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7269 2.11.0, add a check for that besides the MAEMO_GTK check.
7271 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7277 * debian/changelog: Updating.
7279 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7281 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7282 visibility. Fixes: NB#70842 and MB#615.
7284 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7286 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7287 set the separator as no-show-all so it doesn't unintentionally appear when
7288 someone does a show_all.
7290 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7292 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7293 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7294 toplevel item. Fixes: NB#62031
7296 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7298 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7299 fix the name of the function in the docs.
7301 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7307 * debian/changelog: Updating.
7309 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7311 * examples/hildon-banner-long-example.c: Adding a test-case for long
7314 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7316 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7318 * src/hildon-color-chooser-dialog.c:
7319 * src/hildon-color-chooser.c:
7320 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7321 memory leaks in font selector and color selector. Fixes: NB#70499 and
7324 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7326 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7328 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7330 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7331 little bit bigger. Fixes: #NB63694.
7333 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7339 * debian/changelog: Updating.
7341 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7344 * doc/hildon-docs.sgml:
7345 * doc/images/bread-crumb-trail.png:
7346 * doc/images/calendar-popup.png:
7347 * doc/images/caption.png:
7348 * doc/images/code-dialog.png:
7349 * doc/images/color-button.png:
7350 * doc/images/color-chooser-dialog.png:
7351 * doc/images/color-chooser.png:
7352 * doc/images/controlbar.png:
7353 * doc/images/date-editor.png:
7354 * doc/images/font-selection-dialog.png:
7355 * doc/images/get-password-dialog.png:
7356 * doc/images/hvolumebar.png:
7357 * doc/images/login-dialog.png:
7358 * doc/images/note.png:
7359 * doc/images/number-editor.png:
7360 * doc/images/range-editor.png:
7361 * doc/images/seekbar.png:
7362 * doc/images/set-password-dialog.png:
7363 * doc/images/sort-dialog.png:
7364 * doc/images/time-editor.png:
7365 * doc/images/time-picker.png:
7366 * doc/images/vvolumebar.png:
7367 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7368 Adding the bread-crumb-trial and helpers to the documentation.
7370 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7372 * examples/hildon-find-toolbar-example.c:
7373 * src/hildon-find-toolbar.c:
7374 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7375 actually continue firing the other handlers if connected. Adding a new
7377 hildon_find_toolbar_get_last_index that gets the index of the most
7378 recently added (last) item. Fixes: NB#52301.
7380 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7382 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7383 behaviour. Fixes: NB#68610.
7385 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7387 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7390 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7392 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7393 when realizing the banner. Should make the infonbanner effect a bit more
7396 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7398 * src/hildon-volumebar.c:
7399 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7400 hildon_volumebar_set_range_insensitive_message and
7401 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7403 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7405 * src/hildon-window.c: Fixing the border freeing on destroy.
7407 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7409 * src/hildon-code-dialog-private.h:
7410 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7411 kw keyboard support in HildonCodeDialog.
7413 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7419 * debian/changelog: Updating.
7421 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7423 * src/hildon-date-editor.c:
7424 * src/hildon-number-editor.c:
7425 * src/hildon-private.c:
7426 * src/hildon-private.h:
7427 * src/hildon-time-editor.c:
7428 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7429 handling in subclassed composite widgets. Fixes: NB#66628.
7431 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7433 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7434 from destroy_ callback as it introduces problems in async dbus signal
7435 handlers. Fixes NB#66673.
7437 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7439 * examples/hildon-hvolumebar-example.c:
7440 * src/hildon-volumebar.c: Improving the focus handling in the
7441 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7442 set_property accessor so that "mute" property can be actually set. I'm
7443 scared that nobody noticed it's totally broken.
7445 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7447 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7450 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7452 * src/hildon-calendar.c:
7453 * src/hildon-number-editor.c:
7454 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7455 matches the spec of 6 chars per second. Fixes: NB#60489.
7457 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7459 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7460 gtk_style_lookup_color sometime returns FALSE even though color was
7461 found and values were filled properly. Weird. Removing the warning for the
7464 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7466 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7467 expand vertically. Adding some extra space to the find toolbar buttons to
7468 make them thumbable. Fixes NB#66060.
7470 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7472 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7473 popup with "Ok" and "Cancel". Fixes NB#59299.
7475 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7477 * src/hildon-calendar.c: Process all window updates before executing next
7478 timeout. Fixes: NB#54146.
7480 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7486 * debian/changelog: Updating.
7488 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7490 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7491 the client event and ignore it, since we use the delete event to close
7494 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7496 * src/hildon-helper.c: Remove the bogus warning about color not being
7497 found. Fixes NB#58352.
7499 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7501 * examples/Makefile.am:
7502 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7503 HildonSeekbar widget inside a toolbar.
7505 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7507 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7508 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7509 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7510 don't want to be closed by non-temporary windows on map.
7512 Also use G_DEFINE_TYPE instead of manually typed code.
7514 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7521 * debian/rules: Updating.
7523 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7525 * examples/Makefile.am:
7526 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7527 bug NB#61128. Strangely it works.
7529 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7531 * src/hildon-date-editor.c: When the date editor entry has been changed
7532 but the numbers of characters < max, turn off the skip validation flag.
7533 Prevents a situation when we enter first a valid year and later re-write
7534 it with an invalid one. Fixes NB#60154.
7536 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7538 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7539 code dialog. Fixes NB#64355.
7541 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7543 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7544 switching the page. Fixes NB#49374.
7546 * examples/Makefile.am:
7547 * examples/hildon-wizard-dialog-example.c: Adding an example for
7548 HildonWizardDialog that shows how to handle manual sensitivity setting on
7551 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7555 * src/hildon-version.h.in:
7556 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7558 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7560 * src/hildon-volumebar.c: Updating the docs.
7562 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7568 * debian/changelog: Updating.
7570 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7572 * src/hildon-find-toolbar.c:
7573 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7574 selected item: hildon_find_toolbar_set_active,
7575 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7576 hildon_find_toolbar_get_active_iter . They correspond to respective
7577 GtkComboBox functions.
7579 * examples/Makefile.am:
7580 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7583 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7585 * examples/Makefile.am:
7586 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7589 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7590 when font size > 32 and we pack a focusable widget inside. Actually using
7591 the default response would work too, but since we don't show default
7592 response state in any way (no theming) it would not be visible to the
7593 user. Fixes NB#63430.
7595 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7597 * src/hildon-date-editor.c: Adding the missing variable setter in the
7598 set_property handler. Fixes NB#54182.
7600 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7602 * src/hildon-window.h: Changing the long key press time from 1500ms to
7603 800ms as requested in NB#63700. I have a bad feeling about this, let's
7604 see... Fixes NB#63700.
7606 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7608 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7609 hildon_time_picker_map, hildon_time_picker_realize,
7610 hildon_time_picker_style_set): Split the contents of map to more
7611 appropriate functions; set window decorations on realize and update
7612 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7614 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7619 * debian/changelog: Updating.
7621 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7623 * src/Makefile.am: fixed installation of the header files
7625 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7631 * debian/changelog: Updating.
7633 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7635 * configure.ac: Removing some remaining of --enable-xan.
7637 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7639 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7640 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7642 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7643 2.10.12-osso6 because the move-focus signal needs to be available in
7646 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7648 * examples/Makefile.am:
7649 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7650 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7651 fine. Prolly NB#61128 is fixed now.
7653 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7655 * src/hildon-volumebar.c:
7656 * src/hildon-volumebar.h: Adding the
7657 hildon_volumebar_set_range_insensitive_message and
7658 hildon_volumebar_set_range_insensitive_messagef functions to set
7659 insensitive message on the slider of the volumebar. Fixes NB#61129.
7661 * examples/Makefile.am:
7662 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7663 test the new insensitive messsage functionality on HildonVolumebar.
7665 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7667 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7670 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7672 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7673 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7674 button on after clearing the trail.
7676 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7678 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7680 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7682 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7683 by splitting the installed headers in generated and non-generated groups. Use
7684 only the non-generated headers to create the hildon-enum-types.h file.
7686 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7688 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7690 * src/hildon-window.c: Hide the window before performing the destroy.
7691 Should make the app closing a little tiny bit more snappy.
7693 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7695 * src/hildon-seekbar.c: add gtkrange.h header
7696 * src/hildon-caption.c: remove unused variable
7698 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7700 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7703 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7709 * debian/changelog: Updating.
7711 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7713 * src/hildon-window.c (hildon_window_window_state_event,
7714 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7715 escape timeout on focus-out-event rather than notify::is-topmost; the
7716 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7718 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7720 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7721 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7723 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7725 * src/hildon-window: actually, you need to use the macro always, there's
7726 no private pointer in the instance structure. We should have cleaned this up
7727 when we had the chance...
7729 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7731 * src/hildon-window.c: do not get the private date from HildonWindow before
7732 it passes the g_return_if_fail check. Once it's passed the test, there's no
7733 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7734 if you are only going to access the data once. Whitespace cleanups.
7736 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7738 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7739 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7741 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7747 * debian/changelog: Updating.
7749 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7751 * src/hildon-window.c: When destroying the window, remove (if exists) the
7752 escape timeout handler. Fixes #NB59276.
7754 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7756 * src/hildon-banner.c: When realizing the widget, set the window
7757 transiency. Setting the transiency in the gobject constructor is not
7758 good, as the widget is not realized at that point. Fixes: #NB56624.
7760 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7762 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7763 Add padding for future expansions.
7765 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7767 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7768 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7769 will fake an activation on the previous to the last item of the trail, so
7770 the effect can be overrided by the developer as usual.
7771 Also change the callback for the back button to do the same thing, so its
7772 effect can be overrided too. Fixes: NB#58982
7774 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7776 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7777 HildonCaption. Fixes NB#52379.
7779 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7781 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7782 the internal state of the trail after the user has had the chance of executing
7783 his handler for the signal. Specifically, it may happen that the activated button
7784 is removed and the user still lets the default handler run. This would segfault
7787 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7789 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7790 scrollbar to the preview dialog. Fixes NB#54147.
7792 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7794 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7795 max/min year properties can be altered, so the client can modify it
7796 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7798 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7800 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7801 hildonlike by default. Fixing a problem with disappearing arrows when
7802 scrolling through months and years. Fixes NB#54127.
7804 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7806 * examples/hildon-date-editor-example.c: Adding error callback to the date
7809 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7815 * configure.ac: Updating.
7817 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7819 * configure.ac: Adding a special '--enable-xan' configure option that
7820 turns off the -Werror compilation setting. Usefull for development.
7822 * src/hildon-calendar.c:
7823 * src/hildon-number-editor.c:
7824 * src/hildon-time-picker.c: Adding the 5* multiplier to
7827 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7829 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7830 instead of g_object_ref + gtk_object_sink.
7832 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7838 * debian/changelog: Updating.
7840 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7842 * src/hildon-color-chooser-dialog.c:
7843 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7844 straight from Tommi labs.
7846 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7848 * examples/hildon-finger-example.c: Correcting the header file path.
7850 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7851 the changed signal. Fixes a small memory leak.
7853 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7857 * src/hildon-banner.c: Importing several usefull fixes from the
7858 ubuntu-mobile branch.
7860 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7862 * examples/Makefile.am:
7863 * examples/hildon-finger-example.c: Adding a finger-checking code
7866 * src/hildon-font-selection-dialog.c: Do not allocate the color
7867 structure using the g_new. Fixes NB#54061.
7869 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7871 * src/hildon-helper.c: Correcting tabs in file.
7873 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7875 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7876 control the visibility of the children.
7878 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7880 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7886 * debian/changelog: Updating.
7888 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7890 * src/hildon-bread-crumb-trail.c:
7891 (hildon_bread_crumb_trail_size_allocate):
7893 Make the back button always a square.
7895 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7897 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7898 from the .c file as it's a private file.
7900 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7902 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7903 uses slightly bigger height.
7905 * src/hildon-font-selection-dialog.c: Adding some checks before
7906 freeing memory in the font selection dialog.
7908 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7910 * src/hildon-font-selection-dialog.c: Adding a small check when
7913 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7914 buttons sensitivity on page switching.
7916 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7918 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7919 internal details of adding a bread crumb to the trail.
7921 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7927 * debian/changelog: Updating.
7929 * src/hildon-bread-crumb-trail.h:
7930 * src/hildon-bread-crumb.h: Changing the API guard to
7931 HILDON_ENABLE_UNSTABLE_API.
7933 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7941 * src/hildon-helper.h: Updating.
7943 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7951 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7955 * src/hildon-helper.h: Small fix to make the package actually compile.
7957 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7959 * src/hildon-bread-crumb-trail.h:
7960 * src/hildon-bread-crumb.h:
7962 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7963 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7965 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7967 * examples/hildon-bread-crumb-trail-example.c:
7969 * src/hildon-bread-crumb-trail.c:
7970 * src/hildon-bread-crumb-trail.h:
7971 * src/hildon-bread-crumb.c:
7972 * src/hildon-bread-crumb.h:
7973 * src/hildon-marshalers.list:
7974 * src/hildon-bread-crumb-widget.c:
7975 * src/hildon-bread-crumb-widget.h:
7977 Slight change in the widget design. The bread crumb trail API is
7978 unchanged, but HildonBreadCrumb is now an interface. A *private*
7979 implementation, hildon-bread-crumb-widget, is provided and used
7980 internally by the trail for the push_text/push_icon functions.
7982 The generic push API is still available, so anyone can implement
7983 and use its own bread crumb widget.
7985 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7987 * debian/rules: Fixing the shlibs.
7989 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7991 * src/hildon-banner.c: Fixing a problem with timed banners having
7992 their parrent destroyed before they are.
7994 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7996 * src/hildon-bread-crumb.c:
7997 * src/hildon-bread-crumb.h:
7999 Make the get_natural_size function a vfunc.
8001 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8003 * src/hildon-bread-crumb.c:
8004 * src/hildon-bread-crumb-trail.c:
8008 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8015 * debian/changelog: Updating for release.
8017 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8019 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8020 don't leak the pango layout.
8022 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8025 * examples/hildon-bread-crumb-trail-example.c:
8029 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8031 * debian/changelog: Removing the bug-fixed entries that were actually
8032 resolved as WONTFIX.
8034 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8037 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8039 * src/hildon-bread-crumb-trail.c:
8040 * src/hildon-bread-crumb-trail.h:
8041 * src/hildon-bread-crumb.c:
8042 * src/hildon-bread-crumb.h:
8046 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8048 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8049 until it's passed the type check.
8051 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8053 * examples/hildon-bread-crumb-trail-example.c
8057 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8059 * examples/Makefile.am
8060 * examples/hildon-bread-crumb-trail-example.c
8062 * src/hildon-bread-crumb-trail.c
8063 * src/hildon-bread-crumb-trail.h
8064 * src/hildon-bread-crumb.c
8065 * src/hildon-bread-crumb.h
8067 New HildonBreadCrumbTrail widget.
8069 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8071 * src/hildon-range-editor.c (hildon_range_editor_init),
8072 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8073 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8074 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8075 hildon_time_editor_class_init, hildon_time_editor_init),
8076 src/hildon-get-password-dialog.c (invalid_input,
8077 hildon_get_password_set_property, hildon_get_password_get_property,
8078 create_contents, hildon_get_password_dialog_set_max_characters),
8079 src/hildon-set-password-dialog.c (create_contents),
8080 src/hildon-date-editor.c (hildon_date_editor_init),
8081 src/hildon-login-dialog.c (hildon_login_dialog_init),
8082 src/hildon-number-editor.c (hildon_number_editor_init),
8083 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8084 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8085 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8086 configure option and adding the respective checks in the code.
8087 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8088 hildon_calendar_drag_data_received): fixed some build warnings.
8090 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8092 * debian/changelog: A 1.0.0 release notes.