1 2009-05-25 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
4 Resize table before adding new items to make sure that
5 gtk_table_resize() is called just once.
7 2009-05-25 Alberto Garcia <agarcia@igalia.com>
9 * hildon/hildon-app-menu-private.h
10 * hildon/hildon-app-menu.c (item_visibility_changed)
11 (filter_visibility_changed, hildon_app_menu_show_all)
12 (hildon_app_menu_hide_all, hildon_app_menu_init):
13 Rearrange items just once when gtk_widget_show_all()/hide_all()
16 2009-05-25 Alberto Garcia <agarcia@igalia.com>
18 * hildon/hildon-app-menu.c
19 (hildon_app_menu_insert, hildon_app_menu_add_filter):
20 Don't call gtk_widget_show() on added items.
22 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
23 automatically when they're added)
25 2009-05-20 Alberto Garcia <agarcia@igalia.com>
27 * hildon/hildon-banner.c
28 (hildon_banner_realize, +hildon_banner_unrealize)
29 (+screen_size_changed, hildon_banner_class_init):
30 Redisplay the banner if the screen is rotated.
32 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
33 on transition from landscape to portrait)
35 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
37 * hildon/hildon-banner.[ch]:
38 (hildon_banner_show_information_override_dnd): remove icon_name from the
39 method definition as it is ignored.
40 * examples/hildon-banner-dnd-example.c: updated with the change on
43 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
45 * hildon/hildon-banner-private.h: new require_override_dnd and
46 overrides_dnd variables
47 * hildon/hildon-banner.h:
48 (hildon_banner_show_information_override_dnd): new method, that shows
49 the information but sets the override flag, in order to show important
51 * hildon/hildon-banner.c
52 (hildon_banner_show_information_override_dnd): new method
53 (hildon_banner_set_override_flag): new utility function
54 (hildon_banner_real_show_information): new utility function, in order to
55 generalize the current hildon_banner_show_information_override_dnd and
56 hildon_banner_show_information_override_dnd
57 * examples/Makefile.am
58 * examples/hildon-banner-dnd-example.c: New example that show how to
59 use the new hildon_banner_show_information_override_dnd
61 Fixes: NB#114874 (There is no possibility to show hildon banners with
64 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
66 * hildon/hildon-pannable-area.c: Add a comment explaining the math
67 behind hildon_pannable_calculate_vel_factor().
69 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
71 * hildon/hildon-pannable-area.c
72 (hildon_pannable_calculate_vel_factor): Correct the sum of the
75 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
77 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
78 Reduce the default value for 'scroll_time' to 1 second, since the
79 current initial scrolling takes too much time.
81 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
83 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
84 calculate velocity factor during initialization, since the properties
87 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
89 * hildon/hildon-pannable-area.c
90 (hildon_pannable_area_set_property): Calculate the velocity factor
91 after setting the deceleration property and not after.
93 2009-05-20 Alberto Garcia <agarcia@igalia.com>
95 * hildon/hildon-entry.c
96 (hildon_entry_class_init, +set_property, hildon_entry_new)
97 * hildon/hildon-check-button.c
98 (hildon_check_button_class_init)
99 (+set_property, hildon_check_button_new):
100 Make the theme size a property.
102 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
103 others) do too much in the _new function)
105 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
107 * configure.ac: post release version bump
108 * debian/changelog: post release version bump
110 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
115 * configure.ac: Bump version.
116 * debian/changelog: Updates.
118 2009-05-15 Alberto Garcia <agarcia@igalia.com>
120 * hildon/hildon-gtk.h
121 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
122 New API function to take a screenshot of a window
124 Fixes: NB#106374 (Need API to take a loading screenshot)
126 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
128 * hildon/hildon-time-selector.c
129 (update_format_policy): prevent to use hours and minutes unitialized
131 2009-05-15 Alberto Garcia <agarcia@igalia.com>
133 * hildon/hildon-window.c (hildon_window_size_request):
134 Always request the full size of the screen (minus the title bar if
135 not in fullscreen mode).
137 Fixes: NB#107486 (HildonWindow should size itself properly)
139 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
141 * hildon/hildon-note-private.h: Add idle_handler to the private data.
142 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
143 (on_show_cb), (sound_handling): Disconnect the idle handler for
144 the sound when the note is finalized to avoid possible crashes.
146 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
149 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
151 * src/hildon-animation-actor.c,
152 * src/hildon-remote-texture.c:
153 Added proper object cleanup to remove signal handler and object
154 references as HildonAnimationActor and HildonRemoteTexture
155 objects get destroyed.
157 Fixes: NB#116682 (Destroying parented animation actors when
158 parent in unmapped leads to crash)
160 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
162 Based on a patch by Christian Dywan (christian@imendio.com)
164 * doc/hildon-sections.txt:
165 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
166 * hildon/hildon-helper.h: New file size formatting method.
168 * debian/control: Depend on osso-filemanager l10n package for
169 proper localization strings.
171 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
173 * tests/Makefile.am: Include top_srcdir to make possible to build
174 tests in a different builddir.
175 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
176 on a different builddir.
178 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
180 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
181 (hildon_touch_selector_remove): Disconnect model's signal handler
184 Fixes: NB#116289 (Hildon home crashes while adding task
187 2009-05-11 Alberto Garcia <agarcia@igalia.com>
189 * hildon/hildon-button.c
190 (hildon_button_set_title, hildon_button_set_value):
191 Hide labels containing an empty string.
193 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
195 * configure.ac: post release version bump
196 * debian/changelog: post release version bump
198 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
203 * configure.ac: Bump version.
204 * debian/changelog: Updates.
206 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
208 * hildon/hildon-note-private.h: Removed sound_signal_handler
209 * hildon/hildon-note.c
210 (on_show_cb): new callback on note "show" event, this simply adds
211 a idle, with the function sound_handling
212 (sound_handling): removed the sound_signal_handler management
213 (hildon_note_init): connect note "show" event to on_show_cb
214 (hildon_note_realize): remove the connection to "expose-event"
216 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
217 device?' confirmation note)
219 2009-05-08 Alberto Garcia <agarcia@igalia.com>
221 * hildon/hildon-note.c
222 (hildon_note_new_information_with_icon_name)
223 (hildon_note_new_confirmation_with_icon_name):
224 Terminate the list of parameters in g_object_set() calls
226 Fixes: NB#115166 (Formatting memory card is not taking place)
228 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
230 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
231 "dialog-information" role for the sound being played.
233 2009-05-06 Alberto Garcia <agarcia@igalia.com>
235 * hildon/hildon-app-menu.c (hildon_app_menu_init):
236 Don't make the menu a modal window, it causes strange interactions
237 with the pointer grab and it's not really needed.
239 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
241 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
243 * hildon/hildon-touch-selector.[ch]
244 (hildon_touch_selector_optimal_size_request): function added to get a
245 optimal size request from the touch selector, when you want a dialog to
246 show as much of the selector
247 * hildon/hildon-picker-dialog.c:
248 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
249 (hildon_app_menu_class_init):
250 New "max-height-landscape" and "max-height-portrait" style properties
251 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
252 (hildon_picker_dialog_get_max_height): returns the maximum height using
253 the style properties defined and checking the current portrait/landscape
255 (_hildon_picker_dialog_set_selector): removed the set_size_request
257 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
259 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
261 * hildon/hildon-bread-crumb-trail.c:
262 * hildon/hildon-bread-crumb.c:
263 * hildon/hildon-seekbar.c:
264 Add reference to replacements for these deprecated widgets.
266 Fixes: MB#4461 (Documentation: All deprecations should mention
269 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
271 * examples/hildon-remote-texture-example.c
273 Change the include to the hildon-remote-texture in order to compile
274 properly the examples on the installed libhildon1-examples package
276 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
278 * tests/Makefile.am: Add check for HildonPickerButton.
279 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
280 (START_TEST), (create_hildon_picker_button_suite): Add three simple
281 checks for the HildonPickerButton.
282 * tests/check_test.c (configure_tests): Add the test suite.
283 * tests/test_suites.h: likewise.
285 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
287 * hildon/hildon-touch-selector.c
288 (+on_row_changed): Emit HildonTouchSelector:changed when the
289 contents of a selected row change.
290 (_create_new_column), (_hildon_touch_selector_set_model): connect
291 to GtkTreeModel:row-changed on a newly set model.
293 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
295 2009-05-05 Alberto Garcia <agarcia@igalia.com>
297 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
299 * hildon/hildon-banner.c (hildon_banner_destroy)
300 (hildon_banner_show_progress, hildon_banner_set_fraction):
301 Remove the progress bar from HildonBanner and use a progress
304 Fixes: NB#113761 (Update progress banner to use progress
307 2009-05-04 Alberto Garcia <agarcia@igalia.com>
309 * hildon/hildon-banner.c:
310 Calculate size of the banner label using the actual screen width
311 rather than using a fixed value.
313 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
316 2009-05-04 Alejandro G. Castro <alex@igalia.com>
318 * hildon/hildon-pannable-area.c,
319 (hildon_pannable_area_class_init): Fixed signals documentation
322 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
324 * configure.ac: post release version bump
325 * debian/changelog: post release version bump
327 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
332 * configure.ac: Bump version.
333 * debian/changelog: Updates.
335 2009-05-01 Alberto Garcia <agarcia@igalia.com>
337 * hildon/hildon-edit-toolbar.c
338 (hildon_edit_toolbar_init):
339 Don't let buttons in HildonEditToolbar receive focus.
341 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
342 typing on an HW arrows key)
344 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
346 * doc/Makefile.am: Fix build.
348 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
350 * doc/Makefile.am: Do not redefine content_files.
352 2009-04-30 Alberto Garcia <agarcia@igalia.com>
360 Renamed src/ to hildon/
365 Include <hildon/hildon.h> directly in all examples.
367 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
369 * src/hildon-sort-dialog.c
370 (hildon_sort_dialog_add_sort_key_with_sorting)
374 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
376 * src/Makefile.am: Move generated sources to CLEANFILES, so that
377 make distcheck passes.
379 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
381 * Makefile.am: Enable gtk-doc during distcheck.
383 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
385 * Makefile.am: Do not distribute the debian/ directory.
387 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
389 * doc/Makefile.am: Add the extra SGML files to content_files,
390 so that they are distributed properly.
392 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
394 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
397 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
399 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
400 (hildon_note_new_information_with_icon_name): Set the "icon" property
401 to preserve soundness.
403 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
405 * src/hildon-font-selection-dialog.c
406 (hildon_font_selection_dialog_set_property): Fail when the "family"
407 property is set to NULL.
409 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
411 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
414 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
416 * src/hildon-time-selector.h:
417 Added HildonTimeSelectorFormatPolicy
418 * src/hildon-time-selector.c:
419 Added PROP_TIME_FORMAT_POLICY
420 (_check_ampm_format): renamed to check_automatic_ampm_format
421 (update_format_policy), (update_format_dependant_columns): new functions
422 (hildon_time_selector_class_init)
423 (hildon_time_selector_contructor)
424 (hildon_time_selector_init)
425 (hildon_time_selector_get_property)
426 (hildon_time_selector_set_property)
427 (hildon_time_selector_get_time)
428 (hildon_time_selector_set_time)
429 * src/hildon-touch-selector.h: new file
430 * src/hildon-touch-selector.c
431 (hildon_touch_selector_emit_changed)
432 (hildon_touch_selector_block_changed)
433 (hildon_touch_selector_unblock_changed)
434 Added functions to allow to block the emission of the "changed" signal
435 * src/hildon-picker-dialog.c
436 (hildon_picker_dialog_show): call the parent show before the custom code
437 * examples/hildon-time-button-example.c
438 Modified, so now you can configure the time format using the new property
440 Added a new property "time-format-policy" that allow to choose the time
441 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
442 case it uses gconf in order to check if the time selector must use
445 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
448 2009-04-28 Alberto Garcia <agarcia@igalia.com>
450 * src/hildon-note.c (hildon_note_init):
451 Label in HildonNote must be left aligned, not centered. This
452 reverts the last commit in HildonNote.
454 Fixes: NB#112933 (text is not left aligned in confirmation dialog
455 is connectivity dialog)
457 2009-04-27 Alberto Garcia <agarcia@igalia.com>
462 * doc/hildon-sections.txt:
463 Added hildon_gtk_window_set_do_not_disturb()
465 2009-04-27 Alberto Garcia <agarcia@igalia.com>
467 * src/hildon-note.c (hildon_note_init): Center label.
469 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
472 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
477 * configure.ac: Bump version.
478 * debian/changelog: Updates.
480 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
482 * src/hildon-note-private.h: Add button-width to the private data.
483 * src/hildon-note.c (+resize_button),
484 (+hildon_note_orientation_update): methods to repack widgets on orientation
486 (screen_size_changed): Call above method for confirmation notes.
487 (hildon_note_realize): Always connect to the "screen-size" changed signal.
488 (hildon_note_rebuild): Store the original width request from buttons.
490 Fixes: NB#109635 (Confirmation notes do not support portrait)
492 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
494 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
495 when it is a progress note.
497 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
499 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
500 in the note, since there are no horizontally arranged contents.
502 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
504 * src/hildon-gtk.c (+set_flag): new generic method to
505 set/delay a flag setting in a window.
506 (hildon_gtk_window_set_progress_indicator):
507 (hildon_gtk_window_set_do_not_disturb),
508 (hildon_gtk_window_set_portrait_flags): use set_flag() to
509 avoid code redundance.
511 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
513 Based on a patch by Alberto Garcia (agarcia@igalia.com)
515 * src/hildon-gtk.c (set_clear_window_flag),
516 (do_set_progress_indicator), (do_set_do_not_disturb),
517 (do_set_portrait_flags),
518 (hildon_gtk_window_set_progress_indicator),
519 (hildon_gtk_window_set_do_not_disturb),
520 (hildon_gtk_window_set_portrait_flags):
521 Allow setting dnd-flag, progress indicator, and portrait flags
522 when the window is not realized.
524 2009-04-24 Alejandro G. Castro <alex@igalia.com>
526 * src/hildon-pannable-area.c,
527 * src/hildon-pannable-area.h: Add the hildon deprecated define to
528 the size request policy function and defines.
530 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
532 * doc/hildon-sections.txt: Add the new API.
533 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
534 method to set the portrait flags.
535 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
537 Fixes: NB#112328 (Adding helpers for setting portrait properties)
539 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
541 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
542 to allow using this method with other flags.
543 (hildon_gtk_window_set_progress_indicator): Update accordingly.
544 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
546 2009-04-22 Alberto Garcia <agarcia@igalia.com>
548 * src/hildon-touch-selector.c
549 (hildon_touch_selector_append_text_column):
550 Make the cell renderer use the smallest width possible.
552 Fixes: NB#108470 (Selected items in multiple selection are either
553 having a tick that is cut or not visible at all.)
555 2009-04-22 Alberto Garcia <agarcia@igalia.com>
557 * src/hildon-touch-selector.c
558 (hildon_touch_selector_append_text_column):
561 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
563 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
564 Use g_strdup_printf() instead of a fixed size buffer.
566 2009-04-21 Alberto Garcia <agarcia@igalia.com>
568 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
569 Close banners when a HildonAppMenu is popped up.
571 Fixes: NB#111027 (Title menu closed immediately if activated when
572 "Invalid e-mail address" banner is shown)
574 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
579 * configure.ac: Bump version.
580 * debian/changelog: Updates.
582 2009-04-20 Alberto Garcia <agarcia@igalia.com>
584 * src/hildon-banner.c (hildon_banner_realize):
585 Mark HildonBanner as supporting portrait mode.
586 Use GDK to set window properties insetad of direct Xlib calls.
588 Fixes: NB#111830 (HildonBanner should be marked as supporting
591 2009-04-20 Alberto Garcia <agarcia@igalia.com>
593 * src/hildon-note.c (hildon_note_rebuild):
594 Hide action area in information notes. Prevents text from being
595 slightly aligned to the left.
597 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
600 2009-04-20 Alberto Garcia <agarcia@igalia.com>
602 Patch by Mox Soini (ext-mox.soini@nokia.com)
604 * src/hildon-banner.c (hildon_banner_create_animation):
605 Use stylus-sized icons in animation banner.
607 Fixes: NB#111206 (stylus sized icon for animation banner)
609 2009-04-20 Alberto Garcia <agarcia@igalia.com>
613 (+hildon_gtk_window_set_do_not_disturb):
614 New API to set the do-not-disturb flag.
616 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
618 2009-04-20 Alberto Garcia <agarcia@igalia.com>
620 * examples/hildon-progress-indicator-example.c: Fix example
622 * src/hildon-gtk.c (set_clear_window_flag)
623 (hildon_gtk_window_set_progress_indicator):
624 Create a generic function for setting flags to a window.
625 Use GDK instead of direct Xlib calls.
627 2009-04-14 Alberto Garcia <agarcia@igalia.com>
629 * src/hildon-button.c (hildon_button_set_arrangement):
630 Due to NB#88126, if one of the labels is too long it will be
631 painted outside the button. The 'value' label is more likely to be
632 the longest one, so we change its packing options in order to
633 truncate it if necessary. As a side effect, the 'title' label will
634 no longer be truncated.
636 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
638 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
643 * configure.ac: Bump version.
644 * debian/changelog: Updates.
646 2009-04-13 Alejandro G. Castro <alex@igalia.com>
648 Deprecation of the hildon_pannable_area_set_size_request_policy
649 API, the only policy properly supported in gtk+ nowadays is the
652 * src/hildon-pannable-area.c,
653 (hildon_pannable_area_size_request): Added a workaround for the
654 size_request to avoid the problems of huge pixmaps in case someone
655 is still using the function.
656 * src/hildon-pannable-area.h: Deprecated the enum with the
659 Fixes: NB#110244 (Problems with the
660 hildon_pannable_area_set_size_request_policy API)
662 2009-04-08 Alejandro G. Castro <alex@igalia.com>
664 * src/hildon-pannable-area.c,
665 (hildon_pannable_area_init),
666 (hildon_pannable_area_size_request),
667 (hildon_pannable_area_style_set),
668 (hildon_pannable_draw_vscroll),
669 (hildon_pannable_draw_hscroll),
670 (hildon_pannable_area_check_scrollbars): Replaced area_width with
671 indicator_width to clarify the use of the attribute.
673 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
678 * configure.ac: Bump version.
679 * debian/changelog: Updates.
681 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
683 * src/hildon-picker-dialog.c
684 * src/hildon-touch-selector.c
685 Reverting the change that tried to avoid the hardcoded height on
686 the picker dialog, as causes problems on the hildon-touch-selector
689 Fixes: NB#110029 (selectors not scrolling to selected value)
691 2009-04-07 Alberto Garcia <agarcia@igalia.com>
693 * src/hildon-touch-selector.c: Fix typos
695 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
697 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
698 Use the event coordinates instead of gdk_window_get_pointer(). Also,
699 request more motions after using it.
701 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
703 * src/hildon-calendar.c (hildon_calendar_expose),
704 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
705 Remove unused variables.
707 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
709 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
712 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
714 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
715 Check the return value of gtk_tree_selection_get_selected()
718 2009-04-06 Alberto Garcia <agarcia@igalia.com>
720 * src/hildon-animation-actor.c
721 * src/hildon-button.c
723 * src/hildon-pannable-area.c
724 * src/hildon-picker-button.c
725 * src/hildon-program.c
726 * src/hildon-remote-texture.c
727 * src/hildon-text-view.c
728 * src/hildon-touch-selector.c
729 * src/hildon-window-stack.c
730 * src/hildon-window.c:
731 Add missing 'Since: 2.2' tags.
733 * doc/hildon-sections.txt:
734 Add some missing symbols.
736 * doc/hildon-docs.sgml:
737 New 'Other' section for HildonAnimationActor and
740 2009-04-06 Alberto Garcia <agarcia@igalia.com>
742 Patch by Iván Gómez (igomez@igalia.com)
746 * doc/hildon-docs.sgml
747 * doc/hildon-sections.txt
751 New chapters on using the Hildon library.
752 Updated the general structure of the reference manual.
753 Other minor documentation fixes.
755 * src/hildon-calendar-popup.c
756 * src/hildon-calendar.c
757 * src/hildon-controlbar.c
758 * src/hildon-date-editor.c
759 * src/hildon-dialog.c
760 * src/hildon-hvolumebar.c
761 * src/hildon-number-editor.c
762 * src/hildon-range-editor.c
763 * src/hildon-sort-dialog.c
764 * src/hildon-time-editor.c
765 * src/hildon-time-picker.c
766 * src/hildon-volumebar-range.c
767 * src/hildon-volumebar.c
768 * src/hildon-vvolumebar.c
769 * src/hildon-weekday-picker.c:
770 Add deprecation notes
772 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
773 Document 'horizontal-movement' and 'vertical-movement' signals.
775 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
780 * configure.ac: Bump version.
781 * debian/changelog: Updates.
783 2009-04-06 Alejandro G. Castro <alex@igalia.com>
785 * src/hildon-pannable-area.c,
786 (hildon_pannable_area_class_init): increased the minimum velocity.
787 (hildon_pannable_area_button_release_cb): Updated the
788 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
789 setup. Review the code to control that last event.
791 Fixes: NB#109790 (Releasing finger in pannable area easily causes
794 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
796 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
798 * src/hildon-get-password-dialog.c
799 (hildon_get_password_set_property),
800 (hildon_get_password_get_property), (create_contents):
801 * src/hildon-login-dialog-private.h:
802 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
803 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
804 (hildon_login_dialog_get_password):
805 * src/hildon-set-password-dialog-private.h:
806 * src/hildon-set-password-dialog.c
807 (hildon_set_password_set_property),
808 (hildon_set_password_get_property), (create_contents),
809 (hildon_set_password_response_change),
810 (hildon_set_password_response_set), (hildon_checkbox_toggled):
812 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
813 instead and look more Fremantle style.
815 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
817 2009-04-03 Alberto Garcia <agarcia@igalia.com>
819 * doc/hildon-sections.txt
820 * src/hildon-window-stack.h
821 * src/hildon-window-stack.c
822 (+hildon_window_stack_get_windows):
823 New API to obtain the list of windows on a stack.
825 2009-04-02 Alberto Garcia <agarcia@igalia.com>
827 * src/hildon-app-menu.c (hildon_app_menu_popup)
828 (hildon_app_menu_class_init, -hildon_app_menu_show):
829 Remove hildon_app_menu_show() and move all its checks to
830 hildon_app_menu_popup()
832 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
834 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
835 (_hildon_picker_dialog_set_selector): removed call to
836 gtk_widget_set_size_request
837 * src/hildon-touch-selector.c
838 (_create_new_column): change the pannable size request policy
840 Avoid to use a hardcoded height for the hildon picker dialog. In order
841 to get that, we needed to change the hildon pannable size request
843 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
845 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
847 * src/hildon-window.c (hildon_window_map): Check for vbox to be
848 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
851 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
853 * debian/control: Depend on osso-system-lock localization package.
854 * src/hildon-code-dialog.c: Obtain the secu_application_title
855 translation from osso-system-lock.
856 * src/hildon-get-password-dialog.c (create_contents): Do not mark
857 for translation the atk related strings, that's not necessary.
858 * src/hildon-set-password-dialog.c (create_contents): Ditto.
859 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
860 cancel button, it is not required.
862 2009-04-02 Alejandro G. Castro <alex@igalia.com>
864 * src/hildon-pannable-area.c,
865 (hildon_pannable_area_class_init): Modified the default value of
866 the overshooting max speed, we have reduced it.
868 2009-04-02 Alberto Garcia <agarcia@igalia.com>
870 * doc/hildon-sections.txt
871 * src/hildon-window-private.h
872 * src/hildon-window.h
873 * src/hildon-window.c (hildon_window_class_init)
874 (hildon_window_init, hildon_window_finalize)
875 (hildon_window_realize, hildon_window_get_property)
876 (hildon_window_set_property, hildon_window_update_markup)
877 (hildon_window_get_markup, hildon_window_set_markup):
878 New "markup" property and hildon_window_{get,set}_markup() methods.
880 * examples/hildon-stackable-window-example.c (new_window):
881 Update example to use hildon_window_set_markup()
883 Fixes: NB#106375 (Need API to retitle a window with a title
886 2009-04-01 Alejandro G. Castro <alex@igalia.com>
888 * src/hildon-pannable-area.c,
889 (hildon_pannable_area_class_init): Changed the default value of
890 the initial_hint to TRUE.
891 (hildon_pannable_area_initial_effect): Changed the initial effect,
892 not the effect is just the fade-out of the scrollbars.
894 Fixes: NB#107775 (No scrollbars can be seen when several items are
895 available in a dialog)
897 2009-04-01 Alberto Garcia <agarcia@igalia.com>
899 * src/hildon-program.c (hildon_program_update_top_most):
902 Fixes: NB#109179 (Memory leak in Hildon program)
904 2009-04-01 Alberto Garcia <agarcia@igalia.com>
906 * src/hildon-banner.c (-get_current_app_window):
907 Remove unused function.
909 2009-04-01 Alejandro G. Castro <alex@igalia.com>
911 * src/hildon-pannable-area.c: Modified the documentation of the
912 get adjustments functions to explain the problem of using the
914 (hildon_pannable_area_class_init): Improved the explanation about
917 2009-04-01 Alberto Garcia <agarcia@igalia.com>
919 * src/hildon-app-menu-private.h
920 * src/hildon-app-menu.c
921 (hildon_app_menu_class_init):
922 Bring back the 'external-border' style property
923 (hildon_app_menu_class_init, hildon_app_menu_init)
924 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
925 Set a fixed width-request for the menu, independent of the number
928 Fixes: NB#94957 (Smoothly opened application menu)
930 2009-03-30 Alberto Garcia <agarcia@igalia.com>
932 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
934 * src/hildon-banner.c
935 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
937 Make sure that the banner is correctly placed the first time it's
939 (hildon_banner_check_position, -check_fullscreen_state):
940 Show the banner in the same place no matter if the window is in
941 fullscreen mode or not.
943 Fixes: NB#107386 (Odd stacking behaviour for information banners)
945 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
947 * src/hildon-touch-selector.c (_default_print_func): reorder
948 concatenation for clarity.
950 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
952 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
953 for multicolumn selectors.
955 Fixes: NB#109099 (Memory leak in Hildon touch selector)
957 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
962 * configure.ac: Bump version.
963 * debian/changelog: Updates.
965 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
967 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
970 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
972 * configure.ac: removed libcangerra-gtk dependency
973 * debian/control: removed libcanberra-gtk dependency
974 * src/Makefile.am: removed libcanberra gtk related flags
975 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
976 context, and manage a global canberra context instead
978 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
980 2009-03-26 Alberto Garcia <agarcia@igalia.com>
982 Patch by Daniel Borgmann (danielb@openismus.com)
984 * src/hildon-edit-toolbar.c:
985 Adjust the left padding.
986 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
987 Paint background of the edit toolbar.
989 Fixes: NB#107897 (Patch to make editmodetoolbar background
990 themeable and adjust margin)
992 2009-03-25 Alberto Garcia <agarcia@igalia.com>
994 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
996 * src/hildon-program.c (hildon_program_update_top_most):
997 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
999 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1000 change when the user tasks in/out of an application)
1002 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1004 * configure.ac: added libcangerra-gtk dependency
1005 * debian/control: added libcanberra-gtk dependency
1006 * src/Makefile.am: added libcanberra gtk related flags
1007 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1010 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1012 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1014 * src/hildon-program.c (hildon_program_remove_window)
1015 (hildon_program_add_window): Add checks for the window
1016 parameter. Don't decrease the window counter if the window is not
1019 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1021 * src/hildon-pannable-area.c,
1022 (hildon_pannable_area_realize): Fixed position of the event_window
1023 in the realize method.
1025 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1027 * src/hildon-app-menu-private.h
1028 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1029 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1030 (hildon_app_menu_key_press, hildon_app_menu_init)
1031 (hildon_app_menu_finalize):
1032 Make sure that all idle functions are removed when the widget is
1035 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1037 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1042 * configure.ac: Bump version.
1043 * debian/changelog: Updates.
1045 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1047 * src/hildon-entry.c
1048 (+hildon_entry_show_placeholder),
1049 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1050 that replace hildon_entry_update_contents().
1051 (hildon_entry_set_text),
1052 (hildon_entry_set_placeholder),
1053 (hildon_entry_focus_in_event),
1054 (hildon_entry_focus_out_event): Determine when it is needed
1055 either to show or hide the placeholder and call the above methods.
1057 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1058 when the placeholder text is already set)
1060 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1062 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1063 simple GdkPixbufAnim using the new icons for the banner.
1064 (hildon_banner_show_animation): Use the above mentioned method to
1065 create the animation widget.
1067 Fixes: NB#103564 (Make hildon animation banner use individual
1068 image files as the animation)
1070 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1072 * src/hildon-pannable-area.c,
1073 (hildon_pannable_leave_notify_event): Check if the child is NULL
1074 to avoid sending the leave.
1076 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1078 * src/hildon-pannable-area.c,
1079 (hildon_pannable_area_class_init),
1080 (hildon_pannable_leave_notify_event): Added a handler of the
1081 leave-notify-signal to consider when no motion notify before
1084 Fixes: NB#107494 (Items stay selected when clicking and moving
1085 away when inside pannable area)
1087 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1092 * configure.ac: Bump version.
1093 * debian/changelog: Updates.
1095 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1097 Patch by Alberto Garcia (agarcia@igalia.com)
1099 * src/hildon-date-button.c,
1100 (hildon_date_button_class_init),
1101 (hildon_date_button_init): Removed the construct property handling
1102 and created a default selector in the init method.
1103 * src/hildon-picker-button.c,
1104 (hildon_picker_button_class_init): Removed the construct flag of the
1107 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1109 * src/hildon-main.c (hildon_init):
1110 Don't allow hildon_init() to be called more than once.
1112 Fixes: NB#106607 (hildon_init should issue error message upon
1115 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1117 * examples/hildon-pannable-area-touch-list-example.c
1118 * examples/hildon-pannagle-area-touch-grid-example.c
1119 * examples/hildon-edit-toolbar-example.c
1120 * examples/hildon-touch-selector-multi-cells-example.c
1121 Removed the call to gtk_rc_parse_string, as it is not required since
1124 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1126 * src/hildon-pannable-area.c,
1127 (hildon_pannable_area_class_init): Modified the default panning
1128 threshold of the widget to 6px.
1130 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1131 than the threshold value ) within the button is not sending the
1134 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1136 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1137 for the treeview in the new column. This way, the touch list will never
1140 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1141 be selected manually for the HW keys to work)
1143 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1145 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1146 comparison instead of using strcmp(). Fixes a compiler warning as well.
1148 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1150 * doc/hildon-docs.sgml: Do not set the library version in the
1151 document title, use the releaseinfo tag for that purpose instead.
1153 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1155 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1156 Do not jump to the first item if the text in the entry is removed.
1158 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1163 * configure.ac: Bump version.
1164 * debian/changelog: Updates.
1166 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1168 * src/hildon-entry.c (hildon_entry_refresh_contents):
1169 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1170 Use "ReversedSecondaryTextColor" for the placeholder text.
1172 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1174 * src/hildon-text-view.c: Fix compilation warning.
1176 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1178 * src/hildon-button.c (hildon_button_class_init): Don't make
1179 "title" and "value" construction properties, to prevent them from
1180 overwriting labels set from derived classes.
1182 * src/hildon-picker-button.c
1183 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1184 (hildon_picker_button_class_init): Make touch-selector a
1185 construction property.
1187 * src/hildon-date-button.c (hildon_date_button_class_init)
1188 (+hildon_date_button_constructed): Add a default date selector if
1191 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1193 * src/hildon-touch-selector.c: Small documentation fixes.
1195 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1197 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1199 * src/hildon-entry.c (hildon_entry_refresh_contents),
1200 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1201 widget name, set the logical color directly instead and a boolean
1202 showing_placeholder instead.
1203 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1204 use the widget name here either.
1206 Fixes: NB#105678 (HildonTextView should use logical colours
1207 instead of setting widget name)
1209 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1211 Patch by Daniel Elster (danielk@openismus.com)
1213 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1214 Add user_data parameter.
1215 (hildon_touch_selector_set_print_func_full): New function akin
1216 hildon_touch_selector_set_print_func() but with support for user
1217 data and a destroy callback.
1218 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1219 to clean up the print function user data.
1220 (hildon_touch_selector_class_init): Install dispose function.
1221 (HildonTouchSelectorPrivate::print_user_data),
1222 (HildonTouchSelectorPrivate::print_destroy_func): New private
1224 (hildon_touch_selector_init): Initialize new private members.
1225 (hildon_touch_selector_get_current_text): Pass along user data
1226 to the print function.
1227 (_default_print_func): Add dummy user_data to parameter list.
1228 * hildon-date-selector.c (_custom_print_func): ditto,
1229 * hildon-time-selector.c (_custom_print_func): ditto,
1230 * hildon-touch-selector-entry.c
1231 (hildon_touch_selector_entry_print_func): ditto.
1233 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1235 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1237 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1239 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1241 * src/hildon-pannable-area.c,
1242 (hildon_pannable_area_init),
1243 (hildon_pannable_area_button_press_cb),
1244 (hildon_pannable_area_motion_notify_cb): We have added code to
1245 handle the leave and enter events when using the motion events.
1247 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1249 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1251 * src/hildon-date-button.c (hildon_date_button_get_date)
1252 (hildon_date_button_set_date): Make sure that the button has a
1255 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1257 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1259 * src/hildon-pannable-area.c,
1260 (hildon_pannable_area_class_init),
1261 (hildon_pannable_area_calculate_velocity): Modify the use of the
1262 force and adapt the value.
1264 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1266 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1267 (hildon_app_menu_class_init): Hide the menu if it receives a
1268 delete-event, but don't destroy it
1270 Fixes: NB#104485 (Not able to address the call when application
1271 menu is opened at background)
1273 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1275 * src/hildon-app-menu.c
1276 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1277 Remove the "external-border" style property, let the menu take its
1278 natural size (or the one set by the window manager)
1279 (hildon_app_menu_repack_items):
1280 Don't reshow the menu, avoid flickers.
1282 Partially fixes NB#94957 (Smoothly opened application menu)
1284 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1289 * configure.ac: Bump version.
1290 * debian/changelog: Updates.
1292 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1294 * src/hildon-pannable-area.c,
1295 (hildon_pannable_area_motion_notify_cb): We control that the
1296 direction error margin is used just in case the movement is
1297 allowed in the other direction.
1299 Fixes: NB#105012 (buttons inside a pannable area not getting
1300 release event when dragging/releasing)
1302 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1304 * src/hildon-pannable-area.c,
1305 (hildon_pannable_area_class_init),
1306 (hildon_pannable_area_get_property),
1307 (hildon_pannable_area_set_property),
1308 (hildon_pannable_area_initial_effect),
1309 (hildon_pannable_axis_scroll),
1310 (hildon_pannable_area_button_release_cb): Reviewed the
1311 overshooting effect, now it has its own max
1312 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1313 speed when bouncing.
1315 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1320 * configure.ac: Bump version.
1321 * debian/changelog: Updates.
1323 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1325 * src/hildon-pannable-area.c,
1326 (hildon_pannable_area_class_init): Changed the max speed, now
1327 users can launch the widget very fast. Reduced the default force,
1328 that way it is easier to control the launch speed.
1330 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1332 * src/hildon-pannable-area.c,
1333 (hildon_pannable_area_button_release_cb): Removed this check
1334 because it causes problems when the device is overloaded.
1336 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1338 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1339 add a current_text field to store the text entered in the
1340 touch selector entry.
1341 (_clean_current_selection): clean up the current text as well.
1342 (_save_current_selection), (_restore_current_selection):
1343 Save/restore the text in the entry if the selector is a
1344 HildonTouchSelectorEntry.
1346 Fixes: NB#102541 (value entered in the touch selector entry is not
1347 shown when opened for second time)
1349 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1351 * doc/hildon-sections.txt:
1352 * src/hildon-touch-selector-entry.c
1353 (+hildon_touch_selector_entry_get_entry):
1354 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1356 Fixes: NB#104815 (I need accessor to the entry inside
1357 HildonTouchSelectorEntry)
1359 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1361 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1362 (hildon_app_menu_class_init):
1363 New "filter-vertical-spacing" style property.
1365 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1367 * src/hildon-find-toolbar.c
1368 (hildon_find_toolbar_emit_close)
1369 (hildon_find_toolbar_emit_invalid_input)
1370 (hildon_find_toolbar_entry_activate):
1371 Use g_signal_emit() instead of g_signal_emit_by_name()
1373 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1375 Patch by Mox Soini (ext-mox.soini@nokia.com)
1377 * tests/TEST-CASES.txt
1378 * tests/check-hildon-banner.c
1379 * tests/check-hildon-note.c
1380 * src/hildon-banner.c
1381 * src/hildon-code-dialog.c
1382 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1383 * src/hildon-time-editor.c
1384 * examples/hildon-lookup-example.c (main):
1385 Replace obsolete icon names with new ones.
1387 * src/hildon-find-toolbar-private.h:
1388 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1389 (-hildon_find_toolbar_emit_search):
1390 Remove find button and change icon of close button.
1392 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1394 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1396 * src/hildon-time-button.c (hildon_time_button_new_step):
1397 Use the "touch-selector" property to set the selector directly
1398 when creating the object.
1400 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1402 Added a new example application that allows tuning the pannable
1403 area and replaced defines with properties in order to simplify the
1404 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1405 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1406 PROP_DIRECTION_ERROR_MARGIN.
1408 * examples/hildon-pannable-area-tuning-example.c: New example
1410 * src/hildon-pannable-area.c,
1411 (hildon_pannable_area_class_init),
1412 (hildon_pannable_area_init),
1413 (hildon_pannable_area_get_property),
1414 (hildon_pannable_area_set_property),
1415 (hildon_pannable_area_launch_fade_timeout),
1416 (hildon_pannable_area_adjust_value_changed),
1417 (hildon_pannable_axis_scroll),
1418 (hildon_pannable_area_motion_notify_cb),
1419 (hildon_pannable_area_scroll_cb),
1420 (hildon_pannable_area_button_release_cb): We have converted some
1421 of the defines that control the widget to properties to simplify
1424 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1426 * src/hildon-app-menu.c (hildon_app_menu_map)
1427 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1428 so it's closed if a new window appears.
1430 Fixes: NB#104485 (Not able to address the call when application
1431 menu is opened at background)
1433 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1435 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1436 missing 'break' statement in in 'case' construct to avoid
1439 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1441 * src/hildon-touch-selector-entry.c
1442 (hildon_touch_selector_entry_get_property),
1443 (hildon_touch_selector_entry_set_property): Add missing 'break'
1444 statements in in 'case' constructs to avoid incorrect warnings.
1446 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1448 * src/hildon-time-editor.c
1449 (hildon_time_editor_get_time_separators): Do not crash if
1450 the first label is NULL.
1452 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1454 * src/hildon-date-selector.c (_month_days): Check for month to be
1455 strictly less than 12, since otherwise we may overrun the array.
1457 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1459 * src/hildon-date-button.c (+hildon_date_button_new_full)
1460 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1461 (hildon_date_button_init): Set the date selector using a
1462 construction property, to make it happen after HildonButton's
1463 "value" property is set.
1465 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1466 current date by default)
1468 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1470 * doc/hildon-sections.txt
1471 * src/hildon-program.c
1472 * src/hildon-stackable-window.c
1473 * src/hildon-window.c:
1474 Documentation updates
1476 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1478 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1479 (hildon_window_stack_new, +hildon_window_stack_set_property)
1480 (+hildon_window_stack_get_property)
1481 (hildon_window_stack_class_init)
1482 (+hildon_window_stack_set_window_group)
1483 (+hildon_window_stack_get_window_group):
1484 Make the window group a construction property.
1486 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1488 * doc/hildon-sections.txt
1489 * src/hildon-stackable-window-private.h
1490 * src/hildon-stackable-window.h
1491 * src/hildon-stackable-window.c
1492 (-hildon_stackable_window_set_app_menu)
1493 (-hildon_stackable_window_get_app_menu)
1494 (-hildon_stackable_window_toggle_menu)
1495 (-hildon_stackable_window_finalize)
1496 (hildon_stackable_window_class_init)
1497 (hildon_stackable_window_init)
1498 * src/hildon-window-private.h
1499 * src/hildon-window.h
1500 * src/hildon-window.c (hildon_window_init)
1501 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1502 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1503 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1504 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1505 Moved all HildonAppMenu code to HildonWindow. The menu does not
1506 require a HildonStackableWindow anymore.
1508 * src/hildon-app-menu.c
1509 * src/hildon-program.c
1510 * examples/hildon-app-menu-example.c (main):
1511 Update examples and documentation to reflect HildonAppMenu
1514 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1516 * src/hildon-remote-texture.c
1517 * src/hildon-animation-actor.c:
1518 Don't include unused private headers.
1520 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1522 * src/hildon-program-private.h
1523 * src/hildon-program.c
1524 (hildon_program_set_common_menu)
1525 (hildon_program_get_common_menu)
1526 (hildon_program_set_common_app_menu)
1527 (hildon_program_get_common_app_menu):
1528 Change common menu pointers from GtkWidget* to GtkMenu* and
1529 HildonAppMenu* to avoid unnecessary casts.
1531 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1533 * src/hildon-window.c (hildon_window_set_main_menu):
1534 Removed incorrect 'Since:' tag
1536 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1538 * src/hildon-pannable-area.c,
1539 (hildon_pannable_area_calculate_velocity): We use now the
1540 RATIO_TOLERANCE here to check the distance, fixed typo in the
1542 (hildon_pannable_area_motion_notify_cb): We have to set the type
1543 and time even if we are not sending the motion.
1545 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1547 * doc/hildon-sections.txt
1548 * src/hildon-app-menu.h
1549 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1550 (+hildon_app_menu_get_filters): New methods to get the contents of
1553 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1556 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1558 * src/hildon-app-menu.c (hildon_app_menu_popup):
1561 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1563 * src/hildon-window.h
1564 * src/hildon-window.c (+hildon_window_get_main_menu)
1565 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1566 and deprecated hildon_window_get_menu().
1568 * src/hildon-stackable-window.h
1569 * src/hildon-stackable-window.c
1570 (+hildon_stackable_window_set_app_menu)
1571 (+hildon_stackable_window_get_app_menu)
1572 (hildon_stackable_window_set_main_menu): Created
1573 hildon_stackable_window_{get,set}_app_menu() and deprecated
1574 hildon_stackable_window_set_main_menu().
1576 * doc/hildon-sections.txt
1577 * examples/hildon-app-menu-example.c (main)
1578 * src/hildon-app-menu.c
1579 * src/hildon-program.c:
1580 Updated examples and documentation.
1582 Fixes: NB#103758 (No way to obtain a menu from a
1583 HildonStackableWindow)
1585 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1590 * configure.ac: Bump version.
1591 * debian/changelog: Updates.
1593 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1595 * examples/hildon-remote-texture-example.c: Include
1596 hildon-remote-texture.h explicitely.
1597 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1598 applications not defining _XOPEN_SOURCE which don't require this header.
1600 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1602 * doc/hildon-sections.txt
1603 * src/hildon-app-menu.h
1604 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1605 New function to pop up a HildonAppMenu
1607 * src/hildon-stackable-window.c
1608 (hildon_stackable_window_toggle_menu):
1609 Use hildon_app_menu_popup() to show the menu.
1611 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1613 * src/hildon-app-menu.c (hildon_app_menu_show)
1614 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1615 menu if there's another window between it and its parent window.
1617 Fixes: NB#100468 (Application menu window is launched even when a
1618 new secondary-window/dialog is pending to be shown/realized)
1620 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1622 * src/hildon-window-stack.c (hildon_window_stack_push)
1623 (hildon_window_stack_pop_and_push):
1624 Don't forget to push/pop the first window.
1625 Reverse the window list before calling _push_list()
1627 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1629 * src/hildon-picker-button.h
1630 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1631 Remove "value_changed" slot to avoid ABI breakage
1633 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1635 * src/hildon-pannable-area.c,
1636 (hildon_pannable_area_realize),
1637 (hildon_pannable_area_unrealize),
1638 (hildon_pannable_draw_vscroll),
1639 (hildon_pannable_draw_hscroll): Changed the method to handle the
1640 GC used to draw the transparent scrollbar, this way we avoid
1641 creating the GC all the time when drawing the scrollbars.
1643 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1645 * src/hildon-pannable-area.c,
1646 (hildon_pannable_area_init),
1647 (hildon_pannable_area_remove): Removed some unnecessary casts.
1648 (hildon_pannable_area_dispose): Disconnected some signals before
1649 releasing the adjustments.
1651 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1653 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1654 Make sure that all widgets contained in the toolbar are shown.
1656 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1658 * doc/hildon-sections.txt
1659 * src/hildon-picker-button.h
1660 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1661 (_selection_changed, hildon_picker_button_on_dialog_response)
1662 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1663 New hildon_picker_button_value_changed() method.
1666 * src/hildon-picker-button-private.h
1667 * src/hildon-picker-button.c (hildon_picker_button_init)
1668 (+hildon_picker_button_disable_value_changed): Add protected
1669 function for disabling the "value-changed" signal.
1671 * src/hildon-date-button.c (hildon_date_button_set_date):
1672 Don't emit "value-changed" for each one of the three columns.
1674 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1675 before actual change of values)
1677 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1679 * src/hildon-pannable-area.c,
1680 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1681 for the treeview overshooting.
1683 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1685 * src/hildon-banner.c (+hildon_banner_bind_style):
1686 Renamed from hildon_banner_bind_label_style(), now naming the
1687 banner itself as well.
1688 (hildon_banner_show_information),
1689 (hildon_banner_show_information_with_markup),
1690 (hildon_banner_show_animation), (hildon_banner_show_progress):
1691 Name the widgets and labels, based on their type.
1693 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1696 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1698 * src/hildon-note.c (hildon_note_set_property): call
1699 hildon_note_rename() on HildonNote:note-type set.
1700 (hildon_note_rename): Name the note and its label, based on the
1701 HildonNote:note-type property.
1703 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1706 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1708 * src/hildon-pannable-area.c,
1709 (hildon_pannable_area_class_init),
1710 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1711 panning parameters, increased SPS and deceleration factor. Added
1712 also a margin to control fake directions.
1714 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1716 Patch by Sven Herzberg (sven@imendio.com)
1718 * configure.ac: Add missing AM_PROG_CC_C_0
1719 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1721 See NB#101420 (Update unit tests and fix make check)
1723 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1725 This patch was applied before but reverted because it caused
1726 problems, we have changed the main condition and tested the
1727 regressions we detected before and they work ok. We have done a
1728 complete review of the topmost algorithm in order to get a more
1731 * src/hildon-pannable-area.c,
1732 (hildon_pannable_area_get_topmost): Added a new parameter to
1733 filter the the windows that do not include those events.
1734 (hildon_pannable_area_button_press_cb),
1735 (hildon_pannable_area_button_release_cb),
1736 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1737 topmost function, we have added the new parameter.
1739 Fixes: NB#97458 (Pannable area prevents propagation of button
1742 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1744 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1745 if all columns in the selector have an item selected.
1746 (_on_dialog_response): Stop "response" signal emission if there is
1747 any selector column without selected items.
1749 Fixes: NB#101889 (Picker dialog should not close when nothing is
1750 selected in multiple selection list)
1752 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1754 * src/hildon-font-selection-dialog.c
1755 (hildon_font_selection_dialog_class_init),
1756 (hildon_font_selection_dialog_init): Remove the preview
1757 button and dialog, since previewing with default theming is likely
1758 to be overcomplicated. The :preview property has now no effect.
1759 Update documentation blurbs to inform about this.
1761 Fixes: NB#92297 (Preview content is not clearly visible for
1762 default colour text)
1764 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1766 Reviewed the geometry that handles the children size and
1767 scrollbar, now it tries a size and reviews the results depending
1768 on the scrollbars visibility.
1770 * src/hildon-pannable-area.c,
1771 (hildon_pannable_area_realize): Fixed a typo.
1772 (hildon_pannable_area_child_allocate_calculate): Added this
1773 function to calculate the child allocation.
1774 (hildon_pannable_area_size_allocate): Reviewed the allocation
1776 (hildon_pannable_area_check_scrollbars),
1777 (hildon_pannable_area_refresh): Refactored refresh function, this
1778 way we can call the code handling the scrollbars without causing a
1779 size_request, it is interesting in the allocate.
1780 (hildon_pannable_area_init): Replace the callbacks of the
1781 value_changed and changed signals to propertly deal with the
1783 (hildon_pannable_area_grab_notify),
1784 (hildon_pannable_area_initial_effect),
1785 (hildon_pannable_area_launch_fade_timeout),
1786 (hildon_pannable_area_adjust_changed),
1787 (hildon_pannable_area_adjust_value_changed),
1788 (hildon_pannable_area_redraw),
1789 (hildon_pannable_area_button_press_cb),
1790 (hildon_pannable_area_button_release_cb),
1791 (hildon_pannable_area_scroll_cb),
1792 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1793 code and use the new functions adjust_changed and
1794 adjust_value_changed.
1796 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1797 Contact editor dialog)
1799 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1804 * configure.ac: Bump version.
1805 * debian/changelog: Updates.
1807 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1809 * src/hildon-pannable-area.c,
1810 (hildon_pannable_area_get_topmost),
1811 (hildon_pannable_area_button_press_cb),
1812 (hildon_pannable_area_button_release_cb),
1813 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1814 topmost function adding the event mask. We have to try a
1815 differente approach because it is still causing problems (NB#9745,
1818 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1820 * src/hildon-banner.c:
1821 Update the maximum width of timed banners.
1822 (force_to_wrap_truncated): Enforce the maximum text width if the
1825 Fixes: NB#102413 (The text margins (wrapping) in information
1826 banner should be HILDON_MARGIN_TRIPLE)
1828 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1830 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1832 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1833 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1834 bound when calculating the scroll indicator position.
1836 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1837 treat ->lower correctly)
1839 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1841 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1842 expose event handling, since it is not necessary to draw the focus
1845 Fixes: NB#102467 (Do not show highlight on the text in
1848 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1850 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1851 full height of the toolbar for the button and the label.
1853 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1855 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1856 padding before the label and after the button.
1858 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1860 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1862 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1863 Add a GtkVSeparator between the button and the back arrow.
1864 Let the button have automatic size.
1865 Set a name to the widget for theming handling.
1867 Fixes: NB#101793 (Make edit toolbar the same height as window
1868 title bar (use title area theming))
1870 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1872 * src/hildon-helper.c (attach_new_color_element): Fix memory
1875 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1877 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1879 * examples/hildon-button-example.c (common_buttons_window): Don't
1882 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1884 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1885 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1887 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1889 * src/hildon-gtk.c: Check that the window is realized.
1891 Fixes: NB#102225 (Crash setting the progress indicator to a non
1894 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1896 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1897 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1898 instead of modifying the one in the widget style.
1900 Fixes: NB#101043 (Second row of all the command button are
1901 displayed in transparent mode.)
1903 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1905 * src/hildon-date-button.c
1906 * src/hildon-time-button.c: Add gettext macros
1908 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1910 * src/hildon-date-button.c (hildon_date_button_new):
1911 * src/hildon-time-button.c (hildon_time_button_new_step):
1912 Use new logical strings to set the button default title.
1914 Fixes: NB#99915 (Date and Time options are not localised in Date
1917 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1919 * src/hildon-pannable-area.c
1920 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1921 the PANNING_THRESHOLD.
1923 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1925 * src/hildon-pannable-area.c,
1926 (hildon_pannable_area_class_init): Increased the maximum speed.
1927 (hildon_pannable_area_get_property),
1928 (hildon_pannable_area_set_property),
1929 (hildon_pannable_area_timeout): Added a new low friction mode, it
1930 allows the user avoid friction when launching the widget fast
1931 enough. It is interesting to traverse long lists.
1933 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1935 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1936 (+hildon_stackable_window_delete_event): Ignore delete events if
1937 the window is not the topmost one.
1939 Fixes: NB#101698 (Back button long press and delete-event handling)
1941 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1943 * src/hildon-pannable-area.c,
1944 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1945 gtk-dnd-drag-threshold, it was too big. We have defined our own
1946 dnd define and set a smaller value: PANNIG_THRESHOLD.
1948 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1950 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1951 user-defined icons, use always the default one.
1953 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1955 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1957 This patch was applied before but reverted because it caused
1958 problems, we have changed the main condition and tested the
1959 regressions we detected before and they work ok.
1961 * src/hildon-pannable-area.c,
1962 (hildon_pannable_area_get_topmost): Added a new parameter to
1963 filter the the windows that do not include those events. Added
1964 also a condition when finding the window to filter windows that do
1965 not ask for those events.
1966 (hildon_pannable_area_button_press_cb),
1967 (hildon_pannable_area_button_release_cb),
1968 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1969 topmost function, we have added the new parameter.
1971 Fixes: NB#97458 (Pannable area prevents propagation of button
1974 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1976 * tests/check-hildon-color-button.c (START_TEST): do not leak
1979 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1981 * src/hildon-font-selection-dialog.c
1982 (hildon_font_selection_dialog_get_preview_text): Return NULL
1983 instead of FALSE on the g_return_val_if_fail().
1985 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1987 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1988 * src/hildon-date-selector.c
1989 (hildon_date_selector_select_current_date):
1990 Do not compare unsigned integers to be greater than or equal 0,
1991 because it's always TRUE.
1993 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1995 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1996 (hildon_date_selector_constructor): Do not select the current
1997 date until we are handle the "changed" signal, to avoid having bogus
1998 elements in the days model.
2000 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2002 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2003 for num_days, since _month_days() can return a negative value.
2005 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2007 * src/hildon-caption.c (hildon_caption_size_allocate):
2008 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2009 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2011 Initialize allocation variables to 0, to avoid eventually using
2012 unitialized variables.
2014 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2016 * src/hildon-bread-crumb-trail.c
2017 (hildon_bread_crumb_trail_size_allocate):
2018 * src/hildon-calendar.c (hildon_calendar_set_background):
2019 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2020 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2021 * src/hildon-seekbar.c (hildon_seekbar_init):
2022 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2023 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2024 * src/hildon-touch-selector-entry.c
2025 (hildon_touch_selector_get_text_from_model):
2026 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2027 * src/hildon-window.c (hildon_window_finalize):
2029 Remove many unused variables.
2031 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2033 * src/hildon-seekbar.c: (hildon_seekbar_init),
2034 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2036 Remove unnecessary g_assert() calls.
2038 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2040 * src/hildon-caption.c: (hildon_caption_expose),
2041 (hildon_caption_set_property), (hildon_caption_init),
2042 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2043 (hildon_caption_size_request), (hildon_caption_size_allocate),
2044 (hildon_caption_forall), (hildon_caption_set_separator),
2045 (hildon_caption_activate), (hildon_caption_set_child_expand),
2046 (hildon_caption_set_label_text),
2047 (hildon_caption_get_label_alignment):
2049 Remove unnecessary g_assert() calls.
2051 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2053 * src/hildon-banner.c
2054 (hildon_banner_map, hildon_banner_init): Make banner temporary
2055 before mapping it to avoid closing other temporary windows, but
2056 make it non-temporary afterwards to avoid being closed by other
2057 non-temporary windows.
2058 (-hildon_banner_client_event, hildon_banner_init):
2059 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2061 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2064 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2066 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2069 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2071 * src/hildon-remote-texture.c
2072 * src/hildon-remote-texture.h
2073 * src/hildon-remote-texture-private.h
2074 * examples/hildon-remote-texture-example.c:
2075 Updates/fixes to remote-texture and its example.
2077 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2079 Patch by Mox Soini (ext-mox.soini@nokia.com)
2081 * src/hildon-code-dialog.c: Update logical id.
2082 * src/hildon-set-password-dialog.c: Update logical id.
2084 Fixes: NB#100646 (Logical strings is shown for ok in set
2085 password,Password needed dialogs)
2087 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2090 * src/hildon-remote-texture.c
2091 * src/hildon-remote-texture.h
2092 * src/hildon-remote-texture-private.h
2094 Added remote texture widget (for Clutter shared memory textures)
2096 * examples/hildon-remote-texture-example.c
2097 * examples/Makefile.am
2098 Added example file for remote texture usage
2100 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2102 * configure.ac: post release version bump.
2103 * debian/changelog: version bump.
2105 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2110 * configure.ac: Bump version.
2111 * debian/changelog: Updates.
2113 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2115 * src/hildon-date-selector.c (hildon_date_selector_init)
2116 (hildon_date_selector_constructor): Don't connect to the "changed"
2117 signal until the selector is completely constructed.
2119 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2121 * src/hildon-touch-selector.c: (_create_new_column),
2122 (hildon_touch_selector_append_column),
2123 (hildon_touch_selector_set_column_selection_mode),
2124 (hildon_touch_selector_set_active),
2125 (hildon_touch_selector_select_iter):
2126 Emit the HildonTouchSelector::changed signal every time selection
2127 is changed in any of the methods above. This behavior was already
2128 documented but not fully functional.
2130 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2131 selection is programmatically changed)
2133 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2135 * doc/hildon-sections.txt: Remove obsolete icon
2136 sizes from here as well.
2138 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2140 * examples/hildon-stackable-window-example.c (add_window): Remove
2143 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2145 * src/hildon-app-menu.c
2146 (hildon_app_menu_show): Check whether the parent window of a menu
2147 is topmost before popping it up.
2149 Fixes: NB#100468 (Application menu window is launched even when a
2150 new secondary-window/dialog is pending to be shown/realized.)
2152 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2154 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2157 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2159 Patch by Mox Soini (ext-mox.soini@nokia.com)
2161 * src/hildon-banner.c: (hildon_banner_show_animation):
2162 use stylus size instead of obsolete note size.
2163 * src/hildon-defines.h: Update icon sizes.
2165 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2167 * src/hildon-touch-selector-entry.c:
2168 (hildon_touch_selector_entry_init): Disable unsupported
2170 (hildon_touch_selector_entry_get_text_column): Emit a warning
2171 if an unsupported input modes is used and explicitile state
2172 these modes in the documentation.
2174 Fixes: NB#99802 (Hildon touch selector entry not working properly
2175 for some of the input modes)
2177 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2179 * src/hildon-pannable-area.c,
2180 (hildon_pannable_area_init): Added the changed signal handlers of
2183 Fixes: NB#100320 (HildonPannableArea does not listen to
2184 GtkAdjustment "change" signals)
2186 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2188 * doc/hildon-sections.txt
2189 * src/hildon-window-private.h
2190 * src/hildon-window.h
2191 * src/hildon-window.c (hildon_window_init)
2192 (hildon_window_realize, hildon_window_unrealize)
2193 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2194 (hildon_window_size_request, hildon_window_size_allocate)
2195 (hildon_window_forall, hildon_window_show_all)
2196 (hildon_window_destroy, +paint_edit_toolbar)
2197 (+hildon_window_set_edit_toolbar):
2198 New hildon_window_set_edit_toolbar() method, to add a
2199 HildonEditToolbar to a window without having to pack it manually.
2201 Reorganize hildon_window_size_allocate()
2203 * src/hildon-edit-toolbar.c: Update documentation.
2205 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2206 example to use the new API.
2208 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2210 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2212 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2213 Remove from stack before calling parent's hide.
2215 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2217 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2218 window is removed from the middle of the stack, update the
2219 transiency of the previous one.
2221 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2224 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2226 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2227 block/unblock the signal handler if it's not actually being used.
2228 Fixes some critical warnings.
2230 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2232 Based on a patch by Iván Gómez (igomez@igalia.com)
2234 * src/hildon-banner.c
2238 * src/hildon-pannable-area.c
2239 * src/hildon-picker-dialog.c
2240 * src/hildon-wizard-dialog.h
2241 * src/hildon-wizard-dialog.c: Documentation updates.
2243 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2244 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2246 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2248 * configure.ac: post release version bump.
2249 * debian/changelog: version bump.
2251 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2256 * configure.ac: Bump version.
2257 * debian/changelog: Updates.
2259 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2261 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2262 a stock icon nor change the relief of the back arrow.
2264 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2265 graphics from theme)
2267 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2269 * src/hildon-button.c (hildon_button_set_alignment): Use
2270 priv->alignment if the button has no child yet.
2272 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2274 * src/hildon-button.c: (hildon_button_init): Set the
2275 button style during initialization to give it the proper
2278 Fixes: NB#99713 (HildonButton value label color is wrong)
2280 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2282 * src/hildon-touch-selector.c: Document
2283 hildon_touch_selector_center_on_selected()
2285 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2287 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2288 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2289 all menu items, but not the menu itself.
2290 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2291 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2292 items after adding them to the menu so keyboard accelerators work.
2293 (hildon_app_menu_show): Don't show the menu if it contains items
2294 but none of them are visible.
2296 * examples/hildon-app-menu-example.c (create_menu): Use
2297 gtk_widget_show_all() to show all menu items.
2299 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2301 * src/hildon-picker-dialog.c:
2302 (-_update_title_on_selector_changed_cb),
2303 (-_dialog_update_title): Removed.
2304 (_select_on_selector_changed_cb), (_on_dialog_response),
2305 (on_selector_columns_changed): Do not update the dialog title.
2306 (setup_interaction_mode): Do not connect to
2307 HildonTouchSelector::changed signal if there's a "done" button, as
2308 the dialog title doesn't need to be updated.
2310 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2313 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2315 Patch by Kristian Rietveld (kris@imendio.com)
2317 * src/hildon-touch-selector.c: (_create_new_column): Use new
2318 GtkTreeView::hildon-row-tapped signal to react to user interactions
2319 instead of ::changed.
2321 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2322 with some dynamic tree model)
2324 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2326 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2327 (+screen_size_changed, +label_size_request)
2328 (hildon_note_class_init): Make the Hildon information note have a
2329 minimum height, and make its text hvae a maximum width.
2331 Fixes: NB#98614 (Hildon information note (background) should have
2332 minimum height and maximum text width)
2334 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2336 * src/hildon-banner.h
2337 * src/hildon-banner.c (hildon_banner_show_information)
2338 (hildon_banner_show_informationf)
2339 (hildon_banner_show_information_with_markup): Update documentation
2340 to reflect that the icon_name parameter is not used anymore.
2341 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2342 Remove all code from these functions and mark them as deprecated.
2343 (hildon_banner_show_progress): Mark as deprecated.
2345 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2347 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2349 * src/hildon-pannable-area.c,
2350 (hildon_pannable_area_class_init),
2351 (tranparency_color),
2352 (hildon_pannable_draw_vscroll),
2353 (hildon_pannable_draw_hscroll),
2354 (hildon_pannable_area_expose_event): Added a new way to render the
2355 scrollbars of the pannable area avoiding using cairo at all. This
2356 way we improve the performance of the pannable area rendering. The
2357 cairo rendering procedure is still in the code, we can control
2358 which one to use changing the value of the define
2359 USE_CAIRO_SCROLLBARS.
2361 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2363 * configure.ac: post release version bump.
2364 * debian/changelog: version bump.
2366 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2371 * configure.ac: Bump version.
2372 * debian/changelog: Updates.
2374 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2376 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2377 banners instead of destroying them when they receive a button
2380 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2382 Reverted commit 34028, it was causing regressions, probably the
2383 topmost condition is not correct, we have to check it in more
2384 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2385 propagation of button press events)
2387 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2389 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2390 that the selection is not empty before attempting to retrieve the
2391 current ampm selection.
2393 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2395 * src/hildon-picker-button.c:
2396 (hildon_picker_button_on_dialog_response): Directly update the
2397 button contents when required instead of calling _selection_changed.
2399 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2401 * src/hildon-program.c (hildon_program_update_top_most): Update
2402 'is-topmost' property also when wm_hints is not set.
2404 Fixes: NB#98383 (is-topmost signal is not emitted when task
2405 switcher is clicked.)
2407 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2409 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2413 * src/hildon-animation-actor.c,
2414 * src/hildon-animation-actor.h: Added the animation actor class,
2415 this widget represents an animation actor for WM-assisted
2416 animation effects in the Hildon framework.
2418 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2420 * src/hildon-window-stack-private.h
2421 * src/hildon-window-stack.c
2422 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2423 Avoid calling gtk_widget_show() again indirectly from
2424 hildon_stackable_window_show()
2426 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2428 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2431 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2433 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2434 (hildon_time_selector_init): Move the construction of the hours and
2435 ampm columns to the constructor to preserve the order the columns
2438 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2440 * src/hildon-picker-dialog.c:
2441 (hildon_picker_dialog_class_init): Connect a realize method.
2442 (+hildon_picker_dialog_realize): Setup the interaction mode here
2444 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2445 yet, do it during the realize instead.
2446 (_on_dialog_response):
2447 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2448 if the widget is not realized, to avoid the dialog response before it
2451 Avoid premature responses in the HildonPickerDialog that can cause it
2452 to be hidden before it's even shown.
2454 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2456 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2457 (on_selector_columns_changed), (requires_done_button),
2458 (+prepare_action_area), (setup_interaction_mode),
2459 (_hildon_picker_dialog_set_selector):
2461 Split the interaction mode setup into preparation of the
2462 action area (prepare_action_area()) and the connection of
2463 the signals in setup_interaction_mode() and update the code to
2466 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2468 * src/hildon-pannable-area.c,
2469 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2470 per second to 15, we will check if this is ok regarding
2473 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2475 * src/hildon-pannable-area.c,
2476 (hildon_pannable_axis_scroll): Avoid resize if we already have
2477 reached overshoot_max.
2479 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2481 * src/hildon-pannable-area.c,
2482 (hildon_pannable_area_init),
2483 (hildon_pannable_area_realize),
2484 (hildon_pannable_area_size_allocate),
2485 (hildon_pannable_area_map),
2486 (hildon_pannable_area_unmap),
2487 (hildon_pannable_draw_vscroll),
2488 (hildon_pannable_draw_hscroll),
2489 (hildon_pannable_area_expose_event),
2490 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2491 pannable are to avoid the expose events go to the window and
2492 redraw the window. We save this way that part of the stack and the
2493 paint_boxes. We had to change the positions of the elements when
2496 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2498 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2499 * src/hildon-color-chooser-dialog.c:
2500 (hildon_color_chooser_dialog_init):
2501 * src/hildon-font-selection-dialog.c:
2502 (hildon_font_selection_dialog_init),
2503 (hildon_font_selection_dialog_show_preview):
2504 * src/hildon-get-password-dialog.c:
2505 * src/hildon-login-dialog.c:
2506 * src/hildon-set-password-dialog.c:
2507 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2508 * src/hildon-time-picker.c: (hildon_time_picker_init):
2510 Remove obsolete logical string IDs and update to the appropriate ones.
2512 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2514 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2516 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2517 that happens if the window hasn't been realized yet.
2519 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2520 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2522 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2524 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2525 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2528 Fixes: NB#98537 (Device hangs in account settings dialog)
2530 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2532 * configure.ac: post release version bump.
2533 * debian/changelog: version bump
2535 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2540 * configure.ac: Bump version.
2541 * debian/changelog: Updates.
2543 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2545 Added a new function to the HildonTimeButton widget that allows to
2546 change the step of the minutes in the selector associated with the
2547 button: hildon_time_button_new_step
2549 * src/hildon-time-button.c,
2550 (hildon_time_button_init),
2551 (hildon_time_button_new),
2552 (hildon_time_button_new_step):
2553 * src/hildon-time-button.h: Added the new function and refactored
2555 * examples/hildon-time-button-example.c,
2556 (main): We have replaced the function without parameters with the
2557 function with the steps set to 5
2559 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2561 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2563 * src/hildon-time-selector.c,
2564 (hildon_time_selector_class_init),
2565 (hildon_time_selector_constructor),
2566 (hildon_time_selector_get_property),
2567 (hildon_time_selector_set_property),
2568 (_create_minutes_model),
2569 (hildon_time_selector_new_step),
2570 (hildon_time_selector_set_time),
2571 * src/hildon-time-selector.h: Added a new property to the
2572 HildonTimeSelector (minutes-step), we use that property to control
2573 the steps between the minutes in the list of the selector. We have
2574 added a new function to the API to create a widget changing the
2575 step: hildon_time_selector_new_step.
2577 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2579 * src/hildon-time-selector.c,
2580 (hildon_time_selector_class_init),
2581 (hildon_time_selector_constructor),
2582 (hildon_time_selector_init): Overrided the construct function when
2583 creating the time selector object. We have moved the minutes model
2584 handling code from the init to the new construction function:
2585 hildon_time_selector_constructor.
2587 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2589 * examples/hildon-date-button-example.c: (main): Use the new
2590 hildon_date_button_new_with_year_range() method in the example.
2591 * src/hildon-date-button.c:
2592 (+hildon_date_button_new_with_year_range): New public method
2593 to conveniently create a HildonDateButton with a custom year range
2594 in its HildonDateSelector.
2595 * src/hildon-date-button.h: Add the new public method definition.
2597 Fixes: NB#97908 (Not possible to change the year range in
2598 HildonDateSelector/HildonDateButton)
2600 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2602 * src/hildon-date-selector.c:
2603 (+hildon_date_selector_set_property),
2604 (+hildon_date_selector_get_property),
2605 (hildon_date_selector_class_init): Install new properties "min-year"
2606 and "max-year" to define boundaries for the year column.
2607 (_create_year_model): Use the boundary properties to populate the model.
2608 (+hildon_date_selector_new_with_year_range): New public method to
2609 create a HildonDateSelector with a user defined year range.
2610 (hildon_date_selector_select_current_date): Use the new boundaries to
2611 calculate the iterator of current year.
2612 * src/hildon-date-selector.h: Add the new public method definition.
2614 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2616 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2617 Install a constructor method.
2618 (+hildon_date_selector_construct_ui): construct the widget.
2619 (+hildon_date_selector_constructor): new constructor.
2620 (+hildon_date_selector_init): move out widget construction code to
2621 the new constructor.
2623 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2625 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2626 that there's actually a month or year selected before obtaining them.
2627 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2628 of the HildonTouchSelector::changed signal, as it was emitted on every
2629 single item selection.
2631 Fix some warnings and possible crashers due to the selection restoring.
2633 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2635 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2636 the signal handlers only after creating the dialog instead of on every
2639 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2641 * src/hildon-button.c (hildon_button_init)
2642 * src/hildon-check-button.c (hildon_check_button_init)
2643 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2644 focus when clicked by default.
2646 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2648 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2651 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2653 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2654 Alejandro G. Castro (alex@igalia.com)
2656 * src/hildon-picker-dialog.c:
2657 (hildon_picker_dialog_class_init): install new "center-on-show"
2659 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2660 (hildon_picker_dialog_set_property): add setter code for the new
2662 (hildon_picker_dialog_get_property): add getter code for the new
2664 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2665 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2668 Fixes: NB#92849 (Selected item is not always visible when
2669 HildonTouchSelector is shown)
2671 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2673 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2674 Alejandro G. Castro (alex@igalia.com)
2676 * src/hildon-touch-selector.c:
2677 (_create_new_column): Do not connect to the "realize" signal of the
2679 (hildon_touch_selector_append_column): center on the selected items
2680 when a new column is appended.
2681 (hildon_touch_selector_select_iter): Factor out the code to select a
2682 column to hildon_touch_selector_scroll_to().
2683 (+search_nearest_element): Method to retrieve the nearest selected
2684 element to the visible area of the pannable area in a column.
2685 (+on_realize_cb): scroll to the initially selected item.
2686 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2687 the pannable area is realized, otherwise delay this until it is.
2688 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2689 selected items of a given column.
2690 (+hildon_touch_selector_center_on_selected): Public method to center
2691 all columns on the nearest selected item.
2692 * src/hildon-touch-selector.h: Add definition for
2693 hildon_touch_selector_center_on_selected().
2695 Implement public API to ensure visibility of all selected items in
2696 a HildonTouchSelector.
2698 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2700 Fixed a problem in the fading when calling the scroll_to API, and
2701 improve scrollbar fading handling.
2703 * src/hildon-pannable-area.c,
2704 (hildon_pannable_area_grab_notify): avoid the timeout when the
2706 (hildon_pannable_area_button_press_cb),
2707 (hildon_pannable_area_motion_notify_cb): Code style changes.
2708 (hildon_pannable_area_button_release_cb): Review the conditions
2709 when releasing the mouse button to avoid unrequired fading
2711 (hildon_pannable_area_scroll_to): Do not calculate and set the
2712 velocity if the scroll is not required.
2714 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2716 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2717 Don't check whether the new selector is NULL: it cannot be.
2718 Hold a reference to the selector while doing the replacement.
2720 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2722 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2723 unnecessary size_request in a removed widget.
2725 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2727 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2728 an unnecessary reference tracking that was leaking.
2730 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2732 Added delayed motion notify event handling, this way we can
2733 discard redrawing if more than 25 events arrive per second.
2735 * src/hildon-pannable-area.c,
2736 (hildon_pannable_area_init): Initialized the new private atributes
2737 controlling this timeout
2738 (hildon_pannable_area_dispose): Remove the timeout that controls
2739 the motion notify events.
2740 (hildon_pannable_area_scroll): Added a condition to control the
2741 use of the acceleration.
2742 (hildon_pannable_area_motion_event_scroll_timeout),
2743 (hildon_pannable_area_motion_event_scroll): Added this two
2744 functions, they handle the motion notify events inside the
2746 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2747 to the scroll method with the new function.
2748 (hildon_pannable_area_button_release_cb): We have to remove the
2749 timeout handler and move to the last position if the last motion
2750 events were not handled.
2752 Fixes: NB#97028 (Pannable area updates on every motion event)
2754 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2756 * src/hildon-pannable-area.c,
2757 (hildon_pannable_area_get_topmost): Added a new parameter to
2758 filter the the windows that do not include those events. Added
2759 also a condition when finding the window to filter windows that do
2760 not ask for those events.
2761 (hildon_pannable_area_button_press_cb),
2762 (hildon_pannable_area_button_release_cb),
2763 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2764 topmost function, we have added the new parameter.
2766 Fixes: NB#97458 (Pannable area prevents propagation of button
2769 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2771 * src/hildon-pannable-area.c,
2772 (hildon_pannable_area_initial_effect): Added controls before
2773 launching the timeout and the idle functions.
2774 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2775 of the method, in some situations it can return with TRUE and 0 in
2777 (hildon_pannable_area_button_press_cb): We do not need to set
2778 DELAY for fading out here.
2780 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2782 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2784 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2785 post-cleaning if the selection is not NULL.
2787 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2789 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2790 all items before restoring the selection.
2792 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2794 * src/hildon-touch-selector.c:
2795 (+hildon_touch_selector_unselect_all):
2796 * src/hildon-touch-selector.h: New API to unselect all items in a
2797 column of the touch selector.
2799 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2801 * src/hildon-pannable-area.c,
2802 (hildon_pannable_area_redraw): Added a call to the refresh
2803 function inside the redraw because apparently in some cases the
2804 change in the adjustment does not imply a size allocate.
2806 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2807 despite the view not being scrollable)
2809 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2811 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2812 leak. Check for NULL before attempting to set the window title.
2814 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2816 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2817 whether to show or not the 'Done' button each time the dialog is
2818 shown, as it depends on the HildonTouchSelector selection mode.
2820 Fixes: NB#96226 (In multiple selection mode Done button is shown
2821 sometimes in listpicker)
2823 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2825 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2826 for the number of columns in the HildonTouchSelector more than once.
2828 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2830 * src/hildon-touch-selector.c: Minor documentation fixes.
2832 * src/hildon-picker-dialog.c (+_dialog_update_title)
2833 (_select_on_selector_changed_cb)
2834 (_update_title_on_selector_changed_cb)
2835 (on_selector_columns_changed): Update dialog title when there's no
2836 'Done' button and also when the number of columns in the selector
2840 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2841 (+_selection_changed, hildon_picker_button_on_dialog_response)
2842 (hildon_picker_button_selector_selection_changed)
2843 (+hildon_picker_button_selector_columns_changed)
2844 (hildon_picker_button_set_selector): Update button value and emit
2845 'value-changed' when the number of columns in the selector
2849 Fixes: NB#96225 (Dialog titles are not shown according to the
2850 values selected in the list picker)
2852 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2854 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2855 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2856 New "arrow-width" and "arrow-height" style properties to set the
2857 size of the arrow button.
2858 Set name of arrow button ("hildon-edit-toolbar-arrow").
2860 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2861 graphics from theme)
2863 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2865 * src/hildon-picker-button.c:
2866 (hildon_picker_button_selector_selection_changed): Use
2867 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2868 the dialog is present.
2870 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2871 the selection is accepted in the dialog)
2873 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2875 * src/hildon-color-chooser.h
2876 * src/hildon-color-chooser-dialog.h:
2877 Added G_BEGIN_DECLS and G_END_DECLS
2879 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2881 (_clean_current_selection): plug a leak in the list.
2883 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2885 * src/hildon-picker-dialog.c:
2886 (+free_path_list): Method to free a GList of GtkTreePaths.
2887 (_clean_current_selection), (_save_current_selection),
2888 (_restore_current_selection): Save the current selection in
2889 as a list of lists, to support multiple selection properly.
2891 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2893 patch by Claudio Saavedra (csaavedra@igalia.com)
2895 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2896 Store the press position.
2897 (+hildon_text_view_button_release_event): If the release position is
2898 close enough to the press position, move the cursor here. Otherwise,
2900 (hildon_text_view_class_init): Override GtkTextView press, release, and
2901 motion event handlers, disabling this way text selection through
2902 pointer interaction, and allowing the container widget to handle the
2905 Fixes: NB#95828 (HildonTextView functionality)
2907 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2909 Based on a patch by Iván Gómez (igomez@igalia.com)
2911 * src/hildon-button.[ch]
2912 * src/hildon-calendar.c
2913 * src/hildon-check-button.c
2914 * src/hildon-date-editor.c
2915 * src/hildon-date-selector.c
2916 * src/hildon-picker-button.c
2917 * src/hildon-time-editor.c
2918 * src/hildon-time-selector.c
2919 * src/hildon-touch-selector.[ch]:
2920 Documentation updates
2922 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2924 * src/hildon-pannable-area.c,
2925 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2926 threshold, it was required due to X events handling.
2928 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2930 * src/hildon-pannable-area.c,
2931 (hildon_pannable_area_grab_notify),
2932 (hildon_pannable_area_initial_effect),
2933 (hildon_pannable_area_button_press_cb),
2934 (hildon_pannable_area_button_release_cb),
2935 (hildon_pannable_area_scroll_cb),
2936 (hildon_pannable_area_scroll_to): Review the timeout management of
2937 the scrollbar, the frecuency was incorrectly set.
2939 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2941 * src/hildon-picker-button.c:
2942 (+hildon_picker_button_on_dialog_response),
2943 (hildon_picker_button_clicked): Present the dialog instead of
2944 running it with gtk_dialog_run().
2946 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2949 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2951 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2952 (hildon_app_menu_finalize): When a window is hidden it doesn't
2953 emit notify::is-topmost, so make sure than the menu also
2954 disappears in that case.
2955 (parent_window_topmost_notify): Renamed from parent_window_hidden
2957 Fixes: NB#94460 (stackable window's menu is not closed when its
2960 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2962 * src/hildon-touch-selector-entry.c:
2963 (+hildon_touch_selector_entry_set_input_mode),
2964 (+hildon_touch_selector_entry_get_input_mode):
2965 * src/hildon-touch-selector-entry.h: New methods to access the input
2966 mode in the selector's entry.
2968 Fixes: NB#93410 (API required for setting IM mode in
2969 HildonTouchSelectorEntry)
2971 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2973 * configure.ac: post release version bump.
2974 * debian/changelog: version bump
2976 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2981 * configure.ac: Bump version.
2982 * debian/changelog: Updates.
2984 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2986 * src/hildon-touch-selector.c:
2987 (_hildon_touch_selector_has_multiple_selection): No need
2988 to initialize the variables here.
2990 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2992 * src/hildon-note-private.h
2993 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2994 (hildon_note_finalize, hildon_note_rebuild): Close information
2995 notes when they receive a button press.
2997 Fixes: NB#89890 (Information notes does not get disappeared after
3000 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3002 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3003 mark from the wizard title, as it's not really necessary. Also,
3004 do not display the page title if not set.
3006 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3008 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3009 (parent_window_hidden): Use the window's "is-topmost" property to
3010 detect when to hide the menu.
3012 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3014 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3015 (hildon_app_menu_finalize): If the parent window of the menu is
3016 hidden, hide the menu too.
3018 Fixes: NB#94460 (stackable window's menu is not closed when its
3021 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3024 * debian/libhildon1-examples.install
3026 * examples/Makefile.am:
3027 Use dh_install to install all examples.
3028 Use DEB_SRCDIR instead of defining SOURCE_DIR
3030 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3032 * configure.ac: post release version bump.
3033 * debian/changelog: version bump
3035 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3040 * configure.ac: bump version
3041 * debian/changelog: updates
3042 * debian/control: bump gtk+ dependency
3044 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3046 patch by Christian Dywan (christian@imendio.com)
3048 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3049 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3051 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3053 * src/hildon-check-button.c (hildon_check_button_init)
3054 (hildon_check_button_class_init, hildon_check_button_style_set)
3055 (hildon_check_button_apply_style):
3056 New "checkbox-size" style property.
3058 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3059 larger / configurable size)
3061 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3063 * configure.ac: post release version bump.
3064 * debian/changelog: version bump
3066 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3071 * configure.ac: bump version
3072 * debian/changelog: updates
3074 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3076 * doc/hildon-sections.txt
3077 * src/hildon-pannable-area.c
3078 * src/hildon-program.c
3079 * src/hildon-time-editor.c
3080 * src/hildon-touch-selector-entry.c:
3082 More documentation updates.
3084 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3086 * doc/hildon-sections.txt
3087 * src/hildon-caption.c
3088 * src/hildon-code-dialog.c
3089 * src/hildon-color-button.c
3090 * src/hildon-controlbar.c
3091 * src/hildon-date-editor.c
3092 * src/hildon-date-selector.c
3093 * src/hildon-edit-toolbar.c
3094 * src/hildon-find-toolbar.c
3095 * src/hildon-font-selection-dialog.c
3097 * src/hildon-program.c
3098 * src/hildon-range-editor.c
3099 * src/hildon-seekbar.c
3100 * src/hildon-time-editor.c
3101 * src/hildon-time-selector.c
3102 * src/hildon-volumebar-range.c
3103 * src/hildon-volumebar.c
3104 * src/hildon-vvolumebar.c
3105 * src/hildon-weekday-picker.c
3106 * src/hildon-window.c
3107 * src/hildon-wizard-dialog.c:
3109 Lots of documentation fixes.
3111 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3113 Patch contributed by Iván Gómez (igomez@igalia.com)
3115 * src/hildon-check-button.c:
3116 * src/hildon-date-button.c:
3117 * src/hildon-date-selector.c:
3118 * src/hildon-dialog.c:
3119 * src/hildon-edit-toolbar.c:
3120 * src/hildon-entry.c:
3121 * src/hildon-picker-button.c:
3122 * src/hildon-program.c:
3123 * src/hildon-text-view.c:
3124 * src/hildon-time-button.c:
3125 * src/hildon-touch-selector-entry.c:
3126 * src/hildon-window-stack.c:
3128 Add more "since" tags to the new API.
3130 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3132 * doc/hildon-sections.txt: Add below method.
3133 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3134 version for the hildonized scale.
3135 * src/hildon-gtk.h: Add the definition.
3137 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3139 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3141 * doc/hildon-sections.txt: Add missing entries for new methods.
3143 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3145 Added API to pannable are in order to get its adjustments. We
3146 added two properties to manage the values we had in the private
3149 * src/hildon-pannable-area.c:
3150 (hildon_pannable_area_class_init): Added hadjustment and
3151 vadjustment properties in order to expose horizontal and vertical
3153 (hildon_pannable_area_get_property),
3154 (hildon_pannable_area_set_property): Added code to handle the new
3156 (hildon_pannable_area_get_hadjustment),
3157 (hildon_pannable_area_get_vadjustment): API functions to get the
3159 * src/hildon-pannable-area.h:
3160 (hildon_pannable_area_get_hadjustment),
3161 (hildon_pannable_area_get_vadjustment): API functions to get the
3164 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3166 Fixed some leaks, after valgrinding.
3168 * src/hildon-touch-selector.c:
3169 (_default_print_func): Fixed a leak.
3170 (hildon_touch_selector_append_column): Fixed a leak.
3171 * src/hildon-date-button.c:
3172 (hildon_date_button_init): Fixed a leak.
3173 * src/hildon-date-selector.c
3174 (hildon_date_selector_finalize): Fixed a leak.
3176 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3178 Based on a patch by Christian Dywan (christian@imendio.com)
3180 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3182 * src/hildon-gtk.h: Add definition.
3184 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3186 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3188 * src/hildon-picker-button.c: (hildon_picker_button_init),
3189 (hildon_picker_button_new): Set the HildonButton::style property
3190 in the init method, to propagate the value to the derived classes.
3192 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3194 * src/hildon-button.c: (hildon_button_class_init): Do not make
3195 the "style" property a construct property.
3197 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3199 * src/hildon-wizard-dialog.h
3200 * src/hildon-wizard-dialog.c
3201 (hildon_wizard_dialog_set_forward_page_func)
3202 * src/hildon-pannable-area.h
3203 * src/hildon-pannable-area.c
3204 (hildon_pannable_area_set_size_request_policy):
3205 Documentation fixes.
3207 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3209 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3211 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3213 * doc/hildon-sections.txt: Added sections file.
3215 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3218 * src/*.[ch]: Updates.
3220 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3222 * examples/hildon-progress-indicator-example.c: new file
3223 * examples/Makefile.am: include the new example program
3225 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3227 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3229 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3231 * configure.ac: post release version bump
3232 * debian/changelog: version bump
3234 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3239 * configure.ac: bump version
3240 * debian/changelog: updates
3241 * debian/control: bump gtk+ dependency
3243 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3245 * src/hildon-dialog.c: Mark as deprecated.
3246 * src/hildon-dialog.h: Mark as deprecated.
3247 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3248 from HildonDialog and still work, even if
3249 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3250 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3252 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3253 maemo changes) instead)
3255 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3257 * src/hildon-pannable_area.h:
3258 * src/hildon-pannable_area.c:
3259 (hildon_pannable_area_class_init),
3260 (hildon_pannable_area_set_property),
3261 (hildon_pannable_area_get_property),
3262 (hildon_pannable_area_size_request),
3263 (hildon_pannable_area_get_size_request_policy),
3264 (hildon_pannable_area_set_size_request_policy): Added new API
3265 allowing applications to control the request policy. Now they can
3266 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3267 children allocation (HILDON_MOVEMENT_CHILDREN).
3269 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3273 (hildon_gtk_tree_view_set_ui_mode)
3274 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3275 mode of treeviews and iconviews.
3277 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3279 * src/hildon-touch-selector-entry.c:
3280 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3281 of a GtkEntry to get proper theming.
3283 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3284 widget, not GtkEntry)
3286 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3288 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3289 no HildonWizardDialogPageFunc.
3291 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3293 Patch contributed by Iván Gómez (igomez@igalia.com)
3295 * src/hildon-app-menu.c:
3296 * src/hildon-button.c:
3297 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3298 * src/hildon-stackable-window.c:
3299 * src/hildon-time-selector.c:
3300 * src/hildon-touch-selector.c:
3301 * src/hildon-window.c:
3303 Add more "since" tags to the new API in hildon 2.2.
3305 2008-12-05 Tim Janik <timj@imendio.com>
3307 Patch contributed by Christian Dywan (christian@imendio.com)
3309 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3310 HildonSizeType, which are supplied by Gtk+ now.
3312 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3314 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3315 (with maemo changes) instead)
3317 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3319 Patch contributed by Iván Gómez (igomez@igalia.com)
3321 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3324 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3326 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3327 (some_page_func), (main): Update the example to use a
3328 HildonWizardDialogPageFunc function.
3330 * src/hildon-wizard-dialog-private.h: Add private data for
3331 the HildonWizardDialogPageFunc function usage.
3333 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3334 (destroy), (hildon_wizard_dialog_init), (response),
3335 (hildon_wizard_dialog_set_forward_page_func):
3336 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3337 that applications can use to stop a HildonWizardDialog to jump to
3340 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3343 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3345 * src/hildon-program.h
3346 * src/hildon-program-private.h
3347 * src/hildon-program.c (hildon_program_init)
3348 (hildon_program_set_common_app_menu)
3349 (hildon_program_get_common_app_menu):
3350 New API for setting a common HildonAppMenu for all
3351 HildonStackableWindows registered with the HildonProgram.
3353 * src/hildon-stackable-window.c
3354 (hildon_stackable_window_toggle_menu):
3355 Use the common HildonAppMenu if a window doesn't have a specific
3358 * src/hildon-app-menu-private.h
3359 * src/hildon-app-menu.c
3360 (hildon_app_menu_get_parent_window):
3361 Function to obtain the window a HildonAppMenu is attached to.
3362 (hildon_app_menu_set_parent_window):
3363 Hide the menu if the parent window is set to NULL.
3365 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3367 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3368 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3369 search widget to popup.
3371 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3373 * configure.ac: post release version bump
3374 * debian/changelog: version bump
3376 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3381 * configure.ac: bump version
3382 * debian/changelog: updates
3384 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3386 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3388 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3389 (hildon_window_stack_window_realized)
3390 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3391 Set the leader GdkWindow when a window is stacked and realized,
3392 unset it when it's unstacked.
3393 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3395 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3397 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3399 * src/hildon-stackable-window.h
3400 * src/hildon-window-stack.h:
3401 Protect definition of HildonWindowStack using the preprocessor.
3403 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3405 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3406 Fix warning if all menu items are hidden.
3408 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3410 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3412 * src/hildon-controlbar.c:
3413 * src/hildon-hvolumebar.c:
3414 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3415 Multiple scale size defines updates.
3417 Fixes: NB#94322 (Scale Updates)
3419 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3421 * examples/hildon-app-menu-example.c (create_menu)
3422 Show items after adding them to the menu, as in the future the
3423 menu will no longer call gtk_widget_show() on the added items.
3425 * src/hildon-app-menu.c:
3426 Update example as explained above.
3428 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3430 * src/hildon-app-menu.c
3431 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3432 Make sure that all menu items have finger height.
3434 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3436 * src/hildon-picker-dialog.c:
3437 (_on_dialog_response), (_save_current_selection),
3438 (_restore_current_selection), (_clean_current_selection),
3439 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3440 Defined new functions in order to save the current internal selector
3441 selection previous open the dialog, in case that the use cancel the
3442 interaction, so the widget restores the previous selection.
3444 Fixes: NB#92032 (In calendar application, date values in 'new event'
3447 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3449 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3451 * src/hildon-button.c: Add a reference to the button examples in
3452 hildon-button-example.c
3454 * examples/hildon-button-example.c: Added examples of the most
3455 common button layouts.
3457 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3459 * src/hildon-app-menu.c (hildon_app_menu_show)
3460 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3462 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3464 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3466 * src/hildon-picker-dialog.c:
3467 (hildon_picker_dialog_init): Initialize the signal id for
3468 HildonTouchSelector::columns-changed.
3469 (+on_selector_columns_changed): Set up the interaction mode everytime a
3470 column is added or removed from the HildonTouchSelector.
3471 (_hildon_picker_dialog_set_selector): Connect to
3472 HildonTouchSelector::columns-changed and keep track of it.
3474 Make sure to update the interaction mode of the dialog everytime a
3475 column is added or removed in the HildonTouchSelector.
3477 Fixes: NB#93228 (Done button is not shown always in listpicker)
3479 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3481 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3482 a new ::columns-changed signal.
3483 (hildon_touch_selector_append_column): Emit ::columns-changed.
3484 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3486 Add a ::columns-changed signal, emitted when the number of columns in a
3487 HildonTouchSelector changes.
3489 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3491 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3492 (_hildon_picker_dialog_set_selector): Factor out the code
3493 to set up the dialog interaction mode.
3495 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3497 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3498 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3499 to signal_changed_id.
3501 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3503 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3506 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3508 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3509 Updated the logical ids related to ampm format, as now it is required to
3510 show it correctly localized even on languages with no default
3511 abbreviations for am or pm
3512 (_check_am_pm_format): check correctly the 24h format gconf property
3514 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3516 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3518 * src/hildon-button.c: Documentation updates.
3520 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3522 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3523 * src/hildon-caption.c: (hildon_caption_class_init):
3524 * src/hildon-color-button.c: (hildon_color_button_class_init):
3525 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3526 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3527 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3528 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3530 Remove deprecated GTK+ marshalers and replace them with the ones
3531 provided by GLib, for those available, add a marshaler for
3532 BOOLEAN:VOID, which is not available in GLib, and use it.
3534 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3536 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3537 the text from the previous column if there is no
3538 HildonTouchSelectorColumn::text-property set.
3540 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3542 * src/hildon-button.h
3543 * src/hildon-button.c (hildon_button_set_property)
3544 (hildon_button_get_property, hildon_button_class_init)
3545 (hildon_button_set_style, hildon_button_get_style):
3546 New "style" property to change the visual appearance of the
3549 * src/hildon-picker-button.c (hildon_picker_button_new):
3550 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3552 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3553 HildonButton look like PickerButton)
3555 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3557 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3558 column while building the default string.
3560 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3562 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3563 scroll indicator by default.
3565 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3567 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3569 * src/hildon-main.c: Fix the documentation for hildon_init()
3571 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3573 * doc/hildon-docs.sgml
3577 * src/hildon-window-stack-private.h
3578 * src/hildon-window-stack.h
3579 * src/hildon-window-stack.c:
3580 New HildonWindowStack object, that adds support for multiple
3581 stacks of windows per process.
3583 * src/hildon-stackable-window-private.h
3584 * src/hildon-stackable-window.h
3585 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3586 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3587 (hildon_stackable_window_show, hildon_stackable_window_hide)
3588 (hildon_stackable_window_class_init)
3589 (hildon_stackable_window_init):
3590 Use HildonWindowStack for stack management.
3592 * src/hildon-program.c (hildon_program_pop_window_stack)
3593 (hildon_program_peek_window_stack)
3594 (hildon_program_go_to_root_window):
3595 Add a fallback implementation to the deprecated functions using
3598 * examples/hildon-stackable-window-example.c:
3599 Use the new HildonWindowStack API.
3601 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3603 * src/hildon-stackable-window-private.h
3604 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3605 (hildon_stackable_window_hide, hildon_stackable_window_init):
3606 Remove all window stack management.
3608 * src/hildon-program-private.h
3609 * src/hildon-program.h
3610 * src/hildon-program.c (hildon_program_init)
3611 (hildon_program_pop_window_stack)
3612 (hildon_program_peek_window_stack)
3613 (hildon_program_go_to_root_window):
3614 Remove all window stack management and mark functions as
3617 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3619 * src/hildon-app-menu.c (hildon_app_menu_realize):
3620 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3622 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3624 * configure.ac: post release version bump
3625 * debian/changelog: version bump
3627 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3632 * configure.ac: bump version
3633 * debian/changelog: updates
3635 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3637 Based on initial code by Christian Dywan (christian@imendio.com)
3639 * doc/hildon-docs.sgml: Add section for hildon-main.
3640 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3641 * src/Makefile.am: Add new hildon-main.[ch]
3642 * src/hildon-defines.h: Update the icon sizes.
3643 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3644 new library initialization files and register icon sizes.
3645 * src/hildon-main.h: New declarations.
3646 * src/hildon.h: Include hildon-main.h
3648 Add new initialization functions to the library. These methods
3649 will register the hildon specific icon sizes and can be used in the
3650 future for other hildon specific bits.
3652 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3654 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3656 * src/hildon-window.c: (hildon_window_realize),
3657 (hildon_window_notify), (-hildon_window_update_title): Do not set
3658 the application name in the window title.
3660 Fixes: NB#89754 (Applications shouldn't display their names in the
3663 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3665 * src/hildon-note-private.h:
3666 * src/hildon-note.c: (hildon_note_set_property),
3667 (hildon_note_get_property), (hildon_note_class_init),
3668 (hildon_note_init), (hildon_note_finalize),
3669 (hildon_note_new_confirmation_with_icon_name),
3670 (hildon_note_new_information_with_icon_name):
3672 No need to mark as deprecated the actual code. Revert
3673 to avoid missing symbols in widgets using deprecated API.
3675 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3677 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3679 * src/hildon-volumebar.h
3680 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3681 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3683 * src/hildon-helper.h
3684 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3685 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3687 * examples/Makefile.am:
3688 Deprecate hildon-insensitive-example
3690 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3692 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3694 * examples/hildon-pannable-area-buttons-scroll-example.c:
3695 Make all buttons finger height
3697 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3699 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3701 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3702 update the day model only if it is really required, and to avoid the
3703 full-reconstruction aproach. Now it only add or remove the required days.
3705 The purpose of this is avoid superfluous HildonTouchSelector::changed
3708 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3709 with strange parameters)
3711 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3713 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3715 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3716 the WINDOW_TYPE property.
3718 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3720 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3723 Fix dependency to allow parallel compilation with make -jX
3725 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3727 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3728 color frame and some minor tweaks to make it more consistent with
3731 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3732 highlighted but not visible)
3734 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3736 * examples/Makefile.am: Fixed typo in the Makefile.am.
3738 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3740 Reviewed the use of MAEMO_GTK define, now we add the define in the
3741 compilation line, and we also add it to the pc file.
3743 * configure.ac: Added MAEMO_GTK define to the compilation command
3744 and removed it from the config.h.
3746 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3747 do not have to take care about this define if the library was
3751 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3753 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3755 * examples/Makefile.am,
3756 * examples/hildon-pannable-area-buttons-scroll-example.c,
3757 * examples/hildon-pannable-area-gesture-signals-example.c,
3758 * examples/hildon-pannable-area-scroll-jump-example.c,
3759 * examples/hildon-pannable-area-tree-view-example.c:
3760 Renamed the pannable area examples, now they have more meaningful
3763 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3765 * src/hildon-touch-selector.c:
3766 (hildon_touch_selector_set_column_selection_mode): Used of
3767 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3768 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3769 to avoid re-seting the same selection mode.
3771 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3772 breaks HildonPickerDialog)
3774 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3776 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3777 conditional in the Makefile.am
3779 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3781 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3782 Remove unused methods.
3784 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3786 * src/hildon-button.c (hildon_button_init):
3787 Make button images center-aligned by default
3789 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3792 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3793 activated, we have to think about how to deal with both defines
3794 MAEMO_GTK and MAEMO_CHANGES.
3796 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3798 * examples/hildon-app-menu-example.c (create_menu): Make all
3799 buttons finger size.
3801 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3803 Fixed the compilation without maemo gtk adding ifdefs with
3804 MAEMO_GTK define to the code, we have to check this version more
3807 * examples/Makefile.am: Added control to avoid some examples that
3808 just make sense with maemo gtk.
3811 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3812 hildon modes with the define.
3814 * examples/hildon-edit-toolbar-example.c,
3815 (create_icon_view): Create the icon view without hildon-gtk
3816 helpers if we are not using maemo gtk.
3818 * src/hildon-touch-selector.c,
3819 (_create_new_column): Create the treeview without hildon-gtk
3820 helpers if we are not using maemo gtk.
3822 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3824 * src/hildon-pnnable-area.c,
3825 (hildon_pannable_area_dispose),
3826 (hildon_pannable_area_button_press_cb),
3827 (hildon_pannable_area_child_mapped),
3828 (hildon_pannable_area_add),
3829 (hildon_pannable_area_remove): Added code to control the position
3830 of the event_window when adding and removing children from the
3831 pannable. We have to raise the event window when the child is
3834 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3835 selection mode using custom widget inside pannable)
3837 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3839 * configure.ac: post release version bump
3840 * debian/changelog: version bump
3842 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3847 * configure.ac: bump version
3848 * debian/changelog: updates
3850 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3852 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3853 search mode, in order to avoid lose the focus on the treeview when
3854 a hw key (like enter) is pressed.
3856 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3857 in HildonDateSelector dialog)
3859 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3861 * debian/rules: Added --enable-maintainer-mode
3862 * Makefile.am: Added ACLOCAL_AMFLAGS
3864 This allows to properly regenerate the Makefiles if you modify the
3865 configure.ac or any Makefile.am.
3867 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3869 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3870 properties, not needed at all.
3872 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3874 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3876 * src/hildon-note.c: (hildon_note_set_property),
3877 (hildon_note_get_property), (hildon_note_class_init),
3878 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3879 (hildon_note_new_confirmation_add_buttons): Remove icons.
3880 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3881 (hildon_note_new_information_with_icon_name): Deprecate.
3882 (hildon_note_new_confirmation): Act directly, without calling
3883 the deprecated constructor.
3884 (hildon_note_new_information): Act directly, without calling
3885 the deprecated constructor.
3886 * src/hildon-note.h: Mark deprecate methods as such.
3887 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3888 not run tests on the deprecated methods if built with deprecation
3891 Fixes: NB#91688 (Never show icons in information notes/confirmation
3894 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3896 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3897 (hildon_app_menu_key_press): Remove leftover usage of the
3898 private structure in HildonAppMenu struct.
3899 * src/hildon-app-menu.h: Remove leftover private structure
3900 from the HildonAppMenu struct.
3902 Fixes a crasher when using the HildonAppMenu.
3904 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3906 * src/hildon-picker-dialog.c: Use appropriate logical id
3907 for the default "Done" text.
3909 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3911 * configure.ac: post release version bump
3912 * debian/changelog: version bump
3914 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3916 Modified the way to scroll to the current selection just when the touch
3917 selector is shown on the screen, avoiding a g_idle. Added too a property
3918 to configure this behaviour. See hildon_pannable_area_jump_to_child
3919 documentation for more information.
3921 * src/hildon-touch-selector.c
3922 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3923 Added 'initial-scroll' property
3924 (hildon_touch_selector_set_property): Added
3925 (hildon_touch_selector_map): Removed as not required anymore
3926 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3927 only a concrete column, instead of iterate along all the columns
3929 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3934 * configure.ac: bump version
3935 * debian/changelog: updates
3937 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3939 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3940 compilation time warnings.
3942 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3944 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3945 the default value for HildonPannableArea::mov-mode to
3946 HILDON_PANNABLE_AREA_MODE_VERT.
3948 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3950 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3952 Reverting following commit:
3954 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3956 * src/hildon-app-menu-private.h
3957 * src/hildon-app-menu.[ch]
3958 * src/hildon-button.[ch]
3959 * src/hildon-check-button.[ch]
3960 * src/hildon-entry.[ch]
3961 * src/hildon-pannable-area.[ch]
3962 * src/hildon-text-view.[ch]:
3963 Added private field to the object's structure.
3965 because it causes an ABI breakage. We will need to introduce these
3966 changes later at some point. See NB#91636 for an extensive
3967 explanation and status.
3969 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3971 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3973 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3974 remove special cases that are no longer necessary.
3976 Fixes: NB#91016 (Change toolbar sizes, simplification)
3978 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3980 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3981 is shown in the cancel note.
3983 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3985 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3986 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3987 (hildon_seekbar_init): Remove steppers, remove expose event.
3988 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3990 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3992 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3994 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3995 label font to "SmallSystemFont" for vertically arranged buttons.
3997 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4000 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4002 * src/hildon-check-button.c
4003 (hildon_check_button_set_active, hildon_check_button_clicked):
4004 Don't access private parts directly, use getters instead.
4006 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4008 * src/hildon-check-button.c (hildon_check_button_new):
4009 Align the contents of the check button to the left.
4011 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4013 * src/hildon-pannable-area.c,
4014 (hildon_pannable_area_scroll_to),
4015 (hildon_pannable_area_jump_to),
4016 (hildon_pannable_area_scroll_to_child),
4017 (hildon_pannable_area_jump_to_child): Replace the mapped
4018 precondition of these functions with the realized, it is the
4019 correct state of the widget in this case. Changed the
4020 documentation according to this modification.
4022 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4024 Added a new EXTRA_CFLAGS option to add the deprecated define to
4025 the compilation command. This way we can avoid using the define in
4026 the documentation compilation.
4028 * configure.ac: Defined EXTRA_CFLAGS.
4030 * examples/Makefile.am:
4032 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4034 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4036 * src/hildon-picker-dialog.c:
4037 Defined a utility macro with the desired touch selector height
4038 Removed currently unused separator, and title_label variables from
4040 (hildon_picker_dialog_init): Removed code related to the creation
4041 of unused private variables title_label and separator.
4042 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4043 to ensure correct visualization of the touch selector inside the dialog.
4044 * src/hildon-touch-selector.c
4045 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4046 ensure a concrete height of the widget.
4048 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4051 * tests/Makefile.am:
4053 Remove spurious whitespaces.
4055 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4057 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4058 compilation warning after the cancel button removal.
4060 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4062 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4064 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4065 Makefile.am, that way we can choose not to compile some examples
4066 and tests of the deprecated widgets.
4068 * examples/Makefile.am: Divided the sources in deprecated and
4071 * src/Makefile.am: Added undef statement of the deprecated
4072 symbol to the enums file generation process.
4074 * src/hildon-color-chooser-dialog.c
4075 * src/hildon-color-chooser-dialog.h
4076 * src/hildon-color-button.c
4077 * src/hildon-color-button.h
4078 * src/hildon-color-chooser.c
4079 * src/hildon-color-chooser.h
4080 * src/hildon-controlbar.c
4081 * src/hildon-controlbar.h
4082 * src/hildon-date-editor.c
4083 * src/hildon-date-editor.h
4084 * src/hildon-hvolumebar.c
4085 * src/hildon-hvolumebar.h
4086 * src/hildon-private.c
4087 * src/hildon-private.h
4088 * src/hildon-range-editor.c
4089 * src/hildon-range-editor.h
4090 * src/hildon-seekbar.c
4091 * src/hildon-seekbar.h
4092 * src/hildon-time-editor.c
4093 * src/hildon-time-editor.h
4094 * src/hildon-time-picker.c
4095 * src/hildon-time-picker.h
4096 * src/hildon-volumebar.c
4097 * src/hildon-volumebar.h
4098 * src/hildon-vvolumebar.c
4099 * src/hildon-vvolumebar.h
4100 * src/hildon-bread-crumb-trail.h
4101 * src/hildon-bread-crumb-trail.c
4102 * src/hildon-calendar-popup.c
4103 * src/hildon-calendar-popup.h
4104 * src/hildon-weekday-picker.c:
4105 * src/hildon-weekday-picker.h:
4106 * src/hildon-bread-crumb-widget.c:
4107 * src/hildon-bread-crumb-widget.h:
4108 * src/hildon-bread-crumb.c:
4109 * src/hildon-bread-crumb.h:
4110 * src/hildon-calendar.c:
4111 * src/hildon-calendar.h:
4112 * src/hildon-caption.c:
4113 * src/hildon-code-dialog.c:
4114 * src/hildon-code-dialog.h:
4115 * src/hildon-font-selection-dialog.c:
4116 * src/hildon-font-selection-dialog.h:
4117 * src/hildon-get-password-dialog.c:
4118 * src/hildon-get-password-dialog.h:
4119 * src/hildon-login-dialog.c:
4120 * src/hildon-login-dialog.h:
4121 * src/hildon-number-editor.c:
4122 * src/hildon-number-editor.h:
4123 * src/hildon-set-password-dialog.c:
4124 * src/hildon-set-password-dialog.h:
4125 * src/hildon-sort-dialog.c:
4126 * src/hildon-sort-dialog.h: This is the list of deprecated
4129 * src/hildon-touch-selector.c:
4130 * src/hildon-window.c: Added undef statement to avoid compilation
4133 * tests/Makefile.am: Divided the sources in deprecated and
4136 * tests/check_test.c,
4137 (configure_tests): Marked the deprecated code that was adding
4138 suites with deprecated tests.
4140 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4142 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4144 * src/hildon-touch-selector.c: (_default_print_func): Do not
4145 duplicate a string returned by gtk_tree_model_get(), it is already
4148 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4151 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4153 * src/hildon-pannable-area.c
4154 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4155 method, it had problems when adding a widget with viewport the
4156 second time. Now checks if it already has a viewport and uses it.
4158 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4161 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4163 * src/hildon-pannable-area.c,
4164 (hildon_pannable_area_scroll_to),
4165 (hildon_pannable_area_jump_to),
4166 (hildon_pannable_area_scroll_to_child),
4167 (hildon_pannable_area_jump_to_child): Added a precondition to the
4168 scroll and jump to functions: the widget must be mapped before we
4169 can safely call these functions. We have also added documentation
4170 to the functions to explain how to use them in this situation.
4173 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4175 Reviewed the threading handling of the pannable widget, we have
4176 used the gdk_threads_add_timeout function instead of the usual
4177 glib handlers. This avoids some problems with the threads.
4179 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4180 (hildon_pannable_area_initial_effect),
4181 (hildon_pannable_area_scroll_indicator_fade),
4182 (hildon_pannable_area_button_press_cb),
4183 (hildon_pannable_area_timeout),
4184 (hildon_pannable_area_motion_notify_cb),
4185 (hildon_pannable_area_button_release_cb),
4186 (hildon_pannable_area_scroll_cb),
4187 (hildon_pannable_area_scroll_to): Removed the
4188 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4189 gdk_threads_add_timeout.
4191 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4193 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4198 * configure.ac: bump version
4199 * debian/changelog: updates
4201 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4203 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4204 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4205 * src/hildon-color-chooser-dialog.c:
4206 (hildon_color_chooser_dialog_init):
4207 * src/hildon-font-selection-dialog.c:
4208 (hildon_font_selection_dialog_init):
4209 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4211 Remove all cancel/close-like dialogs, as these are not going to be
4214 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4216 * src/hildon-note.c: (hildon_note_rebuild),
4217 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4220 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4222 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4224 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4225 sure all buttons are shown, even the Cancel/Close-like ones.
4227 Fixes: NB#90861 (Custom Confirmation dialogs should be
4228 protected from cancel button removal)
4230 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4232 * debian/control: Change libhildon1-examples dependency from libhildon1
4234 * debian/libhildon1-examples.install
4236 * Makefile.am: Modified the final install directory for the examples on
4237 package libhildon1-examples
4238 * Makefile.static: Update clean target in order to remove all the binary
4241 Changes suggested by Claudio after review new libhildon1-examples package
4243 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4245 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4246 * src/hildon-touch-selector.c: Ditto.
4248 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4250 * debian/control: Added new package libhildon1-examples, in order to pack
4251 the current hildon examples as documentation
4252 * debian/rules: Not to compress .c files, modify some includes on the
4253 examples (as normally are compiled locally, but when installed it will
4254 require to include the installed libhildon1 library), and rename
4256 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4257 install all the example files on the new example package
4258 * examples/Makefile.static: Added static makefile that can be used to
4259 compile the examples, once installed the new example package
4260 * examples: Most of the examples were modified in order to grant that
4261 all use only '#include "hildon.h"', in order to be easy to prepare
4262 it on the example package
4264 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4267 * debian/libhildon1-dev.install
4268 * debian/libhildon1-doc.install:
4269 Move all gtk-doc files to a separate libhildon1-doc package.
4271 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4273 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4275 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4277 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4279 * debian/rules: Fixed a error in order to avoid unnecessary calls
4280 to autogen.sh on package building
4282 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4284 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4286 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4288 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4291 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4293 * src/hildon-picker-button.c
4294 (hildon_picker_button_finalize):
4295 Free priv->done_button_text
4297 * src/hildon-time-button.c
4298 (hildon_time_button_set_time)
4299 * src/hildon-picker-button.c
4300 (hildon_picker_button_clicked)
4301 (hildon_picker_button_selector_selection_changed)
4302 (hildon_picker_button_set_selector)
4303 * src/hildon-date-button.c
4304 (hildon_date_button_set_date):
4305 Free strings returned by hildon_touch_selector_get_current_text()
4307 * src/hildon-button.c (hildon_button_construct_child):
4308 Fix leaks in priv->image and priv->label_box
4310 Fixes: NB#90535 (Memory leak in picker button)
4312 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4314 * src/hildon-button.c: (hildon_button_get_property): Do not access
4315 private elements directly, use getters instead.
4317 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4319 * src/hildon-app-menu-private.h
4320 * src/hildon-app-menu.c
4321 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4322 Store the menu's parent window.
4324 * src/hildon-stackable-window.c
4325 (hildon_stackable_window_toggle_menu)
4326 (hildon_stackable_window_finalize):
4327 Set the menu's parent window when the menu is shown, unset it when
4330 * src/hildon-app-menu.c
4331 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4332 (hildon_app_menu_class_init):
4333 Send unhandled keyboard accelerators to the parent window.
4335 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4337 * src/hildon-stackable-window.c
4338 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4340 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4342 * configure.ac: post release version bump
4344 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4347 * configure.ac: Bump version
4348 * debian/changelog: Updates
4349 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4352 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4354 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4357 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4358 GtkMenu with Hildon style.
4360 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4362 * src/hildon-picker-button.c:
4363 (hildon_picker_button_set_done_button_text): Set the dialog's
4364 done button text here as well.
4366 Fixes: NB#90232 (Picker button does not set the label on done button
4367 for the second time)
4369 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4371 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4374 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4376 * src/hildon-app-menu.c (hildon_app_menu_insert)
4377 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4378 the HildonAppMenu to be activatable using keyboard accelerators
4379 when the menu is not being shown.
4381 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4383 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4385 * src/hildon-stackable-window.c
4386 (hildon_stackable_window_show):
4387 Don't hide old windows automatically when new windows are shown:
4388 this is now a task for the window manager.
4389 (hildon_stackable_window_class_init)
4390 (hildon_stackable_window_hide):
4391 Remove windows from the stack everytime they're hidden.
4392 (hildon_stackable_window_realize):
4393 Don't change the _NET_WM_WINDOW_TYPE property. Use
4394 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4395 it as a stackable window.
4397 * src/hildon-program.c
4398 (hildon_program_pop_window_stack):
4399 Just hide the window to remove it from the stack.
4400 (hildon_program_go_to_root_window):
4401 Don't call gtk_widget_show(), this is now a task for the window
4404 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4406 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4408 * src/hildon-button.c
4409 (hildon_button_construct_child):
4410 Don't pack anything in the button until text or image are
4411 set. This allows adding a custom child after creating the button
4412 with hildon_button_new().
4413 (hildon_button_finalize, hildon_button_class_init)
4414 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4415 alignment and the label box even when they're not packed in the
4418 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4420 * src/hildon-touch-selector.h:
4421 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4422 currently the type definition was using GTK_TYPE_VBOX
4423 * src/hildon-touch-selector.c:
4424 Added some implementation notes in order to clarify that any other widget
4425 added without the column related API will not be included on the
4426 selection logic, and how the widget is freed, as some people ask about
4428 (hildon_touch_selector_remove): Reimplemented in order to free properly
4429 the column related data when you remove the private hbox.
4430 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4431 to get a proper HildonTouchSelectorColumn documentation
4433 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4435 * src/hildon-touch-selector-entry.c:
4436 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4437 text in the GtkEntry and there is no item selected. Fixes a
4440 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4442 * src/hildon-app-menu-private.h
4443 * src/hildon-app-menu.[ch]
4444 * src/hildon-button.[ch]
4445 * src/hildon-check-button.[ch]
4446 * src/hildon-entry.[ch]
4447 * src/hildon-pannable-area.[ch]
4448 * src/hildon-text-view.[ch]:
4449 Added private field to the object's structure.
4451 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4453 * configure.ac: post-release version bump
4455 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4459 * configure.ac: pre-release version bump
4461 * debian/changelog: updates.
4463 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4465 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4466 Disconnect the handler for HildonTouchSelector::changed.
4468 (hildon_picker_button_selector_selection_changed): Update the button
4469 value if the selection change was not triggered by the
4472 (hildon_picker_button_set_selector): connect to
4473 HildonTouchSelector::changed.
4475 Fixes: NB#89650 (Picker button is not updated, when selection in
4476 selector has changed)
4478 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4480 * src/hildon-picker-dialog.c
4481 (hildon_picker_dialog_realize): Removed as not required
4482 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4483 * src/hildon-picker-button.c
4484 (_current_selector_empty): New function, checks if the selector is empty
4485 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4486 if the current selector is empty, in order to avoid to show the dialog
4487 close the dialog in this case (and shows a g_warning).
4489 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4491 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4493 * src/hildon-pannable-area.c,
4494 (hildon_pannable_area_scroll): Added clause to stop movement when
4495 the child of pannable is smaller than one page.
4496 (hildon_pannable_area_scroll_to): Added conditions to avoid
4497 starting the scrolling movement if the child is smaller than one
4498 page, the complete child is in the screen, we do not have to move.
4500 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4502 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4504 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4505 this is managed automatically by the widget when the size of the
4508 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4510 * src/hildon-picker-button.c
4511 (hildon_picker_button_set_done_button_text): Make a copy of the
4512 text, and free the previous value.
4514 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4516 * src/hildon-touch-selector-entry.c:
4517 (hildon_touch_selector_entry_print_func): Return the selected row's
4518 text if the entry is empty.
4520 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4523 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4525 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4527 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4530 * src/hildon-check-button.h
4531 * src/hildon-check-button.c
4532 * examples/hildon-check-button-example.c:
4533 HildonCheckButton is now a new widget. 'toggled' signal added.
4535 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4537 * src/hildon-program-private.h
4538 * src/hildon-program.c (hildon_program_init)
4539 (hildon_program_finalize): Removed unused variables group_leader
4540 and name from HildonProgramPrivate.
4542 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4544 * src/hildon-check-button.c (hildon_check_button_set_active)
4545 (hildon_check_button_get_active, hildon_check_button_new): Use
4546 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4548 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4550 * src/hildon-touch-selector.h
4551 (hildon_touch_selector_set_column_attributes): added deprecation
4552 guard HILDON_DISABLE_DEPRECATED
4553 * src/hildon-time-selector.c
4554 (hildon_time_selector_set_time)
4555 (hildon_time_selector_get_time): Fixed a typo on documentation
4556 * src/hildon-touch-selector.c: update HildonTouchSelector and
4557 HildonTouchSelectorColumn documentation
4558 * src/hildon-touch-selector-entry.c: update "text-column" property
4560 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4561 to be added to the general documentation.
4563 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4565 * examples/hildon-pannable-area-example-4.c,
4567 * examples/hildon-pannable-area-example.c,
4568 (main): Modified the code in order to use the container add, with
4569 viewport treeviews could have problems if they are really big.
4571 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4573 * src/hildon-weekday-picker.c,
4574 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4575 the agreement regarding deprecation in the library.
4577 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4579 * examples/hildon-picker-button-multicolumn-example.c:
4580 (main): Use custom "done" button text.
4582 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4583 (hildon_picker_button_set_property),
4584 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4585 (hildon_picker_button_init),
4586 (+hildon_picker_button_get_done_button_text),
4587 (+hildon_picker_button_set_done_button_text): New methods to customize
4588 the "done" button label in the launched HildonPickerDialog. Also,
4591 * src/hildon-picker-button.h: add the public API.
4593 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4595 * src/hildon-date-selector.h:
4596 * src/hildon-picker-dialog.h:
4597 * src/hildon-time-selector.h:
4598 * src/hildon-touch-selector-column.h:
4599 * src/hildon-touch-selector.h:
4601 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4602 declarations. Fixes gtk-doc warnings.
4604 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4606 * src/hildon-picker-dialog.h
4607 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4608 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4610 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4611 long text is set as label for done button)
4613 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4615 * src/hildon-dialog.c (hildon_dialog_add_button):
4616 Set fixed width to all buttons in the HildonDialog.
4618 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4620 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4622 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4623 Set widget name using class name plus "-finger" or "-thumb".
4625 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4627 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4628 'clicked' when the state of the button is manually changed.
4630 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4632 * src/hildon-app-menu.c (hildon_app_menu_realize)
4633 (hildon_app_menu_unrealize, hildon_app_menu_init)
4634 (hildon_app_menu_class_init, item_visibility_changed):
4635 Change the menu layout when the size of the screen changes.
4636 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4637 Show warning only when changing the number of colums using the
4640 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4642 * debian/compat: Set to 5
4643 * debian/control: Update dependencies.
4644 * debian/libhildon1-dbg.install: Remove.
4645 * debian/libhildon1-dev.install: Update according to cdbs paths.
4646 * debian/libhildon1.install: Update according to cdbs paths.
4647 * debian/rules: Switch to cdbs.
4649 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4651 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4652 'item' variable renamed to 'filter'
4654 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4656 * src/hildon-app-menu.c (hildon_app_menu_insert)
4657 (hildon_app_menu_add_filter, remove_item_from_list)
4658 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4659 Don't leak hidden items when the menu is destroyed.
4661 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4663 * src/hildon-app-menu.c (hildon_app_menu_insert)
4664 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4665 (hildon_app_menu_set_columns, item_visibility_changed)
4666 (filter_visibility_changed, hildon_app_menu_repack_filters)
4667 (hildon_app_menu_repack_items):
4668 Repack items and filters separately.
4670 Don't repack all items, change only the ones that are needed to
4673 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4675 * src/Makefile.am: added hildon-touch-selector-column.h
4677 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4679 * src/hildon-touch-selector.c: added the property "text-column" to the
4680 class HildonTouchSelectorColumn, and related get/set functions
4681 (_default_printf_func): updated to use "text-column" property
4682 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4683 "text-column" in his documentation, as this is now included on
4684 HildonTouchSelectorColumn. The get/set_property can still be used,
4685 working as a wrapper to the concrete column "text-column" property
4686 (_text_column_modified): callback added in order to handle the signal
4687 "notify::text-column" of the concrete HildonTouchSelectorColumn
4688 (hildon_touch_selector_entry_get_text_column)
4689 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4690 modified in order to use the HildonTouchSelectorColumn "text-column"
4692 * src/hildon-time-selector.c:
4693 * src/hildon-date-selector.c:
4694 * examples/hildon-touch-selector-example.c
4695 * examples/hildon-touch-selector-multi-cells-example.c
4696 * examples/hildon-picker-button-multicolumn-example.c
4697 Set the right value to "text-column" property on the creation of a new
4698 column using hildon_touch_selector_append_column()
4700 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4702 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4704 * src/hildon-app-menu.c
4705 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4706 updating the layout of the menu, don't create all widgets again,
4707 just repack the items in their new places.
4709 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4711 * src/hildon-time-selector.c
4712 (hildon_time_selector_get_time)
4713 (hildon_time_selector_set_time)
4714 Added documentation of these public methods
4716 * src/hildon-date-button.h
4717 * src/hildon-touch-selector-column.h
4718 * src/hildon-time-button.h
4719 * src/hildon-picker-dialog.h
4720 * src/hildon-time-selector.h
4721 * src/hildon-picker-button.h
4722 * src/hildon-touch-selector.h
4723 * src/hildon-time-picker.h
4724 * src/hildon-date-selector.h
4725 * src/hildon-touch-selector-entry.h
4726 Modified in order to use hildon-widgets code style
4728 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4730 Added deprecated support to the compilation process using
4731 HILDON_DISABLE_DEPRECATED
4733 * configure.ac: Added the --disable-deprecated to the configure
4736 * src/hildon-weekday-picker.c:
4737 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4738 to use the deprecated support. We will update the other deprecated
4739 widgets status in a new patch.
4741 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4743 * configure.ac: Fixed typo with fatal warnings support, the
4744 variable name was not correct
4746 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4748 * src/hildon-app-menu.c
4749 * src/hildon-program.c: Update documentation.
4751 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4753 * configure.ac: Post-release version bump.
4755 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4760 * configure.ac: Pre-release version bump.
4761 * debian/changelog: Updates.
4763 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4765 * NEWS: Update news for previous releases.
4767 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4769 * examples/hildon-touch-selector-multi-cells-example.c:
4770 (create_selector): Update the example to use
4771 hildon_touch_selector_append_column() with a NULL renderer and set
4772 the renderers later.
4773 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4774 passed a NULL renderer. This is documented behavior now.
4776 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4777 This must be used if the developer wants full control on the layout of
4778 the renderers to be added to the column.
4780 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4782 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4784 * src/hildon-touch-selector.c: Documentation fixes.
4786 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4788 * src/hildon-wizard-dialog-private.h: Remove image and box.
4789 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4790 (hildon_wizard_dialog_set_property), (response): Completely remove
4791 image/icon support, and the containers required for the layout.
4793 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4795 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4797 * src/hildon-app-menu.c: Updated documentation.
4799 * src/hildon-stackable-window.c
4800 (hildon_stackable_window_set_main_menu): Unref the old menu after
4801 ref'ing the new one.
4803 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4805 * src/hildon-stackable-window.c
4806 (hildon_stackable_window_set_main_menu): Unref the previous menu
4807 instead of destroying it.
4809 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4810 floating reference and set has_user_ref_count to FALSE to make
4811 HildonAppMenu act like a normal ref-counted widget and not a
4814 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4817 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4819 * src/hildon-touch-selector-column.h: new file
4820 * src/hildon-touch-selector.h
4821 * src/hildon-touch-selector.c
4822 Implemented GtkCellLayout interface, in order to allow to configure
4823 the cell layout on each individual selector column
4824 (hildon_touch_selector_set_column_attributes): marked as deprecated
4825 * examples/hildon-touch-selector-multi-cells-example.c
4826 Example of how to use the GtkCellLayout interface on the selector
4828 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4830 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4832 * src/hildon-app-menu.h
4833 * src/hildon-app-menu.c
4834 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4835 (hildon_app_menu_append, hildon_app_menu_prepend):
4836 New methods to prepend, insert and move items in the menu.
4838 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4840 * src/hildon-wizard-dialog.c:
4842 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4844 (create_title): Update logical IDs and related code.
4845 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4847 * src/hildon-wizard-dialog.h: Note that
4848 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4849 point, as it is not used anymore.
4851 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4853 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4855 * src/hildon-note.c:
4856 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4857 shown. Do not display an icon in confirmation notes nor information
4859 (hildon_note_set_button_text): Update logical ID for cancel button.
4861 Fixes: NB#88850 (Update HildonNote button strings + signals)
4863 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4865 * src/hildon-stackable-window.c
4866 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4868 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4870 * src/hildon-app-menu-private.h
4871 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4872 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4873 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4874 temporary property 'columns' to change the number of columns.
4876 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4878 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4880 * examples/hildon-note-example.c: (on_information_clicked),
4881 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4882 debugging information.
4883 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4885 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4886 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4887 in order to close: this will be handled by the WM from now on.
4889 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4891 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4893 * src/hildon-app-menu-private.h
4894 * src/hildon-app-menu.c
4895 (hildon_app_menu_append, hildon_app_menu_add_filter)
4896 (button_visibility_changed, hildon_app_menu_apply_style)
4897 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4898 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4899 layout everytime a button (item or filter) is shown or hidden.
4901 * src/hildon-stackable-window.c
4902 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4905 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4907 * src/hildon-touch-selector.c:
4908 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4909 that the treeview inside the touch selector is in fremantle hildon mode
4910 * examples/hildon-date-button-example.c
4911 * examples/hildon-picker-button-multicolumn-example.c
4912 * examples/hildon-touch-selector-entry-example.c
4913 * examples/hildon-touch-selector-example.c
4914 * examples/hildon-time-button-example.c
4915 * examples/hildon-picker-button-example.c:
4916 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4918 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4920 * examples/hildon-text-view-example.c: (main): Remove the
4921 gtkrc bits, now handled by the theme.
4923 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4925 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4928 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4930 * po/Makefile.am: Install properly the mo files.
4931 * po/en_GB.po: Update translation, to ease testing purposes.
4933 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4935 * examples/hildon-picker-button-example.c: (main): Select an item
4936 in the selector before setting it to the button.
4938 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4940 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4941 Update button's value if the selector has an item active.
4943 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4944 'value' with the selector)
4946 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4948 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4949 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4950 (hildon_picker_button_class_init): Plug the finalize method.
4951 (hildon_picker_button_set_selector): If there's a previously set
4952 selector, unref'it before setting a new one.
4954 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4955 HildonTouchSelector)
4957 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4959 * src/hildon-touch-selector-entry.c:
4960 (hildon_touch_selector_entry_changed): Check if there is no text
4961 selected before setting the entry text.
4964 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4966 * src/hildon-touch-selector.h
4967 * src/hildon-touch-selector.c
4968 (hildon_touch_selector_get_active)
4969 (hildon_touch_selector_set_active): New methods to set/get the
4970 index of the selected item.
4972 * src/hildon-picker-button.h
4973 * src/hildon-picker-button.c
4974 (hildon_picker_button_get_active)
4975 (hildon_picker_button_set_active): New methods to set/get the
4976 index of the selected item.
4978 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4980 * configure.ac: post-release version bump.
4982 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4986 * configure.ac: Pre-release version bump.
4987 * debian/changelog: Updates.
4988 * debian/control: Add myself as maintainer and depend on l10n
4991 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4993 * src/hildon-window.c
4994 (hildon_window_set_main_menu)
4995 * src/hildon-stackable-window.c
4996 (hildon_stackable_window_set_main_menu):
4997 Updated documentation.
4999 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5001 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5002 Don't free selector->priv manually.
5005 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5008 (hildon_gtk_window_set_progress_indicator):
5009 * src/hildon-gtk.h: Added the new API
5010 hildon_gtk_window_set_progress_indicator, it changes the state of
5011 the window progress hint.
5013 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5015 * src/hildon-button.c
5016 * src/hildon-stackable-window.c: Minor documentation updates.
5018 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5020 * src/hildon-stackable-window.c: Updated documentation.
5022 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5024 * src/hildon-defines.h: Update margins definitions
5025 to the Fremantle sizes.
5028 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5030 * src/hildon-touch-selector.c,
5031 (_hildon_touch_selector_set_model): Cleaning the code after
5032 review, removed g_print and #if 0 from the code.
5034 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5036 * src/hildon-edit-toolbar.c: Update documentation.
5038 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5040 * src/hildon-check-button.h
5041 * src/hildon-check-button.c
5042 (hildon_check_button_set_label, hildon_check_button_get_label)
5043 * examples/hildon-check-button-example.c
5044 (button_clicked_cb):
5045 Removed deprecated methods.
5047 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-text-view.c:
5050 Add sample code to the documentation.
5052 * src/hildon-entry.h
5053 * src/hildon-text-view.h:
5054 Minor cosmetic changes.
5056 * src/hildon-entry.c:
5057 Add sample code to the documentation.
5058 (hildon_entry_init, hildon_entry_refresh_contents):
5059 Don't allow NULL values in the placeholder.
5061 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5063 * doc/hildon-docs.sgml
5065 * examples/Makefile.am
5066 * examples/hildon-text-view-example.c
5068 * src/hildon-text-view.c
5069 * src/hildon-text-view.h
5071 New HildonTextView widget, with example.
5073 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5075 * po/POTFILES.in: Add missing files with translatable strings.
5076 Partially fixes NB#88287.
5078 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5080 * examples/hildon-pannable-area-example-2.c: (main): No need to
5081 set the cellrenderer height inside hildon touch lists, the theme does
5084 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5086 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5087 they are integrated in the theme.
5089 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5091 * examples/hildon-entry-example.c: Update the example adding
5092 widgets to modify the text and the placeholder of the HildonEntry.
5094 * src/hildon-entry.c: Show the placeholder everytime the widget
5095 is empty and loses the focus.
5097 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5099 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5101 * src/hildon-pannable-area.c,
5102 (hildon_pannable_area_size_request): Fixed bug in height
5103 requisition, avoid increasing size and add border twice.
5105 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5107 * configure.ac: postrelease version bump.
5109 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5113 * configure.ac: Prerelease version bump.
5114 * debian/changelog: update.
5115 * debian/rules: make -dbg package contain useful debugging symbols.
5117 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5119 * src/hildon-dialog.h
5120 * src/hildon-dialog.c
5121 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5122 New methods to add buttons with finger size.
5123 (hildon_dialog_new_with_buttons):
5124 Create buttons with finger size.
5126 * examples/hildon-dialog-example.c (main): Use HildonDialog
5127 methods to add buttons.
5129 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5131 * src/hildon-entry.c: Updated HildonButton documentation.
5133 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5135 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5136 button value label with (FALSE, FALSE) to prevent NB#88126 from
5139 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5141 * examples/hildon-pannable-area-example.c,
5142 (main): Removed examples panning a vbox inside a pannable
5143 area. Check bug NB#87965
5145 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5147 Patch contributed by Kris Rietveld (kris@imendio.com)
5149 * src/hildon-pannable-area.c,
5150 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5151 get_size and get_position, this saves an X server roundtrip.
5153 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5155 * doc/hildon-docs.sgml
5157 * examples/Makefile.am
5158 * examples/hildon-entry-example.c
5160 * src/hildon-entry.c
5161 * src/hildon-entry.h
5163 New HildonEntry widget, with example.
5165 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5167 * src/hildon-button.c (hildon_button_construct_child): Pack the
5168 image with expand == fill == FALSE. This is a workaround for a bug
5171 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5173 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5174 labels for the text column, to make it more look more dynamic.
5176 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5178 * src/hildon-time-selector.c
5179 Define gettext auxiliar macro N_
5180 (_create_minutes_model)
5181 (_create_hours_model)
5182 (_create_ampm_model): use of strftime in order to fill the model
5183 * src/hildon-date-selector.c
5184 (hildon_date_selector_finalize):
5185 (_locales_init): remove the logic related to get the name of the months
5186 using nl_langinfo, as it is not required anymore
5188 (_create_year_model)
5189 (_create_month_model)
5190 (_update_day_model): use of strftime in order to fill the model properly
5193 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5195 * src/hildon-button.h
5196 * src/hildon-button.c (hildon_button_get_image): New method to
5199 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5201 * src/hildon-touch-selector.c:
5202 (hildon_touch_selector_remove_column): Remove from the correct parent
5203 and also remove the list element and free it.
5206 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5208 * src/hildon-time-selector.c
5209 (_create_hours_model): change the range on 12h ampm format in order to use
5210 a 12-11 range instead of previous 01-12 range
5211 (hildon_time_selector_set_time): change the way to select the current time
5212 on 12h ampm format, due the change on the range
5213 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5216 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5218 * src/hildon-touch-selector.c
5219 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5220 in order to allow use this function on multiple row selection mode if
5221 the column is different that the first one
5224 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5226 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5227 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5229 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5231 * src/hildon-date-selector.h: clean some comments, now on the .c
5232 * src/hildon-date-selector.c
5233 (hildon_date_selector_select_month): first implementation
5234 (hildon_date_selector_select_day): added documentation, reimplemented
5235 using hildon_date_selector_select_current_date to avoid repeat code
5238 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5240 Reviewed interaction logic based on device experiences, refactored
5243 * src/hildon-pannable-area.c,
5244 (hildon_pannable_area_class_init): Updated default vmax speed.
5245 (hildon_pannable_area_calculate_velocity): Added this function, it
5246 avoids duplicate valocity calculation. Adjusted calculation to
5247 avoid problems with zero dist events.
5249 (hildon_pannable_area_motion_notify_cb): Now we use the
5250 calculate_velocity function.
5252 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5254 * src/hildon-date-selector.c
5255 (hildon_date_selector_select_current_date): fix the day range check
5256 as it failed using the last day of the current month
5259 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5261 * src/hildon-touch-selector.c
5262 (hildon_touch_selector_get_num_columns): added a parameter validation
5265 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5267 * examples/Makefile.am
5268 * examples/hildon-edit-toolbar-example.c: Example of the
5269 HildonEditToolbar widget.
5271 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5273 * configure.ac: postrelease version bump.
5275 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5279 * configure.ac: prerelease version bump.
5280 * debian/changelog: update.
5282 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5284 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5285 renderer to display stock icons in the touch list. Also, set the sizes
5286 to the recommended in the style guide.
5288 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5289 * src/hildon-touch-selector.h
5290 (hildon_touch_selector_set_active_iter): renamed, now is
5291 hildon_touch_selector_select_iter
5292 (hildon_touch_selector_get_active_iter): renamed, now is
5293 hildon_touch_selector_get_selected
5294 (hildon_touch_selector_unselect_iter): added
5295 * src/hildon-touch-selector.c
5296 Update after API modification (methods renamed)
5297 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5298 order to avoid problems selecting multiple elements on the column
5299 (hildon_touch_selector_unselect_iter): added the implementation
5300 * src/hildon-time-selector.c
5301 * src/hildon-date-selector.c
5302 * src/hildon-touch-selector-entry.c
5303 Update methods calls after hildon-touch-selector.h API modification (methods
5306 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5308 * src/hildon-stackable-window.c
5309 (hildon_stackable_window_finalize): Call the parent class's finalize.
5311 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5313 * examples/hildon-touch-selector-example.c: (create_selector): Use
5314 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5317 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5319 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5320 set a cell background color, to respect theming.
5322 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5324 * doc/hildon-docs.sgml
5327 * src/hildon-edit-toolbar.c
5328 * src/hildon-edit-toolbar.h
5329 * src/hildon.h: New HildonEditToolbar widget.
5331 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5333 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5336 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5337 * src/hildon-touch-selector.c
5338 (_create_new_column): use g_object_set instead of two g_object_set_property
5340 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5341 * src/hildon-touch-selector.c
5342 (_create_new_column): use of hildon_gtk_tree_view_new to create
5343 the treeview, instead of use directly g_object_new
5344 (_create_new_column): update the property name "vindicator-mode" for the
5345 new one "vscrollbar-policy"
5346 * examples/hildon-date-button-example.c
5347 * examples/hildon-picker-button-multicolumn-example.c
5348 * examples/hildon-touch-selector-entry-example.c
5349 * examples/hildon-touch-selector-example.c
5350 * examples/hildon-time-button-example.c
5351 * examples/hildon-picker-button-example.c
5352 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5353 to all the treeviews inside a pannable area.
5355 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5357 * src/hildon-button.h
5358 * src/hildon-button.c (hildon_button_init)
5359 (hildon_button_set_arrangement, hildon_button_set_alignment)
5360 (hildon_button_set_title_alignment)
5361 (hildon_button_set_value_alignment)
5362 (hildon_button_set_image_alignment)
5363 (hildon_button_construct_child): New methods to set the alignment
5364 of the individual components of the button (title, value,
5365 image). Also, new method to alter the xscale and yscale properties
5366 of the GtkAlignment inside the button, so more complex layouts can
5369 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5371 * src/hildon-button.c (hildon_button_style_set)
5372 (hildon_button_class_init, hildon_button_set_arrangement)
5373 (hildon_button_construct_child): Apply style properties
5374 correctly. Use the 'image-spacing' style property too.
5376 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5378 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5379 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5382 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5384 * src/hildon-pannable-area.c,
5385 (hildon_pannable_area_size_request): Fixed problem with
5386 pannable-area size_request.
5388 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5390 Added management for the grab-focus to a child widget, like a
5391 range, we need to fade out the scrollbar when releasing.
5393 * src/hildon-pannable-area.c,
5394 (hildon_pannable_area_init): Connected the grab-focus signal to
5396 (hildon_pannable_area_grab_notify): Added this function in order
5397 to manage the situation when the grab-focus ends. We have to
5398 fade-out the scrollbar.
5400 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5402 * src/hildon-app-menu.c: Minor documentation update.
5404 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5406 * src/hildon-app-menu.c
5407 * examples/hildon-app-menu-example.c (create_menu): Update
5408 examples and documentation to explain how to connect callbacks.
5410 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5412 * examples/hildon-button-example.c
5413 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5414 hildon_stackable_window_new instead of gtk_window_new
5416 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5418 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5419 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5420 (hildon_pannable_area_set_property),
5421 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5422 (hildon_pannable_area_unrealize),
5423 (hildon_pannable_area_size_request),
5424 (hildon_pannable_area_size_allocate),
5425 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5426 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5427 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5428 (hildon_pannable_area_initial_effect),
5429 (hildon_pannable_area_redraw),
5430 (hildon_pannable_area_scroll_indicator_fade),
5431 (hildon_pannable_area_expose_event),
5432 (hildon_pannable_area_get_topmost), (synth_crossing),
5433 (hildon_pannable_area_button_press_cb),
5434 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5435 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5436 (hildon_pannable_area_motion_notify_cb),
5437 (hildon_pannable_area_button_release_cb),
5438 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5439 (hildon_pannable_area_remove),
5440 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5441 chage the code layout to a more GtkWidget like. Review the use of
5444 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5446 * examples/hildon-pannable-area-example-4.c,
5447 (main): Modified the name of the hindicator_mode to
5450 * src/hildon-pannable-area.c,
5451 (hildon_pannable_area_class_init),
5452 (hildon_pannable_area_motion_notify_cb),
5453 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5454 we have reduced the amount of signals and managed reviewed its
5455 rationale. Changed the default decelerate value.
5457 (hildon_pannable_area_add),
5458 (hildon_pannable_area_redraw): Refactored functions.
5460 (hildon_pannable_area_init),
5461 (hildon_pannable_area_get_property),
5462 (hildon_pannable_area_set_property):
5463 (hildon_pannable_draw_vscroll),
5464 (hildon_pannable_draw_hscroll),
5465 (hildon_pannable_area_initial_effect),
5466 (hildon_pannable_area_expose_event),
5467 (hildon_pannable_area_scroll),
5468 (hildon_pannable_area_button_press_cb),
5469 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5470 and vindicator_mode with hscrollbar_policy and
5471 vscrollbar_policy. Replaced hscroll and vscroll with
5472 hscroll_visible and vscroll_visible.
5474 (hildon_pannable_area_refresh): Refactor the function, remove
5475 variables and check the calls to this function, added resize
5476 conditions in case the children change their layout.
5478 (hildon_pannable_area_size_request): Added more detailed
5479 size_request calculation.
5482 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5484 * src/hildon-color-chooser.c
5485 (init_borders): use the correct gtk_border_free instead of g_free, to
5486 avoid a crash when this widget is used (ie: the three color selection
5489 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5491 * src/hildon-check-button.c,
5492 (hildon_check_button_set_active): Fixed problem when setting the
5493 active value, the widget was not redrawn.
5495 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5497 * src/hildon-pannable-area.c,
5498 (hildon_pannable_area_refresh),
5499 (hildon_pannable_area_scroll),
5500 (hildon_pannable_area_motion_notify_cb): Small code style change.
5502 (hildon_pannable_area_class_init): Default initial_hint set to
5503 FALSE, it is not in the specs.
5505 (hildon_pannable_area_initial_effect),
5506 (hildon_pannable_area_expose_event),
5507 (hildon_pannable_area_map),
5508 (hildon_pannable_area_init): Moved the launching point of the
5509 initial effect, it was in map but the sizes where not correct in
5510 that method so we do not know if we have the reproduce it. Now it
5511 is placed in the expose_event method and uses a variable to
5512 reproduce it just once.
5514 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5516 * src/hildon-pannable-area.c,
5517 (hildon_pannable_draw_vscroll),
5518 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5519 position allowed for the scrollbars.
5521 (hildon_pannable_area_size_allocate): Small style change.
5523 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5525 * src/hildon-pannable-area.c,
5526 (hildon_pannable_area_scroll_indicator_fade),
5527 (hildon_pannable_area_button_press_cb),
5528 (hildon_pannable_area_button_release_cb),
5529 (hildon_pannable_area_scroll_cb),
5530 (hildon_pannable_area_expose_event),
5531 (hildon_pannable_area_init): Added the define parameter
5532 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5533 and refactor the fade variable.
5535 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5537 * src/hildon-pannable-area.c,
5538 (hildon_pannable_area_redraw),
5539 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5540 lines, we were reimplemeting the redraw code.
5542 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5544 * src/hildon-pannable-area.c,
5545 (hildon_pannable_area_scroll_cb),
5546 (hildon_pannable_area_realize),
5547 (hildon_pannable_area_class_init): Added scroll_event management
5548 for pannable area, now we can scroll the usual desktop method.
5550 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5551 initialization of the parameters should depend on idle_id.
5553 (hildon_pannable_area_init),
5554 (hildon_pannable_area_map): Small code style modifications
5556 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5558 * src/hildon-pannable-area.c
5559 (hildon_pannable_area_button_press_cb),
5560 (hildon_pannable_area_motion_notify_cb),
5561 (hildon_pannable_area_button_release_cb),
5562 (hildon_pannable_area_size_allocate),
5563 (hildon_pannable_area_scroll_to): Improved the timeouts
5564 management, we avoid creating them each time.
5566 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5568 * src/hildon-pannable-area.c:
5569 (hildon_pannable_area_refresh),
5570 (hildon_pannable_area_motion_notify_cb),
5571 (hildon_pannable_area_class_init):
5572 * src/hildon-pannable-area.h:
5573 * src/hildon-touch-selector.c
5574 (_create_new_column):
5575 * examples/hildon-pannable-area-example-4.c:
5576 (horizontal_movement),
5577 (vertical_movement),
5579 Replaced the names of enums in the HildonPannableArea:
5580 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5581 HILDON_MOVEMENT_MODE_*
5582 - HILDON_PANNABLE_AREA_MOV_* ->
5584 - Removed HildonPannableAreaIndicatorMode, now we
5587 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5589 * examples/hildon-pannable-area-touch-grid-example.c
5590 * examples/hildon-pannable-area-touch-list-example.c: Fix
5591 compilation warnings.
5593 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5595 * src/hildon-gtk.c (hildon_gtk_button_new)
5596 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5597 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5598 images overriding the value of the "gtk-button-images" setting.
5600 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5602 * src/hildon-check-button.c (hildon_check_button_new):
5603 Instead of using a custom container, display the label and the
5604 checkbox using the standard GtkButton API.
5606 * examples/hildon-check-button-example.c (main): Don't use
5607 hildon_check_button_set_label() anymore
5609 * src/hildon-check-button.h
5610 * src/hildon-check-button.c
5611 (hildon_check_button_set_label, hildon_check_button_get_label):
5612 Set as deprecated, now we're using gtk_button_{get,set}_label()
5614 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5616 * src/hildon-pannable-area.c,
5617 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5618 GtkTreeview first line we detected it after the inclusion of the
5619 GtkWindowImpl in gtk+. We now check if the window is visible, not
5620 just if the pointer is over the window.
5621 (hildon_pannable_axis_scroll),
5622 (hildon_pannable_area_expose_event): Small style changes.
5624 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5626 * src/hildon-button.c: Update documentation.
5628 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5630 * examples/hildon-button-example.c: Add a switch to show images in
5633 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5635 * doc/hildon-docs.sgml: Some docs reorganization.
5637 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5639 * examples/hildon-pannable-area-touch-list-example.c
5641 * examples/hildon-pannable-area-touch-grid-example.c
5642 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5643 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5644 Fix memory leak when setting the tree model.
5646 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5650 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5652 * doc/hildon.types: Remove duplicated hildon_window_get_type
5653 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5654 documentation comment.
5656 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5658 * doc/Makefile.am: Complete list of private headers.
5660 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5662 * doc/hildon-docs.sgml
5663 * src/hildon-app-menu.c
5664 * src/hildon-bread-crumb.c
5665 * src/hildon-button.c
5667 * src/hildon-program.c
5668 * src/hildon-stackable-window.c
5669 * src/hildon-window.c: Lots of documentation updates.
5671 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5673 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5675 * configure.ac: Require Gtk+ 2.12.9 at least
5677 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5679 * src/hildon-pannable-area.c
5680 (hildon_pannable_area_scroll_indicator_fade),
5681 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5682 to protect the return of this timeout callbacks, avoiding deadlocks.
5684 2008-08-12 Christian Dywan <christian@imendio.com>
5687 * src/hildon-*.h: Ensure a consistent include order,
5688 include <gtk/gtk.h> instead of particular files and
5689 only include the topmost header in the gtk stack. See NB #39857
5691 2008-08-12 Christian Dywan <christian@imendio.com>
5693 * src/hildon-picker-dialog.c
5694 * src/hildon-touch-selector.c: Fix warnings about unused and
5695 uninitialized variables.
5697 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5699 * examples/Makefile.am
5700 * examples/hildon-check-button-example.c: Example of the hildon
5703 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5705 * src/hildon-window.h
5706 * src/hildon-window.c (hildon_window_class_init)
5707 (hildon_window_unset_program): Don't make
5708 hildon_window_unset_program a virtual function anymore.
5710 * src/hildon-stackable-window.c: Update documentation
5712 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5715 * doc/hildon-docs.sgml
5716 * doc/visual_index.xml
5717 * src/hildon-defines.c
5719 * src/hildon-helper.c
5720 * src/hildon-range-editor.c: Lots of documentation fixes.
5722 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5724 * examples/hildon-picker-button-multicolumn-example.c
5725 (create_touch_selector): Fix compilation warning.
5727 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5729 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5730 (hildon_pannable_area_button_release_cb)
5731 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5733 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5735 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5738 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5740 * src/hildon-bread-crumb-trail.h
5741 * src/hildon-date-editor.c
5742 * src/hildon-date-selector.c
5743 * src/hildon-pannable-area.c
5744 * src/hildon-picker-dialog.c
5745 * src/hildon-time-selector.c
5746 * src/hildon-touch-selector-entry.c
5747 * src/hildon-touch-selector.c
5748 * src/hildon-touch-selector.h: Misc documentation fixes
5750 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5752 * examples/hildon-date-editor-example.c (main): Updated date
5755 * examples/hildon-note-example.c (on_confirmation_clicked):
5756 Updated confirmation note example.
5758 * src/hildon-date-editor.c
5759 * src/hildon-note.c: Updated sample programs in documentation.
5762 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5764 * src/hildon-date-button.h:
5765 * src/hildon-picker-button.h:
5766 * src/hildon-time-button.c:
5767 * src/hildon-time-button.h:
5769 Some declarations changes to allow gtk-doc to document the widgets
5772 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5774 * src/hildon-date-button.c: Document the widget.
5775 * src/hildon-time-button.c: Document the widget.
5777 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5779 * src/hildon-picker-button.c: Document the widget.
5780 * src/hildon-touch-selector-entry.c: Document the widget.
5782 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5784 * doc/hildon-docs.sgml
5787 * src/hildon-check-button.h
5788 * src/hildon-check-button.c: New functions to create the Hildon
5792 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5794 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5796 * src/hildon-button.h
5797 * src/hildon-button.c
5798 (hildon_button_add_title_size_group)
5799 (hildon_button_add_value_size_group)
5800 (hildon_button_add_image_size_group)
5801 (hildon_button_add_size_groups): New functions to set size groups
5802 for the button labels and image.
5803 (hildon_button_new_full): Removed
5805 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5807 * src/hildon-time-selector.c
5808 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5809 in order to avoid a crash if gconf is not available
5811 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5813 * src/hildon-button.c (hildon_button_set_arrangement)
5814 (hildon_button_construct_child): Don't construct the button child
5815 before setting the arrangement.
5817 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5819 * src/hildon-program-private.h
5820 * src/hildon-program.c
5821 * src/hildon-program.h
5822 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5823 (hildon_program_peek_window_stack)
5824 (hildon_program_pop_window_stack)
5825 (hildon_program_go_to_root_window): HildonProgram now has a
5826 separate list for stackable windows. Functions are provided to
5827 manage that list with a stack-like API.
5829 * src/hildon-stackable-window.c: Stackable window management is
5830 now much simpler with the new HildonProgram API. Windows no
5831 longer need to be manually added to the program, they're
5832 automatically pushed to the top of the stack when shown.
5834 * examples/hildon-stackable-window-example.c: Updated example to
5835 reflect the API changes.
5837 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5839 * src/hildon-touch-selector.c: Comment out unimplemented
5840 hildon_touch_selector_insert_column() to avoid a compile warning.
5842 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5844 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5845 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5846 (hildon_touch_selector_set_column_selection_mode),
5847 (_hildon_touch_selector_set_model),
5848 (hildon_touch_selector_set_model):
5850 Complete review of HildonTouchSelector documentation.
5852 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5854 * doc/hildon-docs.sgml
5858 * src/hildon-gtk.c: Convenience functions for standard Gtk
5859 widgets, used to easily perform frequent operations.
5861 * src/hildon-button-helpers.h
5862 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5864 * src/hildon-helper.h
5865 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5866 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5868 * src/hildon-button.h
5869 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5871 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5873 * src/hildon-button.c (hildon_button_init)
5874 (hildon_button_set_arrangement, hildon_button_construct_child):
5875 Pack the image and the labels inside the same GtkAlignment so
5876 gtk_button_set_alignment() can be used
5878 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5880 * src/hildon-button.h
5881 * src/hildon-button.c
5882 (hildon_button_init, hildon_button_set_image)
5883 (hildon_button_set_image_position)
5884 (hildon_button_construct_child): New functions to add an image to
5887 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5889 * src/hildon-date-button.c
5890 * src/hildon-picker-button.c
5891 * src/hildon-time-button.c
5892 * src/hildon-button.c:
5893 (hildon_button_class_init): "size-flags" renamed to "size"
5894 (hildon_button_set_title): Hide the title label if set to NULL.
5896 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5898 HildonButtonFlags split into HildonButtonArrangement (to set the
5899 button layout) and HildonSizeType (which can be used for any
5902 * src/hildon-button.h
5903 * src/hildon-button.c
5904 (hildon_button_class_init)
5905 (hildon_button_set_arrangement)
5906 (hildon_button_set_property): New "size-flags"
5907 property. "arrangement-flags" renamed to "arrangement".
5908 (hildon_button_new, hildon_button_new_with_text)
5909 (hildon_button_new_full): Constructors updated to reflect type changes.
5911 * src/hildon-helper.h
5912 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5913 to set the size of a widget.
5917 * src/hildon-button-helpers.c
5918 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5920 * src/hildon-date-button.c
5921 * src/hildon-date-button.h
5922 * src/hildon-picker-button.c
5923 * src/hildon-picker-button.h
5924 * src/hildon-time-button.c
5925 * src/hildon-time-button.h: Updated widgets to reflect
5926 HildonButton API changes.
5928 * examples/hildon-button-example.c
5929 * examples/hildon-date-button-example.c
5930 * examples/hildon-picker-button-example.c
5931 * examples/hildon-picker-button-multicolumn-example.c
5932 * examples/hildon-time-button-example.c
5933 * examples/hildon-touch-selector-entry-example.c
5934 * examples/hildon-touch-selector-example.c: Updated examples to
5935 reflect HildonButton API changes.
5937 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5939 * doc/hildon-docs.sgml:
5941 * examples/Makefile.am:
5942 * examples/hildon-touch-selector-entry-example.c:
5944 * src/hildon-touch-selector-entry.c:
5945 * src/hildon-touch-selector-entry.h:
5948 Moved HildonTouchSelectorEntry from sandbox. Added its
5949 documentation and examples.
5951 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5953 * src/hildon-touch-selector.h:
5954 * examples/hildon-picker-button-multicolumn-example.c:
5955 (hildon_touch_selector_append_text_column): Add a gboolean
5956 parameter to determine if text must be centered in the column.
5958 * src/hildon-date-selector.c: (hildon_date_selector_init):
5959 * src/hildon-time-selector.c: (hildon_time_selector_init):
5960 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5961 (create_touch_selector): Update widgets and example to reflect
5964 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5966 * src/hildon-touch-selector.c:
5967 (hildon_touch_selector_set_active_iter): Set also the cursor in
5970 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5972 * doc/hildon-docs.sgml
5975 * src/hildon-toggle-button.c
5976 * src/hildon-toggle-button.h
5977 * src/hildon.h: Removed HildonToggleButton widget, a derived
5978 class is not necessary for this.
5980 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5982 * src/hildon-pannable-area.c,
5983 (hildon_pannable_area_realize),
5984 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5987 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5989 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5990 "done" button the default widget for the dialog.
5992 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5994 * src/hildon-touch-selector.c:
5995 (hildon_touch_selector_class_init),
5996 (hildon_touch_selector_get_property),
5997 (_hildon_touch_selector_set_model),
5998 (_hildon_touch_selector_has_multiple_selection),
5999 (hildon_touch_selector_has_multiple_selection):
6000 Add a "has-multiple-selection" property with a virtual
6001 has_multiple_selection() method to allow derived classes to
6002 override the default value for it. See the method and property
6003 documentation for details.
6005 * src/hildon-touch-selector.h: Add the new API.
6007 * src/hildon-picker-dialog.c: (requires_done_button): Call
6008 hildon_touch_selector_has_multiple_selection() instead of
6009 determining the need for a button itself.
6011 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6013 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6014 (_hildon_touch_selector_set_model),
6015 (hildon_touch_selector_set_model): Move working code to
6016 _hildon_touch_selector_set_mode(). Call the class method instead.
6018 * src/hildon-touch-selector.h: Add (*set_model) to
6019 HildonTouchSelectorClass.
6021 Make hildon_touch_selector_set_model() a virtual method, so that
6022 derived classes can extend it and do fancy stuff with the model.
6024 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6026 * configure.ac: Set back the tarname in AC_INIT to hildon.
6028 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6032 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6033 instead of libesd (NB#86876). Volume handling is still an open issue.
6035 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6038 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6040 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6041 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6042 derived class to ease placement of an entry widget in
6043 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6044 end, where the selector columns are packed now.
6046 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6048 * src/hildon-picker-button.c: Removed the simple _text() API.
6049 * src/hildon-picker-button.h: Likewise.
6051 * src/hildon-touch-selector.h:
6052 * src/hildon-touch-selector.c:
6053 (hildon_touch_selector_new_text),
6054 (hildon_touch_selector_append_text),
6055 (hildon_touch_selector_prepend_text),
6056 (hildon_touch_selector_insert_text):
6058 Moved the simple _text() API from HildonPickerButton to
6059 HildonTouchPicker, to provide better escalability and not to tie
6060 that API to HildonPickerButton.
6062 * examples/hildon-picker-button-example.c: (main): Example updated.
6064 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6066 * src/hildon-button.c: Updated documentation.
6068 * examples/hildon-button-example.c: Add the posibility to create
6069 the buttons using horizontal layout for title and value.
6071 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6073 * src/hildon-app-menu-private.h
6074 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6075 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6076 GtkSizeGroup for the filters, use the 'homogeneous' property of
6079 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6081 * examples/hildon-button-example.c: Updated example.
6083 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6085 * doc/hildon-docs.sgml:
6088 Update documentation.
6090 * examples/Makefile.am: Update renamed examples.
6092 * examples/hildon-picker-button-multicolumn-example.c:
6093 (create_touch_selector), (main): Update after the rename.
6095 * examples/hildon-touch-picker-example.c: Removed.
6096 * examples/hildon-touch-selector-example.c: (value_changed),
6097 (create_selector), (get_visible_content), (main): Renamed from
6098 hildon-touch-picker-example.c
6100 * src/Makefile.am: Updated renamed files.
6102 * src/hildon-date-button.c: (hildon_date_button_init),
6103 (hildon_date_button_get_date), (hildon_date_button_set_date):
6104 * src/hildon-date-selector.c: (hildon_date_selector_init),
6105 (_custom_print_func), (_update_day_model),
6106 (_manage_selector_change_cb),
6107 (hildon_date_selector_select_current_date),
6108 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6109 * src/hildon-date-selector.h:
6110 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6111 (hildon_picker_button_set_property),
6112 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6113 (hildon_picker_button_init), (hildon_picker_button_new_text),
6114 (hildon_picker_button_append_text),
6115 (hildon_picker_button_prepend_text),
6116 (hildon_picker_button_insert_text),
6117 (hildon_picker_button_set_selector),
6118 (hildon_picker_button_get_selector):
6119 * src/hildon-picker-button.h:
6120 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6121 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6122 (_update_title_on_selector_changed_cb), (requires_done_button),
6123 (_hildon_picker_dialog_set_selector),
6124 (hildon_picker_dialog_set_selector),
6125 (hildon_picker_dialog_get_selector):
6126 * src/hildon-picker-dialog.h:
6127 * src/hildon-time-button.c: (hildon_time_button_init),
6128 (hildon_time_button_get_time), (hildon_time_button_set_time):
6129 * src/hildon-time-selector.c: (hildon_time_selector_init),
6130 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6131 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6132 * src/hildon-time-selector.h:
6135 Massive code updates after the rename.
6137 * src/hildon-touch-picker.c: Removed.
6138 * src/hildon-touch-picker.h: Removed.
6140 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6141 (hildon_touch_selector_init), (hildon_touch_selector_map),
6142 (hildon_touch_selector_remove), (_default_print_func),
6143 (_selection_changed_cb), (_create_new_column),
6144 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6145 (hildon_touch_selector_append_text_column),
6146 (hildon_touch_selector_remove_column),
6147 (hildon_touch_selector_set_column_attributes),
6148 (hildon_touch_selector_insert_column),
6149 (hildon_touch_selector_get_num_columns),
6150 (hildon_touch_selector_get_column_selection_mode),
6151 (hildon_touch_selector_set_column_selection_mode),
6152 (hildon_touch_selector_set_print_func),
6153 (hildon_touch_selector_get_print_func),
6154 (hildon_touch_selector_get_active_iter),
6155 (hildon_touch_selector_set_active_iter),
6156 (hildon_touch_selector_get_selected_rows),
6157 (hildon_touch_selector_get_model),
6158 (hildon_touch_selector_set_model),
6159 (hildon_touch_selector_get_current_text),
6160 (_hildon_touch_selector_center_on_selected_items):
6161 * src/hildon-touch-selector.h: Renamed from
6162 hildon-touch-picker.[ch]
6164 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6165 references, code examples, and related documentation.
6167 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6169 * doc/hildon-docs.sgml
6172 * src/hildon-toggle-button.c
6173 * src/hildon-toggle-button.h
6174 * src/hildon.h: New HildonToggleButton widget.
6176 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6178 * src/hildon-button.c: Add API documentation.
6179 (hildon_button_set_size_groups): Check input parameters
6181 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6183 * src/hildon-pannable-area.c
6184 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6185 effect after reaching the movement thredshold. This way we start
6186 using the distance after passing the thredshold.
6188 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6190 * src/hildon-button.c: (hildon_button_set_property): Use the
6191 appropriate g_value_get_flags() method.
6193 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6195 * doc/hildon-docs.sgml:
6198 Add the touch pickers, picker dialogs, and picker button widgets
6199 to the documentation.
6201 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6203 * src/hildon-button.c: (hildon_button_set_property),
6204 (hildon_button_class_init): Make "arrangement-flags" a proper
6205 G_TYPE_FLAGS derived property.
6207 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6209 * examples/Makefile.am: Add below examples.
6210 * examples/hildon-date-button-example.c:
6211 * examples/hildon-picker-button-example.c:
6212 * examples/hildon-picker-button-multicolumn-example.c:
6213 * examples/hildon-time-button-example.c:
6214 * examples/hildon-touch-picker-example.c:
6216 Add examples for the recently added touch pickers,
6217 picker dialogs, and picker button widgets.
6219 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6221 * src/hildon-button.c: Add some API documentation
6223 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6225 * src/hildon-button.h
6226 * src/hildon-button.c
6228 (hildon_button_new_with_text): New constructor to create a button
6229 with no text at all.
6230 (hildon_button_init, hildon_button_set_arrangement)
6231 (hildon_button_set_title, hildon_button_set_value)
6232 (hildon_button_set_text)
6233 (hildon_button_construct_child): Hide the value when it's not used
6234 so the rest of the text is properly aligned.
6235 Allow creating buttons with arbitrary widgets inside (not just
6236 title/value labels).
6238 * examples/hildon-button-example.c (vertical_buttons_window)
6239 (horizontal_buttons_window): Update example to use new API.
6241 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6243 * src/Makefile.am: Added HildonTimeButton.
6244 * src/hildon-time-button.c: Added missing LGPL header.
6245 * src/hildon-time-button.h: Added missing LGPL header.
6246 * src/hildon.h: Add hildon-time-button.h
6248 Copied HildonTimeButton from sandbox to trunk. Future work on this
6249 widget must take place in trunk.
6251 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6253 * src/Makefile.am: Added HildonDateButton.
6254 * src/hildon-date-button.c: Update includes.
6255 * src/hildon.h: Add hildon-date-button.h
6257 Copied HildonDateButton from sandbox to trunk. Future work on this
6258 widget must take place in trunk.
6260 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6262 * src/Makefile.am: Added HildonPickerButton.
6263 * src/hildon-picker-button.h: Update includes.
6264 * src/hildon.h: Add hildon-picker-button.h
6266 Copied HildonPickerButton from sandbox to trunk. Future work on
6267 this widget must take place in trunk.
6269 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6271 * src/Makefile.am: Added HildonPickerDialog.
6272 * src/hildon-picker-dialog.c: Update includes.
6273 * src/hildon.h: Add hildon-picker-dialog.h
6275 Copied HildonPickerDialog from sandbox to trunk. Future work
6276 on this widget must take place in trunk.
6278 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6280 * src/Makefile.am: Added HildonTimeSelector.
6281 * src/hildon.h: Add hildon-time-selector.h
6283 Copied HildonTimeSelector widget from sandbox to trunk. Future
6284 work on this widget must happen in trunk.
6286 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6288 * src/Makefile.am: Added HildonDateSelector.
6289 * src/hildon.h: Add hildon-date-selector.h
6291 Copied HildonDateSelector widget from sandbox to trunk. Future
6292 work on this widget must happen in trunk.
6294 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6296 * src/Makefile.am: Added HildonTouchPicker.
6297 * src/hildon-touch-picker.c: Update includes.
6298 * src/hildon.h: Add hildon-touch-picker.h
6300 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6301 on this widget must happen in trunk.
6303 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6305 * src/hildon-pannable-area.c:
6306 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6308 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6310 * examples/hildon-app-menu-example.c (main): Let the window
6313 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6315 * src/hildon-pannable-area.c
6316 (hildon_pannable_area_class_init): Set the min value of the
6317 overshoot properties to zero, which points out that not
6318 overshooting allowed.
6320 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6322 Modified the procedure to get the widget at a point inside the
6323 pannable area when using the movement type signals. Now the user
6324 has to call a function to get the child, that way we just
6325 calculate the child in case the user really want to use it and not
6328 * src/hildon-marshalers.list: Modified the marshallers, now we do
6329 not have the widget as a parameter.
6331 * src/hildon-pannable-area.c
6332 (hildon_pannable_area_motion_notify_cb),
6333 (hildon_pannable_area_class_init),
6334 (hildon_pannable_get_child_widget_at): Removed the widget
6335 parameter from the signal callback. We have also refactored the
6336 emission of the signals.
6338 * src/hildon-pannable-area.h: Added a new method to the API to
6339 calculate a widget at a point inside the pannable area,
6340 hildon_pannable_get_child_widget_at.
6342 * examples/hildon-pannable-area-example-4.c
6343 (horizontal_movement): Modified the example to use the new API,
6344 added condition to control which widget is under the event. This
6345 way we can avoid scrolling laterally over other widgets.
6347 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6349 * src/hildon-pannable-area.c
6350 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6351 modes, we stop getting the pointer events due to returning the
6352 callback without properly calling the get pointer again. Fixed
6353 also an error using the hscroll and vscroll.
6355 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6357 * src/hildon-app-menu-private.h
6358 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6359 (hildon_app_menu_button_release, hildon_app_menu_init)
6360 (hildon_app_menu_class_init): Don't hide the menu on button
6361 release if the user didn't press outside first.
6363 * src/hildon-window.h
6364 * src/hildon-window.c (hildon_window_toggle_menu)
6365 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6366 hildon_window_toggle_menu a virtual function for the stackable
6367 window to override it.
6369 * src/hildon-stackable-window.h
6370 * src/hildon-stackable-window-private.h
6371 * src/hildon-stackable-window.c
6372 (hildon_stackable_window_realize)
6373 (hildon_stackable_window_finalize)
6374 (hildon_stackable_window_class_init)
6375 (hildon_stackable_window_init)
6376 (hildon_stackable_window_set_main_menu): New function to set the
6377 app menu of a HildonStackableWindow.
6379 * examples/hildon-app-menu-example.c: Remove the button to show
6380 the app menu, now it'll be shown when clicking on the title bar
6383 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6385 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6386 set the widget name if the arrangement flags do not specify
6389 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6391 * src/hildon-button.c: (hildon_button_set_property),
6392 (hildon_button_class_init), (hildon_button_new_full),
6393 (hildon_button_set_arrangement): Added "arrangement-flags"
6396 Make the HildonButtonFlags a construction-only property, to allow
6397 subclasses to set them properly.
6399 2008-07-21 Tim Janik <timj@imendio.com>
6401 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6402 insertion position after backspace, so additional digits are appended,
6405 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6407 * src/hildon-pannable-area.c,
6408 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6409 TODO list, it was complete and removed the g_debug and g_print
6412 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6414 Added the movement modes to the hildon-pannable-area, with this
6415 modes the developers can control in which directions the widget
6416 can scroll. They can also connect to signals in order to do
6417 something when that happens, allowing applications scroll. There
6418 is an example uploaded showing how to use it.
6420 * examples/Makefile.am:
6421 * examples/hildon-pannable-area-example-4.c: Added this example of
6422 an application using the modes.
6424 * src/hildon-marshalers.list: Added a new marshaller for the new
6427 * src/hildon-pannable-area.h: Added new enumerations and flags in
6428 order to control the movement modes and the new signals to warn
6429 about the movements in the area.
6431 * src/hildon-pannable-area.c:
6432 (hildon_pannable_axis_scroll),
6433 (hildon_pannable_area_scroll),
6434 (hildon_pannable_area_motion_notify_cb),
6435 (hildon_pannable_area_get_property),
6436 (hildon_pannable_area_set_property),
6437 (hildon_pannable_area_map),
6438 (hildon_pannable_area_class_init),
6439 (hildon_pannable_area_init),
6440 (hildon_pannable_area_jump_to): Added the modes to control the
6441 movement in the widget. We have added properties to control it,
6442 signals to warn about the movements and refactored some code.
6444 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6446 Changes required in order to allow vfast_factor set to zero to
6449 * src/hildon-pannable-area.c:
6450 (hildon_pannable_area_button_press_cb): Changed the condition, it
6451 is required for not allowing click when vfast_factor is zero.
6452 (hildon_pannable_area_timeout): Initialized velocity variables
6453 when we stop moving, it was less than 1 but not zero and we need
6454 to check zero in some situations.
6455 (hildon_pannable_area_class_init): Changed the default value of
6456 the speed factor, now the button_press is just sent in case the
6457 speed is 2 per cent of the max speed.
6458 (hildon_pannable_area_init): Initialization with 0.
6460 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6462 * src/hildon-pannable-area.c,
6463 (hildon_pannable_area_get_topmost): replaced
6464 gdk_window_get_children with gdk_window_peek_children, this way we
6465 do not have to free the list because it is not a copy.
6467 (hildon_pannable_axis_scroll),
6468 (hildon_pannable_area_scroll),
6469 (hildon_pannable_area_timeout),
6470 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6471 two parameters that were only used inside the
6472 hildon_pannable_area_scroll function.
6474 * examples/hildon-pannable-area-example.c,
6475 (get_sawtooth_label): Fixed small memory leak.
6477 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6479 More checks for the case where the overshoot is bigger than the
6482 * src/hildon-pannable-area.c:
6483 (hildon_pannable_draw_vscroll),
6484 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6485 to draw the slider of the scrollbar under the other scrollbar.
6486 (hildon_pannable_area_expose_event): added new checks to control
6487 the drawing of the overshooting area rectangle, in case it is too
6488 big for the area of the widget.
6489 (hildon_pannable_area_size_allocate): add more checks to avoid
6490 setting a position to the child widget outside the area.
6492 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6494 * src/hildon-pannable-area.c
6495 (hildon_pannable_area_size_allocate): Added conditions to control
6496 when overshooting is bigger than the allocated space for the
6497 children, this avoids negative allocations.
6499 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6501 * doc/hildon-docs.sgml
6503 * examples/Makefile.am
6504 * examples/hildon-button-example.c
6506 * src/hildon-button.c
6507 * src/hildon-button.h
6508 * src/hildon.h: Initial version of the new HildonButton widget,
6511 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6513 * src/hildon-pannable-area.c:
6514 (hildon_pannable_area_button_press_cb),
6515 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6516 (hildon_pannable_area_motion_notify_cb),
6517 (hildon_pannable_area_button_release_cb),
6518 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6519 (hildon_pannable_area_jump_to_child):
6521 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6523 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6525 * examples/Makefile.am
6526 * examples/hildon-pannable-area-touch-grid-example.c
6527 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6528 the Hildon Touch List and Hildon Touch Grid using the
6529 HildonPannableArea widget.
6531 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6533 * src/hildon-pannable-area.c,
6534 (hildon_pannable_area_button_press_cb),
6535 (hildon_pannable_area_refresh),
6536 (hildon_pannable_area_scroll),
6537 (hildon_pannable_area_motion_notify_cb),
6538 (hildon_pannable_area_button_release_cb),
6539 (hildon_pannable_area_expose_event),
6540 (hildon_pannable_area_add),
6541 (hildon_pannable_area_remove),
6542 (hildon_pannable_area_realize),
6543 (hildon_pannable_area_size_allocate),
6544 (hildon_pannable_area_class_init),
6545 (hildon_pannable_area_init),
6546 (hildon_pannable_area_scroll_to_child),
6547 (hildon_pannable_area_jump_to_child): Fixed the problem of
6548 removing the child from the GtkBin, we have rearranged the widget
6549 hierarchy, now there is no GtkAlignment which was not doing
6550 anything interesting but breaking some of the assumptions of
6551 GtkContainer. Now developers if they want to add a GtkAlignment
6552 they could, but it is not inside the area.
6554 We had to review the whole allocation/expose process, now it is
6555 improved and we save at least three signals which would be saving
6556 some time when rendering the widget. The allocation of the
6557 scrollbars is now made in the allocate method as usual.
6559 We have also added some conditions in order to control when there
6560 is no child of the pannable area. Maybe we will need more work
6563 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6565 * src/hildon-pannable-area.c,
6566 (hildon_pannable_area_dispose): Released the fade-out timeout when
6567 disposing the widget.
6569 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6571 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6572 zero, we are going to use that property in order to deactivate the
6574 (hildon_pannable_axis_scroll),
6575 (hildon_pannable_area_size_allocate): Added conditions to control
6576 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6577 call, now it is called in all situations and we can remove calls
6578 in the allocate method.
6579 (hildon_pannable_area_map): Control the situation when
6580 overshoot_max is zero, we do not need the timeout.
6581 (hildon_pannable_area_class_init): Added documentation in order to
6582 point out that setting zero to overshoot_max means deactivate
6585 NOTE: removed trailing whitespaces from my previous comments of
6588 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6590 * src/hildon-pannable-area.c
6591 (hildon_pannable_area_get_property),
6592 (hildon_pannable_area_set_property),
6593 (hildon_pannable_area_map),
6594 (hildon_pannable_area_class_init),
6595 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6596 to cause the widget give a hint about its panning abilities upon
6599 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6601 * src/hildon-pannable-area.c: Several documentation improvements.
6603 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6605 * src/hildon-program.c
6606 * src/hildon-stackable-window.c: Update documentation.
6608 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6610 * src/hildon-stackable-window.c (get_previous_window_if_last):
6611 Renamed get_last_window()
6612 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6613 (hildon_stackable_window_unset_program):
6615 (get_previous_window_if_last):
6616 Detect if the window hasn't been added to a HildonProgram.
6618 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6620 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6622 * src/hildon-pannable-area.c
6623 (hildon_pannable_area_button_press_cb),
6624 (hildon_pannable_axis_scroll),
6625 (hildon_pannable_area_scroll),
6626 (hildon_pannable_area_timeout),
6627 (hildon_pannable_calculate_vel_factor),
6628 (hildon_pannable_area_get_property),
6629 (hildon_pannable_area_set_property),
6630 (hildon_pannable_area_class_init),
6631 (hildon_pannable_area_init),
6632 (hildon_pannable_area_scroll_to),
6633 (hildon_pannable_area_jump_to),
6634 (hildon_pannable_area_scroll_to_child),
6635 (hildon_pannable_area_jump_to_child):
6636 * src/hildon-pannable-area.h: Added the new API functions:
6637 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6638 hildon_pannable_area_scroll_to_child,
6639 hildon_pannable_area_jump_to_child
6642 * examples/Makefile.am
6643 * examples/hildon-pannable-area-example-2.c
6644 * examples/hildon-pannable-area-example-3.c: Added these two new
6645 examples in order to test and show how the new APIs work.
6647 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6649 * examples/hildon-stackable-window-example.c (new_window):
6650 * src/Makefile.am (noinst_HEADERS):
6651 * src/hildon-program.c (hildon_program_go_to_root_window):
6652 * src/hildon-program.h:
6653 * src/hildon-stackable-window-private.h:
6654 * src/hildon-stackable-window.c:
6655 * src/hildon-stackable-window.h:
6656 Create hildon-stackable-window-private.h
6657 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6659 * examples/hildon-app-menu-example.c (create_menu):
6660 * examples/hildon-hvolumebar-insensitive-example.c (main):
6661 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6662 * examples/hildon-toolbar-seekbar-example.c (main):
6663 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6664 * src/hildon-banner.c (hildon_banner_set_property):
6665 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6666 Fix compilation warnings
6668 * src/hildon-window.c:
6671 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6673 * src/hildon-stackable-window.c
6674 (hildon_stackable_window_unset_program):
6675 Calculate correctly whether to show the previous window if the
6676 last one is removed from the stack.
6677 (hildon_stackable_window_go_to_root_window):
6678 Send delete events starting from the topmost window.
6679 Stop if one of the windows is not destroyed.
6681 (hildon_stackable_window_delete_event)
6682 (hildon_stackable_window_class_init):
6683 Ignore the delete event if the window is not the topmost one.
6685 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6687 * src/hildon-pannable-area.c
6688 (hildon_pannable_area_expose_event): Fixed a problem when
6689 selecting the background color of the scrollbars.
6691 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6693 * examples/hildon-stackable-window-example.c
6694 * src/hildon-stackable-window.c
6695 * src/hildon-stackable-window.h
6696 hildon_stackable_window_go_home() renamed to
6697 hildon_stackable_window_go_to_root_window()
6698 Send delete events to windows rather than closing them with
6699 gtk_widget_destroy()
6701 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6703 * src/hildon-pannable-area.c
6704 (hildon_pannable_area_button_release_cb): Fix overshooting in
6707 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6709 * src/hildon-pannable-area.c
6710 (hildon_pannable_area_init): Initially show the scroll indicators.
6711 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6713 Add initial effect showing the widget is pannable.
6715 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6717 * src/hildon-pannable-area.c
6718 (hildon_pannable_area_class_init)
6719 (hildon_pannable_area_set_property)
6720 (hildon_pannable_area_get_property)
6721 (hildon_pannable_area_button_press_cb):
6722 New 'velocity_fast_factor' property to decide which velocity is
6725 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6727 * src/hildon-pannable-area.c
6728 (hildon_pannable_draw_hscroll)
6729 (hildon_pannable_draw_vscroll):
6730 Use float variables to calculate the size of the scrollbars to
6731 avoid error propagation and resizing during scrolling.
6733 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6735 * src/hildon-pannable-area.c
6736 (hildon_pannable_draw_vscroll)
6737 (hildon_pannable_draw_hscroll):
6738 Define a minimum size for the scroll bars
6740 * src/hildon-stackable-window.c
6741 (hildon_stackable_window_go_home): Fix compilation warning
6742 (get_last_window): Minor optimizations
6743 (hildon_stackable_window_class_init): Fix initialization of
6746 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6748 * src/hildon-stackable-window.c: Fixed typos in doc
6750 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6752 * src/hildon-pannable-area.c
6753 (hildon_pannable_area_scroll):
6754 Calculate here whether we need to scroll instead of using the booleans
6755 that tell us whether to /draw/ the scrolling bars.
6757 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6759 * src/hildon-app-menu.h
6761 * src/hildon-app-menu.c
6762 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6763 multiple filter groups related code and API. Now we support only
6765 * examples/hildon-app-menu-example.c:
6767 Update to reflect API changes.
6769 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6771 * src/hildon-stackable-window.c
6772 (hildon_stackable_window_class_init):
6773 Add hildon_stackable_window_realize.
6774 (hildon_stackable_window_realize):
6775 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6776 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6777 to apply theming and behavior specific to HildonStackableWindow
6780 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6782 * src/hildon-note.c (hildon_note_button_release):
6783 Close information notes also when tapping on them
6785 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6787 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6788 ELASTICITY, refactor and review, fix some issues with drawing
6791 * src/hildon-pannable-area.c:
6792 (hildon_pannable_area_button_press_cb): removed the conditions to
6793 avoid clicks when overshooting. It is not required
6795 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6796 define. Refatored and reviewed the code, now we do not need to
6797 manage velocity in motion_notify.
6799 (hildon_pannable_area_motion_notify_cb): We have moved the code
6800 that controls the area_scroll to the axis_scroll function and get
6801 rid of duplicated code.
6803 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6805 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6807 (hildon_pannable_draw_vscroll),
6808 (hildon_pannable_draw_hscroll): Fixed the problems with the
6809 scrollbar drawing, now we do not use two surfaces, it is easier
6810 and saves resources.
6812 (hildon_pannable_area_get_property): Style modification.
6814 (hildon_pannable_area_class_init): Changed some default values.
6816 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6818 * src/hildon-stackable-window.c: Fix some typos in the
6821 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6823 * src/hildon-dialog.c:
6824 Change indentation style
6827 (hildon_note_button_release):
6828 Use root coordinates to check if the release event happened
6831 * src/hildon-app-menu.c
6832 (hildon_app_menu_button_release):
6833 Remove unnecessary check
6835 * examples/hildon-app-menu-example.c
6837 Add cast to fix warning
6839 * src/hildon-app-menu.c
6840 (hildon_app_menu_class_init):
6841 New inner-border style property.
6842 Set all default spacings to 16
6843 (hildon_app_menu_init):
6844 Use vertical-spacing to set the space between filter buttons and
6845 regular menu buttons.
6846 Set the default container border using the inner-border value.
6848 * examples/hildon-app-menu-example.c
6850 Don't set the menu border explicitly, now we have the inner-border
6851 style property for that.
6853 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6855 * src/hildon-app-menu.c (hildon_app_menu_init):
6856 Make the window modal
6858 * src/hildon-note.c (hildon_note_map)
6859 * src/hildon-app-menu.c (hildon_app_menu_map):
6860 Destroy the grab window if we're unable to grab the pointer
6862 * src/hildon-app-menu-private.h
6863 * src/hildon-app-menu.c
6864 (hildon_app_menu_init, hildon_app_menu_finalize)
6865 (hildon_app_menu_map, hildon_app_menu_unmap)
6866 (hildon_app_menu_button_release)
6867 (grab_transfer_window_get):
6868 Bring back the grab window
6869 (hildon_app_menu_realize):
6870 Decorate the window, set WM hint for Matchbox
6872 * src/hildon-note.c (hildon_note_realize):
6873 * src/hildon-banner.c (hildon_banner_realize):
6874 Add WM hints for Matchbox
6876 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6878 * src/hildon-app-menu-private.h
6879 * src/hildon-app-menu.c
6880 (hildon_app_menu_init, hildon_app_menu_finalize)
6881 (hildon_app_menu_map, hildon_app_menu_unmap)
6882 (hildon_app_menu_button_release):
6883 Remove the grab window, it's not needed anymore
6885 * src/hildon-program.c
6886 Fixed typo in documentation
6888 * src/hildon-app-menu.h
6889 * src/hildon-app-menu.c
6890 * examples/hildon-app-menu-example.c
6891 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6893 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6896 Added new transfer_window and close_if_pressed_outside private
6898 (hildon_note_rebuild):
6899 Don't add a cancel button to the information note. It will be
6900 closed when tapping outside
6901 Remove the comment about the OK button in the documentation
6902 (hildon_note_realize):
6903 Set the notification type hint
6904 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6905 Grab/ungrab pointer and keyboard if the note has to be closed when
6907 (hildon_note_button_release):
6908 Close the note when tapping outside (if applicable)
6910 * src/hildon-app-menu.c
6911 Grab/ungrab pointer and keyboard on map/unmap
6912 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6913 Close the menu on button release, not button press
6915 * src/hildon-banner.c
6916 (hildon_banner_set_property)
6917 (hildon_banner_check_position):
6918 Make the banner use the full width of the screen
6919 (hildon_banner_show_information)
6920 (hildon_banner_show_information_with_markup):
6921 Don't display an icon by default
6923 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6925 Added fading scrollbars and adapted all the overshooting code to
6926 horizontal scrolling. We have also fixed bugs with overshooting
6927 and current fading implementation.
6929 * src/hildon-pannable-area.c
6930 (hildon_pannable_area_scroll_indicator_fade): Time out function
6931 used to change the transparency of the scrollbars.
6933 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6934 control and fixed a problem with fading, we now remove the fade
6935 timeout before adding a new one.
6937 (hildon_pannable_axis_scroll):
6938 (hildon_pannable_area_scroll):
6939 (hildon_pannable_area_timeout): Added this functions so we can use
6940 the scroll code both for vertical and horizontal.
6942 (hildon_pannable_area_motion_notify_cb):
6943 (hildon_pannable_area_button_release_cb): Added the horizontal
6944 scrolling control, fixed a problem with the overshooting timeout.
6946 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6947 painting of the scrolls.
6949 (hildon_pannable_draw_vscroll):
6950 (hildon_pannable_draw_hscroll):
6951 (hildon_pannable_area_expose_event):
6952 Draw both scrollbars and rectangles in the overshooting area.
6954 (hildon_pannable_area_get_property):
6955 (hildon_pannable_area_set_property):
6956 Modified the overshoot property to overshoot_max
6958 (hildon_pannable_area_map):
6959 Replaced the comments symbols.
6961 (hildon_pannable_area_size_allocate):
6962 (hildon_pannable_area_class_init):
6963 (hildon_pannable_area_init): Added horizontal scroll, fading
6964 effect properties, fixed a problem when overshooting in the bottom
6967 * examples/hildon-pannable-area-example.c:
6968 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6969 looks better in the example.
6971 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6973 * src/hildon-window.c
6974 * src/hildon-window.h
6975 (hildon_window_class_init)
6976 (hildon_window_unset_program)
6977 (hildon_window_unset_program_real):
6978 Make unset_program a virtual function
6980 * src/hildon-stackable-window.c
6981 * src/hildon-stackable-window.h
6982 Added hildon_stackable_window_go_home()
6984 * examples/Makefile.am
6985 * examples/hildon-stackable-window-example.c
6986 HildonStackableWindow example
6988 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6990 * hildon-pannable-area.c: Added the overshoot property and removed
6991 the OVERSHOOT define. Fixed an indent style error.
6992 (hildon_pannable_area_motion_notify_cb):
6993 (hildon_pannable_area_get_property):
6994 (hildon_pannable_area_set_property): Add overshoot property.
6996 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6999 (hildon_pannable_area_class_init): Installed the new property.
7001 * hildon-pannable-area-example.c: Added a sawtooth function, this
7002 way it is easier to check the movement in the pannable.
7003 (get_sawtooth_label): Added this function.
7004 (main): Now we get the labels from the new get_sawtooth_label
7007 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7009 * src/hildon-app-menu.h
7010 * src/hildon-app-menu.c
7011 Renamed API variables for consistency
7013 (hildon_app_menu_popup): Use also the default window size to
7014 decide where to place the menu
7016 (hildon_app_menu_init, hildon_app_menu_class_init): New
7017 external-border style property
7019 2008-05-26 Michael Natterer <mitch@imendio.com>
7021 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7022 widget_class->tap_and_hold_setup signal slot doesn't exist any
7023 longer, stop overriding it.
7025 (hildon_time_editor_init): g_signal_connect() to the
7026 tap-and-hold-setup signal instead.
7028 (hildon_time_editor_entry_keypress): add cast to fix warning.
7030 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7032 * doc/hildon-docs.sgml
7034 * examples/Makefile.am
7035 * examples/hildon-app-menu-example.c
7037 * src/hildon-app-menu-private.h
7038 * src/hildon-app-menu.c
7039 * src/hildon-app-menu.h
7041 New HildonAppMenu widget
7043 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7045 Rearranged the inheritance of the pannable area, now it inherits
7046 from GtkBin. This will allow us to control the event_window and
7047 the allocation process of the widget, required for some effects.
7049 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7050 GtkBin structures. * src/hildon-pannable-area.c: Added the
7051 event_window variable.
7052 (hildon_pannable_area_button_press_cb):
7053 (hildon_pannable_area_button_release_cb):
7054 (hildon_pannable_area_motion_notify_cb):
7055 Changed the signature of the method, now we override the event
7056 callback instead of connecting to the signal.
7058 (hildon_pannable_area_realize):
7059 (hildon_pannable_area_unrealize):
7060 (hildon_pannable_area_map):
7061 (hildon_pannable_area_unmap):
7062 (hildon_pannable_area_size_allocate):
7063 Added functions to control the widget construction. We add a
7064 INPUT_ONLY window and we put it over the widgets inside the
7065 container, this event_window handles the events.
7067 (hildon_pannable_area_class_init):
7068 Replaced the signal connections with overrides of the event
7071 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7073 Bouncing effect added when touching the borders, you can change
7074 the elasticity of the border changing the ELASTICITY define.
7076 * src/hildon-pannable-area.c: Added ELASTICITY define.
7077 (hildon_pannable_area_timeout): Added inverse velocity when
7078 touching the border of the child widget, that causes a bounce.
7080 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7082 Improved performance, we now do not go to the X server in order to
7083 get the list of window children. Apparently the effect is the
7084 same, we have to be careful and check if this breaks something in
7087 * src/hildon-pannable-area.c:
7088 (get_ordered_children): Removed this function.
7089 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7090 the children windows function with gdk_window_get_children.
7092 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7094 * src/hildon-pannable-area.c:
7095 (hildon_pannable_area_dispose): Fixed a crash when closing the
7096 window and kinetics is activated.
7098 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7100 * src/hildon-pannable-area.h
7101 * src/hildon-pannable-area.c
7102 Changed indentation style to meet the one used in Hildon
7104 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7106 Reviewed the interaction of the AUTO mode, now we use the time
7107 attribute of the events and calculate the velocity in the motion,
7108 doing a gimp like calculation. The velocity is calculated in each
7109 motion event using the last velocity and the current one, the
7110 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7112 * src/hildon-pannable-area.c: Replaced the time based algorithm
7114 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7115 timeout for the AUTO mode when we are still moving the cursor. We
7116 added also the velocity calculation in this function.
7117 (hildon_pannable_area_button_release_cb): launch the timeout in
7118 case we are in AUTO mode. There are still some constants here that
7119 come from the old implementation that should be reviewed and
7122 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7124 * doc/hildon-docs.sgml
7127 * src/hildon-stackable-window.c
7128 * src/hildon-stackable-window.h
7130 New HildonStackableWindow widget
7132 * examples/hildon-dialog-example.c
7133 * examples/hildon-pannable-area-example.c
7136 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7138 * src/hildon-dialog.c
7139 (hildon_dialog_new_with_buttons): New constructor.
7141 * examples/hildon-dialog-example.c
7142 (main): Update the example to use the new
7143 hildon_dialog_new_with_buttons().
7145 * examples/hildon-pannable-area-example.c
7146 (main): Update example.
7148 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7150 * doc/hildon-docs.sgml
7152 Added HildonPannableArea to the documentation.
7154 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7156 * doc/visual_index.xml
7157 Fix reference to HildonLoginDialog in documentation
7159 * doc/hildon-docs.sgml
7161 * examples/Makefile.am
7162 * examples/hildon-dialog-example.c
7164 * src/hildon-dialog.c
7165 * src/hildon-dialog.h
7167 New HildonDialog widget.
7169 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7171 * src/hildon-pannable-area.c
7172 Merge latest changes (r4318, r4342) from libmokoui trunk
7174 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7176 * examples/Makefile.am
7177 * examples/hildon-pannable-area-example.c
7179 * src/hildon-pannable-area.c
7180 * src/hildon-pannable-area.h
7182 New HildonPannableArea widget.
7184 2008-04-15 18:05:19 <timj@imendio.com>
7186 * src/hildon-banner.c: revert the recent change, that introduced
7187 gtk_window_present() calls. this reopens:
7188 Bug 78481 - [freetest] information banners are hidden under browser menu
7189 But resolves another variant of:
7190 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7192 2008-04-15 13:21:13 <timj@imendio.com>
7194 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7195 recreated its layout, spotted by Kris. this fixes all remaining
7196 artefacts and stability issues with the banner code. in particular:
7197 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7199 2008-04-14 16:52:59 <timj@imendio.com>
7201 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7202 operating on unrealized widgets, fixes:
7203 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7205 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7207 2008-04-09 Kristian Rietveld <kris@imendio.com>
7209 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7210 makes banner disappear.
7211 Fixes: NB#79182: info banner flickering with certain message lengts.
7213 * src/hildon-banner.c (hildon_banner_constructor),
7214 (hildon_banner_init), (hildon_banner_set_text),
7215 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7216 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7217 FALSE, reset size requests of label and banner,
7218 (force_to_wrap_truncated): when the text is too wide, always enforce
7219 the maximum possible width instead of recalculating it from the
7220 layout; enforce the maximum banner height of 3 lines,
7221 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7222 nicer wrapping and no truncated chars if space gets tight.
7224 * src/hildon-banner-private.h: add has_been_wrapped and
7225 has_been_truncated fields.
7227 2008-04-07 Sven Herzberg <sven@imendio.com>
7229 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7230 local values in hildon_date_editor_size_allocate
7232 * src/hildon-date-editor.c: moved the real allocation code into the
7235 2008-04-07 Sven Herzberg <sven@imendio.com>
7237 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7238 local values in hildon_date_editor_size_allocate
7240 * src/hildon-date-editor.c: merged the two if() branches together
7242 2008-04-07 Sven Herzberg <sven@imendio.com>
7244 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7245 local values in hildon_date_editor_size_allocate
7247 * src/hildon-date-editor.c: changed the arguments of the if()
7250 2008-04-07 Sven Herzberg <sven@imendio.com>
7252 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7253 local values in hildon_date_editor_size_allocate
7255 * src/hildon-date-editor.c: split the calculation of the allocation
7256 from the real allocation
7258 2008-03-27 Michael Natterer <mitch@imendio.com>
7260 Fixes: NB#81696: The passcode is not overwritten even after
7263 * src/hildon-code-dialog.c
7264 (hildon_code_dialog_button_clicked)
7265 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7266 because that doesn't overwrite selected text. Instead, emit the
7267 "commit" signal on the entry's im_context so the entry's normal
7268 insert logic is triggered. Set the cursor to the end of the entry
7269 after each insert operation so that we *only* insert in the middle
7270 of the text if something was selected.
7272 2008-03-27 Michael Natterer <mitch@imendio.com>
7274 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7275 selector cannot be opened
7277 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7278 when the popup color selector is created. Please connect to this
7279 signal in order to set the dialog's help ID.
7281 2008-03-25 Sven Herzberg <sven@imendio.com>
7283 Fixes: MB#1212: Hide info banners (infoprints) on click
7285 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7286 extracted the close event simulation into an extra function
7287 (hildon_banner_button_press_event): simulate a close event and destroy
7288 the widget if the event wasn't handled
7289 (hildon_banner_class_init): added the button_press_event handler
7290 (hildon_banner_init): added button-press events to the widget
7292 2008-03-25 Sven Herzberg <sven@imendio.com>
7294 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7295 Patch from: Mohammad Anwari <mdamt@maemo.org>
7297 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7298 instead of the right in RTL mode
7299 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7300 breadcrumb button list in RTL mode
7301 * src/hildon-caption.c: mirror the appearance of the caption widget in
7303 * src/hildon-date-editor.c: mirror appearance of the date editor in
7305 * src/hildon-time-editor.c: mirror appearance of the time editor in
7307 * src/hildon-window.c: fix the position of the popup in RTL mode
7309 2008-03-25 Sven Herzberg <sven@imendio.com>
7311 Amendment to the fix of NB#22072. Fix compilation.
7313 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7315 2008-03-19 Sven Herzberg <sven@imendio.com>
7317 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7320 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7321 timeout id properly when the timeout will disappear this leaves no
7322 artifacts around in the destroy(); there will only be the timeout
7323 created by hildon_banner_ensure_timeout() and adding a new timeout
7324 will also work if the timeout gets removed because the timeout_handler
7327 2008-03-19 Michael Natterer <mitch@imendio.com>
7329 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7331 * src/hildon-volumebar.c
7332 * src/hildon-vvolumebar.c
7333 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7334 the widget becomes focussable at all.
7336 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7337 set the focus to wither the mute button or the volumebar.
7339 Remove own "can-focus" property and instead listen to
7340 notify::can-focus in order to update the widget's state.
7342 Implement GtkWidget::focus() and make sure we can also *leave* the
7343 widget, not only enter it, depending on volumebar orientation and
7344 requested focus direction.
7346 Clean up set_mute() to cooperate nicely with all the above.
7348 2008-03-04 Michael Natterer <mitch@imendio.com>
7350 Fixes: NB#78481: information banners are hidden under browser menu
7352 * src/hildon-banner.c: call gtk_window_present() on the banners so
7353 they are risen if they are already visible.
7355 2008-03-03 Sven Herzberg <sven@imendio.com>
7357 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7359 * examples/hildon-window-menu-example.c: (main): extended the window
7360 menu example to serve as a testcase for automatically added
7361 accelerator groups, too
7362 * src/hildon-window.c: (hildon_window_add_accel_group),
7363 (hildon_window_set_menu): added patch by Tommi Komulainen
7365 2008-03-03 Sven Herzberg <sven@imendio.com>
7367 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7369 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7370 knowledge about the border allocators used within GTK+
7372 2008-02-26 Sven Herzberg <sven@imendio.com>
7374 Fixes: MB#2981: Build with asserts broken
7376 * src/hildon-date-editor.c,
7377 * src/hildon-number-editor.c,
7378 * src/hildon-time-editor.c,
7379 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7380 the proper GType instance check
7382 2008-02-25 Sven Herzberg <sven@imendio.com>
7384 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7386 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7387 * examples/hildon-window-menu-example.c: (main): explicitly show
7389 * src/hildon-window.c:
7390 (hildon_window_set_main_menu): moved most of the code from set_menu()
7391 to this place; skipped the call to gtk_widget_show_all(); also didn't
7392 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7393 (hildon_window_set_menu): removed most of the code, just keep the
7394 questionable gtk_widget_show_all()
7395 * src/hildon-window.h: added the new function and deprecate the old
7398 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7404 * debian/changelog: Updating.
7406 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7409 * pkgconfig/Makefile.am:
7410 * pkgconfig/hildon.pc.in:
7413 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7414 use newly created API_MAJOR_VERSION.
7416 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7422 * debian/changelog: Updating.
7424 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7426 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7428 Add outer_border style property, we use it but don't define it (!).
7432 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7434 * examples/hildon-bread-crumb-trail-example.c (main):
7438 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7440 Fix logic for the bread crumb trail node removal.
7444 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7450 * debian/changelog: Updating.
7452 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7454 Patch by Alejandro to get/set passwords dialogs accesibility.
7456 * hildon-1/src/hildon-get-password-dialog.c:
7457 * hildon-1/src/hildon-set-password-dialog.c:
7458 Set atk_set_name to the passwd entries in order to allow
7459 accessibility by name on this entries.
7461 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7466 * debian/control: Updating gtk dep.
7468 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7470 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7471 USE_MAEMO_GTK is enabled.
7473 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7475 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7476 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7478 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7484 * debian/changelog: Updating.
7486 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7488 * examples/Makefile.am:
7489 * examples/hildon-logical-color-example.c:
7490 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7491 applied + adding a test case. Fixes: NB#71660.
7493 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7495 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7496 to be visible, fixes warning on map for windows without toolbars.
7498 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7500 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7501 2.11.0, add a check for that besides the MAEMO_GTK check.
7503 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7509 * debian/changelog: Updating.
7511 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7513 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7514 visibility. Fixes: NB#70842 and MB#615.
7516 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7518 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7519 set the separator as no-show-all so it doesn't unintentionally appear when
7520 someone does a show_all.
7522 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7524 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7525 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7526 toplevel item. Fixes: NB#62031
7528 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7530 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7531 fix the name of the function in the docs.
7533 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7539 * debian/changelog: Updating.
7541 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7543 * examples/hildon-banner-long-example.c: Adding a test-case for long
7546 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7548 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7550 * src/hildon-color-chooser-dialog.c:
7551 * src/hildon-color-chooser.c:
7552 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7553 memory leaks in font selector and color selector. Fixes: NB#70499 and
7556 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7558 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7560 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7562 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7563 little bit bigger. Fixes: #NB63694.
7565 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7571 * debian/changelog: Updating.
7573 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7576 * doc/hildon-docs.sgml:
7577 * doc/images/bread-crumb-trail.png:
7578 * doc/images/calendar-popup.png:
7579 * doc/images/caption.png:
7580 * doc/images/code-dialog.png:
7581 * doc/images/color-button.png:
7582 * doc/images/color-chooser-dialog.png:
7583 * doc/images/color-chooser.png:
7584 * doc/images/controlbar.png:
7585 * doc/images/date-editor.png:
7586 * doc/images/font-selection-dialog.png:
7587 * doc/images/get-password-dialog.png:
7588 * doc/images/hvolumebar.png:
7589 * doc/images/login-dialog.png:
7590 * doc/images/note.png:
7591 * doc/images/number-editor.png:
7592 * doc/images/range-editor.png:
7593 * doc/images/seekbar.png:
7594 * doc/images/set-password-dialog.png:
7595 * doc/images/sort-dialog.png:
7596 * doc/images/time-editor.png:
7597 * doc/images/time-picker.png:
7598 * doc/images/vvolumebar.png:
7599 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7600 Adding the bread-crumb-trial and helpers to the documentation.
7602 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7604 * examples/hildon-find-toolbar-example.c:
7605 * src/hildon-find-toolbar.c:
7606 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7607 actually continue firing the other handlers if connected. Adding a new
7609 hildon_find_toolbar_get_last_index that gets the index of the most
7610 recently added (last) item. Fixes: NB#52301.
7612 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7614 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7615 behaviour. Fixes: NB#68610.
7617 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7619 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7622 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7624 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7625 when realizing the banner. Should make the infonbanner effect a bit more
7628 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7630 * src/hildon-volumebar.c:
7631 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7632 hildon_volumebar_set_range_insensitive_message and
7633 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7635 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7637 * src/hildon-window.c: Fixing the border freeing on destroy.
7639 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7641 * src/hildon-code-dialog-private.h:
7642 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7643 kw keyboard support in HildonCodeDialog.
7645 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7651 * debian/changelog: Updating.
7653 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7655 * src/hildon-date-editor.c:
7656 * src/hildon-number-editor.c:
7657 * src/hildon-private.c:
7658 * src/hildon-private.h:
7659 * src/hildon-time-editor.c:
7660 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7661 handling in subclassed composite widgets. Fixes: NB#66628.
7663 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7665 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7666 from destroy_ callback as it introduces problems in async dbus signal
7667 handlers. Fixes NB#66673.
7669 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7671 * examples/hildon-hvolumebar-example.c:
7672 * src/hildon-volumebar.c: Improving the focus handling in the
7673 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7674 set_property accessor so that "mute" property can be actually set. I'm
7675 scared that nobody noticed it's totally broken.
7677 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7679 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7682 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7684 * src/hildon-calendar.c:
7685 * src/hildon-number-editor.c:
7686 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7687 matches the spec of 6 chars per second. Fixes: NB#60489.
7689 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7691 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7692 gtk_style_lookup_color sometime returns FALSE even though color was
7693 found and values were filled properly. Weird. Removing the warning for the
7696 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7698 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7699 expand vertically. Adding some extra space to the find toolbar buttons to
7700 make them thumbable. Fixes NB#66060.
7702 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7704 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7705 popup with "Ok" and "Cancel". Fixes NB#59299.
7707 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7709 * src/hildon-calendar.c: Process all window updates before executing next
7710 timeout. Fixes: NB#54146.
7712 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7718 * debian/changelog: Updating.
7720 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7722 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7723 the client event and ignore it, since we use the delete event to close
7726 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7728 * src/hildon-helper.c: Remove the bogus warning about color not being
7729 found. Fixes NB#58352.
7731 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7733 * examples/Makefile.am:
7734 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7735 HildonSeekbar widget inside a toolbar.
7737 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7739 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7740 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7741 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7742 don't want to be closed by non-temporary windows on map.
7744 Also use G_DEFINE_TYPE instead of manually typed code.
7746 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7753 * debian/rules: Updating.
7755 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7757 * examples/Makefile.am:
7758 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7759 bug NB#61128. Strangely it works.
7761 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7763 * src/hildon-date-editor.c: When the date editor entry has been changed
7764 but the numbers of characters < max, turn off the skip validation flag.
7765 Prevents a situation when we enter first a valid year and later re-write
7766 it with an invalid one. Fixes NB#60154.
7768 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7770 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7771 code dialog. Fixes NB#64355.
7773 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7775 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7776 switching the page. Fixes NB#49374.
7778 * examples/Makefile.am:
7779 * examples/hildon-wizard-dialog-example.c: Adding an example for
7780 HildonWizardDialog that shows how to handle manual sensitivity setting on
7783 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7787 * src/hildon-version.h.in:
7788 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7790 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7792 * src/hildon-volumebar.c: Updating the docs.
7794 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7800 * debian/changelog: Updating.
7802 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7804 * src/hildon-find-toolbar.c:
7805 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7806 selected item: hildon_find_toolbar_set_active,
7807 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7808 hildon_find_toolbar_get_active_iter . They correspond to respective
7809 GtkComboBox functions.
7811 * examples/Makefile.am:
7812 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7815 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7817 * examples/Makefile.am:
7818 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7821 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7822 when font size > 32 and we pack a focusable widget inside. Actually using
7823 the default response would work too, but since we don't show default
7824 response state in any way (no theming) it would not be visible to the
7825 user. Fixes NB#63430.
7827 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7829 * src/hildon-date-editor.c: Adding the missing variable setter in the
7830 set_property handler. Fixes NB#54182.
7832 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7834 * src/hildon-window.h: Changing the long key press time from 1500ms to
7835 800ms as requested in NB#63700. I have a bad feeling about this, let's
7836 see... Fixes NB#63700.
7838 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7840 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7841 hildon_time_picker_map, hildon_time_picker_realize,
7842 hildon_time_picker_style_set): Split the contents of map to more
7843 appropriate functions; set window decorations on realize and update
7844 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7846 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7851 * debian/changelog: Updating.
7853 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7855 * src/Makefile.am: fixed installation of the header files
7857 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7863 * debian/changelog: Updating.
7865 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7867 * configure.ac: Removing some remaining of --enable-xan.
7869 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7871 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7872 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7874 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7875 2.10.12-osso6 because the move-focus signal needs to be available in
7878 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7880 * examples/Makefile.am:
7881 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7882 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7883 fine. Prolly NB#61128 is fixed now.
7885 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7887 * src/hildon-volumebar.c:
7888 * src/hildon-volumebar.h: Adding the
7889 hildon_volumebar_set_range_insensitive_message and
7890 hildon_volumebar_set_range_insensitive_messagef functions to set
7891 insensitive message on the slider of the volumebar. Fixes NB#61129.
7893 * examples/Makefile.am:
7894 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7895 test the new insensitive messsage functionality on HildonVolumebar.
7897 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7899 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7902 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7904 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7905 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7906 button on after clearing the trail.
7908 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7910 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7912 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7914 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7915 by splitting the installed headers in generated and non-generated groups. Use
7916 only the non-generated headers to create the hildon-enum-types.h file.
7918 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7920 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7922 * src/hildon-window.c: Hide the window before performing the destroy.
7923 Should make the app closing a little tiny bit more snappy.
7925 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7927 * src/hildon-seekbar.c: add gtkrange.h header
7928 * src/hildon-caption.c: remove unused variable
7930 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7932 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7935 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7941 * debian/changelog: Updating.
7943 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7945 * src/hildon-window.c (hildon_window_window_state_event,
7946 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7947 escape timeout on focus-out-event rather than notify::is-topmost; the
7948 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7950 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7952 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7953 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7955 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7957 * src/hildon-window: actually, you need to use the macro always, there's
7958 no private pointer in the instance structure. We should have cleaned this up
7959 when we had the chance...
7961 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7963 * src/hildon-window.c: do not get the private date from HildonWindow before
7964 it passes the g_return_if_fail check. Once it's passed the test, there's no
7965 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7966 if you are only going to access the data once. Whitespace cleanups.
7968 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7970 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7971 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7973 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7979 * debian/changelog: Updating.
7981 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7983 * src/hildon-window.c: When destroying the window, remove (if exists) the
7984 escape timeout handler. Fixes #NB59276.
7986 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7988 * src/hildon-banner.c: When realizing the widget, set the window
7989 transiency. Setting the transiency in the gobject constructor is not
7990 good, as the widget is not realized at that point. Fixes: #NB56624.
7992 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7994 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7995 Add padding for future expansions.
7997 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7999 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8000 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8001 will fake an activation on the previous to the last item of the trail, so
8002 the effect can be overrided by the developer as usual.
8003 Also change the callback for the back button to do the same thing, so its
8004 effect can be overrided too. Fixes: NB#58982
8006 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8008 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8009 HildonCaption. Fixes NB#52379.
8011 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8013 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8014 the internal state of the trail after the user has had the chance of executing
8015 his handler for the signal. Specifically, it may happen that the activated button
8016 is removed and the user still lets the default handler run. This would segfault
8019 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8021 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8022 scrollbar to the preview dialog. Fixes NB#54147.
8024 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8026 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8027 max/min year properties can be altered, so the client can modify it
8028 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8030 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8032 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8033 hildonlike by default. Fixing a problem with disappearing arrows when
8034 scrolling through months and years. Fixes NB#54127.
8036 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8038 * examples/hildon-date-editor-example.c: Adding error callback to the date
8041 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8047 * configure.ac: Updating.
8049 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8051 * configure.ac: Adding a special '--enable-xan' configure option that
8052 turns off the -Werror compilation setting. Usefull for development.
8054 * src/hildon-calendar.c:
8055 * src/hildon-number-editor.c:
8056 * src/hildon-time-picker.c: Adding the 5* multiplier to
8059 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8061 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8062 instead of g_object_ref + gtk_object_sink.
8064 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8070 * debian/changelog: Updating.
8072 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8074 * src/hildon-color-chooser-dialog.c:
8075 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8076 straight from Tommi labs.
8078 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8080 * examples/hildon-finger-example.c: Correcting the header file path.
8082 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8083 the changed signal. Fixes a small memory leak.
8085 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8089 * src/hildon-banner.c: Importing several usefull fixes from the
8090 ubuntu-mobile branch.
8092 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8094 * examples/Makefile.am:
8095 * examples/hildon-finger-example.c: Adding a finger-checking code
8098 * src/hildon-font-selection-dialog.c: Do not allocate the color
8099 structure using the g_new. Fixes NB#54061.
8101 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8103 * src/hildon-helper.c: Correcting tabs in file.
8105 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8107 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8108 control the visibility of the children.
8110 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8112 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8118 * debian/changelog: Updating.
8120 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8122 * src/hildon-bread-crumb-trail.c:
8123 (hildon_bread_crumb_trail_size_allocate):
8125 Make the back button always a square.
8127 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8129 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8130 from the .c file as it's a private file.
8132 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8134 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8135 uses slightly bigger height.
8137 * src/hildon-font-selection-dialog.c: Adding some checks before
8138 freeing memory in the font selection dialog.
8140 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8142 * src/hildon-font-selection-dialog.c: Adding a small check when
8145 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8146 buttons sensitivity on page switching.
8148 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8150 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8151 internal details of adding a bread crumb to the trail.
8153 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8159 * debian/changelog: Updating.
8161 * src/hildon-bread-crumb-trail.h:
8162 * src/hildon-bread-crumb.h: Changing the API guard to
8163 HILDON_ENABLE_UNSTABLE_API.
8165 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8173 * src/hildon-helper.h: Updating.
8175 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8183 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8187 * src/hildon-helper.h: Small fix to make the package actually compile.
8189 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8191 * src/hildon-bread-crumb-trail.h:
8192 * src/hildon-bread-crumb.h:
8194 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8195 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8197 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8199 * examples/hildon-bread-crumb-trail-example.c:
8201 * src/hildon-bread-crumb-trail.c:
8202 * src/hildon-bread-crumb-trail.h:
8203 * src/hildon-bread-crumb.c:
8204 * src/hildon-bread-crumb.h:
8205 * src/hildon-marshalers.list:
8206 * src/hildon-bread-crumb-widget.c:
8207 * src/hildon-bread-crumb-widget.h:
8209 Slight change in the widget design. The bread crumb trail API is
8210 unchanged, but HildonBreadCrumb is now an interface. A *private*
8211 implementation, hildon-bread-crumb-widget, is provided and used
8212 internally by the trail for the push_text/push_icon functions.
8214 The generic push API is still available, so anyone can implement
8215 and use its own bread crumb widget.
8217 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8219 * debian/rules: Fixing the shlibs.
8221 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8223 * src/hildon-banner.c: Fixing a problem with timed banners having
8224 their parrent destroyed before they are.
8226 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8228 * src/hildon-bread-crumb.c:
8229 * src/hildon-bread-crumb.h:
8231 Make the get_natural_size function a vfunc.
8233 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8235 * src/hildon-bread-crumb.c:
8236 * src/hildon-bread-crumb-trail.c:
8240 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8247 * debian/changelog: Updating for release.
8249 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8251 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8252 don't leak the pango layout.
8254 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8257 * examples/hildon-bread-crumb-trail-example.c:
8261 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8263 * debian/changelog: Removing the bug-fixed entries that were actually
8264 resolved as WONTFIX.
8266 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8269 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8271 * src/hildon-bread-crumb-trail.c:
8272 * src/hildon-bread-crumb-trail.h:
8273 * src/hildon-bread-crumb.c:
8274 * src/hildon-bread-crumb.h:
8278 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8280 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8281 until it's passed the type check.
8283 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8285 * examples/hildon-bread-crumb-trail-example.c
8289 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8291 * examples/Makefile.am
8292 * examples/hildon-bread-crumb-trail-example.c
8294 * src/hildon-bread-crumb-trail.c
8295 * src/hildon-bread-crumb-trail.h
8296 * src/hildon-bread-crumb.c
8297 * src/hildon-bread-crumb.h
8299 New HildonBreadCrumbTrail widget.
8301 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8303 * src/hildon-range-editor.c (hildon_range_editor_init),
8304 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8305 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8306 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8307 hildon_time_editor_class_init, hildon_time_editor_init),
8308 src/hildon-get-password-dialog.c (invalid_input,
8309 hildon_get_password_set_property, hildon_get_password_get_property,
8310 create_contents, hildon_get_password_dialog_set_max_characters),
8311 src/hildon-set-password-dialog.c (create_contents),
8312 src/hildon-date-editor.c (hildon_date_editor_init),
8313 src/hildon-login-dialog.c (hildon_login_dialog_init),
8314 src/hildon-number-editor.c (hildon_number_editor_init),
8315 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8316 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8317 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8318 configure option and adding the respective checks in the code.
8319 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8320 hildon_calendar_drag_data_received): fixed some build warnings.
8322 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8324 * debian/changelog: A 1.0.0 release notes.