1 2009-05-21 Alejandro Pinheiro <apinheiro@igalia.com>
3 * hildon/hildon-banner-private.h: new require_override_dnd and
4 overrides_dnd variables
5 * hildon/hildon-banner.h:
6 (hildon_banner_show_information_override_dnd): new method, that shows
7 the information but sets the override flag, in order to show important
9 * hildon/hildon-banner.c
10 (hildon_banner_show_information_override_dnd): new method
11 (hildon_banner_set_override_flag): new utility function
12 (hildon_banner_real_show_information): new utility function, in order to
13 generalize the current hildon_banner_show_information_override_dnd and
14 hildon_banner_show_information_override_dnd
15 * examples/Makefile.am
16 * examples/hildon-banner-dnd-example.c: New example that show how to
17 use the new hildon_banner_show_information_override_dnd
19 Fixes: NB#114874 (There is no possibility to show hildon banners with
22 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
24 * hildon/hildon-pannable-area.c: Add a comment explaining the math
25 behind hildon_pannable_calculate_vel_factor().
27 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
29 * hildon/hildon-pannable-area.c
30 (hildon_pannable_calculate_vel_factor): Correct the sum of the
33 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
35 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
36 Reduce the default value for 'scroll_time' to 1 second, since the
37 current initial scrolling takes too much time.
39 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
41 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
42 calculate velocity factor during initialization, since the properties
45 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
47 * hildon/hildon-pannable-area.c
48 (hildon_pannable_area_set_property): Calculate the velocity factor
49 after setting the deceleration property and not after.
51 2009-05-20 Alberto Garcia <agarcia@igalia.com>
53 * hildon/hildon-entry.c
54 (hildon_entry_class_init, +set_property, hildon_entry_new)
55 * hildon/hildon-check-button.c
56 (hildon_check_button_class_init)
57 (+set_property, hildon_check_button_new):
58 Make the theme size a property.
60 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
61 others) do too much in the _new function)
63 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
65 * configure.ac: post release version bump
66 * debian/changelog: post release version bump
68 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
73 * configure.ac: Bump version.
74 * debian/changelog: Updates.
76 2009-05-15 Alberto Garcia <agarcia@igalia.com>
79 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
80 New API function to take a screenshot of a window
82 Fixes: NB#106374 (Need API to take a loading screenshot)
84 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
86 * hildon/hildon-time-selector.c
87 (update_format_policy): prevent to use hours and minutes unitialized
89 2009-05-15 Alberto Garcia <agarcia@igalia.com>
91 * hildon/hildon-window.c (hildon_window_size_request):
92 Always request the full size of the screen (minus the title bar if
93 not in fullscreen mode).
95 Fixes: NB#107486 (HildonWindow should size itself properly)
97 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
99 * hildon/hildon-note-private.h: Add idle_handler to the private data.
100 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
101 (on_show_cb), (sound_handling): Disconnect the idle handler for
102 the sound when the note is finalized to avoid possible crashes.
104 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
107 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
109 * src/hildon-animation-actor.c,
110 * src/hildon-remote-texture.c:
111 Added proper object cleanup to remove signal handler and object
112 references as HildonAnimationActor and HildonRemoteTexture
113 objects get destroyed.
115 Fixes: NB#116682 (Destroying parented animation actors when
116 parent in unmapped leads to crash)
118 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
120 Based on a patch by Christian Dywan (christian@imendio.com)
122 * doc/hildon-sections.txt:
123 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
124 * hildon/hildon-helper.h: New file size formatting method.
126 * debian/control: Depend on osso-filemanager l10n package for
127 proper localization strings.
129 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
131 * tests/Makefile.am: Include top_srcdir to make possible to build
132 tests in a different builddir.
133 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
134 on a different builddir.
136 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
138 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
139 (hildon_touch_selector_remove): Disconnect model's signal handler
142 Fixes: NB#116289 (Hildon home crashes while adding task
145 2009-05-11 Alberto Garcia <agarcia@igalia.com>
147 * hildon/hildon-button.c
148 (hildon_button_set_title, hildon_button_set_value):
149 Hide labels containing an empty string.
151 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
153 * configure.ac: post release version bump
154 * debian/changelog: post release version bump
156 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
161 * configure.ac: Bump version.
162 * debian/changelog: Updates.
164 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
166 * hildon/hildon-note-private.h: Removed sound_signal_handler
167 * hildon/hildon-note.c
168 (on_show_cb): new callback on note "show" event, this simply adds
169 a idle, with the function sound_handling
170 (sound_handling): removed the sound_signal_handler management
171 (hildon_note_init): connect note "show" event to on_show_cb
172 (hildon_note_realize): remove the connection to "expose-event"
174 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
175 device?' confirmation note)
177 2009-05-08 Alberto Garcia <agarcia@igalia.com>
179 * hildon/hildon-note.c
180 (hildon_note_new_information_with_icon_name)
181 (hildon_note_new_confirmation_with_icon_name):
182 Terminate the list of parameters in g_object_set() calls
184 Fixes: NB#115166 (Formatting memory card is not taking place)
186 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
188 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
189 "dialog-information" role for the sound being played.
191 2009-05-06 Alberto Garcia <agarcia@igalia.com>
193 * hildon/hildon-app-menu.c (hildon_app_menu_init):
194 Don't make the menu a modal window, it causes strange interactions
195 with the pointer grab and it's not really needed.
197 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
199 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
201 * hildon/hildon-touch-selector.[ch]
202 (hildon_touch_selector_optimal_size_request): function added to get a
203 optimal size request from the touch selector, when you want a dialog to
204 show as much of the selector
205 * hildon/hildon-picker-dialog.c:
206 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
207 (hildon_app_menu_class_init):
208 New "max-height-landscape" and "max-height-portrait" style properties
209 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
210 (hildon_picker_dialog_get_max_height): returns the maximum height using
211 the style properties defined and checking the current portrait/landscape
213 (_hildon_picker_dialog_set_selector): removed the set_size_request
215 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
217 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
219 * hildon/hildon-bread-crumb-trail.c:
220 * hildon/hildon-bread-crumb.c:
221 * hildon/hildon-seekbar.c:
222 Add reference to replacements for these deprecated widgets.
224 Fixes: MB#4461 (Documentation: All deprecations should mention
227 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
229 * examples/hildon-remote-texture-example.c
231 Change the include to the hildon-remote-texture in order to compile
232 properly the examples on the installed libhildon1-examples package
234 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
236 * tests/Makefile.am: Add check for HildonPickerButton.
237 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
238 (START_TEST), (create_hildon_picker_button_suite): Add three simple
239 checks for the HildonPickerButton.
240 * tests/check_test.c (configure_tests): Add the test suite.
241 * tests/test_suites.h: likewise.
243 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
245 * hildon/hildon-touch-selector.c
246 (+on_row_changed): Emit HildonTouchSelector:changed when the
247 contents of a selected row change.
248 (_create_new_column), (_hildon_touch_selector_set_model): connect
249 to GtkTreeModel:row-changed on a newly set model.
251 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
253 2009-05-05 Alberto Garcia <agarcia@igalia.com>
255 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
257 * hildon/hildon-banner.c (hildon_banner_destroy)
258 (hildon_banner_show_progress, hildon_banner_set_fraction):
259 Remove the progress bar from HildonBanner and use a progress
262 Fixes: NB#113761 (Update progress banner to use progress
265 2009-05-04 Alberto Garcia <agarcia@igalia.com>
267 * hildon/hildon-banner.c:
268 Calculate size of the banner label using the actual screen width
269 rather than using a fixed value.
271 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
274 2009-05-04 Alejandro G. Castro <alex@igalia.com>
276 * hildon/hildon-pannable-area.c,
277 (hildon_pannable_area_class_init): Fixed signals documentation
280 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
282 * configure.ac: post release version bump
283 * debian/changelog: post release version bump
285 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
290 * configure.ac: Bump version.
291 * debian/changelog: Updates.
293 2009-05-01 Alberto Garcia <agarcia@igalia.com>
295 * hildon/hildon-edit-toolbar.c
296 (hildon_edit_toolbar_init):
297 Don't let buttons in HildonEditToolbar receive focus.
299 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
300 typing on an HW arrows key)
302 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
304 * doc/Makefile.am: Fix build.
306 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
308 * doc/Makefile.am: Do not redefine content_files.
310 2009-04-30 Alberto Garcia <agarcia@igalia.com>
318 Renamed src/ to hildon/
323 Include <hildon/hildon.h> directly in all examples.
325 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
327 * src/hildon-sort-dialog.c
328 (hildon_sort_dialog_add_sort_key_with_sorting)
332 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
334 * src/Makefile.am: Move generated sources to CLEANFILES, so that
335 make distcheck passes.
337 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
339 * Makefile.am: Enable gtk-doc during distcheck.
341 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
343 * Makefile.am: Do not distribute the debian/ directory.
345 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
347 * doc/Makefile.am: Add the extra SGML files to content_files,
348 so that they are distributed properly.
350 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
352 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
355 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
357 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
358 (hildon_note_new_information_with_icon_name): Set the "icon" property
359 to preserve soundness.
361 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
363 * src/hildon-font-selection-dialog.c
364 (hildon_font_selection_dialog_set_property): Fail when the "family"
365 property is set to NULL.
367 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
369 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
372 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
374 * src/hildon-time-selector.h:
375 Added HildonTimeSelectorFormatPolicy
376 * src/hildon-time-selector.c:
377 Added PROP_TIME_FORMAT_POLICY
378 (_check_ampm_format): renamed to check_automatic_ampm_format
379 (update_format_policy), (update_format_dependant_columns): new functions
380 (hildon_time_selector_class_init)
381 (hildon_time_selector_contructor)
382 (hildon_time_selector_init)
383 (hildon_time_selector_get_property)
384 (hildon_time_selector_set_property)
385 (hildon_time_selector_get_time)
386 (hildon_time_selector_set_time)
387 * src/hildon-touch-selector.h: new file
388 * src/hildon-touch-selector.c
389 (hildon_touch_selector_emit_changed)
390 (hildon_touch_selector_block_changed)
391 (hildon_touch_selector_unblock_changed)
392 Added functions to allow to block the emission of the "changed" signal
393 * src/hildon-picker-dialog.c
394 (hildon_picker_dialog_show): call the parent show before the custom code
395 * examples/hildon-time-button-example.c
396 Modified, so now you can configure the time format using the new property
398 Added a new property "time-format-policy" that allow to choose the time
399 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
400 case it uses gconf in order to check if the time selector must use
403 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
406 2009-04-28 Alberto Garcia <agarcia@igalia.com>
408 * src/hildon-note.c (hildon_note_init):
409 Label in HildonNote must be left aligned, not centered. This
410 reverts the last commit in HildonNote.
412 Fixes: NB#112933 (text is not left aligned in confirmation dialog
413 is connectivity dialog)
415 2009-04-27 Alberto Garcia <agarcia@igalia.com>
420 * doc/hildon-sections.txt:
421 Added hildon_gtk_window_set_do_not_disturb()
423 2009-04-27 Alberto Garcia <agarcia@igalia.com>
425 * src/hildon-note.c (hildon_note_init): Center label.
427 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
430 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
435 * configure.ac: Bump version.
436 * debian/changelog: Updates.
438 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
440 * src/hildon-note-private.h: Add button-width to the private data.
441 * src/hildon-note.c (+resize_button),
442 (+hildon_note_orientation_update): methods to repack widgets on orientation
444 (screen_size_changed): Call above method for confirmation notes.
445 (hildon_note_realize): Always connect to the "screen-size" changed signal.
446 (hildon_note_rebuild): Store the original width request from buttons.
448 Fixes: NB#109635 (Confirmation notes do not support portrait)
450 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
452 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
453 when it is a progress note.
455 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
457 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
458 in the note, since there are no horizontally arranged contents.
460 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
462 * src/hildon-gtk.c (+set_flag): new generic method to
463 set/delay a flag setting in a window.
464 (hildon_gtk_window_set_progress_indicator):
465 (hildon_gtk_window_set_do_not_disturb),
466 (hildon_gtk_window_set_portrait_flags): use set_flag() to
467 avoid code redundance.
469 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
471 Based on a patch by Alberto Garcia (agarcia@igalia.com)
473 * src/hildon-gtk.c (set_clear_window_flag),
474 (do_set_progress_indicator), (do_set_do_not_disturb),
475 (do_set_portrait_flags),
476 (hildon_gtk_window_set_progress_indicator),
477 (hildon_gtk_window_set_do_not_disturb),
478 (hildon_gtk_window_set_portrait_flags):
479 Allow setting dnd-flag, progress indicator, and portrait flags
480 when the window is not realized.
482 2009-04-24 Alejandro G. Castro <alex@igalia.com>
484 * src/hildon-pannable-area.c,
485 * src/hildon-pannable-area.h: Add the hildon deprecated define to
486 the size request policy function and defines.
488 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
490 * doc/hildon-sections.txt: Add the new API.
491 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
492 method to set the portrait flags.
493 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
495 Fixes: NB#112328 (Adding helpers for setting portrait properties)
497 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
499 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
500 to allow using this method with other flags.
501 (hildon_gtk_window_set_progress_indicator): Update accordingly.
502 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
504 2009-04-22 Alberto Garcia <agarcia@igalia.com>
506 * src/hildon-touch-selector.c
507 (hildon_touch_selector_append_text_column):
508 Make the cell renderer use the smallest width possible.
510 Fixes: NB#108470 (Selected items in multiple selection are either
511 having a tick that is cut or not visible at all.)
513 2009-04-22 Alberto Garcia <agarcia@igalia.com>
515 * src/hildon-touch-selector.c
516 (hildon_touch_selector_append_text_column):
519 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
521 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
522 Use g_strdup_printf() instead of a fixed size buffer.
524 2009-04-21 Alberto Garcia <agarcia@igalia.com>
526 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
527 Close banners when a HildonAppMenu is popped up.
529 Fixes: NB#111027 (Title menu closed immediately if activated when
530 "Invalid e-mail address" banner is shown)
532 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
537 * configure.ac: Bump version.
538 * debian/changelog: Updates.
540 2009-04-20 Alberto Garcia <agarcia@igalia.com>
542 * src/hildon-banner.c (hildon_banner_realize):
543 Mark HildonBanner as supporting portrait mode.
544 Use GDK to set window properties insetad of direct Xlib calls.
546 Fixes: NB#111830 (HildonBanner should be marked as supporting
549 2009-04-20 Alberto Garcia <agarcia@igalia.com>
551 * src/hildon-note.c (hildon_note_rebuild):
552 Hide action area in information notes. Prevents text from being
553 slightly aligned to the left.
555 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
558 2009-04-20 Alberto Garcia <agarcia@igalia.com>
560 Patch by Mox Soini (ext-mox.soini@nokia.com)
562 * src/hildon-banner.c (hildon_banner_create_animation):
563 Use stylus-sized icons in animation banner.
565 Fixes: NB#111206 (stylus sized icon for animation banner)
567 2009-04-20 Alberto Garcia <agarcia@igalia.com>
571 (+hildon_gtk_window_set_do_not_disturb):
572 New API to set the do-not-disturb flag.
574 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
576 2009-04-20 Alberto Garcia <agarcia@igalia.com>
578 * examples/hildon-progress-indicator-example.c: Fix example
580 * src/hildon-gtk.c (set_clear_window_flag)
581 (hildon_gtk_window_set_progress_indicator):
582 Create a generic function for setting flags to a window.
583 Use GDK instead of direct Xlib calls.
585 2009-04-14 Alberto Garcia <agarcia@igalia.com>
587 * src/hildon-button.c (hildon_button_set_arrangement):
588 Due to NB#88126, if one of the labels is too long it will be
589 painted outside the button. The 'value' label is more likely to be
590 the longest one, so we change its packing options in order to
591 truncate it if necessary. As a side effect, the 'title' label will
592 no longer be truncated.
594 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
596 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
601 * configure.ac: Bump version.
602 * debian/changelog: Updates.
604 2009-04-13 Alejandro G. Castro <alex@igalia.com>
606 Deprecation of the hildon_pannable_area_set_size_request_policy
607 API, the only policy properly supported in gtk+ nowadays is the
610 * src/hildon-pannable-area.c,
611 (hildon_pannable_area_size_request): Added a workaround for the
612 size_request to avoid the problems of huge pixmaps in case someone
613 is still using the function.
614 * src/hildon-pannable-area.h: Deprecated the enum with the
617 Fixes: NB#110244 (Problems with the
618 hildon_pannable_area_set_size_request_policy API)
620 2009-04-08 Alejandro G. Castro <alex@igalia.com>
622 * src/hildon-pannable-area.c,
623 (hildon_pannable_area_init),
624 (hildon_pannable_area_size_request),
625 (hildon_pannable_area_style_set),
626 (hildon_pannable_draw_vscroll),
627 (hildon_pannable_draw_hscroll),
628 (hildon_pannable_area_check_scrollbars): Replaced area_width with
629 indicator_width to clarify the use of the attribute.
631 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
636 * configure.ac: Bump version.
637 * debian/changelog: Updates.
639 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
641 * src/hildon-picker-dialog.c
642 * src/hildon-touch-selector.c
643 Reverting the change that tried to avoid the hardcoded height on
644 the picker dialog, as causes problems on the hildon-touch-selector
647 Fixes: NB#110029 (selectors not scrolling to selected value)
649 2009-04-07 Alberto Garcia <agarcia@igalia.com>
651 * src/hildon-touch-selector.c: Fix typos
653 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
655 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
656 Use the event coordinates instead of gdk_window_get_pointer(). Also,
657 request more motions after using it.
659 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
661 * src/hildon-calendar.c (hildon_calendar_expose),
662 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
663 Remove unused variables.
665 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
667 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
670 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
672 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
673 Check the return value of gtk_tree_selection_get_selected()
676 2009-04-06 Alberto Garcia <agarcia@igalia.com>
678 * src/hildon-animation-actor.c
679 * src/hildon-button.c
681 * src/hildon-pannable-area.c
682 * src/hildon-picker-button.c
683 * src/hildon-program.c
684 * src/hildon-remote-texture.c
685 * src/hildon-text-view.c
686 * src/hildon-touch-selector.c
687 * src/hildon-window-stack.c
688 * src/hildon-window.c:
689 Add missing 'Since: 2.2' tags.
691 * doc/hildon-sections.txt:
692 Add some missing symbols.
694 * doc/hildon-docs.sgml:
695 New 'Other' section for HildonAnimationActor and
698 2009-04-06 Alberto Garcia <agarcia@igalia.com>
700 Patch by Iván Gómez (igomez@igalia.com)
704 * doc/hildon-docs.sgml
705 * doc/hildon-sections.txt
709 New chapters on using the Hildon library.
710 Updated the general structure of the reference manual.
711 Other minor documentation fixes.
713 * src/hildon-calendar-popup.c
714 * src/hildon-calendar.c
715 * src/hildon-controlbar.c
716 * src/hildon-date-editor.c
717 * src/hildon-dialog.c
718 * src/hildon-hvolumebar.c
719 * src/hildon-number-editor.c
720 * src/hildon-range-editor.c
721 * src/hildon-sort-dialog.c
722 * src/hildon-time-editor.c
723 * src/hildon-time-picker.c
724 * src/hildon-volumebar-range.c
725 * src/hildon-volumebar.c
726 * src/hildon-vvolumebar.c
727 * src/hildon-weekday-picker.c:
728 Add deprecation notes
730 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
731 Document 'horizontal-movement' and 'vertical-movement' signals.
733 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
738 * configure.ac: Bump version.
739 * debian/changelog: Updates.
741 2009-04-06 Alejandro G. Castro <alex@igalia.com>
743 * src/hildon-pannable-area.c,
744 (hildon_pannable_area_class_init): increased the minimum velocity.
745 (hildon_pannable_area_button_release_cb): Updated the
746 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
747 setup. Review the code to control that last event.
749 Fixes: NB#109790 (Releasing finger in pannable area easily causes
752 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
754 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
756 * src/hildon-get-password-dialog.c
757 (hildon_get_password_set_property),
758 (hildon_get_password_get_property), (create_contents):
759 * src/hildon-login-dialog-private.h:
760 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
761 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
762 (hildon_login_dialog_get_password):
763 * src/hildon-set-password-dialog-private.h:
764 * src/hildon-set-password-dialog.c
765 (hildon_set_password_set_property),
766 (hildon_set_password_get_property), (create_contents),
767 (hildon_set_password_response_change),
768 (hildon_set_password_response_set), (hildon_checkbox_toggled):
770 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
771 instead and look more Fremantle style.
773 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
775 2009-04-03 Alberto Garcia <agarcia@igalia.com>
777 * doc/hildon-sections.txt
778 * src/hildon-window-stack.h
779 * src/hildon-window-stack.c
780 (+hildon_window_stack_get_windows):
781 New API to obtain the list of windows on a stack.
783 2009-04-02 Alberto Garcia <agarcia@igalia.com>
785 * src/hildon-app-menu.c (hildon_app_menu_popup)
786 (hildon_app_menu_class_init, -hildon_app_menu_show):
787 Remove hildon_app_menu_show() and move all its checks to
788 hildon_app_menu_popup()
790 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
792 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
793 (_hildon_picker_dialog_set_selector): removed call to
794 gtk_widget_set_size_request
795 * src/hildon-touch-selector.c
796 (_create_new_column): change the pannable size request policy
798 Avoid to use a hardcoded height for the hildon picker dialog. In order
799 to get that, we needed to change the hildon pannable size request
801 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
803 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
805 * src/hildon-window.c (hildon_window_map): Check for vbox to be
806 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
809 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
811 * debian/control: Depend on osso-system-lock localization package.
812 * src/hildon-code-dialog.c: Obtain the secu_application_title
813 translation from osso-system-lock.
814 * src/hildon-get-password-dialog.c (create_contents): Do not mark
815 for translation the atk related strings, that's not necessary.
816 * src/hildon-set-password-dialog.c (create_contents): Ditto.
817 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
818 cancel button, it is not required.
820 2009-04-02 Alejandro G. Castro <alex@igalia.com>
822 * src/hildon-pannable-area.c,
823 (hildon_pannable_area_class_init): Modified the default value of
824 the overshooting max speed, we have reduced it.
826 2009-04-02 Alberto Garcia <agarcia@igalia.com>
828 * doc/hildon-sections.txt
829 * src/hildon-window-private.h
830 * src/hildon-window.h
831 * src/hildon-window.c (hildon_window_class_init)
832 (hildon_window_init, hildon_window_finalize)
833 (hildon_window_realize, hildon_window_get_property)
834 (hildon_window_set_property, hildon_window_update_markup)
835 (hildon_window_get_markup, hildon_window_set_markup):
836 New "markup" property and hildon_window_{get,set}_markup() methods.
838 * examples/hildon-stackable-window-example.c (new_window):
839 Update example to use hildon_window_set_markup()
841 Fixes: NB#106375 (Need API to retitle a window with a title
844 2009-04-01 Alejandro G. Castro <alex@igalia.com>
846 * src/hildon-pannable-area.c,
847 (hildon_pannable_area_class_init): Changed the default value of
848 the initial_hint to TRUE.
849 (hildon_pannable_area_initial_effect): Changed the initial effect,
850 not the effect is just the fade-out of the scrollbars.
852 Fixes: NB#107775 (No scrollbars can be seen when several items are
853 available in a dialog)
855 2009-04-01 Alberto Garcia <agarcia@igalia.com>
857 * src/hildon-program.c (hildon_program_update_top_most):
860 Fixes: NB#109179 (Memory leak in Hildon program)
862 2009-04-01 Alberto Garcia <agarcia@igalia.com>
864 * src/hildon-banner.c (-get_current_app_window):
865 Remove unused function.
867 2009-04-01 Alejandro G. Castro <alex@igalia.com>
869 * src/hildon-pannable-area.c: Modified the documentation of the
870 get adjustments functions to explain the problem of using the
872 (hildon_pannable_area_class_init): Improved the explanation about
875 2009-04-01 Alberto Garcia <agarcia@igalia.com>
877 * src/hildon-app-menu-private.h
878 * src/hildon-app-menu.c
879 (hildon_app_menu_class_init):
880 Bring back the 'external-border' style property
881 (hildon_app_menu_class_init, hildon_app_menu_init)
882 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
883 Set a fixed width-request for the menu, independent of the number
886 Fixes: NB#94957 (Smoothly opened application menu)
888 2009-03-30 Alberto Garcia <agarcia@igalia.com>
890 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
892 * src/hildon-banner.c
893 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
895 Make sure that the banner is correctly placed the first time it's
897 (hildon_banner_check_position, -check_fullscreen_state):
898 Show the banner in the same place no matter if the window is in
899 fullscreen mode or not.
901 Fixes: NB#107386 (Odd stacking behaviour for information banners)
903 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
905 * src/hildon-touch-selector.c (_default_print_func): reorder
906 concatenation for clarity.
908 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
910 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
911 for multicolumn selectors.
913 Fixes: NB#109099 (Memory leak in Hildon touch selector)
915 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
920 * configure.ac: Bump version.
921 * debian/changelog: Updates.
923 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
925 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
928 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
930 * configure.ac: removed libcangerra-gtk dependency
931 * debian/control: removed libcanberra-gtk dependency
932 * src/Makefile.am: removed libcanberra gtk related flags
933 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
934 context, and manage a global canberra context instead
936 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
938 2009-03-26 Alberto Garcia <agarcia@igalia.com>
940 Patch by Daniel Borgmann (danielb@openismus.com)
942 * src/hildon-edit-toolbar.c:
943 Adjust the left padding.
944 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
945 Paint background of the edit toolbar.
947 Fixes: NB#107897 (Patch to make editmodetoolbar background
948 themeable and adjust margin)
950 2009-03-25 Alberto Garcia <agarcia@igalia.com>
952 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
954 * src/hildon-program.c (hildon_program_update_top_most):
955 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
957 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
958 change when the user tasks in/out of an application)
960 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
962 * configure.ac: added libcangerra-gtk dependency
963 * debian/control: added libcanberra-gtk dependency
964 * src/Makefile.am: added libcanberra gtk related flags
965 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
968 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
970 2009-03-25 Alberto Garcia <agarcia@igalia.com>
972 * src/hildon-program.c (hildon_program_remove_window)
973 (hildon_program_add_window): Add checks for the window
974 parameter. Don't decrease the window counter if the window is not
977 2009-03-24 Alejandro G. Castro <alex@igalia.com>
979 * src/hildon-pannable-area.c,
980 (hildon_pannable_area_realize): Fixed position of the event_window
981 in the realize method.
983 2009-03-24 Alberto Garcia <agarcia@igalia.com>
985 * src/hildon-app-menu-private.h
986 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
987 (hildon_app_menu_map, hildon_app_menu_hide_idle)
988 (hildon_app_menu_key_press, hildon_app_menu_init)
989 (hildon_app_menu_finalize):
990 Make sure that all idle functions are removed when the widget is
993 Fixes: NB#107583 (Hildon app menu crashes in various applications)
995 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1000 * configure.ac: Bump version.
1001 * debian/changelog: Updates.
1003 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1005 * src/hildon-entry.c
1006 (+hildon_entry_show_placeholder),
1007 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1008 that replace hildon_entry_update_contents().
1009 (hildon_entry_set_text),
1010 (hildon_entry_set_placeholder),
1011 (hildon_entry_focus_in_event),
1012 (hildon_entry_focus_out_event): Determine when it is needed
1013 either to show or hide the placeholder and call the above methods.
1015 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1016 when the placeholder text is already set)
1018 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1020 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1021 simple GdkPixbufAnim using the new icons for the banner.
1022 (hildon_banner_show_animation): Use the above mentioned method to
1023 create the animation widget.
1025 Fixes: NB#103564 (Make hildon animation banner use individual
1026 image files as the animation)
1028 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1030 * src/hildon-pannable-area.c,
1031 (hildon_pannable_leave_notify_event): Check if the child is NULL
1032 to avoid sending the leave.
1034 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1036 * src/hildon-pannable-area.c,
1037 (hildon_pannable_area_class_init),
1038 (hildon_pannable_leave_notify_event): Added a handler of the
1039 leave-notify-signal to consider when no motion notify before
1042 Fixes: NB#107494 (Items stay selected when clicking and moving
1043 away when inside pannable area)
1045 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1050 * configure.ac: Bump version.
1051 * debian/changelog: Updates.
1053 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1055 Patch by Alberto Garcia (agarcia@igalia.com)
1057 * src/hildon-date-button.c,
1058 (hildon_date_button_class_init),
1059 (hildon_date_button_init): Removed the construct property handling
1060 and created a default selector in the init method.
1061 * src/hildon-picker-button.c,
1062 (hildon_picker_button_class_init): Removed the construct flag of the
1065 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1067 * src/hildon-main.c (hildon_init):
1068 Don't allow hildon_init() to be called more than once.
1070 Fixes: NB#106607 (hildon_init should issue error message upon
1073 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1075 * examples/hildon-pannable-area-touch-list-example.c
1076 * examples/hildon-pannagle-area-touch-grid-example.c
1077 * examples/hildon-edit-toolbar-example.c
1078 * examples/hildon-touch-selector-multi-cells-example.c
1079 Removed the call to gtk_rc_parse_string, as it is not required since
1082 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1084 * src/hildon-pannable-area.c,
1085 (hildon_pannable_area_class_init): Modified the default panning
1086 threshold of the widget to 6px.
1088 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1089 than the threshold value ) within the button is not sending the
1092 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1094 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1095 for the treeview in the new column. This way, the touch list will never
1098 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1099 be selected manually for the HW keys to work)
1101 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1103 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1104 comparison instead of using strcmp(). Fixes a compiler warning as well.
1106 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1108 * doc/hildon-docs.sgml: Do not set the library version in the
1109 document title, use the releaseinfo tag for that purpose instead.
1111 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1113 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1114 Do not jump to the first item if the text in the entry is removed.
1116 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1121 * configure.ac: Bump version.
1122 * debian/changelog: Updates.
1124 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1126 * src/hildon-entry.c (hildon_entry_refresh_contents):
1127 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1128 Use "ReversedSecondaryTextColor" for the placeholder text.
1130 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1132 * src/hildon-text-view.c: Fix compilation warning.
1134 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1136 * src/hildon-button.c (hildon_button_class_init): Don't make
1137 "title" and "value" construction properties, to prevent them from
1138 overwriting labels set from derived classes.
1140 * src/hildon-picker-button.c
1141 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1142 (hildon_picker_button_class_init): Make touch-selector a
1143 construction property.
1145 * src/hildon-date-button.c (hildon_date_button_class_init)
1146 (+hildon_date_button_constructed): Add a default date selector if
1149 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1151 * src/hildon-touch-selector.c: Small documentation fixes.
1153 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1155 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1157 * src/hildon-entry.c (hildon_entry_refresh_contents),
1158 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1159 widget name, set the logical color directly instead and a boolean
1160 showing_placeholder instead.
1161 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1162 use the widget name here either.
1164 Fixes: NB#105678 (HildonTextView should use logical colours
1165 instead of setting widget name)
1167 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1169 Patch by Daniel Elster (danielk@openismus.com)
1171 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1172 Add user_data parameter.
1173 (hildon_touch_selector_set_print_func_full): New function akin
1174 hildon_touch_selector_set_print_func() but with support for user
1175 data and a destroy callback.
1176 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1177 to clean up the print function user data.
1178 (hildon_touch_selector_class_init): Install dispose function.
1179 (HildonTouchSelectorPrivate::print_user_data),
1180 (HildonTouchSelectorPrivate::print_destroy_func): New private
1182 (hildon_touch_selector_init): Initialize new private members.
1183 (hildon_touch_selector_get_current_text): Pass along user data
1184 to the print function.
1185 (_default_print_func): Add dummy user_data to parameter list.
1186 * hildon-date-selector.c (_custom_print_func): ditto,
1187 * hildon-time-selector.c (_custom_print_func): ditto,
1188 * hildon-touch-selector-entry.c
1189 (hildon_touch_selector_entry_print_func): ditto.
1191 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1193 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1195 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1197 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1199 * src/hildon-pannable-area.c,
1200 (hildon_pannable_area_init),
1201 (hildon_pannable_area_button_press_cb),
1202 (hildon_pannable_area_motion_notify_cb): We have added code to
1203 handle the leave and enter events when using the motion events.
1205 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1207 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1209 * src/hildon-date-button.c (hildon_date_button_get_date)
1210 (hildon_date_button_set_date): Make sure that the button has a
1213 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1215 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1217 * src/hildon-pannable-area.c,
1218 (hildon_pannable_area_class_init),
1219 (hildon_pannable_area_calculate_velocity): Modify the use of the
1220 force and adapt the value.
1222 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1224 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1225 (hildon_app_menu_class_init): Hide the menu if it receives a
1226 delete-event, but don't destroy it
1228 Fixes: NB#104485 (Not able to address the call when application
1229 menu is opened at background)
1231 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1233 * src/hildon-app-menu.c
1234 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1235 Remove the "external-border" style property, let the menu take its
1236 natural size (or the one set by the window manager)
1237 (hildon_app_menu_repack_items):
1238 Don't reshow the menu, avoid flickers.
1240 Partially fixes NB#94957 (Smoothly opened application menu)
1242 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1247 * configure.ac: Bump version.
1248 * debian/changelog: Updates.
1250 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1252 * src/hildon-pannable-area.c,
1253 (hildon_pannable_area_motion_notify_cb): We control that the
1254 direction error margin is used just in case the movement is
1255 allowed in the other direction.
1257 Fixes: NB#105012 (buttons inside a pannable area not getting
1258 release event when dragging/releasing)
1260 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1262 * src/hildon-pannable-area.c,
1263 (hildon_pannable_area_class_init),
1264 (hildon_pannable_area_get_property),
1265 (hildon_pannable_area_set_property),
1266 (hildon_pannable_area_initial_effect),
1267 (hildon_pannable_axis_scroll),
1268 (hildon_pannable_area_button_release_cb): Reviewed the
1269 overshooting effect, now it has its own max
1270 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1271 speed when bouncing.
1273 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1278 * configure.ac: Bump version.
1279 * debian/changelog: Updates.
1281 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1283 * src/hildon-pannable-area.c,
1284 (hildon_pannable_area_class_init): Changed the max speed, now
1285 users can launch the widget very fast. Reduced the default force,
1286 that way it is easier to control the launch speed.
1288 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1290 * src/hildon-pannable-area.c,
1291 (hildon_pannable_area_button_release_cb): Removed this check
1292 because it causes problems when the device is overloaded.
1294 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1296 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1297 add a current_text field to store the text entered in the
1298 touch selector entry.
1299 (_clean_current_selection): clean up the current text as well.
1300 (_save_current_selection), (_restore_current_selection):
1301 Save/restore the text in the entry if the selector is a
1302 HildonTouchSelectorEntry.
1304 Fixes: NB#102541 (value entered in the touch selector entry is not
1305 shown when opened for second time)
1307 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1309 * doc/hildon-sections.txt:
1310 * src/hildon-touch-selector-entry.c
1311 (+hildon_touch_selector_entry_get_entry):
1312 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1314 Fixes: NB#104815 (I need accessor to the entry inside
1315 HildonTouchSelectorEntry)
1317 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1319 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1320 (hildon_app_menu_class_init):
1321 New "filter-vertical-spacing" style property.
1323 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1325 * src/hildon-find-toolbar.c
1326 (hildon_find_toolbar_emit_close)
1327 (hildon_find_toolbar_emit_invalid_input)
1328 (hildon_find_toolbar_entry_activate):
1329 Use g_signal_emit() instead of g_signal_emit_by_name()
1331 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1333 Patch by Mox Soini (ext-mox.soini@nokia.com)
1335 * tests/TEST-CASES.txt
1336 * tests/check-hildon-banner.c
1337 * tests/check-hildon-note.c
1338 * src/hildon-banner.c
1339 * src/hildon-code-dialog.c
1340 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1341 * src/hildon-time-editor.c
1342 * examples/hildon-lookup-example.c (main):
1343 Replace obsolete icon names with new ones.
1345 * src/hildon-find-toolbar-private.h:
1346 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1347 (-hildon_find_toolbar_emit_search):
1348 Remove find button and change icon of close button.
1350 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1352 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1354 * src/hildon-time-button.c (hildon_time_button_new_step):
1355 Use the "touch-selector" property to set the selector directly
1356 when creating the object.
1358 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1360 Added a new example application that allows tuning the pannable
1361 area and replaced defines with properties in order to simplify the
1362 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1363 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1364 PROP_DIRECTION_ERROR_MARGIN.
1366 * examples/hildon-pannable-area-tuning-example.c: New example
1368 * src/hildon-pannable-area.c,
1369 (hildon_pannable_area_class_init),
1370 (hildon_pannable_area_init),
1371 (hildon_pannable_area_get_property),
1372 (hildon_pannable_area_set_property),
1373 (hildon_pannable_area_launch_fade_timeout),
1374 (hildon_pannable_area_adjust_value_changed),
1375 (hildon_pannable_axis_scroll),
1376 (hildon_pannable_area_motion_notify_cb),
1377 (hildon_pannable_area_scroll_cb),
1378 (hildon_pannable_area_button_release_cb): We have converted some
1379 of the defines that control the widget to properties to simplify
1382 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1384 * src/hildon-app-menu.c (hildon_app_menu_map)
1385 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1386 so it's closed if a new window appears.
1388 Fixes: NB#104485 (Not able to address the call when application
1389 menu is opened at background)
1391 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1393 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1394 missing 'break' statement in in 'case' construct to avoid
1397 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1399 * src/hildon-touch-selector-entry.c
1400 (hildon_touch_selector_entry_get_property),
1401 (hildon_touch_selector_entry_set_property): Add missing 'break'
1402 statements in in 'case' constructs to avoid incorrect warnings.
1404 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1406 * src/hildon-time-editor.c
1407 (hildon_time_editor_get_time_separators): Do not crash if
1408 the first label is NULL.
1410 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1412 * src/hildon-date-selector.c (_month_days): Check for month to be
1413 strictly less than 12, since otherwise we may overrun the array.
1415 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1417 * src/hildon-date-button.c (+hildon_date_button_new_full)
1418 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1419 (hildon_date_button_init): Set the date selector using a
1420 construction property, to make it happen after HildonButton's
1421 "value" property is set.
1423 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1424 current date by default)
1426 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1428 * doc/hildon-sections.txt
1429 * src/hildon-program.c
1430 * src/hildon-stackable-window.c
1431 * src/hildon-window.c:
1432 Documentation updates
1434 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1436 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1437 (hildon_window_stack_new, +hildon_window_stack_set_property)
1438 (+hildon_window_stack_get_property)
1439 (hildon_window_stack_class_init)
1440 (+hildon_window_stack_set_window_group)
1441 (+hildon_window_stack_get_window_group):
1442 Make the window group a construction property.
1444 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1446 * doc/hildon-sections.txt
1447 * src/hildon-stackable-window-private.h
1448 * src/hildon-stackable-window.h
1449 * src/hildon-stackable-window.c
1450 (-hildon_stackable_window_set_app_menu)
1451 (-hildon_stackable_window_get_app_menu)
1452 (-hildon_stackable_window_toggle_menu)
1453 (-hildon_stackable_window_finalize)
1454 (hildon_stackable_window_class_init)
1455 (hildon_stackable_window_init)
1456 * src/hildon-window-private.h
1457 * src/hildon-window.h
1458 * src/hildon-window.c (hildon_window_init)
1459 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1460 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1461 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1462 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1463 Moved all HildonAppMenu code to HildonWindow. The menu does not
1464 require a HildonStackableWindow anymore.
1466 * src/hildon-app-menu.c
1467 * src/hildon-program.c
1468 * examples/hildon-app-menu-example.c (main):
1469 Update examples and documentation to reflect HildonAppMenu
1472 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1474 * src/hildon-remote-texture.c
1475 * src/hildon-animation-actor.c:
1476 Don't include unused private headers.
1478 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1480 * src/hildon-program-private.h
1481 * src/hildon-program.c
1482 (hildon_program_set_common_menu)
1483 (hildon_program_get_common_menu)
1484 (hildon_program_set_common_app_menu)
1485 (hildon_program_get_common_app_menu):
1486 Change common menu pointers from GtkWidget* to GtkMenu* and
1487 HildonAppMenu* to avoid unnecessary casts.
1489 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1491 * src/hildon-window.c (hildon_window_set_main_menu):
1492 Removed incorrect 'Since:' tag
1494 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1496 * src/hildon-pannable-area.c,
1497 (hildon_pannable_area_calculate_velocity): We use now the
1498 RATIO_TOLERANCE here to check the distance, fixed typo in the
1500 (hildon_pannable_area_motion_notify_cb): We have to set the type
1501 and time even if we are not sending the motion.
1503 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1505 * doc/hildon-sections.txt
1506 * src/hildon-app-menu.h
1507 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1508 (+hildon_app_menu_get_filters): New methods to get the contents of
1511 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1514 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1516 * src/hildon-app-menu.c (hildon_app_menu_popup):
1519 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1521 * src/hildon-window.h
1522 * src/hildon-window.c (+hildon_window_get_main_menu)
1523 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1524 and deprecated hildon_window_get_menu().
1526 * src/hildon-stackable-window.h
1527 * src/hildon-stackable-window.c
1528 (+hildon_stackable_window_set_app_menu)
1529 (+hildon_stackable_window_get_app_menu)
1530 (hildon_stackable_window_set_main_menu): Created
1531 hildon_stackable_window_{get,set}_app_menu() and deprecated
1532 hildon_stackable_window_set_main_menu().
1534 * doc/hildon-sections.txt
1535 * examples/hildon-app-menu-example.c (main)
1536 * src/hildon-app-menu.c
1537 * src/hildon-program.c:
1538 Updated examples and documentation.
1540 Fixes: NB#103758 (No way to obtain a menu from a
1541 HildonStackableWindow)
1543 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1548 * configure.ac: Bump version.
1549 * debian/changelog: Updates.
1551 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1553 * examples/hildon-remote-texture-example.c: Include
1554 hildon-remote-texture.h explicitely.
1555 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1556 applications not defining _XOPEN_SOURCE which don't require this header.
1558 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1560 * doc/hildon-sections.txt
1561 * src/hildon-app-menu.h
1562 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1563 New function to pop up a HildonAppMenu
1565 * src/hildon-stackable-window.c
1566 (hildon_stackable_window_toggle_menu):
1567 Use hildon_app_menu_popup() to show the menu.
1569 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1571 * src/hildon-app-menu.c (hildon_app_menu_show)
1572 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1573 menu if there's another window between it and its parent window.
1575 Fixes: NB#100468 (Application menu window is launched even when a
1576 new secondary-window/dialog is pending to be shown/realized)
1578 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1580 * src/hildon-window-stack.c (hildon_window_stack_push)
1581 (hildon_window_stack_pop_and_push):
1582 Don't forget to push/pop the first window.
1583 Reverse the window list before calling _push_list()
1585 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1587 * src/hildon-picker-button.h
1588 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1589 Remove "value_changed" slot to avoid ABI breakage
1591 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1593 * src/hildon-pannable-area.c,
1594 (hildon_pannable_area_realize),
1595 (hildon_pannable_area_unrealize),
1596 (hildon_pannable_draw_vscroll),
1597 (hildon_pannable_draw_hscroll): Changed the method to handle the
1598 GC used to draw the transparent scrollbar, this way we avoid
1599 creating the GC all the time when drawing the scrollbars.
1601 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1603 * src/hildon-pannable-area.c,
1604 (hildon_pannable_area_init),
1605 (hildon_pannable_area_remove): Removed some unnecessary casts.
1606 (hildon_pannable_area_dispose): Disconnected some signals before
1607 releasing the adjustments.
1609 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1611 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1612 Make sure that all widgets contained in the toolbar are shown.
1614 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1616 * doc/hildon-sections.txt
1617 * src/hildon-picker-button.h
1618 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1619 (_selection_changed, hildon_picker_button_on_dialog_response)
1620 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1621 New hildon_picker_button_value_changed() method.
1624 * src/hildon-picker-button-private.h
1625 * src/hildon-picker-button.c (hildon_picker_button_init)
1626 (+hildon_picker_button_disable_value_changed): Add protected
1627 function for disabling the "value-changed" signal.
1629 * src/hildon-date-button.c (hildon_date_button_set_date):
1630 Don't emit "value-changed" for each one of the three columns.
1632 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1633 before actual change of values)
1635 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1637 * src/hildon-pannable-area.c,
1638 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1639 for the treeview overshooting.
1641 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1643 * src/hildon-banner.c (+hildon_banner_bind_style):
1644 Renamed from hildon_banner_bind_label_style(), now naming the
1645 banner itself as well.
1646 (hildon_banner_show_information),
1647 (hildon_banner_show_information_with_markup),
1648 (hildon_banner_show_animation), (hildon_banner_show_progress):
1649 Name the widgets and labels, based on their type.
1651 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1654 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1656 * src/hildon-note.c (hildon_note_set_property): call
1657 hildon_note_rename() on HildonNote:note-type set.
1658 (hildon_note_rename): Name the note and its label, based on the
1659 HildonNote:note-type property.
1661 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1664 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1666 * src/hildon-pannable-area.c,
1667 (hildon_pannable_area_class_init),
1668 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1669 panning parameters, increased SPS and deceleration factor. Added
1670 also a margin to control fake directions.
1672 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1674 Patch by Sven Herzberg (sven@imendio.com)
1676 * configure.ac: Add missing AM_PROG_CC_C_0
1677 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1679 See NB#101420 (Update unit tests and fix make check)
1681 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1683 This patch was applied before but reverted because it caused
1684 problems, we have changed the main condition and tested the
1685 regressions we detected before and they work ok. We have done a
1686 complete review of the topmost algorithm in order to get a more
1689 * src/hildon-pannable-area.c,
1690 (hildon_pannable_area_get_topmost): Added a new parameter to
1691 filter the the windows that do not include those events.
1692 (hildon_pannable_area_button_press_cb),
1693 (hildon_pannable_area_button_release_cb),
1694 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1695 topmost function, we have added the new parameter.
1697 Fixes: NB#97458 (Pannable area prevents propagation of button
1700 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1702 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1703 if all columns in the selector have an item selected.
1704 (_on_dialog_response): Stop "response" signal emission if there is
1705 any selector column without selected items.
1707 Fixes: NB#101889 (Picker dialog should not close when nothing is
1708 selected in multiple selection list)
1710 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1712 * src/hildon-font-selection-dialog.c
1713 (hildon_font_selection_dialog_class_init),
1714 (hildon_font_selection_dialog_init): Remove the preview
1715 button and dialog, since previewing with default theming is likely
1716 to be overcomplicated. The :preview property has now no effect.
1717 Update documentation blurbs to inform about this.
1719 Fixes: NB#92297 (Preview content is not clearly visible for
1720 default colour text)
1722 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1724 Reviewed the geometry that handles the children size and
1725 scrollbar, now it tries a size and reviews the results depending
1726 on the scrollbars visibility.
1728 * src/hildon-pannable-area.c,
1729 (hildon_pannable_area_realize): Fixed a typo.
1730 (hildon_pannable_area_child_allocate_calculate): Added this
1731 function to calculate the child allocation.
1732 (hildon_pannable_area_size_allocate): Reviewed the allocation
1734 (hildon_pannable_area_check_scrollbars),
1735 (hildon_pannable_area_refresh): Refactored refresh function, this
1736 way we can call the code handling the scrollbars without causing a
1737 size_request, it is interesting in the allocate.
1738 (hildon_pannable_area_init): Replace the callbacks of the
1739 value_changed and changed signals to propertly deal with the
1741 (hildon_pannable_area_grab_notify),
1742 (hildon_pannable_area_initial_effect),
1743 (hildon_pannable_area_launch_fade_timeout),
1744 (hildon_pannable_area_adjust_changed),
1745 (hildon_pannable_area_adjust_value_changed),
1746 (hildon_pannable_area_redraw),
1747 (hildon_pannable_area_button_press_cb),
1748 (hildon_pannable_area_button_release_cb),
1749 (hildon_pannable_area_scroll_cb),
1750 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1751 code and use the new functions adjust_changed and
1752 adjust_value_changed.
1754 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1755 Contact editor dialog)
1757 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1762 * configure.ac: Bump version.
1763 * debian/changelog: Updates.
1765 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1767 * src/hildon-pannable-area.c,
1768 (hildon_pannable_area_get_topmost),
1769 (hildon_pannable_area_button_press_cb),
1770 (hildon_pannable_area_button_release_cb),
1771 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1772 topmost function adding the event mask. We have to try a
1773 differente approach because it is still causing problems (NB#9745,
1776 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1778 * src/hildon-banner.c:
1779 Update the maximum width of timed banners.
1780 (force_to_wrap_truncated): Enforce the maximum text width if the
1783 Fixes: NB#102413 (The text margins (wrapping) in information
1784 banner should be HILDON_MARGIN_TRIPLE)
1786 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1788 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1790 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1791 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1792 bound when calculating the scroll indicator position.
1794 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1795 treat ->lower correctly)
1797 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1799 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1800 expose event handling, since it is not necessary to draw the focus
1803 Fixes: NB#102467 (Do not show highlight on the text in
1806 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1808 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1809 full height of the toolbar for the button and the label.
1811 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1813 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1814 padding before the label and after the button.
1816 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1818 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1820 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1821 Add a GtkVSeparator between the button and the back arrow.
1822 Let the button have automatic size.
1823 Set a name to the widget for theming handling.
1825 Fixes: NB#101793 (Make edit toolbar the same height as window
1826 title bar (use title area theming))
1828 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1830 * src/hildon-helper.c (attach_new_color_element): Fix memory
1833 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1835 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1837 * examples/hildon-button-example.c (common_buttons_window): Don't
1840 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1842 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1843 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1845 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1847 * src/hildon-gtk.c: Check that the window is realized.
1849 Fixes: NB#102225 (Crash setting the progress indicator to a non
1852 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1854 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1855 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1856 instead of modifying the one in the widget style.
1858 Fixes: NB#101043 (Second row of all the command button are
1859 displayed in transparent mode.)
1861 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1863 * src/hildon-date-button.c
1864 * src/hildon-time-button.c: Add gettext macros
1866 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1868 * src/hildon-date-button.c (hildon_date_button_new):
1869 * src/hildon-time-button.c (hildon_time_button_new_step):
1870 Use new logical strings to set the button default title.
1872 Fixes: NB#99915 (Date and Time options are not localised in Date
1875 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1877 * src/hildon-pannable-area.c
1878 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1879 the PANNING_THRESHOLD.
1881 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1883 * src/hildon-pannable-area.c,
1884 (hildon_pannable_area_class_init): Increased the maximum speed.
1885 (hildon_pannable_area_get_property),
1886 (hildon_pannable_area_set_property),
1887 (hildon_pannable_area_timeout): Added a new low friction mode, it
1888 allows the user avoid friction when launching the widget fast
1889 enough. It is interesting to traverse long lists.
1891 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1893 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1894 (+hildon_stackable_window_delete_event): Ignore delete events if
1895 the window is not the topmost one.
1897 Fixes: NB#101698 (Back button long press and delete-event handling)
1899 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1901 * src/hildon-pannable-area.c,
1902 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1903 gtk-dnd-drag-threshold, it was too big. We have defined our own
1904 dnd define and set a smaller value: PANNIG_THRESHOLD.
1906 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1908 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1909 user-defined icons, use always the default one.
1911 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1913 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1915 This patch was applied before but reverted because it caused
1916 problems, we have changed the main condition and tested the
1917 regressions we detected before and they work ok.
1919 * src/hildon-pannable-area.c,
1920 (hildon_pannable_area_get_topmost): Added a new parameter to
1921 filter the the windows that do not include those events. Added
1922 also a condition when finding the window to filter windows that do
1923 not ask for those events.
1924 (hildon_pannable_area_button_press_cb),
1925 (hildon_pannable_area_button_release_cb),
1926 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1927 topmost function, we have added the new parameter.
1929 Fixes: NB#97458 (Pannable area prevents propagation of button
1932 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1934 * tests/check-hildon-color-button.c (START_TEST): do not leak
1937 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1939 * src/hildon-font-selection-dialog.c
1940 (hildon_font_selection_dialog_get_preview_text): Return NULL
1941 instead of FALSE on the g_return_val_if_fail().
1943 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1945 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1946 * src/hildon-date-selector.c
1947 (hildon_date_selector_select_current_date):
1948 Do not compare unsigned integers to be greater than or equal 0,
1949 because it's always TRUE.
1951 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1954 (hildon_date_selector_constructor): Do not select the current
1955 date until we are handle the "changed" signal, to avoid having bogus
1956 elements in the days model.
1958 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1960 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1961 for num_days, since _month_days() can return a negative value.
1963 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1965 * src/hildon-caption.c (hildon_caption_size_allocate):
1966 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1967 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1969 Initialize allocation variables to 0, to avoid eventually using
1970 unitialized variables.
1972 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1974 * src/hildon-bread-crumb-trail.c
1975 (hildon_bread_crumb_trail_size_allocate):
1976 * src/hildon-calendar.c (hildon_calendar_set_background):
1977 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1978 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1979 * src/hildon-seekbar.c (hildon_seekbar_init):
1980 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1981 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1982 * src/hildon-touch-selector-entry.c
1983 (hildon_touch_selector_get_text_from_model):
1984 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1985 * src/hildon-window.c (hildon_window_finalize):
1987 Remove many unused variables.
1989 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1991 * src/hildon-seekbar.c: (hildon_seekbar_init),
1992 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1994 Remove unnecessary g_assert() calls.
1996 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1998 * src/hildon-caption.c: (hildon_caption_expose),
1999 (hildon_caption_set_property), (hildon_caption_init),
2000 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2001 (hildon_caption_size_request), (hildon_caption_size_allocate),
2002 (hildon_caption_forall), (hildon_caption_set_separator),
2003 (hildon_caption_activate), (hildon_caption_set_child_expand),
2004 (hildon_caption_set_label_text),
2005 (hildon_caption_get_label_alignment):
2007 Remove unnecessary g_assert() calls.
2009 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2011 * src/hildon-banner.c
2012 (hildon_banner_map, hildon_banner_init): Make banner temporary
2013 before mapping it to avoid closing other temporary windows, but
2014 make it non-temporary afterwards to avoid being closed by other
2015 non-temporary windows.
2016 (-hildon_banner_client_event, hildon_banner_init):
2017 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2019 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2022 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2024 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2027 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2029 * src/hildon-remote-texture.c
2030 * src/hildon-remote-texture.h
2031 * src/hildon-remote-texture-private.h
2032 * examples/hildon-remote-texture-example.c:
2033 Updates/fixes to remote-texture and its example.
2035 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2037 Patch by Mox Soini (ext-mox.soini@nokia.com)
2039 * src/hildon-code-dialog.c: Update logical id.
2040 * src/hildon-set-password-dialog.c: Update logical id.
2042 Fixes: NB#100646 (Logical strings is shown for ok in set
2043 password,Password needed dialogs)
2045 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2048 * src/hildon-remote-texture.c
2049 * src/hildon-remote-texture.h
2050 * src/hildon-remote-texture-private.h
2052 Added remote texture widget (for Clutter shared memory textures)
2054 * examples/hildon-remote-texture-example.c
2055 * examples/Makefile.am
2056 Added example file for remote texture usage
2058 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2060 * configure.ac: post release version bump.
2061 * debian/changelog: version bump.
2063 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2068 * configure.ac: Bump version.
2069 * debian/changelog: Updates.
2071 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2073 * src/hildon-date-selector.c (hildon_date_selector_init)
2074 (hildon_date_selector_constructor): Don't connect to the "changed"
2075 signal until the selector is completely constructed.
2077 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2079 * src/hildon-touch-selector.c: (_create_new_column),
2080 (hildon_touch_selector_append_column),
2081 (hildon_touch_selector_set_column_selection_mode),
2082 (hildon_touch_selector_set_active),
2083 (hildon_touch_selector_select_iter):
2084 Emit the HildonTouchSelector::changed signal every time selection
2085 is changed in any of the methods above. This behavior was already
2086 documented but not fully functional.
2088 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2089 selection is programmatically changed)
2091 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2093 * doc/hildon-sections.txt: Remove obsolete icon
2094 sizes from here as well.
2096 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2098 * examples/hildon-stackable-window-example.c (add_window): Remove
2101 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2103 * src/hildon-app-menu.c
2104 (hildon_app_menu_show): Check whether the parent window of a menu
2105 is topmost before popping it up.
2107 Fixes: NB#100468 (Application menu window is launched even when a
2108 new secondary-window/dialog is pending to be shown/realized.)
2110 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2112 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2115 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2117 Patch by Mox Soini (ext-mox.soini@nokia.com)
2119 * src/hildon-banner.c: (hildon_banner_show_animation):
2120 use stylus size instead of obsolete note size.
2121 * src/hildon-defines.h: Update icon sizes.
2123 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2125 * src/hildon-touch-selector-entry.c:
2126 (hildon_touch_selector_entry_init): Disable unsupported
2128 (hildon_touch_selector_entry_get_text_column): Emit a warning
2129 if an unsupported input modes is used and explicitile state
2130 these modes in the documentation.
2132 Fixes: NB#99802 (Hildon touch selector entry not working properly
2133 for some of the input modes)
2135 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2137 * src/hildon-pannable-area.c,
2138 (hildon_pannable_area_init): Added the changed signal handlers of
2141 Fixes: NB#100320 (HildonPannableArea does not listen to
2142 GtkAdjustment "change" signals)
2144 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2146 * doc/hildon-sections.txt
2147 * src/hildon-window-private.h
2148 * src/hildon-window.h
2149 * src/hildon-window.c (hildon_window_init)
2150 (hildon_window_realize, hildon_window_unrealize)
2151 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2152 (hildon_window_size_request, hildon_window_size_allocate)
2153 (hildon_window_forall, hildon_window_show_all)
2154 (hildon_window_destroy, +paint_edit_toolbar)
2155 (+hildon_window_set_edit_toolbar):
2156 New hildon_window_set_edit_toolbar() method, to add a
2157 HildonEditToolbar to a window without having to pack it manually.
2159 Reorganize hildon_window_size_allocate()
2161 * src/hildon-edit-toolbar.c: Update documentation.
2163 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2164 example to use the new API.
2166 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2168 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2170 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2171 Remove from stack before calling parent's hide.
2173 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2175 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2176 window is removed from the middle of the stack, update the
2177 transiency of the previous one.
2179 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2182 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2184 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2185 block/unblock the signal handler if it's not actually being used.
2186 Fixes some critical warnings.
2188 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2190 Based on a patch by Iván Gómez (igomez@igalia.com)
2192 * src/hildon-banner.c
2196 * src/hildon-pannable-area.c
2197 * src/hildon-picker-dialog.c
2198 * src/hildon-wizard-dialog.h
2199 * src/hildon-wizard-dialog.c: Documentation updates.
2201 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2202 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2204 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2206 * configure.ac: post release version bump.
2207 * debian/changelog: version bump.
2209 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2214 * configure.ac: Bump version.
2215 * debian/changelog: Updates.
2217 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2219 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2220 a stock icon nor change the relief of the back arrow.
2222 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2223 graphics from theme)
2225 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2227 * src/hildon-button.c (hildon_button_set_alignment): Use
2228 priv->alignment if the button has no child yet.
2230 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2232 * src/hildon-button.c: (hildon_button_init): Set the
2233 button style during initialization to give it the proper
2236 Fixes: NB#99713 (HildonButton value label color is wrong)
2238 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2240 * src/hildon-touch-selector.c: Document
2241 hildon_touch_selector_center_on_selected()
2243 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2245 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2246 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2247 all menu items, but not the menu itself.
2248 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2249 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2250 items after adding them to the menu so keyboard accelerators work.
2251 (hildon_app_menu_show): Don't show the menu if it contains items
2252 but none of them are visible.
2254 * examples/hildon-app-menu-example.c (create_menu): Use
2255 gtk_widget_show_all() to show all menu items.
2257 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2259 * src/hildon-picker-dialog.c:
2260 (-_update_title_on_selector_changed_cb),
2261 (-_dialog_update_title): Removed.
2262 (_select_on_selector_changed_cb), (_on_dialog_response),
2263 (on_selector_columns_changed): Do not update the dialog title.
2264 (setup_interaction_mode): Do not connect to
2265 HildonTouchSelector::changed signal if there's a "done" button, as
2266 the dialog title doesn't need to be updated.
2268 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2271 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2273 Patch by Kristian Rietveld (kris@imendio.com)
2275 * src/hildon-touch-selector.c: (_create_new_column): Use new
2276 GtkTreeView::hildon-row-tapped signal to react to user interactions
2277 instead of ::changed.
2279 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2280 with some dynamic tree model)
2282 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2284 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2285 (+screen_size_changed, +label_size_request)
2286 (hildon_note_class_init): Make the Hildon information note have a
2287 minimum height, and make its text hvae a maximum width.
2289 Fixes: NB#98614 (Hildon information note (background) should have
2290 minimum height and maximum text width)
2292 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2294 * src/hildon-banner.h
2295 * src/hildon-banner.c (hildon_banner_show_information)
2296 (hildon_banner_show_informationf)
2297 (hildon_banner_show_information_with_markup): Update documentation
2298 to reflect that the icon_name parameter is not used anymore.
2299 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2300 Remove all code from these functions and mark them as deprecated.
2301 (hildon_banner_show_progress): Mark as deprecated.
2303 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2305 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2307 * src/hildon-pannable-area.c,
2308 (hildon_pannable_area_class_init),
2309 (tranparency_color),
2310 (hildon_pannable_draw_vscroll),
2311 (hildon_pannable_draw_hscroll),
2312 (hildon_pannable_area_expose_event): Added a new way to render the
2313 scrollbars of the pannable area avoiding using cairo at all. This
2314 way we improve the performance of the pannable area rendering. The
2315 cairo rendering procedure is still in the code, we can control
2316 which one to use changing the value of the define
2317 USE_CAIRO_SCROLLBARS.
2319 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2321 * configure.ac: post release version bump.
2322 * debian/changelog: version bump.
2324 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2329 * configure.ac: Bump version.
2330 * debian/changelog: Updates.
2332 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2334 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2335 banners instead of destroying them when they receive a button
2338 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2340 Reverted commit 34028, it was causing regressions, probably the
2341 topmost condition is not correct, we have to check it in more
2342 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2343 propagation of button press events)
2345 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2347 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2348 that the selection is not empty before attempting to retrieve the
2349 current ampm selection.
2351 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2353 * src/hildon-picker-button.c:
2354 (hildon_picker_button_on_dialog_response): Directly update the
2355 button contents when required instead of calling _selection_changed.
2357 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2359 * src/hildon-program.c (hildon_program_update_top_most): Update
2360 'is-topmost' property also when wm_hints is not set.
2362 Fixes: NB#98383 (is-topmost signal is not emitted when task
2363 switcher is clicked.)
2365 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2367 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2371 * src/hildon-animation-actor.c,
2372 * src/hildon-animation-actor.h: Added the animation actor class,
2373 this widget represents an animation actor for WM-assisted
2374 animation effects in the Hildon framework.
2376 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2378 * src/hildon-window-stack-private.h
2379 * src/hildon-window-stack.c
2380 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2381 Avoid calling gtk_widget_show() again indirectly from
2382 hildon_stackable_window_show()
2384 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2386 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2389 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2391 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2392 (hildon_time_selector_init): Move the construction of the hours and
2393 ampm columns to the constructor to preserve the order the columns
2396 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2398 * src/hildon-picker-dialog.c:
2399 (hildon_picker_dialog_class_init): Connect a realize method.
2400 (+hildon_picker_dialog_realize): Setup the interaction mode here
2402 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2403 yet, do it during the realize instead.
2404 (_on_dialog_response):
2405 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2406 if the widget is not realized, to avoid the dialog response before it
2409 Avoid premature responses in the HildonPickerDialog that can cause it
2410 to be hidden before it's even shown.
2412 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2414 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2415 (on_selector_columns_changed), (requires_done_button),
2416 (+prepare_action_area), (setup_interaction_mode),
2417 (_hildon_picker_dialog_set_selector):
2419 Split the interaction mode setup into preparation of the
2420 action area (prepare_action_area()) and the connection of
2421 the signals in setup_interaction_mode() and update the code to
2424 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2426 * src/hildon-pannable-area.c,
2427 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2428 per second to 15, we will check if this is ok regarding
2431 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2433 * src/hildon-pannable-area.c,
2434 (hildon_pannable_axis_scroll): Avoid resize if we already have
2435 reached overshoot_max.
2437 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2439 * src/hildon-pannable-area.c,
2440 (hildon_pannable_area_init),
2441 (hildon_pannable_area_realize),
2442 (hildon_pannable_area_size_allocate),
2443 (hildon_pannable_area_map),
2444 (hildon_pannable_area_unmap),
2445 (hildon_pannable_draw_vscroll),
2446 (hildon_pannable_draw_hscroll),
2447 (hildon_pannable_area_expose_event),
2448 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2449 pannable are to avoid the expose events go to the window and
2450 redraw the window. We save this way that part of the stack and the
2451 paint_boxes. We had to change the positions of the elements when
2454 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2456 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2457 * src/hildon-color-chooser-dialog.c:
2458 (hildon_color_chooser_dialog_init):
2459 * src/hildon-font-selection-dialog.c:
2460 (hildon_font_selection_dialog_init),
2461 (hildon_font_selection_dialog_show_preview):
2462 * src/hildon-get-password-dialog.c:
2463 * src/hildon-login-dialog.c:
2464 * src/hildon-set-password-dialog.c:
2465 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2466 * src/hildon-time-picker.c: (hildon_time_picker_init):
2468 Remove obsolete logical string IDs and update to the appropriate ones.
2470 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2472 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2474 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2475 that happens if the window hasn't been realized yet.
2477 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2478 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2480 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2482 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2483 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2486 Fixes: NB#98537 (Device hangs in account settings dialog)
2488 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2490 * configure.ac: post release version bump.
2491 * debian/changelog: version bump
2493 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2498 * configure.ac: Bump version.
2499 * debian/changelog: Updates.
2501 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2503 Added a new function to the HildonTimeButton widget that allows to
2504 change the step of the minutes in the selector associated with the
2505 button: hildon_time_button_new_step
2507 * src/hildon-time-button.c,
2508 (hildon_time_button_init),
2509 (hildon_time_button_new),
2510 (hildon_time_button_new_step):
2511 * src/hildon-time-button.h: Added the new function and refactored
2513 * examples/hildon-time-button-example.c,
2514 (main): We have replaced the function without parameters with the
2515 function with the steps set to 5
2517 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2519 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2521 * src/hildon-time-selector.c,
2522 (hildon_time_selector_class_init),
2523 (hildon_time_selector_constructor),
2524 (hildon_time_selector_get_property),
2525 (hildon_time_selector_set_property),
2526 (_create_minutes_model),
2527 (hildon_time_selector_new_step),
2528 (hildon_time_selector_set_time),
2529 * src/hildon-time-selector.h: Added a new property to the
2530 HildonTimeSelector (minutes-step), we use that property to control
2531 the steps between the minutes in the list of the selector. We have
2532 added a new function to the API to create a widget changing the
2533 step: hildon_time_selector_new_step.
2535 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2537 * src/hildon-time-selector.c,
2538 (hildon_time_selector_class_init),
2539 (hildon_time_selector_constructor),
2540 (hildon_time_selector_init): Overrided the construct function when
2541 creating the time selector object. We have moved the minutes model
2542 handling code from the init to the new construction function:
2543 hildon_time_selector_constructor.
2545 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2547 * examples/hildon-date-button-example.c: (main): Use the new
2548 hildon_date_button_new_with_year_range() method in the example.
2549 * src/hildon-date-button.c:
2550 (+hildon_date_button_new_with_year_range): New public method
2551 to conveniently create a HildonDateButton with a custom year range
2552 in its HildonDateSelector.
2553 * src/hildon-date-button.h: Add the new public method definition.
2555 Fixes: NB#97908 (Not possible to change the year range in
2556 HildonDateSelector/HildonDateButton)
2558 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2560 * src/hildon-date-selector.c:
2561 (+hildon_date_selector_set_property),
2562 (+hildon_date_selector_get_property),
2563 (hildon_date_selector_class_init): Install new properties "min-year"
2564 and "max-year" to define boundaries for the year column.
2565 (_create_year_model): Use the boundary properties to populate the model.
2566 (+hildon_date_selector_new_with_year_range): New public method to
2567 create a HildonDateSelector with a user defined year range.
2568 (hildon_date_selector_select_current_date): Use the new boundaries to
2569 calculate the iterator of current year.
2570 * src/hildon-date-selector.h: Add the new public method definition.
2572 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2574 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2575 Install a constructor method.
2576 (+hildon_date_selector_construct_ui): construct the widget.
2577 (+hildon_date_selector_constructor): new constructor.
2578 (+hildon_date_selector_init): move out widget construction code to
2579 the new constructor.
2581 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2583 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2584 that there's actually a month or year selected before obtaining them.
2585 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2586 of the HildonTouchSelector::changed signal, as it was emitted on every
2587 single item selection.
2589 Fix some warnings and possible crashers due to the selection restoring.
2591 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2593 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2594 the signal handlers only after creating the dialog instead of on every
2597 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2599 * src/hildon-button.c (hildon_button_init)
2600 * src/hildon-check-button.c (hildon_check_button_init)
2601 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2602 focus when clicked by default.
2604 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2606 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2609 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2611 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2612 Alejandro G. Castro (alex@igalia.com)
2614 * src/hildon-picker-dialog.c:
2615 (hildon_picker_dialog_class_init): install new "center-on-show"
2617 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2618 (hildon_picker_dialog_set_property): add setter code for the new
2620 (hildon_picker_dialog_get_property): add getter code for the new
2622 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2623 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2626 Fixes: NB#92849 (Selected item is not always visible when
2627 HildonTouchSelector is shown)
2629 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2631 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2632 Alejandro G. Castro (alex@igalia.com)
2634 * src/hildon-touch-selector.c:
2635 (_create_new_column): Do not connect to the "realize" signal of the
2637 (hildon_touch_selector_append_column): center on the selected items
2638 when a new column is appended.
2639 (hildon_touch_selector_select_iter): Factor out the code to select a
2640 column to hildon_touch_selector_scroll_to().
2641 (+search_nearest_element): Method to retrieve the nearest selected
2642 element to the visible area of the pannable area in a column.
2643 (+on_realize_cb): scroll to the initially selected item.
2644 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2645 the pannable area is realized, otherwise delay this until it is.
2646 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2647 selected items of a given column.
2648 (+hildon_touch_selector_center_on_selected): Public method to center
2649 all columns on the nearest selected item.
2650 * src/hildon-touch-selector.h: Add definition for
2651 hildon_touch_selector_center_on_selected().
2653 Implement public API to ensure visibility of all selected items in
2654 a HildonTouchSelector.
2656 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2658 Fixed a problem in the fading when calling the scroll_to API, and
2659 improve scrollbar fading handling.
2661 * src/hildon-pannable-area.c,
2662 (hildon_pannable_area_grab_notify): avoid the timeout when the
2664 (hildon_pannable_area_button_press_cb),
2665 (hildon_pannable_area_motion_notify_cb): Code style changes.
2666 (hildon_pannable_area_button_release_cb): Review the conditions
2667 when releasing the mouse button to avoid unrequired fading
2669 (hildon_pannable_area_scroll_to): Do not calculate and set the
2670 velocity if the scroll is not required.
2672 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2674 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2675 Don't check whether the new selector is NULL: it cannot be.
2676 Hold a reference to the selector while doing the replacement.
2678 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2680 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2681 unnecessary size_request in a removed widget.
2683 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2685 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2686 an unnecessary reference tracking that was leaking.
2688 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2690 Added delayed motion notify event handling, this way we can
2691 discard redrawing if more than 25 events arrive per second.
2693 * src/hildon-pannable-area.c,
2694 (hildon_pannable_area_init): Initialized the new private atributes
2695 controlling this timeout
2696 (hildon_pannable_area_dispose): Remove the timeout that controls
2697 the motion notify events.
2698 (hildon_pannable_area_scroll): Added a condition to control the
2699 use of the acceleration.
2700 (hildon_pannable_area_motion_event_scroll_timeout),
2701 (hildon_pannable_area_motion_event_scroll): Added this two
2702 functions, they handle the motion notify events inside the
2704 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2705 to the scroll method with the new function.
2706 (hildon_pannable_area_button_release_cb): We have to remove the
2707 timeout handler and move to the last position if the last motion
2708 events were not handled.
2710 Fixes: NB#97028 (Pannable area updates on every motion event)
2712 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2714 * src/hildon-pannable-area.c,
2715 (hildon_pannable_area_get_topmost): Added a new parameter to
2716 filter the the windows that do not include those events. Added
2717 also a condition when finding the window to filter windows that do
2718 not ask for those events.
2719 (hildon_pannable_area_button_press_cb),
2720 (hildon_pannable_area_button_release_cb),
2721 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2722 topmost function, we have added the new parameter.
2724 Fixes: NB#97458 (Pannable area prevents propagation of button
2727 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2729 * src/hildon-pannable-area.c,
2730 (hildon_pannable_area_initial_effect): Added controls before
2731 launching the timeout and the idle functions.
2732 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2733 of the method, in some situations it can return with TRUE and 0 in
2735 (hildon_pannable_area_button_press_cb): We do not need to set
2736 DELAY for fading out here.
2738 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2740 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2742 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2743 post-cleaning if the selection is not NULL.
2745 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2747 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2748 all items before restoring the selection.
2750 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2752 * src/hildon-touch-selector.c:
2753 (+hildon_touch_selector_unselect_all):
2754 * src/hildon-touch-selector.h: New API to unselect all items in a
2755 column of the touch selector.
2757 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2759 * src/hildon-pannable-area.c,
2760 (hildon_pannable_area_redraw): Added a call to the refresh
2761 function inside the redraw because apparently in some cases the
2762 change in the adjustment does not imply a size allocate.
2764 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2765 despite the view not being scrollable)
2767 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2769 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2770 leak. Check for NULL before attempting to set the window title.
2772 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2774 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2775 whether to show or not the 'Done' button each time the dialog is
2776 shown, as it depends on the HildonTouchSelector selection mode.
2778 Fixes: NB#96226 (In multiple selection mode Done button is shown
2779 sometimes in listpicker)
2781 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2783 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2784 for the number of columns in the HildonTouchSelector more than once.
2786 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2788 * src/hildon-touch-selector.c: Minor documentation fixes.
2790 * src/hildon-picker-dialog.c (+_dialog_update_title)
2791 (_select_on_selector_changed_cb)
2792 (_update_title_on_selector_changed_cb)
2793 (on_selector_columns_changed): Update dialog title when there's no
2794 'Done' button and also when the number of columns in the selector
2798 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2799 (+_selection_changed, hildon_picker_button_on_dialog_response)
2800 (hildon_picker_button_selector_selection_changed)
2801 (+hildon_picker_button_selector_columns_changed)
2802 (hildon_picker_button_set_selector): Update button value and emit
2803 'value-changed' when the number of columns in the selector
2807 Fixes: NB#96225 (Dialog titles are not shown according to the
2808 values selected in the list picker)
2810 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2812 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2813 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2814 New "arrow-width" and "arrow-height" style properties to set the
2815 size of the arrow button.
2816 Set name of arrow button ("hildon-edit-toolbar-arrow").
2818 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2819 graphics from theme)
2821 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2823 * src/hildon-picker-button.c:
2824 (hildon_picker_button_selector_selection_changed): Use
2825 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2826 the dialog is present.
2828 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2829 the selection is accepted in the dialog)
2831 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2833 * src/hildon-color-chooser.h
2834 * src/hildon-color-chooser-dialog.h:
2835 Added G_BEGIN_DECLS and G_END_DECLS
2837 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2839 (_clean_current_selection): plug a leak in the list.
2841 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2843 * src/hildon-picker-dialog.c:
2844 (+free_path_list): Method to free a GList of GtkTreePaths.
2845 (_clean_current_selection), (_save_current_selection),
2846 (_restore_current_selection): Save the current selection in
2847 as a list of lists, to support multiple selection properly.
2849 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2851 patch by Claudio Saavedra (csaavedra@igalia.com)
2853 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2854 Store the press position.
2855 (+hildon_text_view_button_release_event): If the release position is
2856 close enough to the press position, move the cursor here. Otherwise,
2858 (hildon_text_view_class_init): Override GtkTextView press, release, and
2859 motion event handlers, disabling this way text selection through
2860 pointer interaction, and allowing the container widget to handle the
2863 Fixes: NB#95828 (HildonTextView functionality)
2865 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2867 Based on a patch by Iván Gómez (igomez@igalia.com)
2869 * src/hildon-button.[ch]
2870 * src/hildon-calendar.c
2871 * src/hildon-check-button.c
2872 * src/hildon-date-editor.c
2873 * src/hildon-date-selector.c
2874 * src/hildon-picker-button.c
2875 * src/hildon-time-editor.c
2876 * src/hildon-time-selector.c
2877 * src/hildon-touch-selector.[ch]:
2878 Documentation updates
2880 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2882 * src/hildon-pannable-area.c,
2883 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2884 threshold, it was required due to X events handling.
2886 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2888 * src/hildon-pannable-area.c,
2889 (hildon_pannable_area_grab_notify),
2890 (hildon_pannable_area_initial_effect),
2891 (hildon_pannable_area_button_press_cb),
2892 (hildon_pannable_area_button_release_cb),
2893 (hildon_pannable_area_scroll_cb),
2894 (hildon_pannable_area_scroll_to): Review the timeout management of
2895 the scrollbar, the frecuency was incorrectly set.
2897 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2899 * src/hildon-picker-button.c:
2900 (+hildon_picker_button_on_dialog_response),
2901 (hildon_picker_button_clicked): Present the dialog instead of
2902 running it with gtk_dialog_run().
2904 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2907 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2909 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2910 (hildon_app_menu_finalize): When a window is hidden it doesn't
2911 emit notify::is-topmost, so make sure than the menu also
2912 disappears in that case.
2913 (parent_window_topmost_notify): Renamed from parent_window_hidden
2915 Fixes: NB#94460 (stackable window's menu is not closed when its
2918 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2920 * src/hildon-touch-selector-entry.c:
2921 (+hildon_touch_selector_entry_set_input_mode),
2922 (+hildon_touch_selector_entry_get_input_mode):
2923 * src/hildon-touch-selector-entry.h: New methods to access the input
2924 mode in the selector's entry.
2926 Fixes: NB#93410 (API required for setting IM mode in
2927 HildonTouchSelectorEntry)
2929 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2931 * configure.ac: post release version bump.
2932 * debian/changelog: version bump
2934 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2939 * configure.ac: Bump version.
2940 * debian/changelog: Updates.
2942 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2944 * src/hildon-touch-selector.c:
2945 (_hildon_touch_selector_has_multiple_selection): No need
2946 to initialize the variables here.
2948 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2950 * src/hildon-note-private.h
2951 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2952 (hildon_note_finalize, hildon_note_rebuild): Close information
2953 notes when they receive a button press.
2955 Fixes: NB#89890 (Information notes does not get disappeared after
2958 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2960 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2961 mark from the wizard title, as it's not really necessary. Also,
2962 do not display the page title if not set.
2964 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2966 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2967 (parent_window_hidden): Use the window's "is-topmost" property to
2968 detect when to hide the menu.
2970 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2972 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2973 (hildon_app_menu_finalize): If the parent window of the menu is
2974 hidden, hide the menu too.
2976 Fixes: NB#94460 (stackable window's menu is not closed when its
2979 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2982 * debian/libhildon1-examples.install
2984 * examples/Makefile.am:
2985 Use dh_install to install all examples.
2986 Use DEB_SRCDIR instead of defining SOURCE_DIR
2988 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2990 * configure.ac: post release version bump.
2991 * debian/changelog: version bump
2993 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2998 * configure.ac: bump version
2999 * debian/changelog: updates
3000 * debian/control: bump gtk+ dependency
3002 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3004 patch by Christian Dywan (christian@imendio.com)
3006 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3007 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3009 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3011 * src/hildon-check-button.c (hildon_check_button_init)
3012 (hildon_check_button_class_init, hildon_check_button_style_set)
3013 (hildon_check_button_apply_style):
3014 New "checkbox-size" style property.
3016 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3017 larger / configurable size)
3019 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3021 * configure.ac: post release version bump.
3022 * debian/changelog: version bump
3024 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3029 * configure.ac: bump version
3030 * debian/changelog: updates
3032 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3034 * doc/hildon-sections.txt
3035 * src/hildon-pannable-area.c
3036 * src/hildon-program.c
3037 * src/hildon-time-editor.c
3038 * src/hildon-touch-selector-entry.c:
3040 More documentation updates.
3042 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3044 * doc/hildon-sections.txt
3045 * src/hildon-caption.c
3046 * src/hildon-code-dialog.c
3047 * src/hildon-color-button.c
3048 * src/hildon-controlbar.c
3049 * src/hildon-date-editor.c
3050 * src/hildon-date-selector.c
3051 * src/hildon-edit-toolbar.c
3052 * src/hildon-find-toolbar.c
3053 * src/hildon-font-selection-dialog.c
3055 * src/hildon-program.c
3056 * src/hildon-range-editor.c
3057 * src/hildon-seekbar.c
3058 * src/hildon-time-editor.c
3059 * src/hildon-time-selector.c
3060 * src/hildon-volumebar-range.c
3061 * src/hildon-volumebar.c
3062 * src/hildon-vvolumebar.c
3063 * src/hildon-weekday-picker.c
3064 * src/hildon-window.c
3065 * src/hildon-wizard-dialog.c:
3067 Lots of documentation fixes.
3069 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3071 Patch contributed by Iván Gómez (igomez@igalia.com)
3073 * src/hildon-check-button.c:
3074 * src/hildon-date-button.c:
3075 * src/hildon-date-selector.c:
3076 * src/hildon-dialog.c:
3077 * src/hildon-edit-toolbar.c:
3078 * src/hildon-entry.c:
3079 * src/hildon-picker-button.c:
3080 * src/hildon-program.c:
3081 * src/hildon-text-view.c:
3082 * src/hildon-time-button.c:
3083 * src/hildon-touch-selector-entry.c:
3084 * src/hildon-window-stack.c:
3086 Add more "since" tags to the new API.
3088 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3090 * doc/hildon-sections.txt: Add below method.
3091 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3092 version for the hildonized scale.
3093 * src/hildon-gtk.h: Add the definition.
3095 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3097 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3099 * doc/hildon-sections.txt: Add missing entries for new methods.
3101 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3103 Added API to pannable are in order to get its adjustments. We
3104 added two properties to manage the values we had in the private
3107 * src/hildon-pannable-area.c:
3108 (hildon_pannable_area_class_init): Added hadjustment and
3109 vadjustment properties in order to expose horizontal and vertical
3111 (hildon_pannable_area_get_property),
3112 (hildon_pannable_area_set_property): Added code to handle the new
3114 (hildon_pannable_area_get_hadjustment),
3115 (hildon_pannable_area_get_vadjustment): API functions to get the
3117 * src/hildon-pannable-area.h:
3118 (hildon_pannable_area_get_hadjustment),
3119 (hildon_pannable_area_get_vadjustment): API functions to get the
3122 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3124 Fixed some leaks, after valgrinding.
3126 * src/hildon-touch-selector.c:
3127 (_default_print_func): Fixed a leak.
3128 (hildon_touch_selector_append_column): Fixed a leak.
3129 * src/hildon-date-button.c:
3130 (hildon_date_button_init): Fixed a leak.
3131 * src/hildon-date-selector.c
3132 (hildon_date_selector_finalize): Fixed a leak.
3134 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3136 Based on a patch by Christian Dywan (christian@imendio.com)
3138 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3140 * src/hildon-gtk.h: Add definition.
3142 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3144 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3146 * src/hildon-picker-button.c: (hildon_picker_button_init),
3147 (hildon_picker_button_new): Set the HildonButton::style property
3148 in the init method, to propagate the value to the derived classes.
3150 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3152 * src/hildon-button.c: (hildon_button_class_init): Do not make
3153 the "style" property a construct property.
3155 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3157 * src/hildon-wizard-dialog.h
3158 * src/hildon-wizard-dialog.c
3159 (hildon_wizard_dialog_set_forward_page_func)
3160 * src/hildon-pannable-area.h
3161 * src/hildon-pannable-area.c
3162 (hildon_pannable_area_set_size_request_policy):
3163 Documentation fixes.
3165 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3167 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3169 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3171 * doc/hildon-sections.txt: Added sections file.
3173 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3176 * src/*.[ch]: Updates.
3178 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3180 * examples/hildon-progress-indicator-example.c: new file
3181 * examples/Makefile.am: include the new example program
3183 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3185 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3187 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3189 * configure.ac: post release version bump
3190 * debian/changelog: version bump
3192 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3197 * configure.ac: bump version
3198 * debian/changelog: updates
3199 * debian/control: bump gtk+ dependency
3201 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3203 * src/hildon-dialog.c: Mark as deprecated.
3204 * src/hildon-dialog.h: Mark as deprecated.
3205 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3206 from HildonDialog and still work, even if
3207 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3208 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3210 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3211 maemo changes) instead)
3213 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3215 * src/hildon-pannable_area.h:
3216 * src/hildon-pannable_area.c:
3217 (hildon_pannable_area_class_init),
3218 (hildon_pannable_area_set_property),
3219 (hildon_pannable_area_get_property),
3220 (hildon_pannable_area_size_request),
3221 (hildon_pannable_area_get_size_request_policy),
3222 (hildon_pannable_area_set_size_request_policy): Added new API
3223 allowing applications to control the request policy. Now they can
3224 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3225 children allocation (HILDON_MOVEMENT_CHILDREN).
3227 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3231 (hildon_gtk_tree_view_set_ui_mode)
3232 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3233 mode of treeviews and iconviews.
3235 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3237 * src/hildon-touch-selector-entry.c:
3238 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3239 of a GtkEntry to get proper theming.
3241 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3242 widget, not GtkEntry)
3244 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3246 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3247 no HildonWizardDialogPageFunc.
3249 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3251 Patch contributed by Iván Gómez (igomez@igalia.com)
3253 * src/hildon-app-menu.c:
3254 * src/hildon-button.c:
3255 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3256 * src/hildon-stackable-window.c:
3257 * src/hildon-time-selector.c:
3258 * src/hildon-touch-selector.c:
3259 * src/hildon-window.c:
3261 Add more "since" tags to the new API in hildon 2.2.
3263 2008-12-05 Tim Janik <timj@imendio.com>
3265 Patch contributed by Christian Dywan (christian@imendio.com)
3267 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3268 HildonSizeType, which are supplied by Gtk+ now.
3270 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3272 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3273 (with maemo changes) instead)
3275 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3277 Patch contributed by Iván Gómez (igomez@igalia.com)
3279 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3282 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3284 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3285 (some_page_func), (main): Update the example to use a
3286 HildonWizardDialogPageFunc function.
3288 * src/hildon-wizard-dialog-private.h: Add private data for
3289 the HildonWizardDialogPageFunc function usage.
3291 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3292 (destroy), (hildon_wizard_dialog_init), (response),
3293 (hildon_wizard_dialog_set_forward_page_func):
3294 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3295 that applications can use to stop a HildonWizardDialog to jump to
3298 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3301 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3303 * src/hildon-program.h
3304 * src/hildon-program-private.h
3305 * src/hildon-program.c (hildon_program_init)
3306 (hildon_program_set_common_app_menu)
3307 (hildon_program_get_common_app_menu):
3308 New API for setting a common HildonAppMenu for all
3309 HildonStackableWindows registered with the HildonProgram.
3311 * src/hildon-stackable-window.c
3312 (hildon_stackable_window_toggle_menu):
3313 Use the common HildonAppMenu if a window doesn't have a specific
3316 * src/hildon-app-menu-private.h
3317 * src/hildon-app-menu.c
3318 (hildon_app_menu_get_parent_window):
3319 Function to obtain the window a HildonAppMenu is attached to.
3320 (hildon_app_menu_set_parent_window):
3321 Hide the menu if the parent window is set to NULL.
3323 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3325 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3326 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3327 search widget to popup.
3329 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3331 * configure.ac: post release version bump
3332 * debian/changelog: version bump
3334 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3339 * configure.ac: bump version
3340 * debian/changelog: updates
3342 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3344 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3346 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3347 (hildon_window_stack_window_realized)
3348 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3349 Set the leader GdkWindow when a window is stacked and realized,
3350 unset it when it's unstacked.
3351 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3353 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3355 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3357 * src/hildon-stackable-window.h
3358 * src/hildon-window-stack.h:
3359 Protect definition of HildonWindowStack using the preprocessor.
3361 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3363 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3364 Fix warning if all menu items are hidden.
3366 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3368 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3370 * src/hildon-controlbar.c:
3371 * src/hildon-hvolumebar.c:
3372 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3373 Multiple scale size defines updates.
3375 Fixes: NB#94322 (Scale Updates)
3377 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3379 * examples/hildon-app-menu-example.c (create_menu)
3380 Show items after adding them to the menu, as in the future the
3381 menu will no longer call gtk_widget_show() on the added items.
3383 * src/hildon-app-menu.c:
3384 Update example as explained above.
3386 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3388 * src/hildon-app-menu.c
3389 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3390 Make sure that all menu items have finger height.
3392 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3394 * src/hildon-picker-dialog.c:
3395 (_on_dialog_response), (_save_current_selection),
3396 (_restore_current_selection), (_clean_current_selection),
3397 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3398 Defined new functions in order to save the current internal selector
3399 selection previous open the dialog, in case that the use cancel the
3400 interaction, so the widget restores the previous selection.
3402 Fixes: NB#92032 (In calendar application, date values in 'new event'
3405 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3407 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3409 * src/hildon-button.c: Add a reference to the button examples in
3410 hildon-button-example.c
3412 * examples/hildon-button-example.c: Added examples of the most
3413 common button layouts.
3415 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3417 * src/hildon-app-menu.c (hildon_app_menu_show)
3418 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3420 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3422 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3424 * src/hildon-picker-dialog.c:
3425 (hildon_picker_dialog_init): Initialize the signal id for
3426 HildonTouchSelector::columns-changed.
3427 (+on_selector_columns_changed): Set up the interaction mode everytime a
3428 column is added or removed from the HildonTouchSelector.
3429 (_hildon_picker_dialog_set_selector): Connect to
3430 HildonTouchSelector::columns-changed and keep track of it.
3432 Make sure to update the interaction mode of the dialog everytime a
3433 column is added or removed in the HildonTouchSelector.
3435 Fixes: NB#93228 (Done button is not shown always in listpicker)
3437 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3439 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3440 a new ::columns-changed signal.
3441 (hildon_touch_selector_append_column): Emit ::columns-changed.
3442 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3444 Add a ::columns-changed signal, emitted when the number of columns in a
3445 HildonTouchSelector changes.
3447 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3449 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3450 (_hildon_picker_dialog_set_selector): Factor out the code
3451 to set up the dialog interaction mode.
3453 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3455 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3456 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3457 to signal_changed_id.
3459 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3461 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3464 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3466 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3467 Updated the logical ids related to ampm format, as now it is required to
3468 show it correctly localized even on languages with no default
3469 abbreviations for am or pm
3470 (_check_am_pm_format): check correctly the 24h format gconf property
3472 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3474 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3476 * src/hildon-button.c: Documentation updates.
3478 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3480 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3481 * src/hildon-caption.c: (hildon_caption_class_init):
3482 * src/hildon-color-button.c: (hildon_color_button_class_init):
3483 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3484 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3485 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3486 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3488 Remove deprecated GTK+ marshalers and replace them with the ones
3489 provided by GLib, for those available, add a marshaler for
3490 BOOLEAN:VOID, which is not available in GLib, and use it.
3492 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3494 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3495 the text from the previous column if there is no
3496 HildonTouchSelectorColumn::text-property set.
3498 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3500 * src/hildon-button.h
3501 * src/hildon-button.c (hildon_button_set_property)
3502 (hildon_button_get_property, hildon_button_class_init)
3503 (hildon_button_set_style, hildon_button_get_style):
3504 New "style" property to change the visual appearance of the
3507 * src/hildon-picker-button.c (hildon_picker_button_new):
3508 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3510 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3511 HildonButton look like PickerButton)
3513 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3515 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3516 column while building the default string.
3518 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3520 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3521 scroll indicator by default.
3523 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3525 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3527 * src/hildon-main.c: Fix the documentation for hildon_init()
3529 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3531 * doc/hildon-docs.sgml
3535 * src/hildon-window-stack-private.h
3536 * src/hildon-window-stack.h
3537 * src/hildon-window-stack.c:
3538 New HildonWindowStack object, that adds support for multiple
3539 stacks of windows per process.
3541 * src/hildon-stackable-window-private.h
3542 * src/hildon-stackable-window.h
3543 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3544 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3545 (hildon_stackable_window_show, hildon_stackable_window_hide)
3546 (hildon_stackable_window_class_init)
3547 (hildon_stackable_window_init):
3548 Use HildonWindowStack for stack management.
3550 * src/hildon-program.c (hildon_program_pop_window_stack)
3551 (hildon_program_peek_window_stack)
3552 (hildon_program_go_to_root_window):
3553 Add a fallback implementation to the deprecated functions using
3556 * examples/hildon-stackable-window-example.c:
3557 Use the new HildonWindowStack API.
3559 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3561 * src/hildon-stackable-window-private.h
3562 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3563 (hildon_stackable_window_hide, hildon_stackable_window_init):
3564 Remove all window stack management.
3566 * src/hildon-program-private.h
3567 * src/hildon-program.h
3568 * src/hildon-program.c (hildon_program_init)
3569 (hildon_program_pop_window_stack)
3570 (hildon_program_peek_window_stack)
3571 (hildon_program_go_to_root_window):
3572 Remove all window stack management and mark functions as
3575 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3577 * src/hildon-app-menu.c (hildon_app_menu_realize):
3578 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3580 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3582 * configure.ac: post release version bump
3583 * debian/changelog: version bump
3585 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3590 * configure.ac: bump version
3591 * debian/changelog: updates
3593 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3595 Based on initial code by Christian Dywan (christian@imendio.com)
3597 * doc/hildon-docs.sgml: Add section for hildon-main.
3598 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3599 * src/Makefile.am: Add new hildon-main.[ch]
3600 * src/hildon-defines.h: Update the icon sizes.
3601 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3602 new library initialization files and register icon sizes.
3603 * src/hildon-main.h: New declarations.
3604 * src/hildon.h: Include hildon-main.h
3606 Add new initialization functions to the library. These methods
3607 will register the hildon specific icon sizes and can be used in the
3608 future for other hildon specific bits.
3610 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3612 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3614 * src/hildon-window.c: (hildon_window_realize),
3615 (hildon_window_notify), (-hildon_window_update_title): Do not set
3616 the application name in the window title.
3618 Fixes: NB#89754 (Applications shouldn't display their names in the
3621 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3623 * src/hildon-note-private.h:
3624 * src/hildon-note.c: (hildon_note_set_property),
3625 (hildon_note_get_property), (hildon_note_class_init),
3626 (hildon_note_init), (hildon_note_finalize),
3627 (hildon_note_new_confirmation_with_icon_name),
3628 (hildon_note_new_information_with_icon_name):
3630 No need to mark as deprecated the actual code. Revert
3631 to avoid missing symbols in widgets using deprecated API.
3633 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3635 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3637 * src/hildon-volumebar.h
3638 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3639 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3641 * src/hildon-helper.h
3642 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3643 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3645 * examples/Makefile.am:
3646 Deprecate hildon-insensitive-example
3648 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3650 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3652 * examples/hildon-pannable-area-buttons-scroll-example.c:
3653 Make all buttons finger height
3655 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3657 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3659 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3660 update the day model only if it is really required, and to avoid the
3661 full-reconstruction aproach. Now it only add or remove the required days.
3663 The purpose of this is avoid superfluous HildonTouchSelector::changed
3666 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3667 with strange parameters)
3669 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3671 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3673 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3674 the WINDOW_TYPE property.
3676 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3678 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3681 Fix dependency to allow parallel compilation with make -jX
3683 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3685 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3686 color frame and some minor tweaks to make it more consistent with
3689 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3690 highlighted but not visible)
3692 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3694 * examples/Makefile.am: Fixed typo in the Makefile.am.
3696 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3698 Reviewed the use of MAEMO_GTK define, now we add the define in the
3699 compilation line, and we also add it to the pc file.
3701 * configure.ac: Added MAEMO_GTK define to the compilation command
3702 and removed it from the config.h.
3704 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3705 do not have to take care about this define if the library was
3709 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3711 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3713 * examples/Makefile.am,
3714 * examples/hildon-pannable-area-buttons-scroll-example.c,
3715 * examples/hildon-pannable-area-gesture-signals-example.c,
3716 * examples/hildon-pannable-area-scroll-jump-example.c,
3717 * examples/hildon-pannable-area-tree-view-example.c:
3718 Renamed the pannable area examples, now they have more meaningful
3721 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3723 * src/hildon-touch-selector.c:
3724 (hildon_touch_selector_set_column_selection_mode): Used of
3725 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3726 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3727 to avoid re-seting the same selection mode.
3729 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3730 breaks HildonPickerDialog)
3732 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3734 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3735 conditional in the Makefile.am
3737 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3739 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3740 Remove unused methods.
3742 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3744 * src/hildon-button.c (hildon_button_init):
3745 Make button images center-aligned by default
3747 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3750 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3751 activated, we have to think about how to deal with both defines
3752 MAEMO_GTK and MAEMO_CHANGES.
3754 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3756 * examples/hildon-app-menu-example.c (create_menu): Make all
3757 buttons finger size.
3759 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3761 Fixed the compilation without maemo gtk adding ifdefs with
3762 MAEMO_GTK define to the code, we have to check this version more
3765 * examples/Makefile.am: Added control to avoid some examples that
3766 just make sense with maemo gtk.
3769 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3770 hildon modes with the define.
3772 * examples/hildon-edit-toolbar-example.c,
3773 (create_icon_view): Create the icon view without hildon-gtk
3774 helpers if we are not using maemo gtk.
3776 * src/hildon-touch-selector.c,
3777 (_create_new_column): Create the treeview without hildon-gtk
3778 helpers if we are not using maemo gtk.
3780 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3782 * src/hildon-pnnable-area.c,
3783 (hildon_pannable_area_dispose),
3784 (hildon_pannable_area_button_press_cb),
3785 (hildon_pannable_area_child_mapped),
3786 (hildon_pannable_area_add),
3787 (hildon_pannable_area_remove): Added code to control the position
3788 of the event_window when adding and removing children from the
3789 pannable. We have to raise the event window when the child is
3792 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3793 selection mode using custom widget inside pannable)
3795 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3797 * configure.ac: post release version bump
3798 * debian/changelog: version bump
3800 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3805 * configure.ac: bump version
3806 * debian/changelog: updates
3808 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3810 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3811 search mode, in order to avoid lose the focus on the treeview when
3812 a hw key (like enter) is pressed.
3814 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3815 in HildonDateSelector dialog)
3817 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3819 * debian/rules: Added --enable-maintainer-mode
3820 * Makefile.am: Added ACLOCAL_AMFLAGS
3822 This allows to properly regenerate the Makefiles if you modify the
3823 configure.ac or any Makefile.am.
3825 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3827 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3828 properties, not needed at all.
3830 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3832 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3834 * src/hildon-note.c: (hildon_note_set_property),
3835 (hildon_note_get_property), (hildon_note_class_init),
3836 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3837 (hildon_note_new_confirmation_add_buttons): Remove icons.
3838 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3839 (hildon_note_new_information_with_icon_name): Deprecate.
3840 (hildon_note_new_confirmation): Act directly, without calling
3841 the deprecated constructor.
3842 (hildon_note_new_information): Act directly, without calling
3843 the deprecated constructor.
3844 * src/hildon-note.h: Mark deprecate methods as such.
3845 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3846 not run tests on the deprecated methods if built with deprecation
3849 Fixes: NB#91688 (Never show icons in information notes/confirmation
3852 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3854 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3855 (hildon_app_menu_key_press): Remove leftover usage of the
3856 private structure in HildonAppMenu struct.
3857 * src/hildon-app-menu.h: Remove leftover private structure
3858 from the HildonAppMenu struct.
3860 Fixes a crasher when using the HildonAppMenu.
3862 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3864 * src/hildon-picker-dialog.c: Use appropriate logical id
3865 for the default "Done" text.
3867 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3869 * configure.ac: post release version bump
3870 * debian/changelog: version bump
3872 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3874 Modified the way to scroll to the current selection just when the touch
3875 selector is shown on the screen, avoiding a g_idle. Added too a property
3876 to configure this behaviour. See hildon_pannable_area_jump_to_child
3877 documentation for more information.
3879 * src/hildon-touch-selector.c
3880 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3881 Added 'initial-scroll' property
3882 (hildon_touch_selector_set_property): Added
3883 (hildon_touch_selector_map): Removed as not required anymore
3884 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3885 only a concrete column, instead of iterate along all the columns
3887 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3892 * configure.ac: bump version
3893 * debian/changelog: updates
3895 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3897 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3898 compilation time warnings.
3900 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3902 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3903 the default value for HildonPannableArea::mov-mode to
3904 HILDON_PANNABLE_AREA_MODE_VERT.
3906 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3908 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3910 Reverting following commit:
3912 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3914 * src/hildon-app-menu-private.h
3915 * src/hildon-app-menu.[ch]
3916 * src/hildon-button.[ch]
3917 * src/hildon-check-button.[ch]
3918 * src/hildon-entry.[ch]
3919 * src/hildon-pannable-area.[ch]
3920 * src/hildon-text-view.[ch]:
3921 Added private field to the object's structure.
3923 because it causes an ABI breakage. We will need to introduce these
3924 changes later at some point. See NB#91636 for an extensive
3925 explanation and status.
3927 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3929 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3931 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3932 remove special cases that are no longer necessary.
3934 Fixes: NB#91016 (Change toolbar sizes, simplification)
3936 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3938 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3939 is shown in the cancel note.
3941 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3943 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3944 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3945 (hildon_seekbar_init): Remove steppers, remove expose event.
3946 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3948 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3950 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3952 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3953 label font to "SmallSystemFont" for vertically arranged buttons.
3955 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3958 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3960 * src/hildon-check-button.c
3961 (hildon_check_button_set_active, hildon_check_button_clicked):
3962 Don't access private parts directly, use getters instead.
3964 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3966 * src/hildon-check-button.c (hildon_check_button_new):
3967 Align the contents of the check button to the left.
3969 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3971 * src/hildon-pannable-area.c,
3972 (hildon_pannable_area_scroll_to),
3973 (hildon_pannable_area_jump_to),
3974 (hildon_pannable_area_scroll_to_child),
3975 (hildon_pannable_area_jump_to_child): Replace the mapped
3976 precondition of these functions with the realized, it is the
3977 correct state of the widget in this case. Changed the
3978 documentation according to this modification.
3980 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3982 Added a new EXTRA_CFLAGS option to add the deprecated define to
3983 the compilation command. This way we can avoid using the define in
3984 the documentation compilation.
3986 * configure.ac: Defined EXTRA_CFLAGS.
3988 * examples/Makefile.am:
3990 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3992 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3994 * src/hildon-picker-dialog.c:
3995 Defined a utility macro with the desired touch selector height
3996 Removed currently unused separator, and title_label variables from
3998 (hildon_picker_dialog_init): Removed code related to the creation
3999 of unused private variables title_label and separator.
4000 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4001 to ensure correct visualization of the touch selector inside the dialog.
4002 * src/hildon-touch-selector.c
4003 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4004 ensure a concrete height of the widget.
4006 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4009 * tests/Makefile.am:
4011 Remove spurious whitespaces.
4013 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4015 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4016 compilation warning after the cancel button removal.
4018 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4020 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4022 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4023 Makefile.am, that way we can choose not to compile some examples
4024 and tests of the deprecated widgets.
4026 * examples/Makefile.am: Divided the sources in deprecated and
4029 * src/Makefile.am: Added undef statement of the deprecated
4030 symbol to the enums file generation process.
4032 * src/hildon-color-chooser-dialog.c
4033 * src/hildon-color-chooser-dialog.h
4034 * src/hildon-color-button.c
4035 * src/hildon-color-button.h
4036 * src/hildon-color-chooser.c
4037 * src/hildon-color-chooser.h
4038 * src/hildon-controlbar.c
4039 * src/hildon-controlbar.h
4040 * src/hildon-date-editor.c
4041 * src/hildon-date-editor.h
4042 * src/hildon-hvolumebar.c
4043 * src/hildon-hvolumebar.h
4044 * src/hildon-private.c
4045 * src/hildon-private.h
4046 * src/hildon-range-editor.c
4047 * src/hildon-range-editor.h
4048 * src/hildon-seekbar.c
4049 * src/hildon-seekbar.h
4050 * src/hildon-time-editor.c
4051 * src/hildon-time-editor.h
4052 * src/hildon-time-picker.c
4053 * src/hildon-time-picker.h
4054 * src/hildon-volumebar.c
4055 * src/hildon-volumebar.h
4056 * src/hildon-vvolumebar.c
4057 * src/hildon-vvolumebar.h
4058 * src/hildon-bread-crumb-trail.h
4059 * src/hildon-bread-crumb-trail.c
4060 * src/hildon-calendar-popup.c
4061 * src/hildon-calendar-popup.h
4062 * src/hildon-weekday-picker.c:
4063 * src/hildon-weekday-picker.h:
4064 * src/hildon-bread-crumb-widget.c:
4065 * src/hildon-bread-crumb-widget.h:
4066 * src/hildon-bread-crumb.c:
4067 * src/hildon-bread-crumb.h:
4068 * src/hildon-calendar.c:
4069 * src/hildon-calendar.h:
4070 * src/hildon-caption.c:
4071 * src/hildon-code-dialog.c:
4072 * src/hildon-code-dialog.h:
4073 * src/hildon-font-selection-dialog.c:
4074 * src/hildon-font-selection-dialog.h:
4075 * src/hildon-get-password-dialog.c:
4076 * src/hildon-get-password-dialog.h:
4077 * src/hildon-login-dialog.c:
4078 * src/hildon-login-dialog.h:
4079 * src/hildon-number-editor.c:
4080 * src/hildon-number-editor.h:
4081 * src/hildon-set-password-dialog.c:
4082 * src/hildon-set-password-dialog.h:
4083 * src/hildon-sort-dialog.c:
4084 * src/hildon-sort-dialog.h: This is the list of deprecated
4087 * src/hildon-touch-selector.c:
4088 * src/hildon-window.c: Added undef statement to avoid compilation
4091 * tests/Makefile.am: Divided the sources in deprecated and
4094 * tests/check_test.c,
4095 (configure_tests): Marked the deprecated code that was adding
4096 suites with deprecated tests.
4098 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4100 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4102 * src/hildon-touch-selector.c: (_default_print_func): Do not
4103 duplicate a string returned by gtk_tree_model_get(), it is already
4106 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4109 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4111 * src/hildon-pannable-area.c
4112 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4113 method, it had problems when adding a widget with viewport the
4114 second time. Now checks if it already has a viewport and uses it.
4116 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4119 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4121 * src/hildon-pannable-area.c,
4122 (hildon_pannable_area_scroll_to),
4123 (hildon_pannable_area_jump_to),
4124 (hildon_pannable_area_scroll_to_child),
4125 (hildon_pannable_area_jump_to_child): Added a precondition to the
4126 scroll and jump to functions: the widget must be mapped before we
4127 can safely call these functions. We have also added documentation
4128 to the functions to explain how to use them in this situation.
4131 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4133 Reviewed the threading handling of the pannable widget, we have
4134 used the gdk_threads_add_timeout function instead of the usual
4135 glib handlers. This avoids some problems with the threads.
4137 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4138 (hildon_pannable_area_initial_effect),
4139 (hildon_pannable_area_scroll_indicator_fade),
4140 (hildon_pannable_area_button_press_cb),
4141 (hildon_pannable_area_timeout),
4142 (hildon_pannable_area_motion_notify_cb),
4143 (hildon_pannable_area_button_release_cb),
4144 (hildon_pannable_area_scroll_cb),
4145 (hildon_pannable_area_scroll_to): Removed the
4146 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4147 gdk_threads_add_timeout.
4149 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4151 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4156 * configure.ac: bump version
4157 * debian/changelog: updates
4159 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4161 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4162 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4163 * src/hildon-color-chooser-dialog.c:
4164 (hildon_color_chooser_dialog_init):
4165 * src/hildon-font-selection-dialog.c:
4166 (hildon_font_selection_dialog_init):
4167 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4169 Remove all cancel/close-like dialogs, as these are not going to be
4172 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4174 * src/hildon-note.c: (hildon_note_rebuild),
4175 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4178 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4180 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4182 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4183 sure all buttons are shown, even the Cancel/Close-like ones.
4185 Fixes: NB#90861 (Custom Confirmation dialogs should be
4186 protected from cancel button removal)
4188 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4190 * debian/control: Change libhildon1-examples dependency from libhildon1
4192 * debian/libhildon1-examples.install
4194 * Makefile.am: Modified the final install directory for the examples on
4195 package libhildon1-examples
4196 * Makefile.static: Update clean target in order to remove all the binary
4199 Changes suggested by Claudio after review new libhildon1-examples package
4201 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4203 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4204 * src/hildon-touch-selector.c: Ditto.
4206 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4208 * debian/control: Added new package libhildon1-examples, in order to pack
4209 the current hildon examples as documentation
4210 * debian/rules: Not to compress .c files, modify some includes on the
4211 examples (as normally are compiled locally, but when installed it will
4212 require to include the installed libhildon1 library), and rename
4214 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4215 install all the example files on the new example package
4216 * examples/Makefile.static: Added static makefile that can be used to
4217 compile the examples, once installed the new example package
4218 * examples: Most of the examples were modified in order to grant that
4219 all use only '#include "hildon.h"', in order to be easy to prepare
4220 it on the example package
4222 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4225 * debian/libhildon1-dev.install
4226 * debian/libhildon1-doc.install:
4227 Move all gtk-doc files to a separate libhildon1-doc package.
4229 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4231 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4233 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4235 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4237 * debian/rules: Fixed a error in order to avoid unnecessary calls
4238 to autogen.sh on package building
4240 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4242 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4244 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4246 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4249 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4251 * src/hildon-picker-button.c
4252 (hildon_picker_button_finalize):
4253 Free priv->done_button_text
4255 * src/hildon-time-button.c
4256 (hildon_time_button_set_time)
4257 * src/hildon-picker-button.c
4258 (hildon_picker_button_clicked)
4259 (hildon_picker_button_selector_selection_changed)
4260 (hildon_picker_button_set_selector)
4261 * src/hildon-date-button.c
4262 (hildon_date_button_set_date):
4263 Free strings returned by hildon_touch_selector_get_current_text()
4265 * src/hildon-button.c (hildon_button_construct_child):
4266 Fix leaks in priv->image and priv->label_box
4268 Fixes: NB#90535 (Memory leak in picker button)
4270 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4272 * src/hildon-button.c: (hildon_button_get_property): Do not access
4273 private elements directly, use getters instead.
4275 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4277 * src/hildon-app-menu-private.h
4278 * src/hildon-app-menu.c
4279 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4280 Store the menu's parent window.
4282 * src/hildon-stackable-window.c
4283 (hildon_stackable_window_toggle_menu)
4284 (hildon_stackable_window_finalize):
4285 Set the menu's parent window when the menu is shown, unset it when
4288 * src/hildon-app-menu.c
4289 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4290 (hildon_app_menu_class_init):
4291 Send unhandled keyboard accelerators to the parent window.
4293 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4295 * src/hildon-stackable-window.c
4296 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4298 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4300 * configure.ac: post release version bump
4302 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4305 * configure.ac: Bump version
4306 * debian/changelog: Updates
4307 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4310 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4312 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4315 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4316 GtkMenu with Hildon style.
4318 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4320 * src/hildon-picker-button.c:
4321 (hildon_picker_button_set_done_button_text): Set the dialog's
4322 done button text here as well.
4324 Fixes: NB#90232 (Picker button does not set the label on done button
4325 for the second time)
4327 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4329 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4332 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4334 * src/hildon-app-menu.c (hildon_app_menu_insert)
4335 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4336 the HildonAppMenu to be activatable using keyboard accelerators
4337 when the menu is not being shown.
4339 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4341 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4343 * src/hildon-stackable-window.c
4344 (hildon_stackable_window_show):
4345 Don't hide old windows automatically when new windows are shown:
4346 this is now a task for the window manager.
4347 (hildon_stackable_window_class_init)
4348 (hildon_stackable_window_hide):
4349 Remove windows from the stack everytime they're hidden.
4350 (hildon_stackable_window_realize):
4351 Don't change the _NET_WM_WINDOW_TYPE property. Use
4352 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4353 it as a stackable window.
4355 * src/hildon-program.c
4356 (hildon_program_pop_window_stack):
4357 Just hide the window to remove it from the stack.
4358 (hildon_program_go_to_root_window):
4359 Don't call gtk_widget_show(), this is now a task for the window
4362 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4364 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4366 * src/hildon-button.c
4367 (hildon_button_construct_child):
4368 Don't pack anything in the button until text or image are
4369 set. This allows adding a custom child after creating the button
4370 with hildon_button_new().
4371 (hildon_button_finalize, hildon_button_class_init)
4372 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4373 alignment and the label box even when they're not packed in the
4376 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4378 * src/hildon-touch-selector.h:
4379 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4380 currently the type definition was using GTK_TYPE_VBOX
4381 * src/hildon-touch-selector.c:
4382 Added some implementation notes in order to clarify that any other widget
4383 added without the column related API will not be included on the
4384 selection logic, and how the widget is freed, as some people ask about
4386 (hildon_touch_selector_remove): Reimplemented in order to free properly
4387 the column related data when you remove the private hbox.
4388 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4389 to get a proper HildonTouchSelectorColumn documentation
4391 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4393 * src/hildon-touch-selector-entry.c:
4394 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4395 text in the GtkEntry and there is no item selected. Fixes a
4398 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4400 * src/hildon-app-menu-private.h
4401 * src/hildon-app-menu.[ch]
4402 * src/hildon-button.[ch]
4403 * src/hildon-check-button.[ch]
4404 * src/hildon-entry.[ch]
4405 * src/hildon-pannable-area.[ch]
4406 * src/hildon-text-view.[ch]:
4407 Added private field to the object's structure.
4409 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4411 * configure.ac: post-release version bump
4413 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4417 * configure.ac: pre-release version bump
4419 * debian/changelog: updates.
4421 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4423 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4424 Disconnect the handler for HildonTouchSelector::changed.
4426 (hildon_picker_button_selector_selection_changed): Update the button
4427 value if the selection change was not triggered by the
4430 (hildon_picker_button_set_selector): connect to
4431 HildonTouchSelector::changed.
4433 Fixes: NB#89650 (Picker button is not updated, when selection in
4434 selector has changed)
4436 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4438 * src/hildon-picker-dialog.c
4439 (hildon_picker_dialog_realize): Removed as not required
4440 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4441 * src/hildon-picker-button.c
4442 (_current_selector_empty): New function, checks if the selector is empty
4443 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4444 if the current selector is empty, in order to avoid to show the dialog
4445 close the dialog in this case (and shows a g_warning).
4447 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4449 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4451 * src/hildon-pannable-area.c,
4452 (hildon_pannable_area_scroll): Added clause to stop movement when
4453 the child of pannable is smaller than one page.
4454 (hildon_pannable_area_scroll_to): Added conditions to avoid
4455 starting the scrolling movement if the child is smaller than one
4456 page, the complete child is in the screen, we do not have to move.
4458 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4460 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4462 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4463 this is managed automatically by the widget when the size of the
4466 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4468 * src/hildon-picker-button.c
4469 (hildon_picker_button_set_done_button_text): Make a copy of the
4470 text, and free the previous value.
4472 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4474 * src/hildon-touch-selector-entry.c:
4475 (hildon_touch_selector_entry_print_func): Return the selected row's
4476 text if the entry is empty.
4478 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4481 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4483 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4485 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4488 * src/hildon-check-button.h
4489 * src/hildon-check-button.c
4490 * examples/hildon-check-button-example.c:
4491 HildonCheckButton is now a new widget. 'toggled' signal added.
4493 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4495 * src/hildon-program-private.h
4496 * src/hildon-program.c (hildon_program_init)
4497 (hildon_program_finalize): Removed unused variables group_leader
4498 and name from HildonProgramPrivate.
4500 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4502 * src/hildon-check-button.c (hildon_check_button_set_active)
4503 (hildon_check_button_get_active, hildon_check_button_new): Use
4504 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4506 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4508 * src/hildon-touch-selector.h
4509 (hildon_touch_selector_set_column_attributes): added deprecation
4510 guard HILDON_DISABLE_DEPRECATED
4511 * src/hildon-time-selector.c
4512 (hildon_time_selector_set_time)
4513 (hildon_time_selector_get_time): Fixed a typo on documentation
4514 * src/hildon-touch-selector.c: update HildonTouchSelector and
4515 HildonTouchSelectorColumn documentation
4516 * src/hildon-touch-selector-entry.c: update "text-column" property
4518 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4519 to be added to the general documentation.
4521 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4523 * examples/hildon-pannable-area-example-4.c,
4525 * examples/hildon-pannable-area-example.c,
4526 (main): Modified the code in order to use the container add, with
4527 viewport treeviews could have problems if they are really big.
4529 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4531 * src/hildon-weekday-picker.c,
4532 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4533 the agreement regarding deprecation in the library.
4535 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4537 * examples/hildon-picker-button-multicolumn-example.c:
4538 (main): Use custom "done" button text.
4540 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4541 (hildon_picker_button_set_property),
4542 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4543 (hildon_picker_button_init),
4544 (+hildon_picker_button_get_done_button_text),
4545 (+hildon_picker_button_set_done_button_text): New methods to customize
4546 the "done" button label in the launched HildonPickerDialog. Also,
4549 * src/hildon-picker-button.h: add the public API.
4551 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4553 * src/hildon-date-selector.h:
4554 * src/hildon-picker-dialog.h:
4555 * src/hildon-time-selector.h:
4556 * src/hildon-touch-selector-column.h:
4557 * src/hildon-touch-selector.h:
4559 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4560 declarations. Fixes gtk-doc warnings.
4562 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4564 * src/hildon-picker-dialog.h
4565 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4566 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4568 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4569 long text is set as label for done button)
4571 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4573 * src/hildon-dialog.c (hildon_dialog_add_button):
4574 Set fixed width to all buttons in the HildonDialog.
4576 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4578 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4580 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4581 Set widget name using class name plus "-finger" or "-thumb".
4583 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4585 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4586 'clicked' when the state of the button is manually changed.
4588 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4590 * src/hildon-app-menu.c (hildon_app_menu_realize)
4591 (hildon_app_menu_unrealize, hildon_app_menu_init)
4592 (hildon_app_menu_class_init, item_visibility_changed):
4593 Change the menu layout when the size of the screen changes.
4594 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4595 Show warning only when changing the number of colums using the
4598 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4600 * debian/compat: Set to 5
4601 * debian/control: Update dependencies.
4602 * debian/libhildon1-dbg.install: Remove.
4603 * debian/libhildon1-dev.install: Update according to cdbs paths.
4604 * debian/libhildon1.install: Update according to cdbs paths.
4605 * debian/rules: Switch to cdbs.
4607 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4609 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4610 'item' variable renamed to 'filter'
4612 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4614 * src/hildon-app-menu.c (hildon_app_menu_insert)
4615 (hildon_app_menu_add_filter, remove_item_from_list)
4616 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4617 Don't leak hidden items when the menu is destroyed.
4619 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4621 * src/hildon-app-menu.c (hildon_app_menu_insert)
4622 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4623 (hildon_app_menu_set_columns, item_visibility_changed)
4624 (filter_visibility_changed, hildon_app_menu_repack_filters)
4625 (hildon_app_menu_repack_items):
4626 Repack items and filters separately.
4628 Don't repack all items, change only the ones that are needed to
4631 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4633 * src/Makefile.am: added hildon-touch-selector-column.h
4635 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4637 * src/hildon-touch-selector.c: added the property "text-column" to the
4638 class HildonTouchSelectorColumn, and related get/set functions
4639 (_default_printf_func): updated to use "text-column" property
4640 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4641 "text-column" in his documentation, as this is now included on
4642 HildonTouchSelectorColumn. The get/set_property can still be used,
4643 working as a wrapper to the concrete column "text-column" property
4644 (_text_column_modified): callback added in order to handle the signal
4645 "notify::text-column" of the concrete HildonTouchSelectorColumn
4646 (hildon_touch_selector_entry_get_text_column)
4647 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4648 modified in order to use the HildonTouchSelectorColumn "text-column"
4650 * src/hildon-time-selector.c:
4651 * src/hildon-date-selector.c:
4652 * examples/hildon-touch-selector-example.c
4653 * examples/hildon-touch-selector-multi-cells-example.c
4654 * examples/hildon-picker-button-multicolumn-example.c
4655 Set the right value to "text-column" property on the creation of a new
4656 column using hildon_touch_selector_append_column()
4658 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4660 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4662 * src/hildon-app-menu.c
4663 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4664 updating the layout of the menu, don't create all widgets again,
4665 just repack the items in their new places.
4667 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4669 * src/hildon-time-selector.c
4670 (hildon_time_selector_get_time)
4671 (hildon_time_selector_set_time)
4672 Added documentation of these public methods
4674 * src/hildon-date-button.h
4675 * src/hildon-touch-selector-column.h
4676 * src/hildon-time-button.h
4677 * src/hildon-picker-dialog.h
4678 * src/hildon-time-selector.h
4679 * src/hildon-picker-button.h
4680 * src/hildon-touch-selector.h
4681 * src/hildon-time-picker.h
4682 * src/hildon-date-selector.h
4683 * src/hildon-touch-selector-entry.h
4684 Modified in order to use hildon-widgets code style
4686 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4688 Added deprecated support to the compilation process using
4689 HILDON_DISABLE_DEPRECATED
4691 * configure.ac: Added the --disable-deprecated to the configure
4694 * src/hildon-weekday-picker.c:
4695 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4696 to use the deprecated support. We will update the other deprecated
4697 widgets status in a new patch.
4699 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4701 * configure.ac: Fixed typo with fatal warnings support, the
4702 variable name was not correct
4704 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4706 * src/hildon-app-menu.c
4707 * src/hildon-program.c: Update documentation.
4709 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4711 * configure.ac: Post-release version bump.
4713 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4718 * configure.ac: Pre-release version bump.
4719 * debian/changelog: Updates.
4721 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4723 * NEWS: Update news for previous releases.
4725 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4727 * examples/hildon-touch-selector-multi-cells-example.c:
4728 (create_selector): Update the example to use
4729 hildon_touch_selector_append_column() with a NULL renderer and set
4730 the renderers later.
4731 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4732 passed a NULL renderer. This is documented behavior now.
4734 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4735 This must be used if the developer wants full control on the layout of
4736 the renderers to be added to the column.
4738 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4740 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4742 * src/hildon-touch-selector.c: Documentation fixes.
4744 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4746 * src/hildon-wizard-dialog-private.h: Remove image and box.
4747 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4748 (hildon_wizard_dialog_set_property), (response): Completely remove
4749 image/icon support, and the containers required for the layout.
4751 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4753 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4755 * src/hildon-app-menu.c: Updated documentation.
4757 * src/hildon-stackable-window.c
4758 (hildon_stackable_window_set_main_menu): Unref the old menu after
4759 ref'ing the new one.
4761 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4763 * src/hildon-stackable-window.c
4764 (hildon_stackable_window_set_main_menu): Unref the previous menu
4765 instead of destroying it.
4767 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4768 floating reference and set has_user_ref_count to FALSE to make
4769 HildonAppMenu act like a normal ref-counted widget and not a
4772 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4775 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4777 * src/hildon-touch-selector-column.h: new file
4778 * src/hildon-touch-selector.h
4779 * src/hildon-touch-selector.c
4780 Implemented GtkCellLayout interface, in order to allow to configure
4781 the cell layout on each individual selector column
4782 (hildon_touch_selector_set_column_attributes): marked as deprecated
4783 * examples/hildon-touch-selector-multi-cells-example.c
4784 Example of how to use the GtkCellLayout interface on the selector
4786 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4788 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4790 * src/hildon-app-menu.h
4791 * src/hildon-app-menu.c
4792 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4793 (hildon_app_menu_append, hildon_app_menu_prepend):
4794 New methods to prepend, insert and move items in the menu.
4796 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4798 * src/hildon-wizard-dialog.c:
4800 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4802 (create_title): Update logical IDs and related code.
4803 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4805 * src/hildon-wizard-dialog.h: Note that
4806 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4807 point, as it is not used anymore.
4809 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4811 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4813 * src/hildon-note.c:
4814 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4815 shown. Do not display an icon in confirmation notes nor information
4817 (hildon_note_set_button_text): Update logical ID for cancel button.
4819 Fixes: NB#88850 (Update HildonNote button strings + signals)
4821 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4823 * src/hildon-stackable-window.c
4824 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4826 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4828 * src/hildon-app-menu-private.h
4829 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4830 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4831 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4832 temporary property 'columns' to change the number of columns.
4834 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4836 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4838 * examples/hildon-note-example.c: (on_information_clicked),
4839 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4840 debugging information.
4841 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4843 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4844 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4845 in order to close: this will be handled by the WM from now on.
4847 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4849 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4851 * src/hildon-app-menu-private.h
4852 * src/hildon-app-menu.c
4853 (hildon_app_menu_append, hildon_app_menu_add_filter)
4854 (button_visibility_changed, hildon_app_menu_apply_style)
4855 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4856 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4857 layout everytime a button (item or filter) is shown or hidden.
4859 * src/hildon-stackable-window.c
4860 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4863 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4865 * src/hildon-touch-selector.c:
4866 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4867 that the treeview inside the touch selector is in fremantle hildon mode
4868 * examples/hildon-date-button-example.c
4869 * examples/hildon-picker-button-multicolumn-example.c
4870 * examples/hildon-touch-selector-entry-example.c
4871 * examples/hildon-touch-selector-example.c
4872 * examples/hildon-time-button-example.c
4873 * examples/hildon-picker-button-example.c:
4874 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4876 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4878 * examples/hildon-text-view-example.c: (main): Remove the
4879 gtkrc bits, now handled by the theme.
4881 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4883 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4886 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4888 * po/Makefile.am: Install properly the mo files.
4889 * po/en_GB.po: Update translation, to ease testing purposes.
4891 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4893 * examples/hildon-picker-button-example.c: (main): Select an item
4894 in the selector before setting it to the button.
4896 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4898 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4899 Update button's value if the selector has an item active.
4901 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4902 'value' with the selector)
4904 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4906 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4907 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4908 (hildon_picker_button_class_init): Plug the finalize method.
4909 (hildon_picker_button_set_selector): If there's a previously set
4910 selector, unref'it before setting a new one.
4912 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4913 HildonTouchSelector)
4915 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4917 * src/hildon-touch-selector-entry.c:
4918 (hildon_touch_selector_entry_changed): Check if there is no text
4919 selected before setting the entry text.
4922 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4924 * src/hildon-touch-selector.h
4925 * src/hildon-touch-selector.c
4926 (hildon_touch_selector_get_active)
4927 (hildon_touch_selector_set_active): New methods to set/get the
4928 index of the selected item.
4930 * src/hildon-picker-button.h
4931 * src/hildon-picker-button.c
4932 (hildon_picker_button_get_active)
4933 (hildon_picker_button_set_active): New methods to set/get the
4934 index of the selected item.
4936 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4938 * configure.ac: post-release version bump.
4940 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4944 * configure.ac: Pre-release version bump.
4945 * debian/changelog: Updates.
4946 * debian/control: Add myself as maintainer and depend on l10n
4949 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4951 * src/hildon-window.c
4952 (hildon_window_set_main_menu)
4953 * src/hildon-stackable-window.c
4954 (hildon_stackable_window_set_main_menu):
4955 Updated documentation.
4957 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4959 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4960 Don't free selector->priv manually.
4963 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4966 (hildon_gtk_window_set_progress_indicator):
4967 * src/hildon-gtk.h: Added the new API
4968 hildon_gtk_window_set_progress_indicator, it changes the state of
4969 the window progress hint.
4971 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4973 * src/hildon-button.c
4974 * src/hildon-stackable-window.c: Minor documentation updates.
4976 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4978 * src/hildon-stackable-window.c: Updated documentation.
4980 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4982 * src/hildon-defines.h: Update margins definitions
4983 to the Fremantle sizes.
4986 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4988 * src/hildon-touch-selector.c,
4989 (_hildon_touch_selector_set_model): Cleaning the code after
4990 review, removed g_print and #if 0 from the code.
4992 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4994 * src/hildon-edit-toolbar.c: Update documentation.
4996 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4998 * src/hildon-check-button.h
4999 * src/hildon-check-button.c
5000 (hildon_check_button_set_label, hildon_check_button_get_label)
5001 * examples/hildon-check-button-example.c
5002 (button_clicked_cb):
5003 Removed deprecated methods.
5005 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5007 * src/hildon-text-view.c:
5008 Add sample code to the documentation.
5010 * src/hildon-entry.h
5011 * src/hildon-text-view.h:
5012 Minor cosmetic changes.
5014 * src/hildon-entry.c:
5015 Add sample code to the documentation.
5016 (hildon_entry_init, hildon_entry_refresh_contents):
5017 Don't allow NULL values in the placeholder.
5019 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5021 * doc/hildon-docs.sgml
5023 * examples/Makefile.am
5024 * examples/hildon-text-view-example.c
5026 * src/hildon-text-view.c
5027 * src/hildon-text-view.h
5029 New HildonTextView widget, with example.
5031 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5033 * po/POTFILES.in: Add missing files with translatable strings.
5034 Partially fixes NB#88287.
5036 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5038 * examples/hildon-pannable-area-example-2.c: (main): No need to
5039 set the cellrenderer height inside hildon touch lists, the theme does
5042 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5044 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5045 they are integrated in the theme.
5047 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5049 * examples/hildon-entry-example.c: Update the example adding
5050 widgets to modify the text and the placeholder of the HildonEntry.
5052 * src/hildon-entry.c: Show the placeholder everytime the widget
5053 is empty and loses the focus.
5055 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5057 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5059 * src/hildon-pannable-area.c,
5060 (hildon_pannable_area_size_request): Fixed bug in height
5061 requisition, avoid increasing size and add border twice.
5063 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5065 * configure.ac: postrelease version bump.
5067 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5071 * configure.ac: Prerelease version bump.
5072 * debian/changelog: update.
5073 * debian/rules: make -dbg package contain useful debugging symbols.
5075 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5077 * src/hildon-dialog.h
5078 * src/hildon-dialog.c
5079 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5080 New methods to add buttons with finger size.
5081 (hildon_dialog_new_with_buttons):
5082 Create buttons with finger size.
5084 * examples/hildon-dialog-example.c (main): Use HildonDialog
5085 methods to add buttons.
5087 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5089 * src/hildon-entry.c: Updated HildonButton documentation.
5091 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5093 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5094 button value label with (FALSE, FALSE) to prevent NB#88126 from
5097 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5099 * examples/hildon-pannable-area-example.c,
5100 (main): Removed examples panning a vbox inside a pannable
5101 area. Check bug NB#87965
5103 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5105 Patch contributed by Kris Rietveld (kris@imendio.com)
5107 * src/hildon-pannable-area.c,
5108 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5109 get_size and get_position, this saves an X server roundtrip.
5111 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5113 * doc/hildon-docs.sgml
5115 * examples/Makefile.am
5116 * examples/hildon-entry-example.c
5118 * src/hildon-entry.c
5119 * src/hildon-entry.h
5121 New HildonEntry widget, with example.
5123 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5125 * src/hildon-button.c (hildon_button_construct_child): Pack the
5126 image with expand == fill == FALSE. This is a workaround for a bug
5129 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5131 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5132 labels for the text column, to make it more look more dynamic.
5134 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5136 * src/hildon-time-selector.c
5137 Define gettext auxiliar macro N_
5138 (_create_minutes_model)
5139 (_create_hours_model)
5140 (_create_ampm_model): use of strftime in order to fill the model
5141 * src/hildon-date-selector.c
5142 (hildon_date_selector_finalize):
5143 (_locales_init): remove the logic related to get the name of the months
5144 using nl_langinfo, as it is not required anymore
5146 (_create_year_model)
5147 (_create_month_model)
5148 (_update_day_model): use of strftime in order to fill the model properly
5151 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5153 * src/hildon-button.h
5154 * src/hildon-button.c (hildon_button_get_image): New method to
5157 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5159 * src/hildon-touch-selector.c:
5160 (hildon_touch_selector_remove_column): Remove from the correct parent
5161 and also remove the list element and free it.
5164 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5166 * src/hildon-time-selector.c
5167 (_create_hours_model): change the range on 12h ampm format in order to use
5168 a 12-11 range instead of previous 01-12 range
5169 (hildon_time_selector_set_time): change the way to select the current time
5170 on 12h ampm format, due the change on the range
5171 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5174 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5176 * src/hildon-touch-selector.c
5177 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5178 in order to allow use this function on multiple row selection mode if
5179 the column is different that the first one
5182 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5184 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5185 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5187 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5189 * src/hildon-date-selector.h: clean some comments, now on the .c
5190 * src/hildon-date-selector.c
5191 (hildon_date_selector_select_month): first implementation
5192 (hildon_date_selector_select_day): added documentation, reimplemented
5193 using hildon_date_selector_select_current_date to avoid repeat code
5196 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5198 Reviewed interaction logic based on device experiences, refactored
5201 * src/hildon-pannable-area.c,
5202 (hildon_pannable_area_class_init): Updated default vmax speed.
5203 (hildon_pannable_area_calculate_velocity): Added this function, it
5204 avoids duplicate valocity calculation. Adjusted calculation to
5205 avoid problems with zero dist events.
5207 (hildon_pannable_area_motion_notify_cb): Now we use the
5208 calculate_velocity function.
5210 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5212 * src/hildon-date-selector.c
5213 (hildon_date_selector_select_current_date): fix the day range check
5214 as it failed using the last day of the current month
5217 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5219 * src/hildon-touch-selector.c
5220 (hildon_touch_selector_get_num_columns): added a parameter validation
5223 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5225 * examples/Makefile.am
5226 * examples/hildon-edit-toolbar-example.c: Example of the
5227 HildonEditToolbar widget.
5229 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5231 * configure.ac: postrelease version bump.
5233 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5237 * configure.ac: prerelease version bump.
5238 * debian/changelog: update.
5240 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5242 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5243 renderer to display stock icons in the touch list. Also, set the sizes
5244 to the recommended in the style guide.
5246 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5247 * src/hildon-touch-selector.h
5248 (hildon_touch_selector_set_active_iter): renamed, now is
5249 hildon_touch_selector_select_iter
5250 (hildon_touch_selector_get_active_iter): renamed, now is
5251 hildon_touch_selector_get_selected
5252 (hildon_touch_selector_unselect_iter): added
5253 * src/hildon-touch-selector.c
5254 Update after API modification (methods renamed)
5255 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5256 order to avoid problems selecting multiple elements on the column
5257 (hildon_touch_selector_unselect_iter): added the implementation
5258 * src/hildon-time-selector.c
5259 * src/hildon-date-selector.c
5260 * src/hildon-touch-selector-entry.c
5261 Update methods calls after hildon-touch-selector.h API modification (methods
5264 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5266 * src/hildon-stackable-window.c
5267 (hildon_stackable_window_finalize): Call the parent class's finalize.
5269 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5271 * examples/hildon-touch-selector-example.c: (create_selector): Use
5272 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5275 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5277 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5278 set a cell background color, to respect theming.
5280 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5282 * doc/hildon-docs.sgml
5285 * src/hildon-edit-toolbar.c
5286 * src/hildon-edit-toolbar.h
5287 * src/hildon.h: New HildonEditToolbar widget.
5289 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5291 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5294 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5295 * src/hildon-touch-selector.c
5296 (_create_new_column): use g_object_set instead of two g_object_set_property
5298 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5299 * src/hildon-touch-selector.c
5300 (_create_new_column): use of hildon_gtk_tree_view_new to create
5301 the treeview, instead of use directly g_object_new
5302 (_create_new_column): update the property name "vindicator-mode" for the
5303 new one "vscrollbar-policy"
5304 * examples/hildon-date-button-example.c
5305 * examples/hildon-picker-button-multicolumn-example.c
5306 * examples/hildon-touch-selector-entry-example.c
5307 * examples/hildon-touch-selector-example.c
5308 * examples/hildon-time-button-example.c
5309 * examples/hildon-picker-button-example.c
5310 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5311 to all the treeviews inside a pannable area.
5313 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5315 * src/hildon-button.h
5316 * src/hildon-button.c (hildon_button_init)
5317 (hildon_button_set_arrangement, hildon_button_set_alignment)
5318 (hildon_button_set_title_alignment)
5319 (hildon_button_set_value_alignment)
5320 (hildon_button_set_image_alignment)
5321 (hildon_button_construct_child): New methods to set the alignment
5322 of the individual components of the button (title, value,
5323 image). Also, new method to alter the xscale and yscale properties
5324 of the GtkAlignment inside the button, so more complex layouts can
5327 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5329 * src/hildon-button.c (hildon_button_style_set)
5330 (hildon_button_class_init, hildon_button_set_arrangement)
5331 (hildon_button_construct_child): Apply style properties
5332 correctly. Use the 'image-spacing' style property too.
5334 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5336 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5337 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5340 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5342 * src/hildon-pannable-area.c,
5343 (hildon_pannable_area_size_request): Fixed problem with
5344 pannable-area size_request.
5346 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5348 Added management for the grab-focus to a child widget, like a
5349 range, we need to fade out the scrollbar when releasing.
5351 * src/hildon-pannable-area.c,
5352 (hildon_pannable_area_init): Connected the grab-focus signal to
5354 (hildon_pannable_area_grab_notify): Added this function in order
5355 to manage the situation when the grab-focus ends. We have to
5356 fade-out the scrollbar.
5358 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5360 * src/hildon-app-menu.c: Minor documentation update.
5362 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5364 * src/hildon-app-menu.c
5365 * examples/hildon-app-menu-example.c (create_menu): Update
5366 examples and documentation to explain how to connect callbacks.
5368 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5370 * examples/hildon-button-example.c
5371 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5372 hildon_stackable_window_new instead of gtk_window_new
5374 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5376 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5377 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5378 (hildon_pannable_area_set_property),
5379 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5380 (hildon_pannable_area_unrealize),
5381 (hildon_pannable_area_size_request),
5382 (hildon_pannable_area_size_allocate),
5383 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5384 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5385 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5386 (hildon_pannable_area_initial_effect),
5387 (hildon_pannable_area_redraw),
5388 (hildon_pannable_area_scroll_indicator_fade),
5389 (hildon_pannable_area_expose_event),
5390 (hildon_pannable_area_get_topmost), (synth_crossing),
5391 (hildon_pannable_area_button_press_cb),
5392 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5393 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5394 (hildon_pannable_area_motion_notify_cb),
5395 (hildon_pannable_area_button_release_cb),
5396 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5397 (hildon_pannable_area_remove),
5398 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5399 chage the code layout to a more GtkWidget like. Review the use of
5402 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5404 * examples/hildon-pannable-area-example-4.c,
5405 (main): Modified the name of the hindicator_mode to
5408 * src/hildon-pannable-area.c,
5409 (hildon_pannable_area_class_init),
5410 (hildon_pannable_area_motion_notify_cb),
5411 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5412 we have reduced the amount of signals and managed reviewed its
5413 rationale. Changed the default decelerate value.
5415 (hildon_pannable_area_add),
5416 (hildon_pannable_area_redraw): Refactored functions.
5418 (hildon_pannable_area_init),
5419 (hildon_pannable_area_get_property),
5420 (hildon_pannable_area_set_property):
5421 (hildon_pannable_draw_vscroll),
5422 (hildon_pannable_draw_hscroll),
5423 (hildon_pannable_area_initial_effect),
5424 (hildon_pannable_area_expose_event),
5425 (hildon_pannable_area_scroll),
5426 (hildon_pannable_area_button_press_cb),
5427 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5428 and vindicator_mode with hscrollbar_policy and
5429 vscrollbar_policy. Replaced hscroll and vscroll with
5430 hscroll_visible and vscroll_visible.
5432 (hildon_pannable_area_refresh): Refactor the function, remove
5433 variables and check the calls to this function, added resize
5434 conditions in case the children change their layout.
5436 (hildon_pannable_area_size_request): Added more detailed
5437 size_request calculation.
5440 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5442 * src/hildon-color-chooser.c
5443 (init_borders): use the correct gtk_border_free instead of g_free, to
5444 avoid a crash when this widget is used (ie: the three color selection
5447 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5449 * src/hildon-check-button.c,
5450 (hildon_check_button_set_active): Fixed problem when setting the
5451 active value, the widget was not redrawn.
5453 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5455 * src/hildon-pannable-area.c,
5456 (hildon_pannable_area_refresh),
5457 (hildon_pannable_area_scroll),
5458 (hildon_pannable_area_motion_notify_cb): Small code style change.
5460 (hildon_pannable_area_class_init): Default initial_hint set to
5461 FALSE, it is not in the specs.
5463 (hildon_pannable_area_initial_effect),
5464 (hildon_pannable_area_expose_event),
5465 (hildon_pannable_area_map),
5466 (hildon_pannable_area_init): Moved the launching point of the
5467 initial effect, it was in map but the sizes where not correct in
5468 that method so we do not know if we have the reproduce it. Now it
5469 is placed in the expose_event method and uses a variable to
5470 reproduce it just once.
5472 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5474 * src/hildon-pannable-area.c,
5475 (hildon_pannable_draw_vscroll),
5476 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5477 position allowed for the scrollbars.
5479 (hildon_pannable_area_size_allocate): Small style change.
5481 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5483 * src/hildon-pannable-area.c,
5484 (hildon_pannable_area_scroll_indicator_fade),
5485 (hildon_pannable_area_button_press_cb),
5486 (hildon_pannable_area_button_release_cb),
5487 (hildon_pannable_area_scroll_cb),
5488 (hildon_pannable_area_expose_event),
5489 (hildon_pannable_area_init): Added the define parameter
5490 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5491 and refactor the fade variable.
5493 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5495 * src/hildon-pannable-area.c,
5496 (hildon_pannable_area_redraw),
5497 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5498 lines, we were reimplemeting the redraw code.
5500 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5502 * src/hildon-pannable-area.c,
5503 (hildon_pannable_area_scroll_cb),
5504 (hildon_pannable_area_realize),
5505 (hildon_pannable_area_class_init): Added scroll_event management
5506 for pannable area, now we can scroll the usual desktop method.
5508 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5509 initialization of the parameters should depend on idle_id.
5511 (hildon_pannable_area_init),
5512 (hildon_pannable_area_map): Small code style modifications
5514 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5516 * src/hildon-pannable-area.c
5517 (hildon_pannable_area_button_press_cb),
5518 (hildon_pannable_area_motion_notify_cb),
5519 (hildon_pannable_area_button_release_cb),
5520 (hildon_pannable_area_size_allocate),
5521 (hildon_pannable_area_scroll_to): Improved the timeouts
5522 management, we avoid creating them each time.
5524 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5526 * src/hildon-pannable-area.c:
5527 (hildon_pannable_area_refresh),
5528 (hildon_pannable_area_motion_notify_cb),
5529 (hildon_pannable_area_class_init):
5530 * src/hildon-pannable-area.h:
5531 * src/hildon-touch-selector.c
5532 (_create_new_column):
5533 * examples/hildon-pannable-area-example-4.c:
5534 (horizontal_movement),
5535 (vertical_movement),
5537 Replaced the names of enums in the HildonPannableArea:
5538 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5539 HILDON_MOVEMENT_MODE_*
5540 - HILDON_PANNABLE_AREA_MOV_* ->
5542 - Removed HildonPannableAreaIndicatorMode, now we
5545 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5547 * examples/hildon-pannable-area-touch-grid-example.c
5548 * examples/hildon-pannable-area-touch-list-example.c: Fix
5549 compilation warnings.
5551 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5553 * src/hildon-gtk.c (hildon_gtk_button_new)
5554 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5555 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5556 images overriding the value of the "gtk-button-images" setting.
5558 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5560 * src/hildon-check-button.c (hildon_check_button_new):
5561 Instead of using a custom container, display the label and the
5562 checkbox using the standard GtkButton API.
5564 * examples/hildon-check-button-example.c (main): Don't use
5565 hildon_check_button_set_label() anymore
5567 * src/hildon-check-button.h
5568 * src/hildon-check-button.c
5569 (hildon_check_button_set_label, hildon_check_button_get_label):
5570 Set as deprecated, now we're using gtk_button_{get,set}_label()
5572 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5574 * src/hildon-pannable-area.c,
5575 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5576 GtkTreeview first line we detected it after the inclusion of the
5577 GtkWindowImpl in gtk+. We now check if the window is visible, not
5578 just if the pointer is over the window.
5579 (hildon_pannable_axis_scroll),
5580 (hildon_pannable_area_expose_event): Small style changes.
5582 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5584 * src/hildon-button.c: Update documentation.
5586 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5588 * examples/hildon-button-example.c: Add a switch to show images in
5591 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5593 * doc/hildon-docs.sgml: Some docs reorganization.
5595 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5597 * examples/hildon-pannable-area-touch-list-example.c
5599 * examples/hildon-pannable-area-touch-grid-example.c
5600 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5601 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5602 Fix memory leak when setting the tree model.
5604 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5608 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5610 * doc/hildon.types: Remove duplicated hildon_window_get_type
5611 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5612 documentation comment.
5614 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5616 * doc/Makefile.am: Complete list of private headers.
5618 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5620 * doc/hildon-docs.sgml
5621 * src/hildon-app-menu.c
5622 * src/hildon-bread-crumb.c
5623 * src/hildon-button.c
5625 * src/hildon-program.c
5626 * src/hildon-stackable-window.c
5627 * src/hildon-window.c: Lots of documentation updates.
5629 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5631 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5633 * configure.ac: Require Gtk+ 2.12.9 at least
5635 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5637 * src/hildon-pannable-area.c
5638 (hildon_pannable_area_scroll_indicator_fade),
5639 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5640 to protect the return of this timeout callbacks, avoiding deadlocks.
5642 2008-08-12 Christian Dywan <christian@imendio.com>
5645 * src/hildon-*.h: Ensure a consistent include order,
5646 include <gtk/gtk.h> instead of particular files and
5647 only include the topmost header in the gtk stack. See NB #39857
5649 2008-08-12 Christian Dywan <christian@imendio.com>
5651 * src/hildon-picker-dialog.c
5652 * src/hildon-touch-selector.c: Fix warnings about unused and
5653 uninitialized variables.
5655 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5657 * examples/Makefile.am
5658 * examples/hildon-check-button-example.c: Example of the hildon
5661 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5663 * src/hildon-window.h
5664 * src/hildon-window.c (hildon_window_class_init)
5665 (hildon_window_unset_program): Don't make
5666 hildon_window_unset_program a virtual function anymore.
5668 * src/hildon-stackable-window.c: Update documentation
5670 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5673 * doc/hildon-docs.sgml
5674 * doc/visual_index.xml
5675 * src/hildon-defines.c
5677 * src/hildon-helper.c
5678 * src/hildon-range-editor.c: Lots of documentation fixes.
5680 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5682 * examples/hildon-picker-button-multicolumn-example.c
5683 (create_touch_selector): Fix compilation warning.
5685 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5687 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5688 (hildon_pannable_area_button_release_cb)
5689 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5691 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5693 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5696 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5698 * src/hildon-bread-crumb-trail.h
5699 * src/hildon-date-editor.c
5700 * src/hildon-date-selector.c
5701 * src/hildon-pannable-area.c
5702 * src/hildon-picker-dialog.c
5703 * src/hildon-time-selector.c
5704 * src/hildon-touch-selector-entry.c
5705 * src/hildon-touch-selector.c
5706 * src/hildon-touch-selector.h: Misc documentation fixes
5708 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5710 * examples/hildon-date-editor-example.c (main): Updated date
5713 * examples/hildon-note-example.c (on_confirmation_clicked):
5714 Updated confirmation note example.
5716 * src/hildon-date-editor.c
5717 * src/hildon-note.c: Updated sample programs in documentation.
5720 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5722 * src/hildon-date-button.h:
5723 * src/hildon-picker-button.h:
5724 * src/hildon-time-button.c:
5725 * src/hildon-time-button.h:
5727 Some declarations changes to allow gtk-doc to document the widgets
5730 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5732 * src/hildon-date-button.c: Document the widget.
5733 * src/hildon-time-button.c: Document the widget.
5735 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5737 * src/hildon-picker-button.c: Document the widget.
5738 * src/hildon-touch-selector-entry.c: Document the widget.
5740 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5742 * doc/hildon-docs.sgml
5745 * src/hildon-check-button.h
5746 * src/hildon-check-button.c: New functions to create the Hildon
5750 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5752 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5754 * src/hildon-button.h
5755 * src/hildon-button.c
5756 (hildon_button_add_title_size_group)
5757 (hildon_button_add_value_size_group)
5758 (hildon_button_add_image_size_group)
5759 (hildon_button_add_size_groups): New functions to set size groups
5760 for the button labels and image.
5761 (hildon_button_new_full): Removed
5763 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5765 * src/hildon-time-selector.c
5766 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5767 in order to avoid a crash if gconf is not available
5769 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5771 * src/hildon-button.c (hildon_button_set_arrangement)
5772 (hildon_button_construct_child): Don't construct the button child
5773 before setting the arrangement.
5775 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5777 * src/hildon-program-private.h
5778 * src/hildon-program.c
5779 * src/hildon-program.h
5780 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5781 (hildon_program_peek_window_stack)
5782 (hildon_program_pop_window_stack)
5783 (hildon_program_go_to_root_window): HildonProgram now has a
5784 separate list for stackable windows. Functions are provided to
5785 manage that list with a stack-like API.
5787 * src/hildon-stackable-window.c: Stackable window management is
5788 now much simpler with the new HildonProgram API. Windows no
5789 longer need to be manually added to the program, they're
5790 automatically pushed to the top of the stack when shown.
5792 * examples/hildon-stackable-window-example.c: Updated example to
5793 reflect the API changes.
5795 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5797 * src/hildon-touch-selector.c: Comment out unimplemented
5798 hildon_touch_selector_insert_column() to avoid a compile warning.
5800 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5802 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5803 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5804 (hildon_touch_selector_set_column_selection_mode),
5805 (_hildon_touch_selector_set_model),
5806 (hildon_touch_selector_set_model):
5808 Complete review of HildonTouchSelector documentation.
5810 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5812 * doc/hildon-docs.sgml
5816 * src/hildon-gtk.c: Convenience functions for standard Gtk
5817 widgets, used to easily perform frequent operations.
5819 * src/hildon-button-helpers.h
5820 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5822 * src/hildon-helper.h
5823 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5824 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5826 * src/hildon-button.h
5827 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5829 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5831 * src/hildon-button.c (hildon_button_init)
5832 (hildon_button_set_arrangement, hildon_button_construct_child):
5833 Pack the image and the labels inside the same GtkAlignment so
5834 gtk_button_set_alignment() can be used
5836 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5838 * src/hildon-button.h
5839 * src/hildon-button.c
5840 (hildon_button_init, hildon_button_set_image)
5841 (hildon_button_set_image_position)
5842 (hildon_button_construct_child): New functions to add an image to
5845 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5847 * src/hildon-date-button.c
5848 * src/hildon-picker-button.c
5849 * src/hildon-time-button.c
5850 * src/hildon-button.c:
5851 (hildon_button_class_init): "size-flags" renamed to "size"
5852 (hildon_button_set_title): Hide the title label if set to NULL.
5854 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5856 HildonButtonFlags split into HildonButtonArrangement (to set the
5857 button layout) and HildonSizeType (which can be used for any
5860 * src/hildon-button.h
5861 * src/hildon-button.c
5862 (hildon_button_class_init)
5863 (hildon_button_set_arrangement)
5864 (hildon_button_set_property): New "size-flags"
5865 property. "arrangement-flags" renamed to "arrangement".
5866 (hildon_button_new, hildon_button_new_with_text)
5867 (hildon_button_new_full): Constructors updated to reflect type changes.
5869 * src/hildon-helper.h
5870 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5871 to set the size of a widget.
5875 * src/hildon-button-helpers.c
5876 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5878 * src/hildon-date-button.c
5879 * src/hildon-date-button.h
5880 * src/hildon-picker-button.c
5881 * src/hildon-picker-button.h
5882 * src/hildon-time-button.c
5883 * src/hildon-time-button.h: Updated widgets to reflect
5884 HildonButton API changes.
5886 * examples/hildon-button-example.c
5887 * examples/hildon-date-button-example.c
5888 * examples/hildon-picker-button-example.c
5889 * examples/hildon-picker-button-multicolumn-example.c
5890 * examples/hildon-time-button-example.c
5891 * examples/hildon-touch-selector-entry-example.c
5892 * examples/hildon-touch-selector-example.c: Updated examples to
5893 reflect HildonButton API changes.
5895 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5897 * doc/hildon-docs.sgml:
5899 * examples/Makefile.am:
5900 * examples/hildon-touch-selector-entry-example.c:
5902 * src/hildon-touch-selector-entry.c:
5903 * src/hildon-touch-selector-entry.h:
5906 Moved HildonTouchSelectorEntry from sandbox. Added its
5907 documentation and examples.
5909 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5911 * src/hildon-touch-selector.h:
5912 * examples/hildon-picker-button-multicolumn-example.c:
5913 (hildon_touch_selector_append_text_column): Add a gboolean
5914 parameter to determine if text must be centered in the column.
5916 * src/hildon-date-selector.c: (hildon_date_selector_init):
5917 * src/hildon-time-selector.c: (hildon_time_selector_init):
5918 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5919 (create_touch_selector): Update widgets and example to reflect
5922 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5924 * src/hildon-touch-selector.c:
5925 (hildon_touch_selector_set_active_iter): Set also the cursor in
5928 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5930 * doc/hildon-docs.sgml
5933 * src/hildon-toggle-button.c
5934 * src/hildon-toggle-button.h
5935 * src/hildon.h: Removed HildonToggleButton widget, a derived
5936 class is not necessary for this.
5938 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5940 * src/hildon-pannable-area.c,
5941 (hildon_pannable_area_realize),
5942 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5945 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5947 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5948 "done" button the default widget for the dialog.
5950 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5952 * src/hildon-touch-selector.c:
5953 (hildon_touch_selector_class_init),
5954 (hildon_touch_selector_get_property),
5955 (_hildon_touch_selector_set_model),
5956 (_hildon_touch_selector_has_multiple_selection),
5957 (hildon_touch_selector_has_multiple_selection):
5958 Add a "has-multiple-selection" property with a virtual
5959 has_multiple_selection() method to allow derived classes to
5960 override the default value for it. See the method and property
5961 documentation for details.
5963 * src/hildon-touch-selector.h: Add the new API.
5965 * src/hildon-picker-dialog.c: (requires_done_button): Call
5966 hildon_touch_selector_has_multiple_selection() instead of
5967 determining the need for a button itself.
5969 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5971 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5972 (_hildon_touch_selector_set_model),
5973 (hildon_touch_selector_set_model): Move working code to
5974 _hildon_touch_selector_set_mode(). Call the class method instead.
5976 * src/hildon-touch-selector.h: Add (*set_model) to
5977 HildonTouchSelectorClass.
5979 Make hildon_touch_selector_set_model() a virtual method, so that
5980 derived classes can extend it and do fancy stuff with the model.
5982 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5984 * configure.ac: Set back the tarname in AC_INIT to hildon.
5986 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5990 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5991 instead of libesd (NB#86876). Volume handling is still an open issue.
5993 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5996 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5998 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5999 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6000 derived class to ease placement of an entry widget in
6001 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6002 end, where the selector columns are packed now.
6004 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6006 * src/hildon-picker-button.c: Removed the simple _text() API.
6007 * src/hildon-picker-button.h: Likewise.
6009 * src/hildon-touch-selector.h:
6010 * src/hildon-touch-selector.c:
6011 (hildon_touch_selector_new_text),
6012 (hildon_touch_selector_append_text),
6013 (hildon_touch_selector_prepend_text),
6014 (hildon_touch_selector_insert_text):
6016 Moved the simple _text() API from HildonPickerButton to
6017 HildonTouchPicker, to provide better escalability and not to tie
6018 that API to HildonPickerButton.
6020 * examples/hildon-picker-button-example.c: (main): Example updated.
6022 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6024 * src/hildon-button.c: Updated documentation.
6026 * examples/hildon-button-example.c: Add the posibility to create
6027 the buttons using horizontal layout for title and value.
6029 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6031 * src/hildon-app-menu-private.h
6032 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6033 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6034 GtkSizeGroup for the filters, use the 'homogeneous' property of
6037 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6039 * examples/hildon-button-example.c: Updated example.
6041 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6043 * doc/hildon-docs.sgml:
6046 Update documentation.
6048 * examples/Makefile.am: Update renamed examples.
6050 * examples/hildon-picker-button-multicolumn-example.c:
6051 (create_touch_selector), (main): Update after the rename.
6053 * examples/hildon-touch-picker-example.c: Removed.
6054 * examples/hildon-touch-selector-example.c: (value_changed),
6055 (create_selector), (get_visible_content), (main): Renamed from
6056 hildon-touch-picker-example.c
6058 * src/Makefile.am: Updated renamed files.
6060 * src/hildon-date-button.c: (hildon_date_button_init),
6061 (hildon_date_button_get_date), (hildon_date_button_set_date):
6062 * src/hildon-date-selector.c: (hildon_date_selector_init),
6063 (_custom_print_func), (_update_day_model),
6064 (_manage_selector_change_cb),
6065 (hildon_date_selector_select_current_date),
6066 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6067 * src/hildon-date-selector.h:
6068 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6069 (hildon_picker_button_set_property),
6070 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6071 (hildon_picker_button_init), (hildon_picker_button_new_text),
6072 (hildon_picker_button_append_text),
6073 (hildon_picker_button_prepend_text),
6074 (hildon_picker_button_insert_text),
6075 (hildon_picker_button_set_selector),
6076 (hildon_picker_button_get_selector):
6077 * src/hildon-picker-button.h:
6078 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6079 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6080 (_update_title_on_selector_changed_cb), (requires_done_button),
6081 (_hildon_picker_dialog_set_selector),
6082 (hildon_picker_dialog_set_selector),
6083 (hildon_picker_dialog_get_selector):
6084 * src/hildon-picker-dialog.h:
6085 * src/hildon-time-button.c: (hildon_time_button_init),
6086 (hildon_time_button_get_time), (hildon_time_button_set_time):
6087 * src/hildon-time-selector.c: (hildon_time_selector_init),
6088 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6089 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6090 * src/hildon-time-selector.h:
6093 Massive code updates after the rename.
6095 * src/hildon-touch-picker.c: Removed.
6096 * src/hildon-touch-picker.h: Removed.
6098 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6099 (hildon_touch_selector_init), (hildon_touch_selector_map),
6100 (hildon_touch_selector_remove), (_default_print_func),
6101 (_selection_changed_cb), (_create_new_column),
6102 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6103 (hildon_touch_selector_append_text_column),
6104 (hildon_touch_selector_remove_column),
6105 (hildon_touch_selector_set_column_attributes),
6106 (hildon_touch_selector_insert_column),
6107 (hildon_touch_selector_get_num_columns),
6108 (hildon_touch_selector_get_column_selection_mode),
6109 (hildon_touch_selector_set_column_selection_mode),
6110 (hildon_touch_selector_set_print_func),
6111 (hildon_touch_selector_get_print_func),
6112 (hildon_touch_selector_get_active_iter),
6113 (hildon_touch_selector_set_active_iter),
6114 (hildon_touch_selector_get_selected_rows),
6115 (hildon_touch_selector_get_model),
6116 (hildon_touch_selector_set_model),
6117 (hildon_touch_selector_get_current_text),
6118 (_hildon_touch_selector_center_on_selected_items):
6119 * src/hildon-touch-selector.h: Renamed from
6120 hildon-touch-picker.[ch]
6122 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6123 references, code examples, and related documentation.
6125 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6127 * doc/hildon-docs.sgml
6130 * src/hildon-toggle-button.c
6131 * src/hildon-toggle-button.h
6132 * src/hildon.h: New HildonToggleButton widget.
6134 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6136 * src/hildon-button.c: Add API documentation.
6137 (hildon_button_set_size_groups): Check input parameters
6139 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6141 * src/hildon-pannable-area.c
6142 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6143 effect after reaching the movement thredshold. This way we start
6144 using the distance after passing the thredshold.
6146 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6148 * src/hildon-button.c: (hildon_button_set_property): Use the
6149 appropriate g_value_get_flags() method.
6151 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6153 * doc/hildon-docs.sgml:
6156 Add the touch pickers, picker dialogs, and picker button widgets
6157 to the documentation.
6159 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6161 * src/hildon-button.c: (hildon_button_set_property),
6162 (hildon_button_class_init): Make "arrangement-flags" a proper
6163 G_TYPE_FLAGS derived property.
6165 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6167 * examples/Makefile.am: Add below examples.
6168 * examples/hildon-date-button-example.c:
6169 * examples/hildon-picker-button-example.c:
6170 * examples/hildon-picker-button-multicolumn-example.c:
6171 * examples/hildon-time-button-example.c:
6172 * examples/hildon-touch-picker-example.c:
6174 Add examples for the recently added touch pickers,
6175 picker dialogs, and picker button widgets.
6177 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6179 * src/hildon-button.c: Add some API documentation
6181 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6183 * src/hildon-button.h
6184 * src/hildon-button.c
6186 (hildon_button_new_with_text): New constructor to create a button
6187 with no text at all.
6188 (hildon_button_init, hildon_button_set_arrangement)
6189 (hildon_button_set_title, hildon_button_set_value)
6190 (hildon_button_set_text)
6191 (hildon_button_construct_child): Hide the value when it's not used
6192 so the rest of the text is properly aligned.
6193 Allow creating buttons with arbitrary widgets inside (not just
6194 title/value labels).
6196 * examples/hildon-button-example.c (vertical_buttons_window)
6197 (horizontal_buttons_window): Update example to use new API.
6199 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6201 * src/Makefile.am: Added HildonTimeButton.
6202 * src/hildon-time-button.c: Added missing LGPL header.
6203 * src/hildon-time-button.h: Added missing LGPL header.
6204 * src/hildon.h: Add hildon-time-button.h
6206 Copied HildonTimeButton from sandbox to trunk. Future work on this
6207 widget must take place in trunk.
6209 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6211 * src/Makefile.am: Added HildonDateButton.
6212 * src/hildon-date-button.c: Update includes.
6213 * src/hildon.h: Add hildon-date-button.h
6215 Copied HildonDateButton from sandbox to trunk. Future work on this
6216 widget must take place in trunk.
6218 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6220 * src/Makefile.am: Added HildonPickerButton.
6221 * src/hildon-picker-button.h: Update includes.
6222 * src/hildon.h: Add hildon-picker-button.h
6224 Copied HildonPickerButton from sandbox to trunk. Future work on
6225 this widget must take place in trunk.
6227 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6229 * src/Makefile.am: Added HildonPickerDialog.
6230 * src/hildon-picker-dialog.c: Update includes.
6231 * src/hildon.h: Add hildon-picker-dialog.h
6233 Copied HildonPickerDialog from sandbox to trunk. Future work
6234 on this widget must take place in trunk.
6236 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6238 * src/Makefile.am: Added HildonTimeSelector.
6239 * src/hildon.h: Add hildon-time-selector.h
6241 Copied HildonTimeSelector widget from sandbox to trunk. Future
6242 work on this widget must happen in trunk.
6244 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6246 * src/Makefile.am: Added HildonDateSelector.
6247 * src/hildon.h: Add hildon-date-selector.h
6249 Copied HildonDateSelector widget from sandbox to trunk. Future
6250 work on this widget must happen in trunk.
6252 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6254 * src/Makefile.am: Added HildonTouchPicker.
6255 * src/hildon-touch-picker.c: Update includes.
6256 * src/hildon.h: Add hildon-touch-picker.h
6258 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6259 on this widget must happen in trunk.
6261 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6263 * src/hildon-pannable-area.c:
6264 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6266 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6268 * examples/hildon-app-menu-example.c (main): Let the window
6271 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6273 * src/hildon-pannable-area.c
6274 (hildon_pannable_area_class_init): Set the min value of the
6275 overshoot properties to zero, which points out that not
6276 overshooting allowed.
6278 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6280 Modified the procedure to get the widget at a point inside the
6281 pannable area when using the movement type signals. Now the user
6282 has to call a function to get the child, that way we just
6283 calculate the child in case the user really want to use it and not
6286 * src/hildon-marshalers.list: Modified the marshallers, now we do
6287 not have the widget as a parameter.
6289 * src/hildon-pannable-area.c
6290 (hildon_pannable_area_motion_notify_cb),
6291 (hildon_pannable_area_class_init),
6292 (hildon_pannable_get_child_widget_at): Removed the widget
6293 parameter from the signal callback. We have also refactored the
6294 emission of the signals.
6296 * src/hildon-pannable-area.h: Added a new method to the API to
6297 calculate a widget at a point inside the pannable area,
6298 hildon_pannable_get_child_widget_at.
6300 * examples/hildon-pannable-area-example-4.c
6301 (horizontal_movement): Modified the example to use the new API,
6302 added condition to control which widget is under the event. This
6303 way we can avoid scrolling laterally over other widgets.
6305 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6307 * src/hildon-pannable-area.c
6308 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6309 modes, we stop getting the pointer events due to returning the
6310 callback without properly calling the get pointer again. Fixed
6311 also an error using the hscroll and vscroll.
6313 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6315 * src/hildon-app-menu-private.h
6316 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6317 (hildon_app_menu_button_release, hildon_app_menu_init)
6318 (hildon_app_menu_class_init): Don't hide the menu on button
6319 release if the user didn't press outside first.
6321 * src/hildon-window.h
6322 * src/hildon-window.c (hildon_window_toggle_menu)
6323 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6324 hildon_window_toggle_menu a virtual function for the stackable
6325 window to override it.
6327 * src/hildon-stackable-window.h
6328 * src/hildon-stackable-window-private.h
6329 * src/hildon-stackable-window.c
6330 (hildon_stackable_window_realize)
6331 (hildon_stackable_window_finalize)
6332 (hildon_stackable_window_class_init)
6333 (hildon_stackable_window_init)
6334 (hildon_stackable_window_set_main_menu): New function to set the
6335 app menu of a HildonStackableWindow.
6337 * examples/hildon-app-menu-example.c: Remove the button to show
6338 the app menu, now it'll be shown when clicking on the title bar
6341 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6343 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6344 set the widget name if the arrangement flags do not specify
6347 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6349 * src/hildon-button.c: (hildon_button_set_property),
6350 (hildon_button_class_init), (hildon_button_new_full),
6351 (hildon_button_set_arrangement): Added "arrangement-flags"
6354 Make the HildonButtonFlags a construction-only property, to allow
6355 subclasses to set them properly.
6357 2008-07-21 Tim Janik <timj@imendio.com>
6359 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6360 insertion position after backspace, so additional digits are appended,
6363 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6365 * src/hildon-pannable-area.c,
6366 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6367 TODO list, it was complete and removed the g_debug and g_print
6370 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6372 Added the movement modes to the hildon-pannable-area, with this
6373 modes the developers can control in which directions the widget
6374 can scroll. They can also connect to signals in order to do
6375 something when that happens, allowing applications scroll. There
6376 is an example uploaded showing how to use it.
6378 * examples/Makefile.am:
6379 * examples/hildon-pannable-area-example-4.c: Added this example of
6380 an application using the modes.
6382 * src/hildon-marshalers.list: Added a new marshaller for the new
6385 * src/hildon-pannable-area.h: Added new enumerations and flags in
6386 order to control the movement modes and the new signals to warn
6387 about the movements in the area.
6389 * src/hildon-pannable-area.c:
6390 (hildon_pannable_axis_scroll),
6391 (hildon_pannable_area_scroll),
6392 (hildon_pannable_area_motion_notify_cb),
6393 (hildon_pannable_area_get_property),
6394 (hildon_pannable_area_set_property),
6395 (hildon_pannable_area_map),
6396 (hildon_pannable_area_class_init),
6397 (hildon_pannable_area_init),
6398 (hildon_pannable_area_jump_to): Added the modes to control the
6399 movement in the widget. We have added properties to control it,
6400 signals to warn about the movements and refactored some code.
6402 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6404 Changes required in order to allow vfast_factor set to zero to
6407 * src/hildon-pannable-area.c:
6408 (hildon_pannable_area_button_press_cb): Changed the condition, it
6409 is required for not allowing click when vfast_factor is zero.
6410 (hildon_pannable_area_timeout): Initialized velocity variables
6411 when we stop moving, it was less than 1 but not zero and we need
6412 to check zero in some situations.
6413 (hildon_pannable_area_class_init): Changed the default value of
6414 the speed factor, now the button_press is just sent in case the
6415 speed is 2 per cent of the max speed.
6416 (hildon_pannable_area_init): Initialization with 0.
6418 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6420 * src/hildon-pannable-area.c,
6421 (hildon_pannable_area_get_topmost): replaced
6422 gdk_window_get_children with gdk_window_peek_children, this way we
6423 do not have to free the list because it is not a copy.
6425 (hildon_pannable_axis_scroll),
6426 (hildon_pannable_area_scroll),
6427 (hildon_pannable_area_timeout),
6428 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6429 two parameters that were only used inside the
6430 hildon_pannable_area_scroll function.
6432 * examples/hildon-pannable-area-example.c,
6433 (get_sawtooth_label): Fixed small memory leak.
6435 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6437 More checks for the case where the overshoot is bigger than the
6440 * src/hildon-pannable-area.c:
6441 (hildon_pannable_draw_vscroll),
6442 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6443 to draw the slider of the scrollbar under the other scrollbar.
6444 (hildon_pannable_area_expose_event): added new checks to control
6445 the drawing of the overshooting area rectangle, in case it is too
6446 big for the area of the widget.
6447 (hildon_pannable_area_size_allocate): add more checks to avoid
6448 setting a position to the child widget outside the area.
6450 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6452 * src/hildon-pannable-area.c
6453 (hildon_pannable_area_size_allocate): Added conditions to control
6454 when overshooting is bigger than the allocated space for the
6455 children, this avoids negative allocations.
6457 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6459 * doc/hildon-docs.sgml
6461 * examples/Makefile.am
6462 * examples/hildon-button-example.c
6464 * src/hildon-button.c
6465 * src/hildon-button.h
6466 * src/hildon.h: Initial version of the new HildonButton widget,
6469 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6471 * src/hildon-pannable-area.c:
6472 (hildon_pannable_area_button_press_cb),
6473 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6474 (hildon_pannable_area_motion_notify_cb),
6475 (hildon_pannable_area_button_release_cb),
6476 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6477 (hildon_pannable_area_jump_to_child):
6479 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6481 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6483 * examples/Makefile.am
6484 * examples/hildon-pannable-area-touch-grid-example.c
6485 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6486 the Hildon Touch List and Hildon Touch Grid using the
6487 HildonPannableArea widget.
6489 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6491 * src/hildon-pannable-area.c,
6492 (hildon_pannable_area_button_press_cb),
6493 (hildon_pannable_area_refresh),
6494 (hildon_pannable_area_scroll),
6495 (hildon_pannable_area_motion_notify_cb),
6496 (hildon_pannable_area_button_release_cb),
6497 (hildon_pannable_area_expose_event),
6498 (hildon_pannable_area_add),
6499 (hildon_pannable_area_remove),
6500 (hildon_pannable_area_realize),
6501 (hildon_pannable_area_size_allocate),
6502 (hildon_pannable_area_class_init),
6503 (hildon_pannable_area_init),
6504 (hildon_pannable_area_scroll_to_child),
6505 (hildon_pannable_area_jump_to_child): Fixed the problem of
6506 removing the child from the GtkBin, we have rearranged the widget
6507 hierarchy, now there is no GtkAlignment which was not doing
6508 anything interesting but breaking some of the assumptions of
6509 GtkContainer. Now developers if they want to add a GtkAlignment
6510 they could, but it is not inside the area.
6512 We had to review the whole allocation/expose process, now it is
6513 improved and we save at least three signals which would be saving
6514 some time when rendering the widget. The allocation of the
6515 scrollbars is now made in the allocate method as usual.
6517 We have also added some conditions in order to control when there
6518 is no child of the pannable area. Maybe we will need more work
6521 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6523 * src/hildon-pannable-area.c,
6524 (hildon_pannable_area_dispose): Released the fade-out timeout when
6525 disposing the widget.
6527 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6529 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6530 zero, we are going to use that property in order to deactivate the
6532 (hildon_pannable_axis_scroll),
6533 (hildon_pannable_area_size_allocate): Added conditions to control
6534 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6535 call, now it is called in all situations and we can remove calls
6536 in the allocate method.
6537 (hildon_pannable_area_map): Control the situation when
6538 overshoot_max is zero, we do not need the timeout.
6539 (hildon_pannable_area_class_init): Added documentation in order to
6540 point out that setting zero to overshoot_max means deactivate
6543 NOTE: removed trailing whitespaces from my previous comments of
6546 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6548 * src/hildon-pannable-area.c
6549 (hildon_pannable_area_get_property),
6550 (hildon_pannable_area_set_property),
6551 (hildon_pannable_area_map),
6552 (hildon_pannable_area_class_init),
6553 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6554 to cause the widget give a hint about its panning abilities upon
6557 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6559 * src/hildon-pannable-area.c: Several documentation improvements.
6561 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6563 * src/hildon-program.c
6564 * src/hildon-stackable-window.c: Update documentation.
6566 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6568 * src/hildon-stackable-window.c (get_previous_window_if_last):
6569 Renamed get_last_window()
6570 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6571 (hildon_stackable_window_unset_program):
6573 (get_previous_window_if_last):
6574 Detect if the window hasn't been added to a HildonProgram.
6576 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6578 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6580 * src/hildon-pannable-area.c
6581 (hildon_pannable_area_button_press_cb),
6582 (hildon_pannable_axis_scroll),
6583 (hildon_pannable_area_scroll),
6584 (hildon_pannable_area_timeout),
6585 (hildon_pannable_calculate_vel_factor),
6586 (hildon_pannable_area_get_property),
6587 (hildon_pannable_area_set_property),
6588 (hildon_pannable_area_class_init),
6589 (hildon_pannable_area_init),
6590 (hildon_pannable_area_scroll_to),
6591 (hildon_pannable_area_jump_to),
6592 (hildon_pannable_area_scroll_to_child),
6593 (hildon_pannable_area_jump_to_child):
6594 * src/hildon-pannable-area.h: Added the new API functions:
6595 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6596 hildon_pannable_area_scroll_to_child,
6597 hildon_pannable_area_jump_to_child
6600 * examples/Makefile.am
6601 * examples/hildon-pannable-area-example-2.c
6602 * examples/hildon-pannable-area-example-3.c: Added these two new
6603 examples in order to test and show how the new APIs work.
6605 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6607 * examples/hildon-stackable-window-example.c (new_window):
6608 * src/Makefile.am (noinst_HEADERS):
6609 * src/hildon-program.c (hildon_program_go_to_root_window):
6610 * src/hildon-program.h:
6611 * src/hildon-stackable-window-private.h:
6612 * src/hildon-stackable-window.c:
6613 * src/hildon-stackable-window.h:
6614 Create hildon-stackable-window-private.h
6615 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6617 * examples/hildon-app-menu-example.c (create_menu):
6618 * examples/hildon-hvolumebar-insensitive-example.c (main):
6619 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6620 * examples/hildon-toolbar-seekbar-example.c (main):
6621 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6622 * src/hildon-banner.c (hildon_banner_set_property):
6623 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6624 Fix compilation warnings
6626 * src/hildon-window.c:
6629 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6631 * src/hildon-stackable-window.c
6632 (hildon_stackable_window_unset_program):
6633 Calculate correctly whether to show the previous window if the
6634 last one is removed from the stack.
6635 (hildon_stackable_window_go_to_root_window):
6636 Send delete events starting from the topmost window.
6637 Stop if one of the windows is not destroyed.
6639 (hildon_stackable_window_delete_event)
6640 (hildon_stackable_window_class_init):
6641 Ignore the delete event if the window is not the topmost one.
6643 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6645 * src/hildon-pannable-area.c
6646 (hildon_pannable_area_expose_event): Fixed a problem when
6647 selecting the background color of the scrollbars.
6649 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6651 * examples/hildon-stackable-window-example.c
6652 * src/hildon-stackable-window.c
6653 * src/hildon-stackable-window.h
6654 hildon_stackable_window_go_home() renamed to
6655 hildon_stackable_window_go_to_root_window()
6656 Send delete events to windows rather than closing them with
6657 gtk_widget_destroy()
6659 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6661 * src/hildon-pannable-area.c
6662 (hildon_pannable_area_button_release_cb): Fix overshooting in
6665 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6667 * src/hildon-pannable-area.c
6668 (hildon_pannable_area_init): Initially show the scroll indicators.
6669 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6671 Add initial effect showing the widget is pannable.
6673 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6675 * src/hildon-pannable-area.c
6676 (hildon_pannable_area_class_init)
6677 (hildon_pannable_area_set_property)
6678 (hildon_pannable_area_get_property)
6679 (hildon_pannable_area_button_press_cb):
6680 New 'velocity_fast_factor' property to decide which velocity is
6683 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6685 * src/hildon-pannable-area.c
6686 (hildon_pannable_draw_hscroll)
6687 (hildon_pannable_draw_vscroll):
6688 Use float variables to calculate the size of the scrollbars to
6689 avoid error propagation and resizing during scrolling.
6691 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6693 * src/hildon-pannable-area.c
6694 (hildon_pannable_draw_vscroll)
6695 (hildon_pannable_draw_hscroll):
6696 Define a minimum size for the scroll bars
6698 * src/hildon-stackable-window.c
6699 (hildon_stackable_window_go_home): Fix compilation warning
6700 (get_last_window): Minor optimizations
6701 (hildon_stackable_window_class_init): Fix initialization of
6704 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6706 * src/hildon-stackable-window.c: Fixed typos in doc
6708 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6710 * src/hildon-pannable-area.c
6711 (hildon_pannable_area_scroll):
6712 Calculate here whether we need to scroll instead of using the booleans
6713 that tell us whether to /draw/ the scrolling bars.
6715 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6717 * src/hildon-app-menu.h
6719 * src/hildon-app-menu.c
6720 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6721 multiple filter groups related code and API. Now we support only
6723 * examples/hildon-app-menu-example.c:
6725 Update to reflect API changes.
6727 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6729 * src/hildon-stackable-window.c
6730 (hildon_stackable_window_class_init):
6731 Add hildon_stackable_window_realize.
6732 (hildon_stackable_window_realize):
6733 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6734 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6735 to apply theming and behavior specific to HildonStackableWindow
6738 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6740 * src/hildon-note.c (hildon_note_button_release):
6741 Close information notes also when tapping on them
6743 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6745 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6746 ELASTICITY, refactor and review, fix some issues with drawing
6749 * src/hildon-pannable-area.c:
6750 (hildon_pannable_area_button_press_cb): removed the conditions to
6751 avoid clicks when overshooting. It is not required
6753 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6754 define. Refatored and reviewed the code, now we do not need to
6755 manage velocity in motion_notify.
6757 (hildon_pannable_area_motion_notify_cb): We have moved the code
6758 that controls the area_scroll to the axis_scroll function and get
6759 rid of duplicated code.
6761 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6763 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6765 (hildon_pannable_draw_vscroll),
6766 (hildon_pannable_draw_hscroll): Fixed the problems with the
6767 scrollbar drawing, now we do not use two surfaces, it is easier
6768 and saves resources.
6770 (hildon_pannable_area_get_property): Style modification.
6772 (hildon_pannable_area_class_init): Changed some default values.
6774 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6776 * src/hildon-stackable-window.c: Fix some typos in the
6779 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6781 * src/hildon-dialog.c:
6782 Change indentation style
6785 (hildon_note_button_release):
6786 Use root coordinates to check if the release event happened
6789 * src/hildon-app-menu.c
6790 (hildon_app_menu_button_release):
6791 Remove unnecessary check
6793 * examples/hildon-app-menu-example.c
6795 Add cast to fix warning
6797 * src/hildon-app-menu.c
6798 (hildon_app_menu_class_init):
6799 New inner-border style property.
6800 Set all default spacings to 16
6801 (hildon_app_menu_init):
6802 Use vertical-spacing to set the space between filter buttons and
6803 regular menu buttons.
6804 Set the default container border using the inner-border value.
6806 * examples/hildon-app-menu-example.c
6808 Don't set the menu border explicitly, now we have the inner-border
6809 style property for that.
6811 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6813 * src/hildon-app-menu.c (hildon_app_menu_init):
6814 Make the window modal
6816 * src/hildon-note.c (hildon_note_map)
6817 * src/hildon-app-menu.c (hildon_app_menu_map):
6818 Destroy the grab window if we're unable to grab the pointer
6820 * src/hildon-app-menu-private.h
6821 * src/hildon-app-menu.c
6822 (hildon_app_menu_init, hildon_app_menu_finalize)
6823 (hildon_app_menu_map, hildon_app_menu_unmap)
6824 (hildon_app_menu_button_release)
6825 (grab_transfer_window_get):
6826 Bring back the grab window
6827 (hildon_app_menu_realize):
6828 Decorate the window, set WM hint for Matchbox
6830 * src/hildon-note.c (hildon_note_realize):
6831 * src/hildon-banner.c (hildon_banner_realize):
6832 Add WM hints for Matchbox
6834 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6836 * src/hildon-app-menu-private.h
6837 * src/hildon-app-menu.c
6838 (hildon_app_menu_init, hildon_app_menu_finalize)
6839 (hildon_app_menu_map, hildon_app_menu_unmap)
6840 (hildon_app_menu_button_release):
6841 Remove the grab window, it's not needed anymore
6843 * src/hildon-program.c
6844 Fixed typo in documentation
6846 * src/hildon-app-menu.h
6847 * src/hildon-app-menu.c
6848 * examples/hildon-app-menu-example.c
6849 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6851 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6854 Added new transfer_window and close_if_pressed_outside private
6856 (hildon_note_rebuild):
6857 Don't add a cancel button to the information note. It will be
6858 closed when tapping outside
6859 Remove the comment about the OK button in the documentation
6860 (hildon_note_realize):
6861 Set the notification type hint
6862 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6863 Grab/ungrab pointer and keyboard if the note has to be closed when
6865 (hildon_note_button_release):
6866 Close the note when tapping outside (if applicable)
6868 * src/hildon-app-menu.c
6869 Grab/ungrab pointer and keyboard on map/unmap
6870 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6871 Close the menu on button release, not button press
6873 * src/hildon-banner.c
6874 (hildon_banner_set_property)
6875 (hildon_banner_check_position):
6876 Make the banner use the full width of the screen
6877 (hildon_banner_show_information)
6878 (hildon_banner_show_information_with_markup):
6879 Don't display an icon by default
6881 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6883 Added fading scrollbars and adapted all the overshooting code to
6884 horizontal scrolling. We have also fixed bugs with overshooting
6885 and current fading implementation.
6887 * src/hildon-pannable-area.c
6888 (hildon_pannable_area_scroll_indicator_fade): Time out function
6889 used to change the transparency of the scrollbars.
6891 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6892 control and fixed a problem with fading, we now remove the fade
6893 timeout before adding a new one.
6895 (hildon_pannable_axis_scroll):
6896 (hildon_pannable_area_scroll):
6897 (hildon_pannable_area_timeout): Added this functions so we can use
6898 the scroll code both for vertical and horizontal.
6900 (hildon_pannable_area_motion_notify_cb):
6901 (hildon_pannable_area_button_release_cb): Added the horizontal
6902 scrolling control, fixed a problem with the overshooting timeout.
6904 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6905 painting of the scrolls.
6907 (hildon_pannable_draw_vscroll):
6908 (hildon_pannable_draw_hscroll):
6909 (hildon_pannable_area_expose_event):
6910 Draw both scrollbars and rectangles in the overshooting area.
6912 (hildon_pannable_area_get_property):
6913 (hildon_pannable_area_set_property):
6914 Modified the overshoot property to overshoot_max
6916 (hildon_pannable_area_map):
6917 Replaced the comments symbols.
6919 (hildon_pannable_area_size_allocate):
6920 (hildon_pannable_area_class_init):
6921 (hildon_pannable_area_init): Added horizontal scroll, fading
6922 effect properties, fixed a problem when overshooting in the bottom
6925 * examples/hildon-pannable-area-example.c:
6926 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6927 looks better in the example.
6929 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6931 * src/hildon-window.c
6932 * src/hildon-window.h
6933 (hildon_window_class_init)
6934 (hildon_window_unset_program)
6935 (hildon_window_unset_program_real):
6936 Make unset_program a virtual function
6938 * src/hildon-stackable-window.c
6939 * src/hildon-stackable-window.h
6940 Added hildon_stackable_window_go_home()
6942 * examples/Makefile.am
6943 * examples/hildon-stackable-window-example.c
6944 HildonStackableWindow example
6946 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6948 * hildon-pannable-area.c: Added the overshoot property and removed
6949 the OVERSHOOT define. Fixed an indent style error.
6950 (hildon_pannable_area_motion_notify_cb):
6951 (hildon_pannable_area_get_property):
6952 (hildon_pannable_area_set_property): Add overshoot property.
6954 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6957 (hildon_pannable_area_class_init): Installed the new property.
6959 * hildon-pannable-area-example.c: Added a sawtooth function, this
6960 way it is easier to check the movement in the pannable.
6961 (get_sawtooth_label): Added this function.
6962 (main): Now we get the labels from the new get_sawtooth_label
6965 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6967 * src/hildon-app-menu.h
6968 * src/hildon-app-menu.c
6969 Renamed API variables for consistency
6971 (hildon_app_menu_popup): Use also the default window size to
6972 decide where to place the menu
6974 (hildon_app_menu_init, hildon_app_menu_class_init): New
6975 external-border style property
6977 2008-05-26 Michael Natterer <mitch@imendio.com>
6979 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6980 widget_class->tap_and_hold_setup signal slot doesn't exist any
6981 longer, stop overriding it.
6983 (hildon_time_editor_init): g_signal_connect() to the
6984 tap-and-hold-setup signal instead.
6986 (hildon_time_editor_entry_keypress): add cast to fix warning.
6988 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6990 * doc/hildon-docs.sgml
6992 * examples/Makefile.am
6993 * examples/hildon-app-menu-example.c
6995 * src/hildon-app-menu-private.h
6996 * src/hildon-app-menu.c
6997 * src/hildon-app-menu.h
6999 New HildonAppMenu widget
7001 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7003 Rearranged the inheritance of the pannable area, now it inherits
7004 from GtkBin. This will allow us to control the event_window and
7005 the allocation process of the widget, required for some effects.
7007 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7008 GtkBin structures. * src/hildon-pannable-area.c: Added the
7009 event_window variable.
7010 (hildon_pannable_area_button_press_cb):
7011 (hildon_pannable_area_button_release_cb):
7012 (hildon_pannable_area_motion_notify_cb):
7013 Changed the signature of the method, now we override the event
7014 callback instead of connecting to the signal.
7016 (hildon_pannable_area_realize):
7017 (hildon_pannable_area_unrealize):
7018 (hildon_pannable_area_map):
7019 (hildon_pannable_area_unmap):
7020 (hildon_pannable_area_size_allocate):
7021 Added functions to control the widget construction. We add a
7022 INPUT_ONLY window and we put it over the widgets inside the
7023 container, this event_window handles the events.
7025 (hildon_pannable_area_class_init):
7026 Replaced the signal connections with overrides of the event
7029 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7031 Bouncing effect added when touching the borders, you can change
7032 the elasticity of the border changing the ELASTICITY define.
7034 * src/hildon-pannable-area.c: Added ELASTICITY define.
7035 (hildon_pannable_area_timeout): Added inverse velocity when
7036 touching the border of the child widget, that causes a bounce.
7038 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7040 Improved performance, we now do not go to the X server in order to
7041 get the list of window children. Apparently the effect is the
7042 same, we have to be careful and check if this breaks something in
7045 * src/hildon-pannable-area.c:
7046 (get_ordered_children): Removed this function.
7047 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7048 the children windows function with gdk_window_get_children.
7050 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7052 * src/hildon-pannable-area.c:
7053 (hildon_pannable_area_dispose): Fixed a crash when closing the
7054 window and kinetics is activated.
7056 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7058 * src/hildon-pannable-area.h
7059 * src/hildon-pannable-area.c
7060 Changed indentation style to meet the one used in Hildon
7062 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7064 Reviewed the interaction of the AUTO mode, now we use the time
7065 attribute of the events and calculate the velocity in the motion,
7066 doing a gimp like calculation. The velocity is calculated in each
7067 motion event using the last velocity and the current one, the
7068 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7070 * src/hildon-pannable-area.c: Replaced the time based algorithm
7072 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7073 timeout for the AUTO mode when we are still moving the cursor. We
7074 added also the velocity calculation in this function.
7075 (hildon_pannable_area_button_release_cb): launch the timeout in
7076 case we are in AUTO mode. There are still some constants here that
7077 come from the old implementation that should be reviewed and
7080 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7082 * doc/hildon-docs.sgml
7085 * src/hildon-stackable-window.c
7086 * src/hildon-stackable-window.h
7088 New HildonStackableWindow widget
7090 * examples/hildon-dialog-example.c
7091 * examples/hildon-pannable-area-example.c
7094 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7096 * src/hildon-dialog.c
7097 (hildon_dialog_new_with_buttons): New constructor.
7099 * examples/hildon-dialog-example.c
7100 (main): Update the example to use the new
7101 hildon_dialog_new_with_buttons().
7103 * examples/hildon-pannable-area-example.c
7104 (main): Update example.
7106 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7108 * doc/hildon-docs.sgml
7110 Added HildonPannableArea to the documentation.
7112 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7114 * doc/visual_index.xml
7115 Fix reference to HildonLoginDialog in documentation
7117 * doc/hildon-docs.sgml
7119 * examples/Makefile.am
7120 * examples/hildon-dialog-example.c
7122 * src/hildon-dialog.c
7123 * src/hildon-dialog.h
7125 New HildonDialog widget.
7127 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7129 * src/hildon-pannable-area.c
7130 Merge latest changes (r4318, r4342) from libmokoui trunk
7132 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7134 * examples/Makefile.am
7135 * examples/hildon-pannable-area-example.c
7137 * src/hildon-pannable-area.c
7138 * src/hildon-pannable-area.h
7140 New HildonPannableArea widget.
7142 2008-04-15 18:05:19 <timj@imendio.com>
7144 * src/hildon-banner.c: revert the recent change, that introduced
7145 gtk_window_present() calls. this reopens:
7146 Bug 78481 - [freetest] information banners are hidden under browser menu
7147 But resolves another variant of:
7148 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7150 2008-04-15 13:21:13 <timj@imendio.com>
7152 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7153 recreated its layout, spotted by Kris. this fixes all remaining
7154 artefacts and stability issues with the banner code. in particular:
7155 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7157 2008-04-14 16:52:59 <timj@imendio.com>
7159 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7160 operating on unrealized widgets, fixes:
7161 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7163 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7165 2008-04-09 Kristian Rietveld <kris@imendio.com>
7167 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7168 makes banner disappear.
7169 Fixes: NB#79182: info banner flickering with certain message lengts.
7171 * src/hildon-banner.c (hildon_banner_constructor),
7172 (hildon_banner_init), (hildon_banner_set_text),
7173 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7174 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7175 FALSE, reset size requests of label and banner,
7176 (force_to_wrap_truncated): when the text is too wide, always enforce
7177 the maximum possible width instead of recalculating it from the
7178 layout; enforce the maximum banner height of 3 lines,
7179 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7180 nicer wrapping and no truncated chars if space gets tight.
7182 * src/hildon-banner-private.h: add has_been_wrapped and
7183 has_been_truncated fields.
7185 2008-04-07 Sven Herzberg <sven@imendio.com>
7187 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7188 local values in hildon_date_editor_size_allocate
7190 * src/hildon-date-editor.c: moved the real allocation code into the
7193 2008-04-07 Sven Herzberg <sven@imendio.com>
7195 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7196 local values in hildon_date_editor_size_allocate
7198 * src/hildon-date-editor.c: merged the two if() branches together
7200 2008-04-07 Sven Herzberg <sven@imendio.com>
7202 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7203 local values in hildon_date_editor_size_allocate
7205 * src/hildon-date-editor.c: changed the arguments of the if()
7208 2008-04-07 Sven Herzberg <sven@imendio.com>
7210 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7211 local values in hildon_date_editor_size_allocate
7213 * src/hildon-date-editor.c: split the calculation of the allocation
7214 from the real allocation
7216 2008-03-27 Michael Natterer <mitch@imendio.com>
7218 Fixes: NB#81696: The passcode is not overwritten even after
7221 * src/hildon-code-dialog.c
7222 (hildon_code_dialog_button_clicked)
7223 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7224 because that doesn't overwrite selected text. Instead, emit the
7225 "commit" signal on the entry's im_context so the entry's normal
7226 insert logic is triggered. Set the cursor to the end of the entry
7227 after each insert operation so that we *only* insert in the middle
7228 of the text if something was selected.
7230 2008-03-27 Michael Natterer <mitch@imendio.com>
7232 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7233 selector cannot be opened
7235 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7236 when the popup color selector is created. Please connect to this
7237 signal in order to set the dialog's help ID.
7239 2008-03-25 Sven Herzberg <sven@imendio.com>
7241 Fixes: MB#1212: Hide info banners (infoprints) on click
7243 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7244 extracted the close event simulation into an extra function
7245 (hildon_banner_button_press_event): simulate a close event and destroy
7246 the widget if the event wasn't handled
7247 (hildon_banner_class_init): added the button_press_event handler
7248 (hildon_banner_init): added button-press events to the widget
7250 2008-03-25 Sven Herzberg <sven@imendio.com>
7252 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7253 Patch from: Mohammad Anwari <mdamt@maemo.org>
7255 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7256 instead of the right in RTL mode
7257 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7258 breadcrumb button list in RTL mode
7259 * src/hildon-caption.c: mirror the appearance of the caption widget in
7261 * src/hildon-date-editor.c: mirror appearance of the date editor in
7263 * src/hildon-time-editor.c: mirror appearance of the time editor in
7265 * src/hildon-window.c: fix the position of the popup in RTL mode
7267 2008-03-25 Sven Herzberg <sven@imendio.com>
7269 Amendment to the fix of NB#22072. Fix compilation.
7271 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7273 2008-03-19 Sven Herzberg <sven@imendio.com>
7275 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7278 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7279 timeout id properly when the timeout will disappear this leaves no
7280 artifacts around in the destroy(); there will only be the timeout
7281 created by hildon_banner_ensure_timeout() and adding a new timeout
7282 will also work if the timeout gets removed because the timeout_handler
7285 2008-03-19 Michael Natterer <mitch@imendio.com>
7287 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7289 * src/hildon-volumebar.c
7290 * src/hildon-vvolumebar.c
7291 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7292 the widget becomes focussable at all.
7294 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7295 set the focus to wither the mute button or the volumebar.
7297 Remove own "can-focus" property and instead listen to
7298 notify::can-focus in order to update the widget's state.
7300 Implement GtkWidget::focus() and make sure we can also *leave* the
7301 widget, not only enter it, depending on volumebar orientation and
7302 requested focus direction.
7304 Clean up set_mute() to cooperate nicely with all the above.
7306 2008-03-04 Michael Natterer <mitch@imendio.com>
7308 Fixes: NB#78481: information banners are hidden under browser menu
7310 * src/hildon-banner.c: call gtk_window_present() on the banners so
7311 they are risen if they are already visible.
7313 2008-03-03 Sven Herzberg <sven@imendio.com>
7315 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7317 * examples/hildon-window-menu-example.c: (main): extended the window
7318 menu example to serve as a testcase for automatically added
7319 accelerator groups, too
7320 * src/hildon-window.c: (hildon_window_add_accel_group),
7321 (hildon_window_set_menu): added patch by Tommi Komulainen
7323 2008-03-03 Sven Herzberg <sven@imendio.com>
7325 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7327 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7328 knowledge about the border allocators used within GTK+
7330 2008-02-26 Sven Herzberg <sven@imendio.com>
7332 Fixes: MB#2981: Build with asserts broken
7334 * src/hildon-date-editor.c,
7335 * src/hildon-number-editor.c,
7336 * src/hildon-time-editor.c,
7337 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7338 the proper GType instance check
7340 2008-02-25 Sven Herzberg <sven@imendio.com>
7342 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7344 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7345 * examples/hildon-window-menu-example.c: (main): explicitly show
7347 * src/hildon-window.c:
7348 (hildon_window_set_main_menu): moved most of the code from set_menu()
7349 to this place; skipped the call to gtk_widget_show_all(); also didn't
7350 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7351 (hildon_window_set_menu): removed most of the code, just keep the
7352 questionable gtk_widget_show_all()
7353 * src/hildon-window.h: added the new function and deprecate the old
7356 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7362 * debian/changelog: Updating.
7364 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7367 * pkgconfig/Makefile.am:
7368 * pkgconfig/hildon.pc.in:
7371 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7372 use newly created API_MAJOR_VERSION.
7374 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7380 * debian/changelog: Updating.
7382 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7384 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7386 Add outer_border style property, we use it but don't define it (!).
7390 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7392 * examples/hildon-bread-crumb-trail-example.c (main):
7396 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7398 Fix logic for the bread crumb trail node removal.
7402 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7408 * debian/changelog: Updating.
7410 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7412 Patch by Alejandro to get/set passwords dialogs accesibility.
7414 * hildon-1/src/hildon-get-password-dialog.c:
7415 * hildon-1/src/hildon-set-password-dialog.c:
7416 Set atk_set_name to the passwd entries in order to allow
7417 accessibility by name on this entries.
7419 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7424 * debian/control: Updating gtk dep.
7426 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7428 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7429 USE_MAEMO_GTK is enabled.
7431 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7433 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7434 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7436 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7442 * debian/changelog: Updating.
7444 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7446 * examples/Makefile.am:
7447 * examples/hildon-logical-color-example.c:
7448 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7449 applied + adding a test case. Fixes: NB#71660.
7451 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7453 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7454 to be visible, fixes warning on map for windows without toolbars.
7456 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7458 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7459 2.11.0, add a check for that besides the MAEMO_GTK check.
7461 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7467 * debian/changelog: Updating.
7469 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7471 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7472 visibility. Fixes: NB#70842 and MB#615.
7474 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7476 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7477 set the separator as no-show-all so it doesn't unintentionally appear when
7478 someone does a show_all.
7480 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7482 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7483 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7484 toplevel item. Fixes: NB#62031
7486 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7488 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7489 fix the name of the function in the docs.
7491 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7497 * debian/changelog: Updating.
7499 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7501 * examples/hildon-banner-long-example.c: Adding a test-case for long
7504 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7506 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7508 * src/hildon-color-chooser-dialog.c:
7509 * src/hildon-color-chooser.c:
7510 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7511 memory leaks in font selector and color selector. Fixes: NB#70499 and
7514 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7516 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7518 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7520 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7521 little bit bigger. Fixes: #NB63694.
7523 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7529 * debian/changelog: Updating.
7531 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7534 * doc/hildon-docs.sgml:
7535 * doc/images/bread-crumb-trail.png:
7536 * doc/images/calendar-popup.png:
7537 * doc/images/caption.png:
7538 * doc/images/code-dialog.png:
7539 * doc/images/color-button.png:
7540 * doc/images/color-chooser-dialog.png:
7541 * doc/images/color-chooser.png:
7542 * doc/images/controlbar.png:
7543 * doc/images/date-editor.png:
7544 * doc/images/font-selection-dialog.png:
7545 * doc/images/get-password-dialog.png:
7546 * doc/images/hvolumebar.png:
7547 * doc/images/login-dialog.png:
7548 * doc/images/note.png:
7549 * doc/images/number-editor.png:
7550 * doc/images/range-editor.png:
7551 * doc/images/seekbar.png:
7552 * doc/images/set-password-dialog.png:
7553 * doc/images/sort-dialog.png:
7554 * doc/images/time-editor.png:
7555 * doc/images/time-picker.png:
7556 * doc/images/vvolumebar.png:
7557 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7558 Adding the bread-crumb-trial and helpers to the documentation.
7560 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7562 * examples/hildon-find-toolbar-example.c:
7563 * src/hildon-find-toolbar.c:
7564 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7565 actually continue firing the other handlers if connected. Adding a new
7567 hildon_find_toolbar_get_last_index that gets the index of the most
7568 recently added (last) item. Fixes: NB#52301.
7570 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7572 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7573 behaviour. Fixes: NB#68610.
7575 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7577 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7580 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7582 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7583 when realizing the banner. Should make the infonbanner effect a bit more
7586 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7588 * src/hildon-volumebar.c:
7589 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7590 hildon_volumebar_set_range_insensitive_message and
7591 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7593 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7595 * src/hildon-window.c: Fixing the border freeing on destroy.
7597 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7599 * src/hildon-code-dialog-private.h:
7600 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7601 kw keyboard support in HildonCodeDialog.
7603 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7609 * debian/changelog: Updating.
7611 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7613 * src/hildon-date-editor.c:
7614 * src/hildon-number-editor.c:
7615 * src/hildon-private.c:
7616 * src/hildon-private.h:
7617 * src/hildon-time-editor.c:
7618 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7619 handling in subclassed composite widgets. Fixes: NB#66628.
7621 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7623 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7624 from destroy_ callback as it introduces problems in async dbus signal
7625 handlers. Fixes NB#66673.
7627 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7629 * examples/hildon-hvolumebar-example.c:
7630 * src/hildon-volumebar.c: Improving the focus handling in the
7631 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7632 set_property accessor so that "mute" property can be actually set. I'm
7633 scared that nobody noticed it's totally broken.
7635 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7637 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7640 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7642 * src/hildon-calendar.c:
7643 * src/hildon-number-editor.c:
7644 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7645 matches the spec of 6 chars per second. Fixes: NB#60489.
7647 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7649 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7650 gtk_style_lookup_color sometime returns FALSE even though color was
7651 found and values were filled properly. Weird. Removing the warning for the
7654 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7656 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7657 expand vertically. Adding some extra space to the find toolbar buttons to
7658 make them thumbable. Fixes NB#66060.
7660 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7662 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7663 popup with "Ok" and "Cancel". Fixes NB#59299.
7665 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7667 * src/hildon-calendar.c: Process all window updates before executing next
7668 timeout. Fixes: NB#54146.
7670 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7676 * debian/changelog: Updating.
7678 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7680 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7681 the client event and ignore it, since we use the delete event to close
7684 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7686 * src/hildon-helper.c: Remove the bogus warning about color not being
7687 found. Fixes NB#58352.
7689 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7691 * examples/Makefile.am:
7692 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7693 HildonSeekbar widget inside a toolbar.
7695 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7697 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7698 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7699 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7700 don't want to be closed by non-temporary windows on map.
7702 Also use G_DEFINE_TYPE instead of manually typed code.
7704 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7711 * debian/rules: Updating.
7713 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7715 * examples/Makefile.am:
7716 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7717 bug NB#61128. Strangely it works.
7719 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7721 * src/hildon-date-editor.c: When the date editor entry has been changed
7722 but the numbers of characters < max, turn off the skip validation flag.
7723 Prevents a situation when we enter first a valid year and later re-write
7724 it with an invalid one. Fixes NB#60154.
7726 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7728 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7729 code dialog. Fixes NB#64355.
7731 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7733 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7734 switching the page. Fixes NB#49374.
7736 * examples/Makefile.am:
7737 * examples/hildon-wizard-dialog-example.c: Adding an example for
7738 HildonWizardDialog that shows how to handle manual sensitivity setting on
7741 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7745 * src/hildon-version.h.in:
7746 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7748 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7750 * src/hildon-volumebar.c: Updating the docs.
7752 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7758 * debian/changelog: Updating.
7760 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7762 * src/hildon-find-toolbar.c:
7763 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7764 selected item: hildon_find_toolbar_set_active,
7765 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7766 hildon_find_toolbar_get_active_iter . They correspond to respective
7767 GtkComboBox functions.
7769 * examples/Makefile.am:
7770 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7773 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7775 * examples/Makefile.am:
7776 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7779 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7780 when font size > 32 and we pack a focusable widget inside. Actually using
7781 the default response would work too, but since we don't show default
7782 response state in any way (no theming) it would not be visible to the
7783 user. Fixes NB#63430.
7785 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7787 * src/hildon-date-editor.c: Adding the missing variable setter in the
7788 set_property handler. Fixes NB#54182.
7790 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7792 * src/hildon-window.h: Changing the long key press time from 1500ms to
7793 800ms as requested in NB#63700. I have a bad feeling about this, let's
7794 see... Fixes NB#63700.
7796 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7798 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7799 hildon_time_picker_map, hildon_time_picker_realize,
7800 hildon_time_picker_style_set): Split the contents of map to more
7801 appropriate functions; set window decorations on realize and update
7802 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7804 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7809 * debian/changelog: Updating.
7811 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7813 * src/Makefile.am: fixed installation of the header files
7815 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7821 * debian/changelog: Updating.
7823 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7825 * configure.ac: Removing some remaining of --enable-xan.
7827 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7829 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7830 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7832 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7833 2.10.12-osso6 because the move-focus signal needs to be available in
7836 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7838 * examples/Makefile.am:
7839 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7840 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7841 fine. Prolly NB#61128 is fixed now.
7843 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7845 * src/hildon-volumebar.c:
7846 * src/hildon-volumebar.h: Adding the
7847 hildon_volumebar_set_range_insensitive_message and
7848 hildon_volumebar_set_range_insensitive_messagef functions to set
7849 insensitive message on the slider of the volumebar. Fixes NB#61129.
7851 * examples/Makefile.am:
7852 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7853 test the new insensitive messsage functionality on HildonVolumebar.
7855 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7857 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7860 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7862 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7863 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7864 button on after clearing the trail.
7866 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7868 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7870 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7872 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7873 by splitting the installed headers in generated and non-generated groups. Use
7874 only the non-generated headers to create the hildon-enum-types.h file.
7876 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7878 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7880 * src/hildon-window.c: Hide the window before performing the destroy.
7881 Should make the app closing a little tiny bit more snappy.
7883 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7885 * src/hildon-seekbar.c: add gtkrange.h header
7886 * src/hildon-caption.c: remove unused variable
7888 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7890 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7893 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7899 * debian/changelog: Updating.
7901 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7903 * src/hildon-window.c (hildon_window_window_state_event,
7904 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7905 escape timeout on focus-out-event rather than notify::is-topmost; the
7906 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7908 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7910 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7911 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7913 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7915 * src/hildon-window: actually, you need to use the macro always, there's
7916 no private pointer in the instance structure. We should have cleaned this up
7917 when we had the chance...
7919 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7921 * src/hildon-window.c: do not get the private date from HildonWindow before
7922 it passes the g_return_if_fail check. Once it's passed the test, there's no
7923 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7924 if you are only going to access the data once. Whitespace cleanups.
7926 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7928 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7929 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7931 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7937 * debian/changelog: Updating.
7939 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7941 * src/hildon-window.c: When destroying the window, remove (if exists) the
7942 escape timeout handler. Fixes #NB59276.
7944 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7946 * src/hildon-banner.c: When realizing the widget, set the window
7947 transiency. Setting the transiency in the gobject constructor is not
7948 good, as the widget is not realized at that point. Fixes: #NB56624.
7950 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7952 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7953 Add padding for future expansions.
7955 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7957 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7958 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7959 will fake an activation on the previous to the last item of the trail, so
7960 the effect can be overrided by the developer as usual.
7961 Also change the callback for the back button to do the same thing, so its
7962 effect can be overrided too. Fixes: NB#58982
7964 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7966 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7967 HildonCaption. Fixes NB#52379.
7969 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7971 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7972 the internal state of the trail after the user has had the chance of executing
7973 his handler for the signal. Specifically, it may happen that the activated button
7974 is removed and the user still lets the default handler run. This would segfault
7977 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7979 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7980 scrollbar to the preview dialog. Fixes NB#54147.
7982 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7984 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7985 max/min year properties can be altered, so the client can modify it
7986 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7988 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7990 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7991 hildonlike by default. Fixing a problem with disappearing arrows when
7992 scrolling through months and years. Fixes NB#54127.
7994 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7996 * examples/hildon-date-editor-example.c: Adding error callback to the date
7999 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8005 * configure.ac: Updating.
8007 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8009 * configure.ac: Adding a special '--enable-xan' configure option that
8010 turns off the -Werror compilation setting. Usefull for development.
8012 * src/hildon-calendar.c:
8013 * src/hildon-number-editor.c:
8014 * src/hildon-time-picker.c: Adding the 5* multiplier to
8017 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8019 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8020 instead of g_object_ref + gtk_object_sink.
8022 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8028 * debian/changelog: Updating.
8030 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8032 * src/hildon-color-chooser-dialog.c:
8033 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8034 straight from Tommi labs.
8036 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8038 * examples/hildon-finger-example.c: Correcting the header file path.
8040 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8041 the changed signal. Fixes a small memory leak.
8043 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8047 * src/hildon-banner.c: Importing several usefull fixes from the
8048 ubuntu-mobile branch.
8050 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8052 * examples/Makefile.am:
8053 * examples/hildon-finger-example.c: Adding a finger-checking code
8056 * src/hildon-font-selection-dialog.c: Do not allocate the color
8057 structure using the g_new. Fixes NB#54061.
8059 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8061 * src/hildon-helper.c: Correcting tabs in file.
8063 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8065 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8066 control the visibility of the children.
8068 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8070 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8076 * debian/changelog: Updating.
8078 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8080 * src/hildon-bread-crumb-trail.c:
8081 (hildon_bread_crumb_trail_size_allocate):
8083 Make the back button always a square.
8085 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8087 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8088 from the .c file as it's a private file.
8090 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8092 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8093 uses slightly bigger height.
8095 * src/hildon-font-selection-dialog.c: Adding some checks before
8096 freeing memory in the font selection dialog.
8098 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8100 * src/hildon-font-selection-dialog.c: Adding a small check when
8103 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8104 buttons sensitivity on page switching.
8106 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8108 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8109 internal details of adding a bread crumb to the trail.
8111 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8117 * debian/changelog: Updating.
8119 * src/hildon-bread-crumb-trail.h:
8120 * src/hildon-bread-crumb.h: Changing the API guard to
8121 HILDON_ENABLE_UNSTABLE_API.
8123 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8131 * src/hildon-helper.h: Updating.
8133 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8141 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8145 * src/hildon-helper.h: Small fix to make the package actually compile.
8147 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8149 * src/hildon-bread-crumb-trail.h:
8150 * src/hildon-bread-crumb.h:
8152 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8153 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8155 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8157 * examples/hildon-bread-crumb-trail-example.c:
8159 * src/hildon-bread-crumb-trail.c:
8160 * src/hildon-bread-crumb-trail.h:
8161 * src/hildon-bread-crumb.c:
8162 * src/hildon-bread-crumb.h:
8163 * src/hildon-marshalers.list:
8164 * src/hildon-bread-crumb-widget.c:
8165 * src/hildon-bread-crumb-widget.h:
8167 Slight change in the widget design. The bread crumb trail API is
8168 unchanged, but HildonBreadCrumb is now an interface. A *private*
8169 implementation, hildon-bread-crumb-widget, is provided and used
8170 internally by the trail for the push_text/push_icon functions.
8172 The generic push API is still available, so anyone can implement
8173 and use its own bread crumb widget.
8175 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8177 * debian/rules: Fixing the shlibs.
8179 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8181 * src/hildon-banner.c: Fixing a problem with timed banners having
8182 their parrent destroyed before they are.
8184 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8186 * src/hildon-bread-crumb.c:
8187 * src/hildon-bread-crumb.h:
8189 Make the get_natural_size function a vfunc.
8191 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8193 * src/hildon-bread-crumb.c:
8194 * src/hildon-bread-crumb-trail.c:
8198 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8205 * debian/changelog: Updating for release.
8207 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8209 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8210 don't leak the pango layout.
8212 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8215 * examples/hildon-bread-crumb-trail-example.c:
8219 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8221 * debian/changelog: Removing the bug-fixed entries that were actually
8222 resolved as WONTFIX.
8224 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8227 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8229 * src/hildon-bread-crumb-trail.c:
8230 * src/hildon-bread-crumb-trail.h:
8231 * src/hildon-bread-crumb.c:
8232 * src/hildon-bread-crumb.h:
8236 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8238 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8239 until it's passed the type check.
8241 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8243 * examples/hildon-bread-crumb-trail-example.c
8247 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8249 * examples/Makefile.am
8250 * examples/hildon-bread-crumb-trail-example.c
8252 * src/hildon-bread-crumb-trail.c
8253 * src/hildon-bread-crumb-trail.h
8254 * src/hildon-bread-crumb.c
8255 * src/hildon-bread-crumb.h
8257 New HildonBreadCrumbTrail widget.
8259 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8261 * src/hildon-range-editor.c (hildon_range_editor_init),
8262 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8263 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8264 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8265 hildon_time_editor_class_init, hildon_time_editor_init),
8266 src/hildon-get-password-dialog.c (invalid_input,
8267 hildon_get_password_set_property, hildon_get_password_get_property,
8268 create_contents, hildon_get_password_dialog_set_max_characters),
8269 src/hildon-set-password-dialog.c (create_contents),
8270 src/hildon-date-editor.c (hildon_date_editor_init),
8271 src/hildon-login-dialog.c (hildon_login_dialog_init),
8272 src/hildon-number-editor.c (hildon_number_editor_init),
8273 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8274 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8275 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8276 configure option and adding the respective checks in the code.
8277 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8278 hildon_calendar_drag_data_received): fixed some build warnings.
8280 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8282 * debian/changelog: A 1.0.0 release notes.