1 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
3 * src/hildon-pannable-area.c
4 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
6 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
7 vertical scrollbar visibility, and use the data on private section instead,
8 remove the initial_hint check
9 (hildon_pannable_area_expose_event): add the initial_hint check here
11 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
13 * src/hildon-pannable-area.c
14 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
15 if the fadeout effect was used
16 (hildon_pannable_area_expose_event): check if it is required to
17 manage the initial effect on the begining of the function. Previously
18 it was made at the end, but this doesn't ensure that the scrollbars
19 will be painted on the first show. Do not set to FALSE initial_effect,
20 to ensure that the initial hint is showed the first time the pannable
22 * examples/Makefile.am
23 * examples/hildon-pannable-area-initial-hint-example.c:
24 New example, to show that the initial-hint is showed when the widget
27 Fixes: NB#116607 (Pannable area should always have scrollbar visible
28 initially if the application can be scrolled)
30 2009-05-25 Alberto Garcia <agarcia@igalia.com>
32 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
33 Resize table before adding new items to make sure that
34 gtk_table_resize() is called just once.
36 2009-05-25 Alberto Garcia <agarcia@igalia.com>
38 * hildon/hildon-app-menu-private.h
39 * hildon/hildon-app-menu.c (item_visibility_changed)
40 (filter_visibility_changed, hildon_app_menu_show_all)
41 (hildon_app_menu_hide_all, hildon_app_menu_init):
42 Rearrange items just once when gtk_widget_show_all()/hide_all()
45 2009-05-25 Alberto Garcia <agarcia@igalia.com>
47 * hildon/hildon-app-menu.c
48 (hildon_app_menu_insert, hildon_app_menu_add_filter):
49 Don't call gtk_widget_show() on added items.
51 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
52 automatically when they're added)
54 2009-05-20 Alberto Garcia <agarcia@igalia.com>
56 * hildon/hildon-banner.c
57 (hildon_banner_realize, +hildon_banner_unrealize)
58 (+screen_size_changed, hildon_banner_class_init):
59 Redisplay the banner if the screen is rotated.
61 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
62 on transition from landscape to portrait)
64 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
66 * hildon/hildon-banner.[ch]:
67 (hildon_banner_show_information_override_dnd): remove icon_name from the
68 method definition as it is ignored.
69 * examples/hildon-banner-dnd-example.c: updated with the change on
72 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
74 * hildon/hildon-banner-private.h: new require_override_dnd and
75 overrides_dnd variables
76 * hildon/hildon-banner.h:
77 (hildon_banner_show_information_override_dnd): new method, that shows
78 the information but sets the override flag, in order to show important
80 * hildon/hildon-banner.c
81 (hildon_banner_show_information_override_dnd): new method
82 (hildon_banner_set_override_flag): new utility function
83 (hildon_banner_real_show_information): new utility function, in order to
84 generalize the current hildon_banner_show_information_override_dnd and
85 hildon_banner_show_information_override_dnd
86 * examples/Makefile.am
87 * examples/hildon-banner-dnd-example.c: New example that show how to
88 use the new hildon_banner_show_information_override_dnd
90 Fixes: NB#114874 (There is no possibility to show hildon banners with
93 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
95 * hildon/hildon-pannable-area.c: Add a comment explaining the math
96 behind hildon_pannable_calculate_vel_factor().
98 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
100 * hildon/hildon-pannable-area.c
101 (hildon_pannable_calculate_vel_factor): Correct the sum of the
102 deceleration factors.
104 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
106 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
107 Reduce the default value for 'scroll_time' to 1 second, since the
108 current initial scrolling takes too much time.
110 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
112 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
113 calculate velocity factor during initialization, since the properties
116 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
118 * hildon/hildon-pannable-area.c
119 (hildon_pannable_area_set_property): Calculate the velocity factor
120 after setting the deceleration property and not after.
122 2009-05-20 Alberto Garcia <agarcia@igalia.com>
124 * hildon/hildon-entry.c
125 (hildon_entry_class_init, +set_property, hildon_entry_new)
126 * hildon/hildon-check-button.c
127 (hildon_check_button_class_init)
128 (+set_property, hildon_check_button_new):
129 Make the theme size a property.
131 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
132 others) do too much in the _new function)
134 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
136 * configure.ac: post release version bump
137 * debian/changelog: post release version bump
139 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
144 * configure.ac: Bump version.
145 * debian/changelog: Updates.
147 2009-05-15 Alberto Garcia <agarcia@igalia.com>
149 * hildon/hildon-gtk.h
150 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
151 New API function to take a screenshot of a window
153 Fixes: NB#106374 (Need API to take a loading screenshot)
155 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
157 * hildon/hildon-time-selector.c
158 (update_format_policy): prevent to use hours and minutes unitialized
160 2009-05-15 Alberto Garcia <agarcia@igalia.com>
162 * hildon/hildon-window.c (hildon_window_size_request):
163 Always request the full size of the screen (minus the title bar if
164 not in fullscreen mode).
166 Fixes: NB#107486 (HildonWindow should size itself properly)
168 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
170 * hildon/hildon-note-private.h: Add idle_handler to the private data.
171 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
172 (on_show_cb), (sound_handling): Disconnect the idle handler for
173 the sound when the note is finalized to avoid possible crashes.
175 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
178 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
180 * src/hildon-animation-actor.c,
181 * src/hildon-remote-texture.c:
182 Added proper object cleanup to remove signal handler and object
183 references as HildonAnimationActor and HildonRemoteTexture
184 objects get destroyed.
186 Fixes: NB#116682 (Destroying parented animation actors when
187 parent in unmapped leads to crash)
189 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
191 Based on a patch by Christian Dywan (christian@imendio.com)
193 * doc/hildon-sections.txt:
194 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
195 * hildon/hildon-helper.h: New file size formatting method.
197 * debian/control: Depend on osso-filemanager l10n package for
198 proper localization strings.
200 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
202 * tests/Makefile.am: Include top_srcdir to make possible to build
203 tests in a different builddir.
204 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
205 on a different builddir.
207 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
209 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
210 (hildon_touch_selector_remove): Disconnect model's signal handler
213 Fixes: NB#116289 (Hildon home crashes while adding task
216 2009-05-11 Alberto Garcia <agarcia@igalia.com>
218 * hildon/hildon-button.c
219 (hildon_button_set_title, hildon_button_set_value):
220 Hide labels containing an empty string.
222 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
224 * configure.ac: post release version bump
225 * debian/changelog: post release version bump
227 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
232 * configure.ac: Bump version.
233 * debian/changelog: Updates.
235 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
237 * hildon/hildon-note-private.h: Removed sound_signal_handler
238 * hildon/hildon-note.c
239 (on_show_cb): new callback on note "show" event, this simply adds
240 a idle, with the function sound_handling
241 (sound_handling): removed the sound_signal_handler management
242 (hildon_note_init): connect note "show" event to on_show_cb
243 (hildon_note_realize): remove the connection to "expose-event"
245 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
246 device?' confirmation note)
248 2009-05-08 Alberto Garcia <agarcia@igalia.com>
250 * hildon/hildon-note.c
251 (hildon_note_new_information_with_icon_name)
252 (hildon_note_new_confirmation_with_icon_name):
253 Terminate the list of parameters in g_object_set() calls
255 Fixes: NB#115166 (Formatting memory card is not taking place)
257 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
259 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
260 "dialog-information" role for the sound being played.
262 2009-05-06 Alberto Garcia <agarcia@igalia.com>
264 * hildon/hildon-app-menu.c (hildon_app_menu_init):
265 Don't make the menu a modal window, it causes strange interactions
266 with the pointer grab and it's not really needed.
268 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
270 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
272 * hildon/hildon-touch-selector.[ch]
273 (hildon_touch_selector_optimal_size_request): function added to get a
274 optimal size request from the touch selector, when you want a dialog to
275 show as much of the selector
276 * hildon/hildon-picker-dialog.c:
277 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
278 (hildon_app_menu_class_init):
279 New "max-height-landscape" and "max-height-portrait" style properties
280 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
281 (hildon_picker_dialog_get_max_height): returns the maximum height using
282 the style properties defined and checking the current portrait/landscape
284 (_hildon_picker_dialog_set_selector): removed the set_size_request
286 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
288 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
290 * hildon/hildon-bread-crumb-trail.c:
291 * hildon/hildon-bread-crumb.c:
292 * hildon/hildon-seekbar.c:
293 Add reference to replacements for these deprecated widgets.
295 Fixes: MB#4461 (Documentation: All deprecations should mention
298 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
300 * examples/hildon-remote-texture-example.c
302 Change the include to the hildon-remote-texture in order to compile
303 properly the examples on the installed libhildon1-examples package
305 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
307 * tests/Makefile.am: Add check for HildonPickerButton.
308 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
309 (START_TEST), (create_hildon_picker_button_suite): Add three simple
310 checks for the HildonPickerButton.
311 * tests/check_test.c (configure_tests): Add the test suite.
312 * tests/test_suites.h: likewise.
314 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
316 * hildon/hildon-touch-selector.c
317 (+on_row_changed): Emit HildonTouchSelector:changed when the
318 contents of a selected row change.
319 (_create_new_column), (_hildon_touch_selector_set_model): connect
320 to GtkTreeModel:row-changed on a newly set model.
322 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
324 2009-05-05 Alberto Garcia <agarcia@igalia.com>
326 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
328 * hildon/hildon-banner.c (hildon_banner_destroy)
329 (hildon_banner_show_progress, hildon_banner_set_fraction):
330 Remove the progress bar from HildonBanner and use a progress
333 Fixes: NB#113761 (Update progress banner to use progress
336 2009-05-04 Alberto Garcia <agarcia@igalia.com>
338 * hildon/hildon-banner.c:
339 Calculate size of the banner label using the actual screen width
340 rather than using a fixed value.
342 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
345 2009-05-04 Alejandro G. Castro <alex@igalia.com>
347 * hildon/hildon-pannable-area.c,
348 (hildon_pannable_area_class_init): Fixed signals documentation
351 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
353 * configure.ac: post release version bump
354 * debian/changelog: post release version bump
356 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
361 * configure.ac: Bump version.
362 * debian/changelog: Updates.
364 2009-05-01 Alberto Garcia <agarcia@igalia.com>
366 * hildon/hildon-edit-toolbar.c
367 (hildon_edit_toolbar_init):
368 Don't let buttons in HildonEditToolbar receive focus.
370 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
371 typing on an HW arrows key)
373 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
375 * doc/Makefile.am: Fix build.
377 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
379 * doc/Makefile.am: Do not redefine content_files.
381 2009-04-30 Alberto Garcia <agarcia@igalia.com>
389 Renamed src/ to hildon/
394 Include <hildon/hildon.h> directly in all examples.
396 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
398 * src/hildon-sort-dialog.c
399 (hildon_sort_dialog_add_sort_key_with_sorting)
403 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
405 * src/Makefile.am: Move generated sources to CLEANFILES, so that
406 make distcheck passes.
408 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
410 * Makefile.am: Enable gtk-doc during distcheck.
412 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
414 * Makefile.am: Do not distribute the debian/ directory.
416 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
418 * doc/Makefile.am: Add the extra SGML files to content_files,
419 so that they are distributed properly.
421 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
423 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
426 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
428 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
429 (hildon_note_new_information_with_icon_name): Set the "icon" property
430 to preserve soundness.
432 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
434 * src/hildon-font-selection-dialog.c
435 (hildon_font_selection_dialog_set_property): Fail when the "family"
436 property is set to NULL.
438 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
440 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
443 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
445 * src/hildon-time-selector.h:
446 Added HildonTimeSelectorFormatPolicy
447 * src/hildon-time-selector.c:
448 Added PROP_TIME_FORMAT_POLICY
449 (_check_ampm_format): renamed to check_automatic_ampm_format
450 (update_format_policy), (update_format_dependant_columns): new functions
451 (hildon_time_selector_class_init)
452 (hildon_time_selector_contructor)
453 (hildon_time_selector_init)
454 (hildon_time_selector_get_property)
455 (hildon_time_selector_set_property)
456 (hildon_time_selector_get_time)
457 (hildon_time_selector_set_time)
458 * src/hildon-touch-selector.h: new file
459 * src/hildon-touch-selector.c
460 (hildon_touch_selector_emit_changed)
461 (hildon_touch_selector_block_changed)
462 (hildon_touch_selector_unblock_changed)
463 Added functions to allow to block the emission of the "changed" signal
464 * src/hildon-picker-dialog.c
465 (hildon_picker_dialog_show): call the parent show before the custom code
466 * examples/hildon-time-button-example.c
467 Modified, so now you can configure the time format using the new property
469 Added a new property "time-format-policy" that allow to choose the time
470 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
471 case it uses gconf in order to check if the time selector must use
474 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
477 2009-04-28 Alberto Garcia <agarcia@igalia.com>
479 * src/hildon-note.c (hildon_note_init):
480 Label in HildonNote must be left aligned, not centered. This
481 reverts the last commit in HildonNote.
483 Fixes: NB#112933 (text is not left aligned in confirmation dialog
484 is connectivity dialog)
486 2009-04-27 Alberto Garcia <agarcia@igalia.com>
491 * doc/hildon-sections.txt:
492 Added hildon_gtk_window_set_do_not_disturb()
494 2009-04-27 Alberto Garcia <agarcia@igalia.com>
496 * src/hildon-note.c (hildon_note_init): Center label.
498 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
501 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
506 * configure.ac: Bump version.
507 * debian/changelog: Updates.
509 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
511 * src/hildon-note-private.h: Add button-width to the private data.
512 * src/hildon-note.c (+resize_button),
513 (+hildon_note_orientation_update): methods to repack widgets on orientation
515 (screen_size_changed): Call above method for confirmation notes.
516 (hildon_note_realize): Always connect to the "screen-size" changed signal.
517 (hildon_note_rebuild): Store the original width request from buttons.
519 Fixes: NB#109635 (Confirmation notes do not support portrait)
521 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
523 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
524 when it is a progress note.
526 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
528 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
529 in the note, since there are no horizontally arranged contents.
531 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
533 * src/hildon-gtk.c (+set_flag): new generic method to
534 set/delay a flag setting in a window.
535 (hildon_gtk_window_set_progress_indicator):
536 (hildon_gtk_window_set_do_not_disturb),
537 (hildon_gtk_window_set_portrait_flags): use set_flag() to
538 avoid code redundance.
540 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
542 Based on a patch by Alberto Garcia (agarcia@igalia.com)
544 * src/hildon-gtk.c (set_clear_window_flag),
545 (do_set_progress_indicator), (do_set_do_not_disturb),
546 (do_set_portrait_flags),
547 (hildon_gtk_window_set_progress_indicator),
548 (hildon_gtk_window_set_do_not_disturb),
549 (hildon_gtk_window_set_portrait_flags):
550 Allow setting dnd-flag, progress indicator, and portrait flags
551 when the window is not realized.
553 2009-04-24 Alejandro G. Castro <alex@igalia.com>
555 * src/hildon-pannable-area.c,
556 * src/hildon-pannable-area.h: Add the hildon deprecated define to
557 the size request policy function and defines.
559 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
561 * doc/hildon-sections.txt: Add the new API.
562 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
563 method to set the portrait flags.
564 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
566 Fixes: NB#112328 (Adding helpers for setting portrait properties)
568 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
570 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
571 to allow using this method with other flags.
572 (hildon_gtk_window_set_progress_indicator): Update accordingly.
573 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
575 2009-04-22 Alberto Garcia <agarcia@igalia.com>
577 * src/hildon-touch-selector.c
578 (hildon_touch_selector_append_text_column):
579 Make the cell renderer use the smallest width possible.
581 Fixes: NB#108470 (Selected items in multiple selection are either
582 having a tick that is cut or not visible at all.)
584 2009-04-22 Alberto Garcia <agarcia@igalia.com>
586 * src/hildon-touch-selector.c
587 (hildon_touch_selector_append_text_column):
590 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
592 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
593 Use g_strdup_printf() instead of a fixed size buffer.
595 2009-04-21 Alberto Garcia <agarcia@igalia.com>
597 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
598 Close banners when a HildonAppMenu is popped up.
600 Fixes: NB#111027 (Title menu closed immediately if activated when
601 "Invalid e-mail address" banner is shown)
603 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
608 * configure.ac: Bump version.
609 * debian/changelog: Updates.
611 2009-04-20 Alberto Garcia <agarcia@igalia.com>
613 * src/hildon-banner.c (hildon_banner_realize):
614 Mark HildonBanner as supporting portrait mode.
615 Use GDK to set window properties insetad of direct Xlib calls.
617 Fixes: NB#111830 (HildonBanner should be marked as supporting
620 2009-04-20 Alberto Garcia <agarcia@igalia.com>
622 * src/hildon-note.c (hildon_note_rebuild):
623 Hide action area in information notes. Prevents text from being
624 slightly aligned to the left.
626 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
629 2009-04-20 Alberto Garcia <agarcia@igalia.com>
631 Patch by Mox Soini (ext-mox.soini@nokia.com)
633 * src/hildon-banner.c (hildon_banner_create_animation):
634 Use stylus-sized icons in animation banner.
636 Fixes: NB#111206 (stylus sized icon for animation banner)
638 2009-04-20 Alberto Garcia <agarcia@igalia.com>
642 (+hildon_gtk_window_set_do_not_disturb):
643 New API to set the do-not-disturb flag.
645 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
647 2009-04-20 Alberto Garcia <agarcia@igalia.com>
649 * examples/hildon-progress-indicator-example.c: Fix example
651 * src/hildon-gtk.c (set_clear_window_flag)
652 (hildon_gtk_window_set_progress_indicator):
653 Create a generic function for setting flags to a window.
654 Use GDK instead of direct Xlib calls.
656 2009-04-14 Alberto Garcia <agarcia@igalia.com>
658 * src/hildon-button.c (hildon_button_set_arrangement):
659 Due to NB#88126, if one of the labels is too long it will be
660 painted outside the button. The 'value' label is more likely to be
661 the longest one, so we change its packing options in order to
662 truncate it if necessary. As a side effect, the 'title' label will
663 no longer be truncated.
665 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
667 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
672 * configure.ac: Bump version.
673 * debian/changelog: Updates.
675 2009-04-13 Alejandro G. Castro <alex@igalia.com>
677 Deprecation of the hildon_pannable_area_set_size_request_policy
678 API, the only policy properly supported in gtk+ nowadays is the
681 * src/hildon-pannable-area.c,
682 (hildon_pannable_area_size_request): Added a workaround for the
683 size_request to avoid the problems of huge pixmaps in case someone
684 is still using the function.
685 * src/hildon-pannable-area.h: Deprecated the enum with the
688 Fixes: NB#110244 (Problems with the
689 hildon_pannable_area_set_size_request_policy API)
691 2009-04-08 Alejandro G. Castro <alex@igalia.com>
693 * src/hildon-pannable-area.c,
694 (hildon_pannable_area_init),
695 (hildon_pannable_area_size_request),
696 (hildon_pannable_area_style_set),
697 (hildon_pannable_draw_vscroll),
698 (hildon_pannable_draw_hscroll),
699 (hildon_pannable_area_check_scrollbars): Replaced area_width with
700 indicator_width to clarify the use of the attribute.
702 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
707 * configure.ac: Bump version.
708 * debian/changelog: Updates.
710 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
712 * src/hildon-picker-dialog.c
713 * src/hildon-touch-selector.c
714 Reverting the change that tried to avoid the hardcoded height on
715 the picker dialog, as causes problems on the hildon-touch-selector
718 Fixes: NB#110029 (selectors not scrolling to selected value)
720 2009-04-07 Alberto Garcia <agarcia@igalia.com>
722 * src/hildon-touch-selector.c: Fix typos
724 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
726 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
727 Use the event coordinates instead of gdk_window_get_pointer(). Also,
728 request more motions after using it.
730 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
732 * src/hildon-calendar.c (hildon_calendar_expose),
733 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
734 Remove unused variables.
736 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
738 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
741 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
743 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
744 Check the return value of gtk_tree_selection_get_selected()
747 2009-04-06 Alberto Garcia <agarcia@igalia.com>
749 * src/hildon-animation-actor.c
750 * src/hildon-button.c
752 * src/hildon-pannable-area.c
753 * src/hildon-picker-button.c
754 * src/hildon-program.c
755 * src/hildon-remote-texture.c
756 * src/hildon-text-view.c
757 * src/hildon-touch-selector.c
758 * src/hildon-window-stack.c
759 * src/hildon-window.c:
760 Add missing 'Since: 2.2' tags.
762 * doc/hildon-sections.txt:
763 Add some missing symbols.
765 * doc/hildon-docs.sgml:
766 New 'Other' section for HildonAnimationActor and
769 2009-04-06 Alberto Garcia <agarcia@igalia.com>
771 Patch by Iván Gómez (igomez@igalia.com)
775 * doc/hildon-docs.sgml
776 * doc/hildon-sections.txt
780 New chapters on using the Hildon library.
781 Updated the general structure of the reference manual.
782 Other minor documentation fixes.
784 * src/hildon-calendar-popup.c
785 * src/hildon-calendar.c
786 * src/hildon-controlbar.c
787 * src/hildon-date-editor.c
788 * src/hildon-dialog.c
789 * src/hildon-hvolumebar.c
790 * src/hildon-number-editor.c
791 * src/hildon-range-editor.c
792 * src/hildon-sort-dialog.c
793 * src/hildon-time-editor.c
794 * src/hildon-time-picker.c
795 * src/hildon-volumebar-range.c
796 * src/hildon-volumebar.c
797 * src/hildon-vvolumebar.c
798 * src/hildon-weekday-picker.c:
799 Add deprecation notes
801 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
802 Document 'horizontal-movement' and 'vertical-movement' signals.
804 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
809 * configure.ac: Bump version.
810 * debian/changelog: Updates.
812 2009-04-06 Alejandro G. Castro <alex@igalia.com>
814 * src/hildon-pannable-area.c,
815 (hildon_pannable_area_class_init): increased the minimum velocity.
816 (hildon_pannable_area_button_release_cb): Updated the
817 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
818 setup. Review the code to control that last event.
820 Fixes: NB#109790 (Releasing finger in pannable area easily causes
823 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
825 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
827 * src/hildon-get-password-dialog.c
828 (hildon_get_password_set_property),
829 (hildon_get_password_get_property), (create_contents):
830 * src/hildon-login-dialog-private.h:
831 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
832 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
833 (hildon_login_dialog_get_password):
834 * src/hildon-set-password-dialog-private.h:
835 * src/hildon-set-password-dialog.c
836 (hildon_set_password_set_property),
837 (hildon_set_password_get_property), (create_contents),
838 (hildon_set_password_response_change),
839 (hildon_set_password_response_set), (hildon_checkbox_toggled):
841 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
842 instead and look more Fremantle style.
844 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
846 2009-04-03 Alberto Garcia <agarcia@igalia.com>
848 * doc/hildon-sections.txt
849 * src/hildon-window-stack.h
850 * src/hildon-window-stack.c
851 (+hildon_window_stack_get_windows):
852 New API to obtain the list of windows on a stack.
854 2009-04-02 Alberto Garcia <agarcia@igalia.com>
856 * src/hildon-app-menu.c (hildon_app_menu_popup)
857 (hildon_app_menu_class_init, -hildon_app_menu_show):
858 Remove hildon_app_menu_show() and move all its checks to
859 hildon_app_menu_popup()
861 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
863 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
864 (_hildon_picker_dialog_set_selector): removed call to
865 gtk_widget_set_size_request
866 * src/hildon-touch-selector.c
867 (_create_new_column): change the pannable size request policy
869 Avoid to use a hardcoded height for the hildon picker dialog. In order
870 to get that, we needed to change the hildon pannable size request
872 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
874 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
876 * src/hildon-window.c (hildon_window_map): Check for vbox to be
877 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
880 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
882 * debian/control: Depend on osso-system-lock localization package.
883 * src/hildon-code-dialog.c: Obtain the secu_application_title
884 translation from osso-system-lock.
885 * src/hildon-get-password-dialog.c (create_contents): Do not mark
886 for translation the atk related strings, that's not necessary.
887 * src/hildon-set-password-dialog.c (create_contents): Ditto.
888 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
889 cancel button, it is not required.
891 2009-04-02 Alejandro G. Castro <alex@igalia.com>
893 * src/hildon-pannable-area.c,
894 (hildon_pannable_area_class_init): Modified the default value of
895 the overshooting max speed, we have reduced it.
897 2009-04-02 Alberto Garcia <agarcia@igalia.com>
899 * doc/hildon-sections.txt
900 * src/hildon-window-private.h
901 * src/hildon-window.h
902 * src/hildon-window.c (hildon_window_class_init)
903 (hildon_window_init, hildon_window_finalize)
904 (hildon_window_realize, hildon_window_get_property)
905 (hildon_window_set_property, hildon_window_update_markup)
906 (hildon_window_get_markup, hildon_window_set_markup):
907 New "markup" property and hildon_window_{get,set}_markup() methods.
909 * examples/hildon-stackable-window-example.c (new_window):
910 Update example to use hildon_window_set_markup()
912 Fixes: NB#106375 (Need API to retitle a window with a title
915 2009-04-01 Alejandro G. Castro <alex@igalia.com>
917 * src/hildon-pannable-area.c,
918 (hildon_pannable_area_class_init): Changed the default value of
919 the initial_hint to TRUE.
920 (hildon_pannable_area_initial_effect): Changed the initial effect,
921 not the effect is just the fade-out of the scrollbars.
923 Fixes: NB#107775 (No scrollbars can be seen when several items are
924 available in a dialog)
926 2009-04-01 Alberto Garcia <agarcia@igalia.com>
928 * src/hildon-program.c (hildon_program_update_top_most):
931 Fixes: NB#109179 (Memory leak in Hildon program)
933 2009-04-01 Alberto Garcia <agarcia@igalia.com>
935 * src/hildon-banner.c (-get_current_app_window):
936 Remove unused function.
938 2009-04-01 Alejandro G. Castro <alex@igalia.com>
940 * src/hildon-pannable-area.c: Modified the documentation of the
941 get adjustments functions to explain the problem of using the
943 (hildon_pannable_area_class_init): Improved the explanation about
946 2009-04-01 Alberto Garcia <agarcia@igalia.com>
948 * src/hildon-app-menu-private.h
949 * src/hildon-app-menu.c
950 (hildon_app_menu_class_init):
951 Bring back the 'external-border' style property
952 (hildon_app_menu_class_init, hildon_app_menu_init)
953 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
954 Set a fixed width-request for the menu, independent of the number
957 Fixes: NB#94957 (Smoothly opened application menu)
959 2009-03-30 Alberto Garcia <agarcia@igalia.com>
961 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
963 * src/hildon-banner.c
964 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
966 Make sure that the banner is correctly placed the first time it's
968 (hildon_banner_check_position, -check_fullscreen_state):
969 Show the banner in the same place no matter if the window is in
970 fullscreen mode or not.
972 Fixes: NB#107386 (Odd stacking behaviour for information banners)
974 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
976 * src/hildon-touch-selector.c (_default_print_func): reorder
977 concatenation for clarity.
979 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
981 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
982 for multicolumn selectors.
984 Fixes: NB#109099 (Memory leak in Hildon touch selector)
986 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
991 * configure.ac: Bump version.
992 * debian/changelog: Updates.
994 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
996 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
999 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1001 * configure.ac: removed libcangerra-gtk dependency
1002 * debian/control: removed libcanberra-gtk dependency
1003 * src/Makefile.am: removed libcanberra gtk related flags
1004 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1005 context, and manage a global canberra context instead
1007 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1009 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1011 Patch by Daniel Borgmann (danielb@openismus.com)
1013 * src/hildon-edit-toolbar.c:
1014 Adjust the left padding.
1015 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1016 Paint background of the edit toolbar.
1018 Fixes: NB#107897 (Patch to make editmodetoolbar background
1019 themeable and adjust margin)
1021 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1023 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1025 * src/hildon-program.c (hildon_program_update_top_most):
1026 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1028 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1029 change when the user tasks in/out of an application)
1031 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1033 * configure.ac: added libcangerra-gtk dependency
1034 * debian/control: added libcanberra-gtk dependency
1035 * src/Makefile.am: added libcanberra gtk related flags
1036 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1039 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1041 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1043 * src/hildon-program.c (hildon_program_remove_window)
1044 (hildon_program_add_window): Add checks for the window
1045 parameter. Don't decrease the window counter if the window is not
1048 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1050 * src/hildon-pannable-area.c,
1051 (hildon_pannable_area_realize): Fixed position of the event_window
1052 in the realize method.
1054 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1056 * src/hildon-app-menu-private.h
1057 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1058 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1059 (hildon_app_menu_key_press, hildon_app_menu_init)
1060 (hildon_app_menu_finalize):
1061 Make sure that all idle functions are removed when the widget is
1064 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1066 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1071 * configure.ac: Bump version.
1072 * debian/changelog: Updates.
1074 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1076 * src/hildon-entry.c
1077 (+hildon_entry_show_placeholder),
1078 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1079 that replace hildon_entry_update_contents().
1080 (hildon_entry_set_text),
1081 (hildon_entry_set_placeholder),
1082 (hildon_entry_focus_in_event),
1083 (hildon_entry_focus_out_event): Determine when it is needed
1084 either to show or hide the placeholder and call the above methods.
1086 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1087 when the placeholder text is already set)
1089 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1091 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1092 simple GdkPixbufAnim using the new icons for the banner.
1093 (hildon_banner_show_animation): Use the above mentioned method to
1094 create the animation widget.
1096 Fixes: NB#103564 (Make hildon animation banner use individual
1097 image files as the animation)
1099 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1101 * src/hildon-pannable-area.c,
1102 (hildon_pannable_leave_notify_event): Check if the child is NULL
1103 to avoid sending the leave.
1105 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1107 * src/hildon-pannable-area.c,
1108 (hildon_pannable_area_class_init),
1109 (hildon_pannable_leave_notify_event): Added a handler of the
1110 leave-notify-signal to consider when no motion notify before
1113 Fixes: NB#107494 (Items stay selected when clicking and moving
1114 away when inside pannable area)
1116 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1121 * configure.ac: Bump version.
1122 * debian/changelog: Updates.
1124 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1126 Patch by Alberto Garcia (agarcia@igalia.com)
1128 * src/hildon-date-button.c,
1129 (hildon_date_button_class_init),
1130 (hildon_date_button_init): Removed the construct property handling
1131 and created a default selector in the init method.
1132 * src/hildon-picker-button.c,
1133 (hildon_picker_button_class_init): Removed the construct flag of the
1136 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1138 * src/hildon-main.c (hildon_init):
1139 Don't allow hildon_init() to be called more than once.
1141 Fixes: NB#106607 (hildon_init should issue error message upon
1144 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1146 * examples/hildon-pannable-area-touch-list-example.c
1147 * examples/hildon-pannagle-area-touch-grid-example.c
1148 * examples/hildon-edit-toolbar-example.c
1149 * examples/hildon-touch-selector-multi-cells-example.c
1150 Removed the call to gtk_rc_parse_string, as it is not required since
1153 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1155 * src/hildon-pannable-area.c,
1156 (hildon_pannable_area_class_init): Modified the default panning
1157 threshold of the widget to 6px.
1159 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1160 than the threshold value ) within the button is not sending the
1163 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1165 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1166 for the treeview in the new column. This way, the touch list will never
1169 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1170 be selected manually for the HW keys to work)
1172 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1174 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1175 comparison instead of using strcmp(). Fixes a compiler warning as well.
1177 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1179 * doc/hildon-docs.sgml: Do not set the library version in the
1180 document title, use the releaseinfo tag for that purpose instead.
1182 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1184 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1185 Do not jump to the first item if the text in the entry is removed.
1187 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1192 * configure.ac: Bump version.
1193 * debian/changelog: Updates.
1195 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1197 * src/hildon-entry.c (hildon_entry_refresh_contents):
1198 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1199 Use "ReversedSecondaryTextColor" for the placeholder text.
1201 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1203 * src/hildon-text-view.c: Fix compilation warning.
1205 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1207 * src/hildon-button.c (hildon_button_class_init): Don't make
1208 "title" and "value" construction properties, to prevent them from
1209 overwriting labels set from derived classes.
1211 * src/hildon-picker-button.c
1212 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1213 (hildon_picker_button_class_init): Make touch-selector a
1214 construction property.
1216 * src/hildon-date-button.c (hildon_date_button_class_init)
1217 (+hildon_date_button_constructed): Add a default date selector if
1220 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1222 * src/hildon-touch-selector.c: Small documentation fixes.
1224 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1226 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1228 * src/hildon-entry.c (hildon_entry_refresh_contents),
1229 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1230 widget name, set the logical color directly instead and a boolean
1231 showing_placeholder instead.
1232 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1233 use the widget name here either.
1235 Fixes: NB#105678 (HildonTextView should use logical colours
1236 instead of setting widget name)
1238 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1240 Patch by Daniel Elster (danielk@openismus.com)
1242 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1243 Add user_data parameter.
1244 (hildon_touch_selector_set_print_func_full): New function akin
1245 hildon_touch_selector_set_print_func() but with support for user
1246 data and a destroy callback.
1247 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1248 to clean up the print function user data.
1249 (hildon_touch_selector_class_init): Install dispose function.
1250 (HildonTouchSelectorPrivate::print_user_data),
1251 (HildonTouchSelectorPrivate::print_destroy_func): New private
1253 (hildon_touch_selector_init): Initialize new private members.
1254 (hildon_touch_selector_get_current_text): Pass along user data
1255 to the print function.
1256 (_default_print_func): Add dummy user_data to parameter list.
1257 * hildon-date-selector.c (_custom_print_func): ditto,
1258 * hildon-time-selector.c (_custom_print_func): ditto,
1259 * hildon-touch-selector-entry.c
1260 (hildon_touch_selector_entry_print_func): ditto.
1262 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1264 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1266 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1268 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1270 * src/hildon-pannable-area.c,
1271 (hildon_pannable_area_init),
1272 (hildon_pannable_area_button_press_cb),
1273 (hildon_pannable_area_motion_notify_cb): We have added code to
1274 handle the leave and enter events when using the motion events.
1276 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1278 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1280 * src/hildon-date-button.c (hildon_date_button_get_date)
1281 (hildon_date_button_set_date): Make sure that the button has a
1284 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1286 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1288 * src/hildon-pannable-area.c,
1289 (hildon_pannable_area_class_init),
1290 (hildon_pannable_area_calculate_velocity): Modify the use of the
1291 force and adapt the value.
1293 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1295 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1296 (hildon_app_menu_class_init): Hide the menu if it receives a
1297 delete-event, but don't destroy it
1299 Fixes: NB#104485 (Not able to address the call when application
1300 menu is opened at background)
1302 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1304 * src/hildon-app-menu.c
1305 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1306 Remove the "external-border" style property, let the menu take its
1307 natural size (or the one set by the window manager)
1308 (hildon_app_menu_repack_items):
1309 Don't reshow the menu, avoid flickers.
1311 Partially fixes NB#94957 (Smoothly opened application menu)
1313 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1318 * configure.ac: Bump version.
1319 * debian/changelog: Updates.
1321 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1323 * src/hildon-pannable-area.c,
1324 (hildon_pannable_area_motion_notify_cb): We control that the
1325 direction error margin is used just in case the movement is
1326 allowed in the other direction.
1328 Fixes: NB#105012 (buttons inside a pannable area not getting
1329 release event when dragging/releasing)
1331 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1333 * src/hildon-pannable-area.c,
1334 (hildon_pannable_area_class_init),
1335 (hildon_pannable_area_get_property),
1336 (hildon_pannable_area_set_property),
1337 (hildon_pannable_area_initial_effect),
1338 (hildon_pannable_axis_scroll),
1339 (hildon_pannable_area_button_release_cb): Reviewed the
1340 overshooting effect, now it has its own max
1341 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1342 speed when bouncing.
1344 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1349 * configure.ac: Bump version.
1350 * debian/changelog: Updates.
1352 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1354 * src/hildon-pannable-area.c,
1355 (hildon_pannable_area_class_init): Changed the max speed, now
1356 users can launch the widget very fast. Reduced the default force,
1357 that way it is easier to control the launch speed.
1359 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1361 * src/hildon-pannable-area.c,
1362 (hildon_pannable_area_button_release_cb): Removed this check
1363 because it causes problems when the device is overloaded.
1365 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1367 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1368 add a current_text field to store the text entered in the
1369 touch selector entry.
1370 (_clean_current_selection): clean up the current text as well.
1371 (_save_current_selection), (_restore_current_selection):
1372 Save/restore the text in the entry if the selector is a
1373 HildonTouchSelectorEntry.
1375 Fixes: NB#102541 (value entered in the touch selector entry is not
1376 shown when opened for second time)
1378 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1380 * doc/hildon-sections.txt:
1381 * src/hildon-touch-selector-entry.c
1382 (+hildon_touch_selector_entry_get_entry):
1383 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1385 Fixes: NB#104815 (I need accessor to the entry inside
1386 HildonTouchSelectorEntry)
1388 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1390 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1391 (hildon_app_menu_class_init):
1392 New "filter-vertical-spacing" style property.
1394 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1396 * src/hildon-find-toolbar.c
1397 (hildon_find_toolbar_emit_close)
1398 (hildon_find_toolbar_emit_invalid_input)
1399 (hildon_find_toolbar_entry_activate):
1400 Use g_signal_emit() instead of g_signal_emit_by_name()
1402 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1404 Patch by Mox Soini (ext-mox.soini@nokia.com)
1406 * tests/TEST-CASES.txt
1407 * tests/check-hildon-banner.c
1408 * tests/check-hildon-note.c
1409 * src/hildon-banner.c
1410 * src/hildon-code-dialog.c
1411 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1412 * src/hildon-time-editor.c
1413 * examples/hildon-lookup-example.c (main):
1414 Replace obsolete icon names with new ones.
1416 * src/hildon-find-toolbar-private.h:
1417 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1418 (-hildon_find_toolbar_emit_search):
1419 Remove find button and change icon of close button.
1421 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1423 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1425 * src/hildon-time-button.c (hildon_time_button_new_step):
1426 Use the "touch-selector" property to set the selector directly
1427 when creating the object.
1429 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1431 Added a new example application that allows tuning the pannable
1432 area and replaced defines with properties in order to simplify the
1433 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1434 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1435 PROP_DIRECTION_ERROR_MARGIN.
1437 * examples/hildon-pannable-area-tuning-example.c: New example
1439 * src/hildon-pannable-area.c,
1440 (hildon_pannable_area_class_init),
1441 (hildon_pannable_area_init),
1442 (hildon_pannable_area_get_property),
1443 (hildon_pannable_area_set_property),
1444 (hildon_pannable_area_launch_fade_timeout),
1445 (hildon_pannable_area_adjust_value_changed),
1446 (hildon_pannable_axis_scroll),
1447 (hildon_pannable_area_motion_notify_cb),
1448 (hildon_pannable_area_scroll_cb),
1449 (hildon_pannable_area_button_release_cb): We have converted some
1450 of the defines that control the widget to properties to simplify
1453 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1455 * src/hildon-app-menu.c (hildon_app_menu_map)
1456 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1457 so it's closed if a new window appears.
1459 Fixes: NB#104485 (Not able to address the call when application
1460 menu is opened at background)
1462 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1464 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1465 missing 'break' statement in in 'case' construct to avoid
1468 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1470 * src/hildon-touch-selector-entry.c
1471 (hildon_touch_selector_entry_get_property),
1472 (hildon_touch_selector_entry_set_property): Add missing 'break'
1473 statements in in 'case' constructs to avoid incorrect warnings.
1475 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1477 * src/hildon-time-editor.c
1478 (hildon_time_editor_get_time_separators): Do not crash if
1479 the first label is NULL.
1481 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1483 * src/hildon-date-selector.c (_month_days): Check for month to be
1484 strictly less than 12, since otherwise we may overrun the array.
1486 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1488 * src/hildon-date-button.c (+hildon_date_button_new_full)
1489 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1490 (hildon_date_button_init): Set the date selector using a
1491 construction property, to make it happen after HildonButton's
1492 "value" property is set.
1494 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1495 current date by default)
1497 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1499 * doc/hildon-sections.txt
1500 * src/hildon-program.c
1501 * src/hildon-stackable-window.c
1502 * src/hildon-window.c:
1503 Documentation updates
1505 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1507 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1508 (hildon_window_stack_new, +hildon_window_stack_set_property)
1509 (+hildon_window_stack_get_property)
1510 (hildon_window_stack_class_init)
1511 (+hildon_window_stack_set_window_group)
1512 (+hildon_window_stack_get_window_group):
1513 Make the window group a construction property.
1515 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1517 * doc/hildon-sections.txt
1518 * src/hildon-stackable-window-private.h
1519 * src/hildon-stackable-window.h
1520 * src/hildon-stackable-window.c
1521 (-hildon_stackable_window_set_app_menu)
1522 (-hildon_stackable_window_get_app_menu)
1523 (-hildon_stackable_window_toggle_menu)
1524 (-hildon_stackable_window_finalize)
1525 (hildon_stackable_window_class_init)
1526 (hildon_stackable_window_init)
1527 * src/hildon-window-private.h
1528 * src/hildon-window.h
1529 * src/hildon-window.c (hildon_window_init)
1530 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1531 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1532 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1533 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1534 Moved all HildonAppMenu code to HildonWindow. The menu does not
1535 require a HildonStackableWindow anymore.
1537 * src/hildon-app-menu.c
1538 * src/hildon-program.c
1539 * examples/hildon-app-menu-example.c (main):
1540 Update examples and documentation to reflect HildonAppMenu
1543 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1545 * src/hildon-remote-texture.c
1546 * src/hildon-animation-actor.c:
1547 Don't include unused private headers.
1549 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1551 * src/hildon-program-private.h
1552 * src/hildon-program.c
1553 (hildon_program_set_common_menu)
1554 (hildon_program_get_common_menu)
1555 (hildon_program_set_common_app_menu)
1556 (hildon_program_get_common_app_menu):
1557 Change common menu pointers from GtkWidget* to GtkMenu* and
1558 HildonAppMenu* to avoid unnecessary casts.
1560 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1562 * src/hildon-window.c (hildon_window_set_main_menu):
1563 Removed incorrect 'Since:' tag
1565 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1567 * src/hildon-pannable-area.c,
1568 (hildon_pannable_area_calculate_velocity): We use now the
1569 RATIO_TOLERANCE here to check the distance, fixed typo in the
1571 (hildon_pannable_area_motion_notify_cb): We have to set the type
1572 and time even if we are not sending the motion.
1574 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1576 * doc/hildon-sections.txt
1577 * src/hildon-app-menu.h
1578 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1579 (+hildon_app_menu_get_filters): New methods to get the contents of
1582 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1585 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1587 * src/hildon-app-menu.c (hildon_app_menu_popup):
1590 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1592 * src/hildon-window.h
1593 * src/hildon-window.c (+hildon_window_get_main_menu)
1594 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1595 and deprecated hildon_window_get_menu().
1597 * src/hildon-stackable-window.h
1598 * src/hildon-stackable-window.c
1599 (+hildon_stackable_window_set_app_menu)
1600 (+hildon_stackable_window_get_app_menu)
1601 (hildon_stackable_window_set_main_menu): Created
1602 hildon_stackable_window_{get,set}_app_menu() and deprecated
1603 hildon_stackable_window_set_main_menu().
1605 * doc/hildon-sections.txt
1606 * examples/hildon-app-menu-example.c (main)
1607 * src/hildon-app-menu.c
1608 * src/hildon-program.c:
1609 Updated examples and documentation.
1611 Fixes: NB#103758 (No way to obtain a menu from a
1612 HildonStackableWindow)
1614 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1619 * configure.ac: Bump version.
1620 * debian/changelog: Updates.
1622 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1624 * examples/hildon-remote-texture-example.c: Include
1625 hildon-remote-texture.h explicitely.
1626 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1627 applications not defining _XOPEN_SOURCE which don't require this header.
1629 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1631 * doc/hildon-sections.txt
1632 * src/hildon-app-menu.h
1633 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1634 New function to pop up a HildonAppMenu
1636 * src/hildon-stackable-window.c
1637 (hildon_stackable_window_toggle_menu):
1638 Use hildon_app_menu_popup() to show the menu.
1640 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1642 * src/hildon-app-menu.c (hildon_app_menu_show)
1643 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1644 menu if there's another window between it and its parent window.
1646 Fixes: NB#100468 (Application menu window is launched even when a
1647 new secondary-window/dialog is pending to be shown/realized)
1649 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1651 * src/hildon-window-stack.c (hildon_window_stack_push)
1652 (hildon_window_stack_pop_and_push):
1653 Don't forget to push/pop the first window.
1654 Reverse the window list before calling _push_list()
1656 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1658 * src/hildon-picker-button.h
1659 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1660 Remove "value_changed" slot to avoid ABI breakage
1662 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1664 * src/hildon-pannable-area.c,
1665 (hildon_pannable_area_realize),
1666 (hildon_pannable_area_unrealize),
1667 (hildon_pannable_draw_vscroll),
1668 (hildon_pannable_draw_hscroll): Changed the method to handle the
1669 GC used to draw the transparent scrollbar, this way we avoid
1670 creating the GC all the time when drawing the scrollbars.
1672 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1674 * src/hildon-pannable-area.c,
1675 (hildon_pannable_area_init),
1676 (hildon_pannable_area_remove): Removed some unnecessary casts.
1677 (hildon_pannable_area_dispose): Disconnected some signals before
1678 releasing the adjustments.
1680 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1682 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1683 Make sure that all widgets contained in the toolbar are shown.
1685 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1687 * doc/hildon-sections.txt
1688 * src/hildon-picker-button.h
1689 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1690 (_selection_changed, hildon_picker_button_on_dialog_response)
1691 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1692 New hildon_picker_button_value_changed() method.
1695 * src/hildon-picker-button-private.h
1696 * src/hildon-picker-button.c (hildon_picker_button_init)
1697 (+hildon_picker_button_disable_value_changed): Add protected
1698 function for disabling the "value-changed" signal.
1700 * src/hildon-date-button.c (hildon_date_button_set_date):
1701 Don't emit "value-changed" for each one of the three columns.
1703 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1704 before actual change of values)
1706 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1708 * src/hildon-pannable-area.c,
1709 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1710 for the treeview overshooting.
1712 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1714 * src/hildon-banner.c (+hildon_banner_bind_style):
1715 Renamed from hildon_banner_bind_label_style(), now naming the
1716 banner itself as well.
1717 (hildon_banner_show_information),
1718 (hildon_banner_show_information_with_markup),
1719 (hildon_banner_show_animation), (hildon_banner_show_progress):
1720 Name the widgets and labels, based on their type.
1722 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1725 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1727 * src/hildon-note.c (hildon_note_set_property): call
1728 hildon_note_rename() on HildonNote:note-type set.
1729 (hildon_note_rename): Name the note and its label, based on the
1730 HildonNote:note-type property.
1732 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1735 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1737 * src/hildon-pannable-area.c,
1738 (hildon_pannable_area_class_init),
1739 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1740 panning parameters, increased SPS and deceleration factor. Added
1741 also a margin to control fake directions.
1743 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1745 Patch by Sven Herzberg (sven@imendio.com)
1747 * configure.ac: Add missing AM_PROG_CC_C_0
1748 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1750 See NB#101420 (Update unit tests and fix make check)
1752 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1754 This patch was applied before but reverted because it caused
1755 problems, we have changed the main condition and tested the
1756 regressions we detected before and they work ok. We have done a
1757 complete review of the topmost algorithm in order to get a more
1760 * src/hildon-pannable-area.c,
1761 (hildon_pannable_area_get_topmost): Added a new parameter to
1762 filter the the windows that do not include those events.
1763 (hildon_pannable_area_button_press_cb),
1764 (hildon_pannable_area_button_release_cb),
1765 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1766 topmost function, we have added the new parameter.
1768 Fixes: NB#97458 (Pannable area prevents propagation of button
1771 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1773 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1774 if all columns in the selector have an item selected.
1775 (_on_dialog_response): Stop "response" signal emission if there is
1776 any selector column without selected items.
1778 Fixes: NB#101889 (Picker dialog should not close when nothing is
1779 selected in multiple selection list)
1781 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1783 * src/hildon-font-selection-dialog.c
1784 (hildon_font_selection_dialog_class_init),
1785 (hildon_font_selection_dialog_init): Remove the preview
1786 button and dialog, since previewing with default theming is likely
1787 to be overcomplicated. The :preview property has now no effect.
1788 Update documentation blurbs to inform about this.
1790 Fixes: NB#92297 (Preview content is not clearly visible for
1791 default colour text)
1793 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1795 Reviewed the geometry that handles the children size and
1796 scrollbar, now it tries a size and reviews the results depending
1797 on the scrollbars visibility.
1799 * src/hildon-pannable-area.c,
1800 (hildon_pannable_area_realize): Fixed a typo.
1801 (hildon_pannable_area_child_allocate_calculate): Added this
1802 function to calculate the child allocation.
1803 (hildon_pannable_area_size_allocate): Reviewed the allocation
1805 (hildon_pannable_area_check_scrollbars),
1806 (hildon_pannable_area_refresh): Refactored refresh function, this
1807 way we can call the code handling the scrollbars without causing a
1808 size_request, it is interesting in the allocate.
1809 (hildon_pannable_area_init): Replace the callbacks of the
1810 value_changed and changed signals to propertly deal with the
1812 (hildon_pannable_area_grab_notify),
1813 (hildon_pannable_area_initial_effect),
1814 (hildon_pannable_area_launch_fade_timeout),
1815 (hildon_pannable_area_adjust_changed),
1816 (hildon_pannable_area_adjust_value_changed),
1817 (hildon_pannable_area_redraw),
1818 (hildon_pannable_area_button_press_cb),
1819 (hildon_pannable_area_button_release_cb),
1820 (hildon_pannable_area_scroll_cb),
1821 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1822 code and use the new functions adjust_changed and
1823 adjust_value_changed.
1825 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1826 Contact editor dialog)
1828 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1833 * configure.ac: Bump version.
1834 * debian/changelog: Updates.
1836 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1838 * src/hildon-pannable-area.c,
1839 (hildon_pannable_area_get_topmost),
1840 (hildon_pannable_area_button_press_cb),
1841 (hildon_pannable_area_button_release_cb),
1842 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1843 topmost function adding the event mask. We have to try a
1844 differente approach because it is still causing problems (NB#9745,
1847 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1849 * src/hildon-banner.c:
1850 Update the maximum width of timed banners.
1851 (force_to_wrap_truncated): Enforce the maximum text width if the
1854 Fixes: NB#102413 (The text margins (wrapping) in information
1855 banner should be HILDON_MARGIN_TRIPLE)
1857 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1859 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1861 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1862 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1863 bound when calculating the scroll indicator position.
1865 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1866 treat ->lower correctly)
1868 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1870 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1871 expose event handling, since it is not necessary to draw the focus
1874 Fixes: NB#102467 (Do not show highlight on the text in
1877 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1879 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1880 full height of the toolbar for the button and the label.
1882 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1884 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1885 padding before the label and after the button.
1887 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1889 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1891 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1892 Add a GtkVSeparator between the button and the back arrow.
1893 Let the button have automatic size.
1894 Set a name to the widget for theming handling.
1896 Fixes: NB#101793 (Make edit toolbar the same height as window
1897 title bar (use title area theming))
1899 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1901 * src/hildon-helper.c (attach_new_color_element): Fix memory
1904 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1906 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1908 * examples/hildon-button-example.c (common_buttons_window): Don't
1911 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1913 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1914 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1916 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1918 * src/hildon-gtk.c: Check that the window is realized.
1920 Fixes: NB#102225 (Crash setting the progress indicator to a non
1923 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1925 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1926 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1927 instead of modifying the one in the widget style.
1929 Fixes: NB#101043 (Second row of all the command button are
1930 displayed in transparent mode.)
1932 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1934 * src/hildon-date-button.c
1935 * src/hildon-time-button.c: Add gettext macros
1937 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1939 * src/hildon-date-button.c (hildon_date_button_new):
1940 * src/hildon-time-button.c (hildon_time_button_new_step):
1941 Use new logical strings to set the button default title.
1943 Fixes: NB#99915 (Date and Time options are not localised in Date
1946 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1948 * src/hildon-pannable-area.c
1949 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1950 the PANNING_THRESHOLD.
1952 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1954 * src/hildon-pannable-area.c,
1955 (hildon_pannable_area_class_init): Increased the maximum speed.
1956 (hildon_pannable_area_get_property),
1957 (hildon_pannable_area_set_property),
1958 (hildon_pannable_area_timeout): Added a new low friction mode, it
1959 allows the user avoid friction when launching the widget fast
1960 enough. It is interesting to traverse long lists.
1962 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1964 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1965 (+hildon_stackable_window_delete_event): Ignore delete events if
1966 the window is not the topmost one.
1968 Fixes: NB#101698 (Back button long press and delete-event handling)
1970 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1972 * src/hildon-pannable-area.c,
1973 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1974 gtk-dnd-drag-threshold, it was too big. We have defined our own
1975 dnd define and set a smaller value: PANNIG_THRESHOLD.
1977 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1979 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1980 user-defined icons, use always the default one.
1982 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1984 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1986 This patch was applied before but reverted because it caused
1987 problems, we have changed the main condition and tested the
1988 regressions we detected before and they work ok.
1990 * src/hildon-pannable-area.c,
1991 (hildon_pannable_area_get_topmost): Added a new parameter to
1992 filter the the windows that do not include those events. Added
1993 also a condition when finding the window to filter windows that do
1994 not ask for those events.
1995 (hildon_pannable_area_button_press_cb),
1996 (hildon_pannable_area_button_release_cb),
1997 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1998 topmost function, we have added the new parameter.
2000 Fixes: NB#97458 (Pannable area prevents propagation of button
2003 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2005 * tests/check-hildon-color-button.c (START_TEST): do not leak
2008 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2010 * src/hildon-font-selection-dialog.c
2011 (hildon_font_selection_dialog_get_preview_text): Return NULL
2012 instead of FALSE on the g_return_val_if_fail().
2014 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2016 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2017 * src/hildon-date-selector.c
2018 (hildon_date_selector_select_current_date):
2019 Do not compare unsigned integers to be greater than or equal 0,
2020 because it's always TRUE.
2022 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2024 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2025 (hildon_date_selector_constructor): Do not select the current
2026 date until we are handle the "changed" signal, to avoid having bogus
2027 elements in the days model.
2029 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2031 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2032 for num_days, since _month_days() can return a negative value.
2034 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2036 * src/hildon-caption.c (hildon_caption_size_allocate):
2037 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2038 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2040 Initialize allocation variables to 0, to avoid eventually using
2041 unitialized variables.
2043 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2045 * src/hildon-bread-crumb-trail.c
2046 (hildon_bread_crumb_trail_size_allocate):
2047 * src/hildon-calendar.c (hildon_calendar_set_background):
2048 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2049 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2050 * src/hildon-seekbar.c (hildon_seekbar_init):
2051 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2052 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2053 * src/hildon-touch-selector-entry.c
2054 (hildon_touch_selector_get_text_from_model):
2055 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2056 * src/hildon-window.c (hildon_window_finalize):
2058 Remove many unused variables.
2060 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2062 * src/hildon-seekbar.c: (hildon_seekbar_init),
2063 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2065 Remove unnecessary g_assert() calls.
2067 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2069 * src/hildon-caption.c: (hildon_caption_expose),
2070 (hildon_caption_set_property), (hildon_caption_init),
2071 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2072 (hildon_caption_size_request), (hildon_caption_size_allocate),
2073 (hildon_caption_forall), (hildon_caption_set_separator),
2074 (hildon_caption_activate), (hildon_caption_set_child_expand),
2075 (hildon_caption_set_label_text),
2076 (hildon_caption_get_label_alignment):
2078 Remove unnecessary g_assert() calls.
2080 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2082 * src/hildon-banner.c
2083 (hildon_banner_map, hildon_banner_init): Make banner temporary
2084 before mapping it to avoid closing other temporary windows, but
2085 make it non-temporary afterwards to avoid being closed by other
2086 non-temporary windows.
2087 (-hildon_banner_client_event, hildon_banner_init):
2088 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2090 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2093 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2095 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2098 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2100 * src/hildon-remote-texture.c
2101 * src/hildon-remote-texture.h
2102 * src/hildon-remote-texture-private.h
2103 * examples/hildon-remote-texture-example.c:
2104 Updates/fixes to remote-texture and its example.
2106 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2108 Patch by Mox Soini (ext-mox.soini@nokia.com)
2110 * src/hildon-code-dialog.c: Update logical id.
2111 * src/hildon-set-password-dialog.c: Update logical id.
2113 Fixes: NB#100646 (Logical strings is shown for ok in set
2114 password,Password needed dialogs)
2116 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2119 * src/hildon-remote-texture.c
2120 * src/hildon-remote-texture.h
2121 * src/hildon-remote-texture-private.h
2123 Added remote texture widget (for Clutter shared memory textures)
2125 * examples/hildon-remote-texture-example.c
2126 * examples/Makefile.am
2127 Added example file for remote texture usage
2129 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2131 * configure.ac: post release version bump.
2132 * debian/changelog: version bump.
2134 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2139 * configure.ac: Bump version.
2140 * debian/changelog: Updates.
2142 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2144 * src/hildon-date-selector.c (hildon_date_selector_init)
2145 (hildon_date_selector_constructor): Don't connect to the "changed"
2146 signal until the selector is completely constructed.
2148 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2150 * src/hildon-touch-selector.c: (_create_new_column),
2151 (hildon_touch_selector_append_column),
2152 (hildon_touch_selector_set_column_selection_mode),
2153 (hildon_touch_selector_set_active),
2154 (hildon_touch_selector_select_iter):
2155 Emit the HildonTouchSelector::changed signal every time selection
2156 is changed in any of the methods above. This behavior was already
2157 documented but not fully functional.
2159 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2160 selection is programmatically changed)
2162 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2164 * doc/hildon-sections.txt: Remove obsolete icon
2165 sizes from here as well.
2167 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2169 * examples/hildon-stackable-window-example.c (add_window): Remove
2172 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2174 * src/hildon-app-menu.c
2175 (hildon_app_menu_show): Check whether the parent window of a menu
2176 is topmost before popping it up.
2178 Fixes: NB#100468 (Application menu window is launched even when a
2179 new secondary-window/dialog is pending to be shown/realized.)
2181 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2183 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2186 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2188 Patch by Mox Soini (ext-mox.soini@nokia.com)
2190 * src/hildon-banner.c: (hildon_banner_show_animation):
2191 use stylus size instead of obsolete note size.
2192 * src/hildon-defines.h: Update icon sizes.
2194 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2196 * src/hildon-touch-selector-entry.c:
2197 (hildon_touch_selector_entry_init): Disable unsupported
2199 (hildon_touch_selector_entry_get_text_column): Emit a warning
2200 if an unsupported input modes is used and explicitile state
2201 these modes in the documentation.
2203 Fixes: NB#99802 (Hildon touch selector entry not working properly
2204 for some of the input modes)
2206 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2208 * src/hildon-pannable-area.c,
2209 (hildon_pannable_area_init): Added the changed signal handlers of
2212 Fixes: NB#100320 (HildonPannableArea does not listen to
2213 GtkAdjustment "change" signals)
2215 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2217 * doc/hildon-sections.txt
2218 * src/hildon-window-private.h
2219 * src/hildon-window.h
2220 * src/hildon-window.c (hildon_window_init)
2221 (hildon_window_realize, hildon_window_unrealize)
2222 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2223 (hildon_window_size_request, hildon_window_size_allocate)
2224 (hildon_window_forall, hildon_window_show_all)
2225 (hildon_window_destroy, +paint_edit_toolbar)
2226 (+hildon_window_set_edit_toolbar):
2227 New hildon_window_set_edit_toolbar() method, to add a
2228 HildonEditToolbar to a window without having to pack it manually.
2230 Reorganize hildon_window_size_allocate()
2232 * src/hildon-edit-toolbar.c: Update documentation.
2234 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2235 example to use the new API.
2237 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2239 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2241 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2242 Remove from stack before calling parent's hide.
2244 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2246 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2247 window is removed from the middle of the stack, update the
2248 transiency of the previous one.
2250 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2253 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2255 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2256 block/unblock the signal handler if it's not actually being used.
2257 Fixes some critical warnings.
2259 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2261 Based on a patch by Iván Gómez (igomez@igalia.com)
2263 * src/hildon-banner.c
2267 * src/hildon-pannable-area.c
2268 * src/hildon-picker-dialog.c
2269 * src/hildon-wizard-dialog.h
2270 * src/hildon-wizard-dialog.c: Documentation updates.
2272 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2273 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2275 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2277 * configure.ac: post release version bump.
2278 * debian/changelog: version bump.
2280 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2285 * configure.ac: Bump version.
2286 * debian/changelog: Updates.
2288 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2290 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2291 a stock icon nor change the relief of the back arrow.
2293 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2294 graphics from theme)
2296 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2298 * src/hildon-button.c (hildon_button_set_alignment): Use
2299 priv->alignment if the button has no child yet.
2301 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2303 * src/hildon-button.c: (hildon_button_init): Set the
2304 button style during initialization to give it the proper
2307 Fixes: NB#99713 (HildonButton value label color is wrong)
2309 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2311 * src/hildon-touch-selector.c: Document
2312 hildon_touch_selector_center_on_selected()
2314 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2316 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2317 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2318 all menu items, but not the menu itself.
2319 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2320 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2321 items after adding them to the menu so keyboard accelerators work.
2322 (hildon_app_menu_show): Don't show the menu if it contains items
2323 but none of them are visible.
2325 * examples/hildon-app-menu-example.c (create_menu): Use
2326 gtk_widget_show_all() to show all menu items.
2328 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2330 * src/hildon-picker-dialog.c:
2331 (-_update_title_on_selector_changed_cb),
2332 (-_dialog_update_title): Removed.
2333 (_select_on_selector_changed_cb), (_on_dialog_response),
2334 (on_selector_columns_changed): Do not update the dialog title.
2335 (setup_interaction_mode): Do not connect to
2336 HildonTouchSelector::changed signal if there's a "done" button, as
2337 the dialog title doesn't need to be updated.
2339 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2342 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2344 Patch by Kristian Rietveld (kris@imendio.com)
2346 * src/hildon-touch-selector.c: (_create_new_column): Use new
2347 GtkTreeView::hildon-row-tapped signal to react to user interactions
2348 instead of ::changed.
2350 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2351 with some dynamic tree model)
2353 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2355 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2356 (+screen_size_changed, +label_size_request)
2357 (hildon_note_class_init): Make the Hildon information note have a
2358 minimum height, and make its text hvae a maximum width.
2360 Fixes: NB#98614 (Hildon information note (background) should have
2361 minimum height and maximum text width)
2363 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2365 * src/hildon-banner.h
2366 * src/hildon-banner.c (hildon_banner_show_information)
2367 (hildon_banner_show_informationf)
2368 (hildon_banner_show_information_with_markup): Update documentation
2369 to reflect that the icon_name parameter is not used anymore.
2370 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2371 Remove all code from these functions and mark them as deprecated.
2372 (hildon_banner_show_progress): Mark as deprecated.
2374 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2376 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2378 * src/hildon-pannable-area.c,
2379 (hildon_pannable_area_class_init),
2380 (tranparency_color),
2381 (hildon_pannable_draw_vscroll),
2382 (hildon_pannable_draw_hscroll),
2383 (hildon_pannable_area_expose_event): Added a new way to render the
2384 scrollbars of the pannable area avoiding using cairo at all. This
2385 way we improve the performance of the pannable area rendering. The
2386 cairo rendering procedure is still in the code, we can control
2387 which one to use changing the value of the define
2388 USE_CAIRO_SCROLLBARS.
2390 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2392 * configure.ac: post release version bump.
2393 * debian/changelog: version bump.
2395 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2400 * configure.ac: Bump version.
2401 * debian/changelog: Updates.
2403 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2405 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2406 banners instead of destroying them when they receive a button
2409 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2411 Reverted commit 34028, it was causing regressions, probably the
2412 topmost condition is not correct, we have to check it in more
2413 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2414 propagation of button press events)
2416 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2418 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2419 that the selection is not empty before attempting to retrieve the
2420 current ampm selection.
2422 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2424 * src/hildon-picker-button.c:
2425 (hildon_picker_button_on_dialog_response): Directly update the
2426 button contents when required instead of calling _selection_changed.
2428 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2430 * src/hildon-program.c (hildon_program_update_top_most): Update
2431 'is-topmost' property also when wm_hints is not set.
2433 Fixes: NB#98383 (is-topmost signal is not emitted when task
2434 switcher is clicked.)
2436 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2438 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2442 * src/hildon-animation-actor.c,
2443 * src/hildon-animation-actor.h: Added the animation actor class,
2444 this widget represents an animation actor for WM-assisted
2445 animation effects in the Hildon framework.
2447 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2449 * src/hildon-window-stack-private.h
2450 * src/hildon-window-stack.c
2451 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2452 Avoid calling gtk_widget_show() again indirectly from
2453 hildon_stackable_window_show()
2455 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2457 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2460 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2462 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2463 (hildon_time_selector_init): Move the construction of the hours and
2464 ampm columns to the constructor to preserve the order the columns
2467 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2469 * src/hildon-picker-dialog.c:
2470 (hildon_picker_dialog_class_init): Connect a realize method.
2471 (+hildon_picker_dialog_realize): Setup the interaction mode here
2473 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2474 yet, do it during the realize instead.
2475 (_on_dialog_response):
2476 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2477 if the widget is not realized, to avoid the dialog response before it
2480 Avoid premature responses in the HildonPickerDialog that can cause it
2481 to be hidden before it's even shown.
2483 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2485 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2486 (on_selector_columns_changed), (requires_done_button),
2487 (+prepare_action_area), (setup_interaction_mode),
2488 (_hildon_picker_dialog_set_selector):
2490 Split the interaction mode setup into preparation of the
2491 action area (prepare_action_area()) and the connection of
2492 the signals in setup_interaction_mode() and update the code to
2495 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2497 * src/hildon-pannable-area.c,
2498 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2499 per second to 15, we will check if this is ok regarding
2502 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2504 * src/hildon-pannable-area.c,
2505 (hildon_pannable_axis_scroll): Avoid resize if we already have
2506 reached overshoot_max.
2508 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2510 * src/hildon-pannable-area.c,
2511 (hildon_pannable_area_init),
2512 (hildon_pannable_area_realize),
2513 (hildon_pannable_area_size_allocate),
2514 (hildon_pannable_area_map),
2515 (hildon_pannable_area_unmap),
2516 (hildon_pannable_draw_vscroll),
2517 (hildon_pannable_draw_hscroll),
2518 (hildon_pannable_area_expose_event),
2519 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2520 pannable are to avoid the expose events go to the window and
2521 redraw the window. We save this way that part of the stack and the
2522 paint_boxes. We had to change the positions of the elements when
2525 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2527 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2528 * src/hildon-color-chooser-dialog.c:
2529 (hildon_color_chooser_dialog_init):
2530 * src/hildon-font-selection-dialog.c:
2531 (hildon_font_selection_dialog_init),
2532 (hildon_font_selection_dialog_show_preview):
2533 * src/hildon-get-password-dialog.c:
2534 * src/hildon-login-dialog.c:
2535 * src/hildon-set-password-dialog.c:
2536 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2537 * src/hildon-time-picker.c: (hildon_time_picker_init):
2539 Remove obsolete logical string IDs and update to the appropriate ones.
2541 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2543 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2545 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2546 that happens if the window hasn't been realized yet.
2548 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2549 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2551 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2553 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2554 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2557 Fixes: NB#98537 (Device hangs in account settings dialog)
2559 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2561 * configure.ac: post release version bump.
2562 * debian/changelog: version bump
2564 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2569 * configure.ac: Bump version.
2570 * debian/changelog: Updates.
2572 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2574 Added a new function to the HildonTimeButton widget that allows to
2575 change the step of the minutes in the selector associated with the
2576 button: hildon_time_button_new_step
2578 * src/hildon-time-button.c,
2579 (hildon_time_button_init),
2580 (hildon_time_button_new),
2581 (hildon_time_button_new_step):
2582 * src/hildon-time-button.h: Added the new function and refactored
2584 * examples/hildon-time-button-example.c,
2585 (main): We have replaced the function without parameters with the
2586 function with the steps set to 5
2588 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2590 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2592 * src/hildon-time-selector.c,
2593 (hildon_time_selector_class_init),
2594 (hildon_time_selector_constructor),
2595 (hildon_time_selector_get_property),
2596 (hildon_time_selector_set_property),
2597 (_create_minutes_model),
2598 (hildon_time_selector_new_step),
2599 (hildon_time_selector_set_time),
2600 * src/hildon-time-selector.h: Added a new property to the
2601 HildonTimeSelector (minutes-step), we use that property to control
2602 the steps between the minutes in the list of the selector. We have
2603 added a new function to the API to create a widget changing the
2604 step: hildon_time_selector_new_step.
2606 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2608 * src/hildon-time-selector.c,
2609 (hildon_time_selector_class_init),
2610 (hildon_time_selector_constructor),
2611 (hildon_time_selector_init): Overrided the construct function when
2612 creating the time selector object. We have moved the minutes model
2613 handling code from the init to the new construction function:
2614 hildon_time_selector_constructor.
2616 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2618 * examples/hildon-date-button-example.c: (main): Use the new
2619 hildon_date_button_new_with_year_range() method in the example.
2620 * src/hildon-date-button.c:
2621 (+hildon_date_button_new_with_year_range): New public method
2622 to conveniently create a HildonDateButton with a custom year range
2623 in its HildonDateSelector.
2624 * src/hildon-date-button.h: Add the new public method definition.
2626 Fixes: NB#97908 (Not possible to change the year range in
2627 HildonDateSelector/HildonDateButton)
2629 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2631 * src/hildon-date-selector.c:
2632 (+hildon_date_selector_set_property),
2633 (+hildon_date_selector_get_property),
2634 (hildon_date_selector_class_init): Install new properties "min-year"
2635 and "max-year" to define boundaries for the year column.
2636 (_create_year_model): Use the boundary properties to populate the model.
2637 (+hildon_date_selector_new_with_year_range): New public method to
2638 create a HildonDateSelector with a user defined year range.
2639 (hildon_date_selector_select_current_date): Use the new boundaries to
2640 calculate the iterator of current year.
2641 * src/hildon-date-selector.h: Add the new public method definition.
2643 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2645 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2646 Install a constructor method.
2647 (+hildon_date_selector_construct_ui): construct the widget.
2648 (+hildon_date_selector_constructor): new constructor.
2649 (+hildon_date_selector_init): move out widget construction code to
2650 the new constructor.
2652 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2654 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2655 that there's actually a month or year selected before obtaining them.
2656 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2657 of the HildonTouchSelector::changed signal, as it was emitted on every
2658 single item selection.
2660 Fix some warnings and possible crashers due to the selection restoring.
2662 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2664 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2665 the signal handlers only after creating the dialog instead of on every
2668 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2670 * src/hildon-button.c (hildon_button_init)
2671 * src/hildon-check-button.c (hildon_check_button_init)
2672 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2673 focus when clicked by default.
2675 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2677 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2680 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2682 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2683 Alejandro G. Castro (alex@igalia.com)
2685 * src/hildon-picker-dialog.c:
2686 (hildon_picker_dialog_class_init): install new "center-on-show"
2688 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2689 (hildon_picker_dialog_set_property): add setter code for the new
2691 (hildon_picker_dialog_get_property): add getter code for the new
2693 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2694 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2697 Fixes: NB#92849 (Selected item is not always visible when
2698 HildonTouchSelector is shown)
2700 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2702 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2703 Alejandro G. Castro (alex@igalia.com)
2705 * src/hildon-touch-selector.c:
2706 (_create_new_column): Do not connect to the "realize" signal of the
2708 (hildon_touch_selector_append_column): center on the selected items
2709 when a new column is appended.
2710 (hildon_touch_selector_select_iter): Factor out the code to select a
2711 column to hildon_touch_selector_scroll_to().
2712 (+search_nearest_element): Method to retrieve the nearest selected
2713 element to the visible area of the pannable area in a column.
2714 (+on_realize_cb): scroll to the initially selected item.
2715 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2716 the pannable area is realized, otherwise delay this until it is.
2717 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2718 selected items of a given column.
2719 (+hildon_touch_selector_center_on_selected): Public method to center
2720 all columns on the nearest selected item.
2721 * src/hildon-touch-selector.h: Add definition for
2722 hildon_touch_selector_center_on_selected().
2724 Implement public API to ensure visibility of all selected items in
2725 a HildonTouchSelector.
2727 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2729 Fixed a problem in the fading when calling the scroll_to API, and
2730 improve scrollbar fading handling.
2732 * src/hildon-pannable-area.c,
2733 (hildon_pannable_area_grab_notify): avoid the timeout when the
2735 (hildon_pannable_area_button_press_cb),
2736 (hildon_pannable_area_motion_notify_cb): Code style changes.
2737 (hildon_pannable_area_button_release_cb): Review the conditions
2738 when releasing the mouse button to avoid unrequired fading
2740 (hildon_pannable_area_scroll_to): Do not calculate and set the
2741 velocity if the scroll is not required.
2743 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2745 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2746 Don't check whether the new selector is NULL: it cannot be.
2747 Hold a reference to the selector while doing the replacement.
2749 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2751 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2752 unnecessary size_request in a removed widget.
2754 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2756 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2757 an unnecessary reference tracking that was leaking.
2759 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2761 Added delayed motion notify event handling, this way we can
2762 discard redrawing if more than 25 events arrive per second.
2764 * src/hildon-pannable-area.c,
2765 (hildon_pannable_area_init): Initialized the new private atributes
2766 controlling this timeout
2767 (hildon_pannable_area_dispose): Remove the timeout that controls
2768 the motion notify events.
2769 (hildon_pannable_area_scroll): Added a condition to control the
2770 use of the acceleration.
2771 (hildon_pannable_area_motion_event_scroll_timeout),
2772 (hildon_pannable_area_motion_event_scroll): Added this two
2773 functions, they handle the motion notify events inside the
2775 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2776 to the scroll method with the new function.
2777 (hildon_pannable_area_button_release_cb): We have to remove the
2778 timeout handler and move to the last position if the last motion
2779 events were not handled.
2781 Fixes: NB#97028 (Pannable area updates on every motion event)
2783 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2785 * src/hildon-pannable-area.c,
2786 (hildon_pannable_area_get_topmost): Added a new parameter to
2787 filter the the windows that do not include those events. Added
2788 also a condition when finding the window to filter windows that do
2789 not ask for those events.
2790 (hildon_pannable_area_button_press_cb),
2791 (hildon_pannable_area_button_release_cb),
2792 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2793 topmost function, we have added the new parameter.
2795 Fixes: NB#97458 (Pannable area prevents propagation of button
2798 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2800 * src/hildon-pannable-area.c,
2801 (hildon_pannable_area_initial_effect): Added controls before
2802 launching the timeout and the idle functions.
2803 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2804 of the method, in some situations it can return with TRUE and 0 in
2806 (hildon_pannable_area_button_press_cb): We do not need to set
2807 DELAY for fading out here.
2809 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2811 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2813 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2814 post-cleaning if the selection is not NULL.
2816 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2818 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2819 all items before restoring the selection.
2821 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2823 * src/hildon-touch-selector.c:
2824 (+hildon_touch_selector_unselect_all):
2825 * src/hildon-touch-selector.h: New API to unselect all items in a
2826 column of the touch selector.
2828 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2830 * src/hildon-pannable-area.c,
2831 (hildon_pannable_area_redraw): Added a call to the refresh
2832 function inside the redraw because apparently in some cases the
2833 change in the adjustment does not imply a size allocate.
2835 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2836 despite the view not being scrollable)
2838 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2840 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2841 leak. Check for NULL before attempting to set the window title.
2843 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2845 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2846 whether to show or not the 'Done' button each time the dialog is
2847 shown, as it depends on the HildonTouchSelector selection mode.
2849 Fixes: NB#96226 (In multiple selection mode Done button is shown
2850 sometimes in listpicker)
2852 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2854 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2855 for the number of columns in the HildonTouchSelector more than once.
2857 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2859 * src/hildon-touch-selector.c: Minor documentation fixes.
2861 * src/hildon-picker-dialog.c (+_dialog_update_title)
2862 (_select_on_selector_changed_cb)
2863 (_update_title_on_selector_changed_cb)
2864 (on_selector_columns_changed): Update dialog title when there's no
2865 'Done' button and also when the number of columns in the selector
2869 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2870 (+_selection_changed, hildon_picker_button_on_dialog_response)
2871 (hildon_picker_button_selector_selection_changed)
2872 (+hildon_picker_button_selector_columns_changed)
2873 (hildon_picker_button_set_selector): Update button value and emit
2874 'value-changed' when the number of columns in the selector
2878 Fixes: NB#96225 (Dialog titles are not shown according to the
2879 values selected in the list picker)
2881 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2883 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2884 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2885 New "arrow-width" and "arrow-height" style properties to set the
2886 size of the arrow button.
2887 Set name of arrow button ("hildon-edit-toolbar-arrow").
2889 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2890 graphics from theme)
2892 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/hildon-picker-button.c:
2895 (hildon_picker_button_selector_selection_changed): Use
2896 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2897 the dialog is present.
2899 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2900 the selection is accepted in the dialog)
2902 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2904 * src/hildon-color-chooser.h
2905 * src/hildon-color-chooser-dialog.h:
2906 Added G_BEGIN_DECLS and G_END_DECLS
2908 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2910 (_clean_current_selection): plug a leak in the list.
2912 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2914 * src/hildon-picker-dialog.c:
2915 (+free_path_list): Method to free a GList of GtkTreePaths.
2916 (_clean_current_selection), (_save_current_selection),
2917 (_restore_current_selection): Save the current selection in
2918 as a list of lists, to support multiple selection properly.
2920 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2922 patch by Claudio Saavedra (csaavedra@igalia.com)
2924 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2925 Store the press position.
2926 (+hildon_text_view_button_release_event): If the release position is
2927 close enough to the press position, move the cursor here. Otherwise,
2929 (hildon_text_view_class_init): Override GtkTextView press, release, and
2930 motion event handlers, disabling this way text selection through
2931 pointer interaction, and allowing the container widget to handle the
2934 Fixes: NB#95828 (HildonTextView functionality)
2936 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2938 Based on a patch by Iván Gómez (igomez@igalia.com)
2940 * src/hildon-button.[ch]
2941 * src/hildon-calendar.c
2942 * src/hildon-check-button.c
2943 * src/hildon-date-editor.c
2944 * src/hildon-date-selector.c
2945 * src/hildon-picker-button.c
2946 * src/hildon-time-editor.c
2947 * src/hildon-time-selector.c
2948 * src/hildon-touch-selector.[ch]:
2949 Documentation updates
2951 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2953 * src/hildon-pannable-area.c,
2954 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2955 threshold, it was required due to X events handling.
2957 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2959 * src/hildon-pannable-area.c,
2960 (hildon_pannable_area_grab_notify),
2961 (hildon_pannable_area_initial_effect),
2962 (hildon_pannable_area_button_press_cb),
2963 (hildon_pannable_area_button_release_cb),
2964 (hildon_pannable_area_scroll_cb),
2965 (hildon_pannable_area_scroll_to): Review the timeout management of
2966 the scrollbar, the frecuency was incorrectly set.
2968 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2970 * src/hildon-picker-button.c:
2971 (+hildon_picker_button_on_dialog_response),
2972 (hildon_picker_button_clicked): Present the dialog instead of
2973 running it with gtk_dialog_run().
2975 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2978 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2980 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2981 (hildon_app_menu_finalize): When a window is hidden it doesn't
2982 emit notify::is-topmost, so make sure than the menu also
2983 disappears in that case.
2984 (parent_window_topmost_notify): Renamed from parent_window_hidden
2986 Fixes: NB#94460 (stackable window's menu is not closed when its
2989 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2991 * src/hildon-touch-selector-entry.c:
2992 (+hildon_touch_selector_entry_set_input_mode),
2993 (+hildon_touch_selector_entry_get_input_mode):
2994 * src/hildon-touch-selector-entry.h: New methods to access the input
2995 mode in the selector's entry.
2997 Fixes: NB#93410 (API required for setting IM mode in
2998 HildonTouchSelectorEntry)
3000 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3002 * configure.ac: post release version bump.
3003 * debian/changelog: version bump
3005 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3010 * configure.ac: Bump version.
3011 * debian/changelog: Updates.
3013 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3015 * src/hildon-touch-selector.c:
3016 (_hildon_touch_selector_has_multiple_selection): No need
3017 to initialize the variables here.
3019 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3021 * src/hildon-note-private.h
3022 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3023 (hildon_note_finalize, hildon_note_rebuild): Close information
3024 notes when they receive a button press.
3026 Fixes: NB#89890 (Information notes does not get disappeared after
3029 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3031 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3032 mark from the wizard title, as it's not really necessary. Also,
3033 do not display the page title if not set.
3035 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3037 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3038 (parent_window_hidden): Use the window's "is-topmost" property to
3039 detect when to hide the menu.
3041 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3043 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3044 (hildon_app_menu_finalize): If the parent window of the menu is
3045 hidden, hide the menu too.
3047 Fixes: NB#94460 (stackable window's menu is not closed when its
3050 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3053 * debian/libhildon1-examples.install
3055 * examples/Makefile.am:
3056 Use dh_install to install all examples.
3057 Use DEB_SRCDIR instead of defining SOURCE_DIR
3059 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3061 * configure.ac: post release version bump.
3062 * debian/changelog: version bump
3064 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3069 * configure.ac: bump version
3070 * debian/changelog: updates
3071 * debian/control: bump gtk+ dependency
3073 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3075 patch by Christian Dywan (christian@imendio.com)
3077 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3078 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3080 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-check-button.c (hildon_check_button_init)
3083 (hildon_check_button_class_init, hildon_check_button_style_set)
3084 (hildon_check_button_apply_style):
3085 New "checkbox-size" style property.
3087 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3088 larger / configurable size)
3090 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3092 * configure.ac: post release version bump.
3093 * debian/changelog: version bump
3095 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3100 * configure.ac: bump version
3101 * debian/changelog: updates
3103 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3105 * doc/hildon-sections.txt
3106 * src/hildon-pannable-area.c
3107 * src/hildon-program.c
3108 * src/hildon-time-editor.c
3109 * src/hildon-touch-selector-entry.c:
3111 More documentation updates.
3113 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3115 * doc/hildon-sections.txt
3116 * src/hildon-caption.c
3117 * src/hildon-code-dialog.c
3118 * src/hildon-color-button.c
3119 * src/hildon-controlbar.c
3120 * src/hildon-date-editor.c
3121 * src/hildon-date-selector.c
3122 * src/hildon-edit-toolbar.c
3123 * src/hildon-find-toolbar.c
3124 * src/hildon-font-selection-dialog.c
3126 * src/hildon-program.c
3127 * src/hildon-range-editor.c
3128 * src/hildon-seekbar.c
3129 * src/hildon-time-editor.c
3130 * src/hildon-time-selector.c
3131 * src/hildon-volumebar-range.c
3132 * src/hildon-volumebar.c
3133 * src/hildon-vvolumebar.c
3134 * src/hildon-weekday-picker.c
3135 * src/hildon-window.c
3136 * src/hildon-wizard-dialog.c:
3138 Lots of documentation fixes.
3140 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3142 Patch contributed by Iván Gómez (igomez@igalia.com)
3144 * src/hildon-check-button.c:
3145 * src/hildon-date-button.c:
3146 * src/hildon-date-selector.c:
3147 * src/hildon-dialog.c:
3148 * src/hildon-edit-toolbar.c:
3149 * src/hildon-entry.c:
3150 * src/hildon-picker-button.c:
3151 * src/hildon-program.c:
3152 * src/hildon-text-view.c:
3153 * src/hildon-time-button.c:
3154 * src/hildon-touch-selector-entry.c:
3155 * src/hildon-window-stack.c:
3157 Add more "since" tags to the new API.
3159 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3161 * doc/hildon-sections.txt: Add below method.
3162 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3163 version for the hildonized scale.
3164 * src/hildon-gtk.h: Add the definition.
3166 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3168 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3170 * doc/hildon-sections.txt: Add missing entries for new methods.
3172 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3174 Added API to pannable are in order to get its adjustments. We
3175 added two properties to manage the values we had in the private
3178 * src/hildon-pannable-area.c:
3179 (hildon_pannable_area_class_init): Added hadjustment and
3180 vadjustment properties in order to expose horizontal and vertical
3182 (hildon_pannable_area_get_property),
3183 (hildon_pannable_area_set_property): Added code to handle the new
3185 (hildon_pannable_area_get_hadjustment),
3186 (hildon_pannable_area_get_vadjustment): API functions to get the
3188 * src/hildon-pannable-area.h:
3189 (hildon_pannable_area_get_hadjustment),
3190 (hildon_pannable_area_get_vadjustment): API functions to get the
3193 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3195 Fixed some leaks, after valgrinding.
3197 * src/hildon-touch-selector.c:
3198 (_default_print_func): Fixed a leak.
3199 (hildon_touch_selector_append_column): Fixed a leak.
3200 * src/hildon-date-button.c:
3201 (hildon_date_button_init): Fixed a leak.
3202 * src/hildon-date-selector.c
3203 (hildon_date_selector_finalize): Fixed a leak.
3205 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3207 Based on a patch by Christian Dywan (christian@imendio.com)
3209 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3211 * src/hildon-gtk.h: Add definition.
3213 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3215 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3217 * src/hildon-picker-button.c: (hildon_picker_button_init),
3218 (hildon_picker_button_new): Set the HildonButton::style property
3219 in the init method, to propagate the value to the derived classes.
3221 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3223 * src/hildon-button.c: (hildon_button_class_init): Do not make
3224 the "style" property a construct property.
3226 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3228 * src/hildon-wizard-dialog.h
3229 * src/hildon-wizard-dialog.c
3230 (hildon_wizard_dialog_set_forward_page_func)
3231 * src/hildon-pannable-area.h
3232 * src/hildon-pannable-area.c
3233 (hildon_pannable_area_set_size_request_policy):
3234 Documentation fixes.
3236 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3238 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3240 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3242 * doc/hildon-sections.txt: Added sections file.
3244 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3247 * src/*.[ch]: Updates.
3249 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3251 * examples/hildon-progress-indicator-example.c: new file
3252 * examples/Makefile.am: include the new example program
3254 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3256 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3258 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3260 * configure.ac: post release version bump
3261 * debian/changelog: version bump
3263 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3268 * configure.ac: bump version
3269 * debian/changelog: updates
3270 * debian/control: bump gtk+ dependency
3272 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3274 * src/hildon-dialog.c: Mark as deprecated.
3275 * src/hildon-dialog.h: Mark as deprecated.
3276 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3277 from HildonDialog and still work, even if
3278 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3279 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3281 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3282 maemo changes) instead)
3284 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3286 * src/hildon-pannable_area.h:
3287 * src/hildon-pannable_area.c:
3288 (hildon_pannable_area_class_init),
3289 (hildon_pannable_area_set_property),
3290 (hildon_pannable_area_get_property),
3291 (hildon_pannable_area_size_request),
3292 (hildon_pannable_area_get_size_request_policy),
3293 (hildon_pannable_area_set_size_request_policy): Added new API
3294 allowing applications to control the request policy. Now they can
3295 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3296 children allocation (HILDON_MOVEMENT_CHILDREN).
3298 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3302 (hildon_gtk_tree_view_set_ui_mode)
3303 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3304 mode of treeviews and iconviews.
3306 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3308 * src/hildon-touch-selector-entry.c:
3309 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3310 of a GtkEntry to get proper theming.
3312 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3313 widget, not GtkEntry)
3315 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3317 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3318 no HildonWizardDialogPageFunc.
3320 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3322 Patch contributed by Iván Gómez (igomez@igalia.com)
3324 * src/hildon-app-menu.c:
3325 * src/hildon-button.c:
3326 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3327 * src/hildon-stackable-window.c:
3328 * src/hildon-time-selector.c:
3329 * src/hildon-touch-selector.c:
3330 * src/hildon-window.c:
3332 Add more "since" tags to the new API in hildon 2.2.
3334 2008-12-05 Tim Janik <timj@imendio.com>
3336 Patch contributed by Christian Dywan (christian@imendio.com)
3338 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3339 HildonSizeType, which are supplied by Gtk+ now.
3341 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3343 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3344 (with maemo changes) instead)
3346 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3348 Patch contributed by Iván Gómez (igomez@igalia.com)
3350 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3353 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3355 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3356 (some_page_func), (main): Update the example to use a
3357 HildonWizardDialogPageFunc function.
3359 * src/hildon-wizard-dialog-private.h: Add private data for
3360 the HildonWizardDialogPageFunc function usage.
3362 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3363 (destroy), (hildon_wizard_dialog_init), (response),
3364 (hildon_wizard_dialog_set_forward_page_func):
3365 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3366 that applications can use to stop a HildonWizardDialog to jump to
3369 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3372 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3374 * src/hildon-program.h
3375 * src/hildon-program-private.h
3376 * src/hildon-program.c (hildon_program_init)
3377 (hildon_program_set_common_app_menu)
3378 (hildon_program_get_common_app_menu):
3379 New API for setting a common HildonAppMenu for all
3380 HildonStackableWindows registered with the HildonProgram.
3382 * src/hildon-stackable-window.c
3383 (hildon_stackable_window_toggle_menu):
3384 Use the common HildonAppMenu if a window doesn't have a specific
3387 * src/hildon-app-menu-private.h
3388 * src/hildon-app-menu.c
3389 (hildon_app_menu_get_parent_window):
3390 Function to obtain the window a HildonAppMenu is attached to.
3391 (hildon_app_menu_set_parent_window):
3392 Hide the menu if the parent window is set to NULL.
3394 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3396 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3397 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3398 search widget to popup.
3400 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3402 * configure.ac: post release version bump
3403 * debian/changelog: version bump
3405 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3410 * configure.ac: bump version
3411 * debian/changelog: updates
3413 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3415 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3417 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3418 (hildon_window_stack_window_realized)
3419 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3420 Set the leader GdkWindow when a window is stacked and realized,
3421 unset it when it's unstacked.
3422 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3424 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3426 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3428 * src/hildon-stackable-window.h
3429 * src/hildon-window-stack.h:
3430 Protect definition of HildonWindowStack using the preprocessor.
3432 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3434 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3435 Fix warning if all menu items are hidden.
3437 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3439 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3441 * src/hildon-controlbar.c:
3442 * src/hildon-hvolumebar.c:
3443 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3444 Multiple scale size defines updates.
3446 Fixes: NB#94322 (Scale Updates)
3448 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3450 * examples/hildon-app-menu-example.c (create_menu)
3451 Show items after adding them to the menu, as in the future the
3452 menu will no longer call gtk_widget_show() on the added items.
3454 * src/hildon-app-menu.c:
3455 Update example as explained above.
3457 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3459 * src/hildon-app-menu.c
3460 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3461 Make sure that all menu items have finger height.
3463 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3465 * src/hildon-picker-dialog.c:
3466 (_on_dialog_response), (_save_current_selection),
3467 (_restore_current_selection), (_clean_current_selection),
3468 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3469 Defined new functions in order to save the current internal selector
3470 selection previous open the dialog, in case that the use cancel the
3471 interaction, so the widget restores the previous selection.
3473 Fixes: NB#92032 (In calendar application, date values in 'new event'
3476 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3478 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3480 * src/hildon-button.c: Add a reference to the button examples in
3481 hildon-button-example.c
3483 * examples/hildon-button-example.c: Added examples of the most
3484 common button layouts.
3486 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3488 * src/hildon-app-menu.c (hildon_app_menu_show)
3489 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3491 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3493 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3495 * src/hildon-picker-dialog.c:
3496 (hildon_picker_dialog_init): Initialize the signal id for
3497 HildonTouchSelector::columns-changed.
3498 (+on_selector_columns_changed): Set up the interaction mode everytime a
3499 column is added or removed from the HildonTouchSelector.
3500 (_hildon_picker_dialog_set_selector): Connect to
3501 HildonTouchSelector::columns-changed and keep track of it.
3503 Make sure to update the interaction mode of the dialog everytime a
3504 column is added or removed in the HildonTouchSelector.
3506 Fixes: NB#93228 (Done button is not shown always in listpicker)
3508 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3510 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3511 a new ::columns-changed signal.
3512 (hildon_touch_selector_append_column): Emit ::columns-changed.
3513 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3515 Add a ::columns-changed signal, emitted when the number of columns in a
3516 HildonTouchSelector changes.
3518 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3520 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3521 (_hildon_picker_dialog_set_selector): Factor out the code
3522 to set up the dialog interaction mode.
3524 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3526 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3527 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3528 to signal_changed_id.
3530 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3532 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3535 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3537 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3538 Updated the logical ids related to ampm format, as now it is required to
3539 show it correctly localized even on languages with no default
3540 abbreviations for am or pm
3541 (_check_am_pm_format): check correctly the 24h format gconf property
3543 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3545 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3547 * src/hildon-button.c: Documentation updates.
3549 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3551 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3552 * src/hildon-caption.c: (hildon_caption_class_init):
3553 * src/hildon-color-button.c: (hildon_color_button_class_init):
3554 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3555 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3556 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3557 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3559 Remove deprecated GTK+ marshalers and replace them with the ones
3560 provided by GLib, for those available, add a marshaler for
3561 BOOLEAN:VOID, which is not available in GLib, and use it.
3563 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3565 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3566 the text from the previous column if there is no
3567 HildonTouchSelectorColumn::text-property set.
3569 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3571 * src/hildon-button.h
3572 * src/hildon-button.c (hildon_button_set_property)
3573 (hildon_button_get_property, hildon_button_class_init)
3574 (hildon_button_set_style, hildon_button_get_style):
3575 New "style" property to change the visual appearance of the
3578 * src/hildon-picker-button.c (hildon_picker_button_new):
3579 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3581 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3582 HildonButton look like PickerButton)
3584 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3586 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3587 column while building the default string.
3589 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3591 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3592 scroll indicator by default.
3594 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3596 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3598 * src/hildon-main.c: Fix the documentation for hildon_init()
3600 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3602 * doc/hildon-docs.sgml
3606 * src/hildon-window-stack-private.h
3607 * src/hildon-window-stack.h
3608 * src/hildon-window-stack.c:
3609 New HildonWindowStack object, that adds support for multiple
3610 stacks of windows per process.
3612 * src/hildon-stackable-window-private.h
3613 * src/hildon-stackable-window.h
3614 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3615 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3616 (hildon_stackable_window_show, hildon_stackable_window_hide)
3617 (hildon_stackable_window_class_init)
3618 (hildon_stackable_window_init):
3619 Use HildonWindowStack for stack management.
3621 * src/hildon-program.c (hildon_program_pop_window_stack)
3622 (hildon_program_peek_window_stack)
3623 (hildon_program_go_to_root_window):
3624 Add a fallback implementation to the deprecated functions using
3627 * examples/hildon-stackable-window-example.c:
3628 Use the new HildonWindowStack API.
3630 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3632 * src/hildon-stackable-window-private.h
3633 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3634 (hildon_stackable_window_hide, hildon_stackable_window_init):
3635 Remove all window stack management.
3637 * src/hildon-program-private.h
3638 * src/hildon-program.h
3639 * src/hildon-program.c (hildon_program_init)
3640 (hildon_program_pop_window_stack)
3641 (hildon_program_peek_window_stack)
3642 (hildon_program_go_to_root_window):
3643 Remove all window stack management and mark functions as
3646 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3648 * src/hildon-app-menu.c (hildon_app_menu_realize):
3649 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3651 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3653 * configure.ac: post release version bump
3654 * debian/changelog: version bump
3656 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3661 * configure.ac: bump version
3662 * debian/changelog: updates
3664 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3666 Based on initial code by Christian Dywan (christian@imendio.com)
3668 * doc/hildon-docs.sgml: Add section for hildon-main.
3669 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3670 * src/Makefile.am: Add new hildon-main.[ch]
3671 * src/hildon-defines.h: Update the icon sizes.
3672 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3673 new library initialization files and register icon sizes.
3674 * src/hildon-main.h: New declarations.
3675 * src/hildon.h: Include hildon-main.h
3677 Add new initialization functions to the library. These methods
3678 will register the hildon specific icon sizes and can be used in the
3679 future for other hildon specific bits.
3681 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3683 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3685 * src/hildon-window.c: (hildon_window_realize),
3686 (hildon_window_notify), (-hildon_window_update_title): Do not set
3687 the application name in the window title.
3689 Fixes: NB#89754 (Applications shouldn't display their names in the
3692 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3694 * src/hildon-note-private.h:
3695 * src/hildon-note.c: (hildon_note_set_property),
3696 (hildon_note_get_property), (hildon_note_class_init),
3697 (hildon_note_init), (hildon_note_finalize),
3698 (hildon_note_new_confirmation_with_icon_name),
3699 (hildon_note_new_information_with_icon_name):
3701 No need to mark as deprecated the actual code. Revert
3702 to avoid missing symbols in widgets using deprecated API.
3704 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3706 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3708 * src/hildon-volumebar.h
3709 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3710 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3712 * src/hildon-helper.h
3713 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3714 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3716 * examples/Makefile.am:
3717 Deprecate hildon-insensitive-example
3719 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3721 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3723 * examples/hildon-pannable-area-buttons-scroll-example.c:
3724 Make all buttons finger height
3726 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3728 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3730 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3731 update the day model only if it is really required, and to avoid the
3732 full-reconstruction aproach. Now it only add or remove the required days.
3734 The purpose of this is avoid superfluous HildonTouchSelector::changed
3737 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3738 with strange parameters)
3740 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3742 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3744 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3745 the WINDOW_TYPE property.
3747 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3749 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3752 Fix dependency to allow parallel compilation with make -jX
3754 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3756 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3757 color frame and some minor tweaks to make it more consistent with
3760 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3761 highlighted but not visible)
3763 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3765 * examples/Makefile.am: Fixed typo in the Makefile.am.
3767 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3769 Reviewed the use of MAEMO_GTK define, now we add the define in the
3770 compilation line, and we also add it to the pc file.
3772 * configure.ac: Added MAEMO_GTK define to the compilation command
3773 and removed it from the config.h.
3775 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3776 do not have to take care about this define if the library was
3780 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3782 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3784 * examples/Makefile.am,
3785 * examples/hildon-pannable-area-buttons-scroll-example.c,
3786 * examples/hildon-pannable-area-gesture-signals-example.c,
3787 * examples/hildon-pannable-area-scroll-jump-example.c,
3788 * examples/hildon-pannable-area-tree-view-example.c:
3789 Renamed the pannable area examples, now they have more meaningful
3792 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3794 * src/hildon-touch-selector.c:
3795 (hildon_touch_selector_set_column_selection_mode): Used of
3796 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3797 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3798 to avoid re-seting the same selection mode.
3800 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3801 breaks HildonPickerDialog)
3803 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3805 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3806 conditional in the Makefile.am
3808 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3810 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3811 Remove unused methods.
3813 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3815 * src/hildon-button.c (hildon_button_init):
3816 Make button images center-aligned by default
3818 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3821 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3822 activated, we have to think about how to deal with both defines
3823 MAEMO_GTK and MAEMO_CHANGES.
3825 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3827 * examples/hildon-app-menu-example.c (create_menu): Make all
3828 buttons finger size.
3830 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3832 Fixed the compilation without maemo gtk adding ifdefs with
3833 MAEMO_GTK define to the code, we have to check this version more
3836 * examples/Makefile.am: Added control to avoid some examples that
3837 just make sense with maemo gtk.
3840 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3841 hildon modes with the define.
3843 * examples/hildon-edit-toolbar-example.c,
3844 (create_icon_view): Create the icon view without hildon-gtk
3845 helpers if we are not using maemo gtk.
3847 * src/hildon-touch-selector.c,
3848 (_create_new_column): Create the treeview without hildon-gtk
3849 helpers if we are not using maemo gtk.
3851 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3853 * src/hildon-pnnable-area.c,
3854 (hildon_pannable_area_dispose),
3855 (hildon_pannable_area_button_press_cb),
3856 (hildon_pannable_area_child_mapped),
3857 (hildon_pannable_area_add),
3858 (hildon_pannable_area_remove): Added code to control the position
3859 of the event_window when adding and removing children from the
3860 pannable. We have to raise the event window when the child is
3863 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3864 selection mode using custom widget inside pannable)
3866 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3868 * configure.ac: post release version bump
3869 * debian/changelog: version bump
3871 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3876 * configure.ac: bump version
3877 * debian/changelog: updates
3879 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3881 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3882 search mode, in order to avoid lose the focus on the treeview when
3883 a hw key (like enter) is pressed.
3885 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3886 in HildonDateSelector dialog)
3888 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3890 * debian/rules: Added --enable-maintainer-mode
3891 * Makefile.am: Added ACLOCAL_AMFLAGS
3893 This allows to properly regenerate the Makefiles if you modify the
3894 configure.ac or any Makefile.am.
3896 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3898 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3899 properties, not needed at all.
3901 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3903 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3905 * src/hildon-note.c: (hildon_note_set_property),
3906 (hildon_note_get_property), (hildon_note_class_init),
3907 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3908 (hildon_note_new_confirmation_add_buttons): Remove icons.
3909 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3910 (hildon_note_new_information_with_icon_name): Deprecate.
3911 (hildon_note_new_confirmation): Act directly, without calling
3912 the deprecated constructor.
3913 (hildon_note_new_information): Act directly, without calling
3914 the deprecated constructor.
3915 * src/hildon-note.h: Mark deprecate methods as such.
3916 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3917 not run tests on the deprecated methods if built with deprecation
3920 Fixes: NB#91688 (Never show icons in information notes/confirmation
3923 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3925 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3926 (hildon_app_menu_key_press): Remove leftover usage of the
3927 private structure in HildonAppMenu struct.
3928 * src/hildon-app-menu.h: Remove leftover private structure
3929 from the HildonAppMenu struct.
3931 Fixes a crasher when using the HildonAppMenu.
3933 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3935 * src/hildon-picker-dialog.c: Use appropriate logical id
3936 for the default "Done" text.
3938 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3940 * configure.ac: post release version bump
3941 * debian/changelog: version bump
3943 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3945 Modified the way to scroll to the current selection just when the touch
3946 selector is shown on the screen, avoiding a g_idle. Added too a property
3947 to configure this behaviour. See hildon_pannable_area_jump_to_child
3948 documentation for more information.
3950 * src/hildon-touch-selector.c
3951 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3952 Added 'initial-scroll' property
3953 (hildon_touch_selector_set_property): Added
3954 (hildon_touch_selector_map): Removed as not required anymore
3955 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3956 only a concrete column, instead of iterate along all the columns
3958 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3963 * configure.ac: bump version
3964 * debian/changelog: updates
3966 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3968 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3969 compilation time warnings.
3971 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3973 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3974 the default value for HildonPannableArea::mov-mode to
3975 HILDON_PANNABLE_AREA_MODE_VERT.
3977 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3979 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3981 Reverting following commit:
3983 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3985 * src/hildon-app-menu-private.h
3986 * src/hildon-app-menu.[ch]
3987 * src/hildon-button.[ch]
3988 * src/hildon-check-button.[ch]
3989 * src/hildon-entry.[ch]
3990 * src/hildon-pannable-area.[ch]
3991 * src/hildon-text-view.[ch]:
3992 Added private field to the object's structure.
3994 because it causes an ABI breakage. We will need to introduce these
3995 changes later at some point. See NB#91636 for an extensive
3996 explanation and status.
3998 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4000 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4002 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4003 remove special cases that are no longer necessary.
4005 Fixes: NB#91016 (Change toolbar sizes, simplification)
4007 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4009 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4010 is shown in the cancel note.
4012 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4014 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4015 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4016 (hildon_seekbar_init): Remove steppers, remove expose event.
4017 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4019 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4021 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4023 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4024 label font to "SmallSystemFont" for vertically arranged buttons.
4026 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4029 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4031 * src/hildon-check-button.c
4032 (hildon_check_button_set_active, hildon_check_button_clicked):
4033 Don't access private parts directly, use getters instead.
4035 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4037 * src/hildon-check-button.c (hildon_check_button_new):
4038 Align the contents of the check button to the left.
4040 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4042 * src/hildon-pannable-area.c,
4043 (hildon_pannable_area_scroll_to),
4044 (hildon_pannable_area_jump_to),
4045 (hildon_pannable_area_scroll_to_child),
4046 (hildon_pannable_area_jump_to_child): Replace the mapped
4047 precondition of these functions with the realized, it is the
4048 correct state of the widget in this case. Changed the
4049 documentation according to this modification.
4051 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4053 Added a new EXTRA_CFLAGS option to add the deprecated define to
4054 the compilation command. This way we can avoid using the define in
4055 the documentation compilation.
4057 * configure.ac: Defined EXTRA_CFLAGS.
4059 * examples/Makefile.am:
4061 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4063 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4065 * src/hildon-picker-dialog.c:
4066 Defined a utility macro with the desired touch selector height
4067 Removed currently unused separator, and title_label variables from
4069 (hildon_picker_dialog_init): Removed code related to the creation
4070 of unused private variables title_label and separator.
4071 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4072 to ensure correct visualization of the touch selector inside the dialog.
4073 * src/hildon-touch-selector.c
4074 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4075 ensure a concrete height of the widget.
4077 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4080 * tests/Makefile.am:
4082 Remove spurious whitespaces.
4084 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4086 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4087 compilation warning after the cancel button removal.
4089 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4091 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4093 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4094 Makefile.am, that way we can choose not to compile some examples
4095 and tests of the deprecated widgets.
4097 * examples/Makefile.am: Divided the sources in deprecated and
4100 * src/Makefile.am: Added undef statement of the deprecated
4101 symbol to the enums file generation process.
4103 * src/hildon-color-chooser-dialog.c
4104 * src/hildon-color-chooser-dialog.h
4105 * src/hildon-color-button.c
4106 * src/hildon-color-button.h
4107 * src/hildon-color-chooser.c
4108 * src/hildon-color-chooser.h
4109 * src/hildon-controlbar.c
4110 * src/hildon-controlbar.h
4111 * src/hildon-date-editor.c
4112 * src/hildon-date-editor.h
4113 * src/hildon-hvolumebar.c
4114 * src/hildon-hvolumebar.h
4115 * src/hildon-private.c
4116 * src/hildon-private.h
4117 * src/hildon-range-editor.c
4118 * src/hildon-range-editor.h
4119 * src/hildon-seekbar.c
4120 * src/hildon-seekbar.h
4121 * src/hildon-time-editor.c
4122 * src/hildon-time-editor.h
4123 * src/hildon-time-picker.c
4124 * src/hildon-time-picker.h
4125 * src/hildon-volumebar.c
4126 * src/hildon-volumebar.h
4127 * src/hildon-vvolumebar.c
4128 * src/hildon-vvolumebar.h
4129 * src/hildon-bread-crumb-trail.h
4130 * src/hildon-bread-crumb-trail.c
4131 * src/hildon-calendar-popup.c
4132 * src/hildon-calendar-popup.h
4133 * src/hildon-weekday-picker.c:
4134 * src/hildon-weekday-picker.h:
4135 * src/hildon-bread-crumb-widget.c:
4136 * src/hildon-bread-crumb-widget.h:
4137 * src/hildon-bread-crumb.c:
4138 * src/hildon-bread-crumb.h:
4139 * src/hildon-calendar.c:
4140 * src/hildon-calendar.h:
4141 * src/hildon-caption.c:
4142 * src/hildon-code-dialog.c:
4143 * src/hildon-code-dialog.h:
4144 * src/hildon-font-selection-dialog.c:
4145 * src/hildon-font-selection-dialog.h:
4146 * src/hildon-get-password-dialog.c:
4147 * src/hildon-get-password-dialog.h:
4148 * src/hildon-login-dialog.c:
4149 * src/hildon-login-dialog.h:
4150 * src/hildon-number-editor.c:
4151 * src/hildon-number-editor.h:
4152 * src/hildon-set-password-dialog.c:
4153 * src/hildon-set-password-dialog.h:
4154 * src/hildon-sort-dialog.c:
4155 * src/hildon-sort-dialog.h: This is the list of deprecated
4158 * src/hildon-touch-selector.c:
4159 * src/hildon-window.c: Added undef statement to avoid compilation
4162 * tests/Makefile.am: Divided the sources in deprecated and
4165 * tests/check_test.c,
4166 (configure_tests): Marked the deprecated code that was adding
4167 suites with deprecated tests.
4169 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4171 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4173 * src/hildon-touch-selector.c: (_default_print_func): Do not
4174 duplicate a string returned by gtk_tree_model_get(), it is already
4177 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4180 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4182 * src/hildon-pannable-area.c
4183 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4184 method, it had problems when adding a widget with viewport the
4185 second time. Now checks if it already has a viewport and uses it.
4187 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4190 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4192 * src/hildon-pannable-area.c,
4193 (hildon_pannable_area_scroll_to),
4194 (hildon_pannable_area_jump_to),
4195 (hildon_pannable_area_scroll_to_child),
4196 (hildon_pannable_area_jump_to_child): Added a precondition to the
4197 scroll and jump to functions: the widget must be mapped before we
4198 can safely call these functions. We have also added documentation
4199 to the functions to explain how to use them in this situation.
4202 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4204 Reviewed the threading handling of the pannable widget, we have
4205 used the gdk_threads_add_timeout function instead of the usual
4206 glib handlers. This avoids some problems with the threads.
4208 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4209 (hildon_pannable_area_initial_effect),
4210 (hildon_pannable_area_scroll_indicator_fade),
4211 (hildon_pannable_area_button_press_cb),
4212 (hildon_pannable_area_timeout),
4213 (hildon_pannable_area_motion_notify_cb),
4214 (hildon_pannable_area_button_release_cb),
4215 (hildon_pannable_area_scroll_cb),
4216 (hildon_pannable_area_scroll_to): Removed the
4217 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4218 gdk_threads_add_timeout.
4220 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4222 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4227 * configure.ac: bump version
4228 * debian/changelog: updates
4230 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4232 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4233 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4234 * src/hildon-color-chooser-dialog.c:
4235 (hildon_color_chooser_dialog_init):
4236 * src/hildon-font-selection-dialog.c:
4237 (hildon_font_selection_dialog_init):
4238 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4240 Remove all cancel/close-like dialogs, as these are not going to be
4243 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4245 * src/hildon-note.c: (hildon_note_rebuild),
4246 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4249 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4251 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4253 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4254 sure all buttons are shown, even the Cancel/Close-like ones.
4256 Fixes: NB#90861 (Custom Confirmation dialogs should be
4257 protected from cancel button removal)
4259 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4261 * debian/control: Change libhildon1-examples dependency from libhildon1
4263 * debian/libhildon1-examples.install
4265 * Makefile.am: Modified the final install directory for the examples on
4266 package libhildon1-examples
4267 * Makefile.static: Update clean target in order to remove all the binary
4270 Changes suggested by Claudio after review new libhildon1-examples package
4272 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4274 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4275 * src/hildon-touch-selector.c: Ditto.
4277 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4279 * debian/control: Added new package libhildon1-examples, in order to pack
4280 the current hildon examples as documentation
4281 * debian/rules: Not to compress .c files, modify some includes on the
4282 examples (as normally are compiled locally, but when installed it will
4283 require to include the installed libhildon1 library), and rename
4285 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4286 install all the example files on the new example package
4287 * examples/Makefile.static: Added static makefile that can be used to
4288 compile the examples, once installed the new example package
4289 * examples: Most of the examples were modified in order to grant that
4290 all use only '#include "hildon.h"', in order to be easy to prepare
4291 it on the example package
4293 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4296 * debian/libhildon1-dev.install
4297 * debian/libhildon1-doc.install:
4298 Move all gtk-doc files to a separate libhildon1-doc package.
4300 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4302 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4304 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4306 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4308 * debian/rules: Fixed a error in order to avoid unnecessary calls
4309 to autogen.sh on package building
4311 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4313 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4315 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4317 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4320 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4322 * src/hildon-picker-button.c
4323 (hildon_picker_button_finalize):
4324 Free priv->done_button_text
4326 * src/hildon-time-button.c
4327 (hildon_time_button_set_time)
4328 * src/hildon-picker-button.c
4329 (hildon_picker_button_clicked)
4330 (hildon_picker_button_selector_selection_changed)
4331 (hildon_picker_button_set_selector)
4332 * src/hildon-date-button.c
4333 (hildon_date_button_set_date):
4334 Free strings returned by hildon_touch_selector_get_current_text()
4336 * src/hildon-button.c (hildon_button_construct_child):
4337 Fix leaks in priv->image and priv->label_box
4339 Fixes: NB#90535 (Memory leak in picker button)
4341 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4343 * src/hildon-button.c: (hildon_button_get_property): Do not access
4344 private elements directly, use getters instead.
4346 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4348 * src/hildon-app-menu-private.h
4349 * src/hildon-app-menu.c
4350 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4351 Store the menu's parent window.
4353 * src/hildon-stackable-window.c
4354 (hildon_stackable_window_toggle_menu)
4355 (hildon_stackable_window_finalize):
4356 Set the menu's parent window when the menu is shown, unset it when
4359 * src/hildon-app-menu.c
4360 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4361 (hildon_app_menu_class_init):
4362 Send unhandled keyboard accelerators to the parent window.
4364 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4366 * src/hildon-stackable-window.c
4367 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4369 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4371 * configure.ac: post release version bump
4373 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4376 * configure.ac: Bump version
4377 * debian/changelog: Updates
4378 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4381 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4383 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4386 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4387 GtkMenu with Hildon style.
4389 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4391 * src/hildon-picker-button.c:
4392 (hildon_picker_button_set_done_button_text): Set the dialog's
4393 done button text here as well.
4395 Fixes: NB#90232 (Picker button does not set the label on done button
4396 for the second time)
4398 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4400 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4403 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4405 * src/hildon-app-menu.c (hildon_app_menu_insert)
4406 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4407 the HildonAppMenu to be activatable using keyboard accelerators
4408 when the menu is not being shown.
4410 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4412 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4414 * src/hildon-stackable-window.c
4415 (hildon_stackable_window_show):
4416 Don't hide old windows automatically when new windows are shown:
4417 this is now a task for the window manager.
4418 (hildon_stackable_window_class_init)
4419 (hildon_stackable_window_hide):
4420 Remove windows from the stack everytime they're hidden.
4421 (hildon_stackable_window_realize):
4422 Don't change the _NET_WM_WINDOW_TYPE property. Use
4423 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4424 it as a stackable window.
4426 * src/hildon-program.c
4427 (hildon_program_pop_window_stack):
4428 Just hide the window to remove it from the stack.
4429 (hildon_program_go_to_root_window):
4430 Don't call gtk_widget_show(), this is now a task for the window
4433 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4435 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4437 * src/hildon-button.c
4438 (hildon_button_construct_child):
4439 Don't pack anything in the button until text or image are
4440 set. This allows adding a custom child after creating the button
4441 with hildon_button_new().
4442 (hildon_button_finalize, hildon_button_class_init)
4443 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4444 alignment and the label box even when they're not packed in the
4447 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4449 * src/hildon-touch-selector.h:
4450 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4451 currently the type definition was using GTK_TYPE_VBOX
4452 * src/hildon-touch-selector.c:
4453 Added some implementation notes in order to clarify that any other widget
4454 added without the column related API will not be included on the
4455 selection logic, and how the widget is freed, as some people ask about
4457 (hildon_touch_selector_remove): Reimplemented in order to free properly
4458 the column related data when you remove the private hbox.
4459 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4460 to get a proper HildonTouchSelectorColumn documentation
4462 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4464 * src/hildon-touch-selector-entry.c:
4465 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4466 text in the GtkEntry and there is no item selected. Fixes a
4469 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4471 * src/hildon-app-menu-private.h
4472 * src/hildon-app-menu.[ch]
4473 * src/hildon-button.[ch]
4474 * src/hildon-check-button.[ch]
4475 * src/hildon-entry.[ch]
4476 * src/hildon-pannable-area.[ch]
4477 * src/hildon-text-view.[ch]:
4478 Added private field to the object's structure.
4480 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4482 * configure.ac: post-release version bump
4484 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4488 * configure.ac: pre-release version bump
4490 * debian/changelog: updates.
4492 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4494 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4495 Disconnect the handler for HildonTouchSelector::changed.
4497 (hildon_picker_button_selector_selection_changed): Update the button
4498 value if the selection change was not triggered by the
4501 (hildon_picker_button_set_selector): connect to
4502 HildonTouchSelector::changed.
4504 Fixes: NB#89650 (Picker button is not updated, when selection in
4505 selector has changed)
4507 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4509 * src/hildon-picker-dialog.c
4510 (hildon_picker_dialog_realize): Removed as not required
4511 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4512 * src/hildon-picker-button.c
4513 (_current_selector_empty): New function, checks if the selector is empty
4514 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4515 if the current selector is empty, in order to avoid to show the dialog
4516 close the dialog in this case (and shows a g_warning).
4518 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4520 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4522 * src/hildon-pannable-area.c,
4523 (hildon_pannable_area_scroll): Added clause to stop movement when
4524 the child of pannable is smaller than one page.
4525 (hildon_pannable_area_scroll_to): Added conditions to avoid
4526 starting the scrolling movement if the child is smaller than one
4527 page, the complete child is in the screen, we do not have to move.
4529 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4531 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4533 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4534 this is managed automatically by the widget when the size of the
4537 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4539 * src/hildon-picker-button.c
4540 (hildon_picker_button_set_done_button_text): Make a copy of the
4541 text, and free the previous value.
4543 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4545 * src/hildon-touch-selector-entry.c:
4546 (hildon_touch_selector_entry_print_func): Return the selected row's
4547 text if the entry is empty.
4549 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4552 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4554 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4556 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4559 * src/hildon-check-button.h
4560 * src/hildon-check-button.c
4561 * examples/hildon-check-button-example.c:
4562 HildonCheckButton is now a new widget. 'toggled' signal added.
4564 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4566 * src/hildon-program-private.h
4567 * src/hildon-program.c (hildon_program_init)
4568 (hildon_program_finalize): Removed unused variables group_leader
4569 and name from HildonProgramPrivate.
4571 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4573 * src/hildon-check-button.c (hildon_check_button_set_active)
4574 (hildon_check_button_get_active, hildon_check_button_new): Use
4575 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4577 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4579 * src/hildon-touch-selector.h
4580 (hildon_touch_selector_set_column_attributes): added deprecation
4581 guard HILDON_DISABLE_DEPRECATED
4582 * src/hildon-time-selector.c
4583 (hildon_time_selector_set_time)
4584 (hildon_time_selector_get_time): Fixed a typo on documentation
4585 * src/hildon-touch-selector.c: update HildonTouchSelector and
4586 HildonTouchSelectorColumn documentation
4587 * src/hildon-touch-selector-entry.c: update "text-column" property
4589 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4590 to be added to the general documentation.
4592 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4594 * examples/hildon-pannable-area-example-4.c,
4596 * examples/hildon-pannable-area-example.c,
4597 (main): Modified the code in order to use the container add, with
4598 viewport treeviews could have problems if they are really big.
4600 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4602 * src/hildon-weekday-picker.c,
4603 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4604 the agreement regarding deprecation in the library.
4606 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4608 * examples/hildon-picker-button-multicolumn-example.c:
4609 (main): Use custom "done" button text.
4611 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4612 (hildon_picker_button_set_property),
4613 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4614 (hildon_picker_button_init),
4615 (+hildon_picker_button_get_done_button_text),
4616 (+hildon_picker_button_set_done_button_text): New methods to customize
4617 the "done" button label in the launched HildonPickerDialog. Also,
4620 * src/hildon-picker-button.h: add the public API.
4622 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4624 * src/hildon-date-selector.h:
4625 * src/hildon-picker-dialog.h:
4626 * src/hildon-time-selector.h:
4627 * src/hildon-touch-selector-column.h:
4628 * src/hildon-touch-selector.h:
4630 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4631 declarations. Fixes gtk-doc warnings.
4633 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4635 * src/hildon-picker-dialog.h
4636 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4637 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4639 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4640 long text is set as label for done button)
4642 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4644 * src/hildon-dialog.c (hildon_dialog_add_button):
4645 Set fixed width to all buttons in the HildonDialog.
4647 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4649 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4651 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4652 Set widget name using class name plus "-finger" or "-thumb".
4654 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4656 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4657 'clicked' when the state of the button is manually changed.
4659 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4661 * src/hildon-app-menu.c (hildon_app_menu_realize)
4662 (hildon_app_menu_unrealize, hildon_app_menu_init)
4663 (hildon_app_menu_class_init, item_visibility_changed):
4664 Change the menu layout when the size of the screen changes.
4665 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4666 Show warning only when changing the number of colums using the
4669 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4671 * debian/compat: Set to 5
4672 * debian/control: Update dependencies.
4673 * debian/libhildon1-dbg.install: Remove.
4674 * debian/libhildon1-dev.install: Update according to cdbs paths.
4675 * debian/libhildon1.install: Update according to cdbs paths.
4676 * debian/rules: Switch to cdbs.
4678 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4680 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4681 'item' variable renamed to 'filter'
4683 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4685 * src/hildon-app-menu.c (hildon_app_menu_insert)
4686 (hildon_app_menu_add_filter, remove_item_from_list)
4687 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4688 Don't leak hidden items when the menu is destroyed.
4690 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4692 * src/hildon-app-menu.c (hildon_app_menu_insert)
4693 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4694 (hildon_app_menu_set_columns, item_visibility_changed)
4695 (filter_visibility_changed, hildon_app_menu_repack_filters)
4696 (hildon_app_menu_repack_items):
4697 Repack items and filters separately.
4699 Don't repack all items, change only the ones that are needed to
4702 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4704 * src/Makefile.am: added hildon-touch-selector-column.h
4706 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4708 * src/hildon-touch-selector.c: added the property "text-column" to the
4709 class HildonTouchSelectorColumn, and related get/set functions
4710 (_default_printf_func): updated to use "text-column" property
4711 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4712 "text-column" in his documentation, as this is now included on
4713 HildonTouchSelectorColumn. The get/set_property can still be used,
4714 working as a wrapper to the concrete column "text-column" property
4715 (_text_column_modified): callback added in order to handle the signal
4716 "notify::text-column" of the concrete HildonTouchSelectorColumn
4717 (hildon_touch_selector_entry_get_text_column)
4718 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4719 modified in order to use the HildonTouchSelectorColumn "text-column"
4721 * src/hildon-time-selector.c:
4722 * src/hildon-date-selector.c:
4723 * examples/hildon-touch-selector-example.c
4724 * examples/hildon-touch-selector-multi-cells-example.c
4725 * examples/hildon-picker-button-multicolumn-example.c
4726 Set the right value to "text-column" property on the creation of a new
4727 column using hildon_touch_selector_append_column()
4729 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4731 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4733 * src/hildon-app-menu.c
4734 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4735 updating the layout of the menu, don't create all widgets again,
4736 just repack the items in their new places.
4738 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4740 * src/hildon-time-selector.c
4741 (hildon_time_selector_get_time)
4742 (hildon_time_selector_set_time)
4743 Added documentation of these public methods
4745 * src/hildon-date-button.h
4746 * src/hildon-touch-selector-column.h
4747 * src/hildon-time-button.h
4748 * src/hildon-picker-dialog.h
4749 * src/hildon-time-selector.h
4750 * src/hildon-picker-button.h
4751 * src/hildon-touch-selector.h
4752 * src/hildon-time-picker.h
4753 * src/hildon-date-selector.h
4754 * src/hildon-touch-selector-entry.h
4755 Modified in order to use hildon-widgets code style
4757 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4759 Added deprecated support to the compilation process using
4760 HILDON_DISABLE_DEPRECATED
4762 * configure.ac: Added the --disable-deprecated to the configure
4765 * src/hildon-weekday-picker.c:
4766 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4767 to use the deprecated support. We will update the other deprecated
4768 widgets status in a new patch.
4770 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4772 * configure.ac: Fixed typo with fatal warnings support, the
4773 variable name was not correct
4775 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4777 * src/hildon-app-menu.c
4778 * src/hildon-program.c: Update documentation.
4780 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4782 * configure.ac: Post-release version bump.
4784 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4789 * configure.ac: Pre-release version bump.
4790 * debian/changelog: Updates.
4792 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4794 * NEWS: Update news for previous releases.
4796 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4798 * examples/hildon-touch-selector-multi-cells-example.c:
4799 (create_selector): Update the example to use
4800 hildon_touch_selector_append_column() with a NULL renderer and set
4801 the renderers later.
4802 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4803 passed a NULL renderer. This is documented behavior now.
4805 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4806 This must be used if the developer wants full control on the layout of
4807 the renderers to be added to the column.
4809 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4811 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4813 * src/hildon-touch-selector.c: Documentation fixes.
4815 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4817 * src/hildon-wizard-dialog-private.h: Remove image and box.
4818 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4819 (hildon_wizard_dialog_set_property), (response): Completely remove
4820 image/icon support, and the containers required for the layout.
4822 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4824 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4826 * src/hildon-app-menu.c: Updated documentation.
4828 * src/hildon-stackable-window.c
4829 (hildon_stackable_window_set_main_menu): Unref the old menu after
4830 ref'ing the new one.
4832 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4834 * src/hildon-stackable-window.c
4835 (hildon_stackable_window_set_main_menu): Unref the previous menu
4836 instead of destroying it.
4838 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4839 floating reference and set has_user_ref_count to FALSE to make
4840 HildonAppMenu act like a normal ref-counted widget and not a
4843 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4846 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4848 * src/hildon-touch-selector-column.h: new file
4849 * src/hildon-touch-selector.h
4850 * src/hildon-touch-selector.c
4851 Implemented GtkCellLayout interface, in order to allow to configure
4852 the cell layout on each individual selector column
4853 (hildon_touch_selector_set_column_attributes): marked as deprecated
4854 * examples/hildon-touch-selector-multi-cells-example.c
4855 Example of how to use the GtkCellLayout interface on the selector
4857 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4859 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4861 * src/hildon-app-menu.h
4862 * src/hildon-app-menu.c
4863 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4864 (hildon_app_menu_append, hildon_app_menu_prepend):
4865 New methods to prepend, insert and move items in the menu.
4867 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4869 * src/hildon-wizard-dialog.c:
4871 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4873 (create_title): Update logical IDs and related code.
4874 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4876 * src/hildon-wizard-dialog.h: Note that
4877 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4878 point, as it is not used anymore.
4880 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4882 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4884 * src/hildon-note.c:
4885 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4886 shown. Do not display an icon in confirmation notes nor information
4888 (hildon_note_set_button_text): Update logical ID for cancel button.
4890 Fixes: NB#88850 (Update HildonNote button strings + signals)
4892 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4894 * src/hildon-stackable-window.c
4895 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4897 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4899 * src/hildon-app-menu-private.h
4900 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4901 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4902 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4903 temporary property 'columns' to change the number of columns.
4905 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4907 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4909 * examples/hildon-note-example.c: (on_information_clicked),
4910 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4911 debugging information.
4912 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4914 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4915 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4916 in order to close: this will be handled by the WM from now on.
4918 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4920 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4922 * src/hildon-app-menu-private.h
4923 * src/hildon-app-menu.c
4924 (hildon_app_menu_append, hildon_app_menu_add_filter)
4925 (button_visibility_changed, hildon_app_menu_apply_style)
4926 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4927 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4928 layout everytime a button (item or filter) is shown or hidden.
4930 * src/hildon-stackable-window.c
4931 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4934 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4936 * src/hildon-touch-selector.c:
4937 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4938 that the treeview inside the touch selector is in fremantle hildon mode
4939 * examples/hildon-date-button-example.c
4940 * examples/hildon-picker-button-multicolumn-example.c
4941 * examples/hildon-touch-selector-entry-example.c
4942 * examples/hildon-touch-selector-example.c
4943 * examples/hildon-time-button-example.c
4944 * examples/hildon-picker-button-example.c:
4945 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4947 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4949 * examples/hildon-text-view-example.c: (main): Remove the
4950 gtkrc bits, now handled by the theme.
4952 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4954 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4957 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4959 * po/Makefile.am: Install properly the mo files.
4960 * po/en_GB.po: Update translation, to ease testing purposes.
4962 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4964 * examples/hildon-picker-button-example.c: (main): Select an item
4965 in the selector before setting it to the button.
4967 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4969 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4970 Update button's value if the selector has an item active.
4972 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4973 'value' with the selector)
4975 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4977 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4978 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4979 (hildon_picker_button_class_init): Plug the finalize method.
4980 (hildon_picker_button_set_selector): If there's a previously set
4981 selector, unref'it before setting a new one.
4983 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4984 HildonTouchSelector)
4986 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4988 * src/hildon-touch-selector-entry.c:
4989 (hildon_touch_selector_entry_changed): Check if there is no text
4990 selected before setting the entry text.
4993 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4995 * src/hildon-touch-selector.h
4996 * src/hildon-touch-selector.c
4997 (hildon_touch_selector_get_active)
4998 (hildon_touch_selector_set_active): New methods to set/get the
4999 index of the selected item.
5001 * src/hildon-picker-button.h
5002 * src/hildon-picker-button.c
5003 (hildon_picker_button_get_active)
5004 (hildon_picker_button_set_active): New methods to set/get the
5005 index of the selected item.
5007 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5009 * configure.ac: post-release version bump.
5011 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5015 * configure.ac: Pre-release version bump.
5016 * debian/changelog: Updates.
5017 * debian/control: Add myself as maintainer and depend on l10n
5020 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5022 * src/hildon-window.c
5023 (hildon_window_set_main_menu)
5024 * src/hildon-stackable-window.c
5025 (hildon_stackable_window_set_main_menu):
5026 Updated documentation.
5028 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5030 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5031 Don't free selector->priv manually.
5034 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5037 (hildon_gtk_window_set_progress_indicator):
5038 * src/hildon-gtk.h: Added the new API
5039 hildon_gtk_window_set_progress_indicator, it changes the state of
5040 the window progress hint.
5042 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5044 * src/hildon-button.c
5045 * src/hildon-stackable-window.c: Minor documentation updates.
5047 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-stackable-window.c: Updated documentation.
5051 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5053 * src/hildon-defines.h: Update margins definitions
5054 to the Fremantle sizes.
5057 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5059 * src/hildon-touch-selector.c,
5060 (_hildon_touch_selector_set_model): Cleaning the code after
5061 review, removed g_print and #if 0 from the code.
5063 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5065 * src/hildon-edit-toolbar.c: Update documentation.
5067 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5069 * src/hildon-check-button.h
5070 * src/hildon-check-button.c
5071 (hildon_check_button_set_label, hildon_check_button_get_label)
5072 * examples/hildon-check-button-example.c
5073 (button_clicked_cb):
5074 Removed deprecated methods.
5076 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5078 * src/hildon-text-view.c:
5079 Add sample code to the documentation.
5081 * src/hildon-entry.h
5082 * src/hildon-text-view.h:
5083 Minor cosmetic changes.
5085 * src/hildon-entry.c:
5086 Add sample code to the documentation.
5087 (hildon_entry_init, hildon_entry_refresh_contents):
5088 Don't allow NULL values in the placeholder.
5090 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5092 * doc/hildon-docs.sgml
5094 * examples/Makefile.am
5095 * examples/hildon-text-view-example.c
5097 * src/hildon-text-view.c
5098 * src/hildon-text-view.h
5100 New HildonTextView widget, with example.
5102 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5104 * po/POTFILES.in: Add missing files with translatable strings.
5105 Partially fixes NB#88287.
5107 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5109 * examples/hildon-pannable-area-example-2.c: (main): No need to
5110 set the cellrenderer height inside hildon touch lists, the theme does
5113 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5115 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5116 they are integrated in the theme.
5118 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5120 * examples/hildon-entry-example.c: Update the example adding
5121 widgets to modify the text and the placeholder of the HildonEntry.
5123 * src/hildon-entry.c: Show the placeholder everytime the widget
5124 is empty and loses the focus.
5126 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5128 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5130 * src/hildon-pannable-area.c,
5131 (hildon_pannable_area_size_request): Fixed bug in height
5132 requisition, avoid increasing size and add border twice.
5134 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5136 * configure.ac: postrelease version bump.
5138 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5142 * configure.ac: Prerelease version bump.
5143 * debian/changelog: update.
5144 * debian/rules: make -dbg package contain useful debugging symbols.
5146 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5148 * src/hildon-dialog.h
5149 * src/hildon-dialog.c
5150 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5151 New methods to add buttons with finger size.
5152 (hildon_dialog_new_with_buttons):
5153 Create buttons with finger size.
5155 * examples/hildon-dialog-example.c (main): Use HildonDialog
5156 methods to add buttons.
5158 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5160 * src/hildon-entry.c: Updated HildonButton documentation.
5162 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5164 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5165 button value label with (FALSE, FALSE) to prevent NB#88126 from
5168 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5170 * examples/hildon-pannable-area-example.c,
5171 (main): Removed examples panning a vbox inside a pannable
5172 area. Check bug NB#87965
5174 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5176 Patch contributed by Kris Rietveld (kris@imendio.com)
5178 * src/hildon-pannable-area.c,
5179 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5180 get_size and get_position, this saves an X server roundtrip.
5182 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5184 * doc/hildon-docs.sgml
5186 * examples/Makefile.am
5187 * examples/hildon-entry-example.c
5189 * src/hildon-entry.c
5190 * src/hildon-entry.h
5192 New HildonEntry widget, with example.
5194 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5196 * src/hildon-button.c (hildon_button_construct_child): Pack the
5197 image with expand == fill == FALSE. This is a workaround for a bug
5200 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5202 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5203 labels for the text column, to make it more look more dynamic.
5205 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5207 * src/hildon-time-selector.c
5208 Define gettext auxiliar macro N_
5209 (_create_minutes_model)
5210 (_create_hours_model)
5211 (_create_ampm_model): use of strftime in order to fill the model
5212 * src/hildon-date-selector.c
5213 (hildon_date_selector_finalize):
5214 (_locales_init): remove the logic related to get the name of the months
5215 using nl_langinfo, as it is not required anymore
5217 (_create_year_model)
5218 (_create_month_model)
5219 (_update_day_model): use of strftime in order to fill the model properly
5222 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5224 * src/hildon-button.h
5225 * src/hildon-button.c (hildon_button_get_image): New method to
5228 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5230 * src/hildon-touch-selector.c:
5231 (hildon_touch_selector_remove_column): Remove from the correct parent
5232 and also remove the list element and free it.
5235 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5237 * src/hildon-time-selector.c
5238 (_create_hours_model): change the range on 12h ampm format in order to use
5239 a 12-11 range instead of previous 01-12 range
5240 (hildon_time_selector_set_time): change the way to select the current time
5241 on 12h ampm format, due the change on the range
5242 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5245 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5247 * src/hildon-touch-selector.c
5248 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5249 in order to allow use this function on multiple row selection mode if
5250 the column is different that the first one
5253 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5255 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5256 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5258 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5260 * src/hildon-date-selector.h: clean some comments, now on the .c
5261 * src/hildon-date-selector.c
5262 (hildon_date_selector_select_month): first implementation
5263 (hildon_date_selector_select_day): added documentation, reimplemented
5264 using hildon_date_selector_select_current_date to avoid repeat code
5267 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5269 Reviewed interaction logic based on device experiences, refactored
5272 * src/hildon-pannable-area.c,
5273 (hildon_pannable_area_class_init): Updated default vmax speed.
5274 (hildon_pannable_area_calculate_velocity): Added this function, it
5275 avoids duplicate valocity calculation. Adjusted calculation to
5276 avoid problems with zero dist events.
5278 (hildon_pannable_area_motion_notify_cb): Now we use the
5279 calculate_velocity function.
5281 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5283 * src/hildon-date-selector.c
5284 (hildon_date_selector_select_current_date): fix the day range check
5285 as it failed using the last day of the current month
5288 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5290 * src/hildon-touch-selector.c
5291 (hildon_touch_selector_get_num_columns): added a parameter validation
5294 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5296 * examples/Makefile.am
5297 * examples/hildon-edit-toolbar-example.c: Example of the
5298 HildonEditToolbar widget.
5300 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5302 * configure.ac: postrelease version bump.
5304 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5308 * configure.ac: prerelease version bump.
5309 * debian/changelog: update.
5311 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5313 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5314 renderer to display stock icons in the touch list. Also, set the sizes
5315 to the recommended in the style guide.
5317 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5318 * src/hildon-touch-selector.h
5319 (hildon_touch_selector_set_active_iter): renamed, now is
5320 hildon_touch_selector_select_iter
5321 (hildon_touch_selector_get_active_iter): renamed, now is
5322 hildon_touch_selector_get_selected
5323 (hildon_touch_selector_unselect_iter): added
5324 * src/hildon-touch-selector.c
5325 Update after API modification (methods renamed)
5326 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5327 order to avoid problems selecting multiple elements on the column
5328 (hildon_touch_selector_unselect_iter): added the implementation
5329 * src/hildon-time-selector.c
5330 * src/hildon-date-selector.c
5331 * src/hildon-touch-selector-entry.c
5332 Update methods calls after hildon-touch-selector.h API modification (methods
5335 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5337 * src/hildon-stackable-window.c
5338 (hildon_stackable_window_finalize): Call the parent class's finalize.
5340 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5342 * examples/hildon-touch-selector-example.c: (create_selector): Use
5343 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5346 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5348 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5349 set a cell background color, to respect theming.
5351 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5353 * doc/hildon-docs.sgml
5356 * src/hildon-edit-toolbar.c
5357 * src/hildon-edit-toolbar.h
5358 * src/hildon.h: New HildonEditToolbar widget.
5360 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5362 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5365 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5366 * src/hildon-touch-selector.c
5367 (_create_new_column): use g_object_set instead of two g_object_set_property
5369 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5370 * src/hildon-touch-selector.c
5371 (_create_new_column): use of hildon_gtk_tree_view_new to create
5372 the treeview, instead of use directly g_object_new
5373 (_create_new_column): update the property name "vindicator-mode" for the
5374 new one "vscrollbar-policy"
5375 * examples/hildon-date-button-example.c
5376 * examples/hildon-picker-button-multicolumn-example.c
5377 * examples/hildon-touch-selector-entry-example.c
5378 * examples/hildon-touch-selector-example.c
5379 * examples/hildon-time-button-example.c
5380 * examples/hildon-picker-button-example.c
5381 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5382 to all the treeviews inside a pannable area.
5384 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5386 * src/hildon-button.h
5387 * src/hildon-button.c (hildon_button_init)
5388 (hildon_button_set_arrangement, hildon_button_set_alignment)
5389 (hildon_button_set_title_alignment)
5390 (hildon_button_set_value_alignment)
5391 (hildon_button_set_image_alignment)
5392 (hildon_button_construct_child): New methods to set the alignment
5393 of the individual components of the button (title, value,
5394 image). Also, new method to alter the xscale and yscale properties
5395 of the GtkAlignment inside the button, so more complex layouts can
5398 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5400 * src/hildon-button.c (hildon_button_style_set)
5401 (hildon_button_class_init, hildon_button_set_arrangement)
5402 (hildon_button_construct_child): Apply style properties
5403 correctly. Use the 'image-spacing' style property too.
5405 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5407 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5408 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5411 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5413 * src/hildon-pannable-area.c,
5414 (hildon_pannable_area_size_request): Fixed problem with
5415 pannable-area size_request.
5417 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5419 Added management for the grab-focus to a child widget, like a
5420 range, we need to fade out the scrollbar when releasing.
5422 * src/hildon-pannable-area.c,
5423 (hildon_pannable_area_init): Connected the grab-focus signal to
5425 (hildon_pannable_area_grab_notify): Added this function in order
5426 to manage the situation when the grab-focus ends. We have to
5427 fade-out the scrollbar.
5429 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5431 * src/hildon-app-menu.c: Minor documentation update.
5433 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5435 * src/hildon-app-menu.c
5436 * examples/hildon-app-menu-example.c (create_menu): Update
5437 examples and documentation to explain how to connect callbacks.
5439 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5441 * examples/hildon-button-example.c
5442 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5443 hildon_stackable_window_new instead of gtk_window_new
5445 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5447 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5448 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5449 (hildon_pannable_area_set_property),
5450 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5451 (hildon_pannable_area_unrealize),
5452 (hildon_pannable_area_size_request),
5453 (hildon_pannable_area_size_allocate),
5454 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5455 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5456 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5457 (hildon_pannable_area_initial_effect),
5458 (hildon_pannable_area_redraw),
5459 (hildon_pannable_area_scroll_indicator_fade),
5460 (hildon_pannable_area_expose_event),
5461 (hildon_pannable_area_get_topmost), (synth_crossing),
5462 (hildon_pannable_area_button_press_cb),
5463 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5464 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5465 (hildon_pannable_area_motion_notify_cb),
5466 (hildon_pannable_area_button_release_cb),
5467 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5468 (hildon_pannable_area_remove),
5469 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5470 chage the code layout to a more GtkWidget like. Review the use of
5473 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5475 * examples/hildon-pannable-area-example-4.c,
5476 (main): Modified the name of the hindicator_mode to
5479 * src/hildon-pannable-area.c,
5480 (hildon_pannable_area_class_init),
5481 (hildon_pannable_area_motion_notify_cb),
5482 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5483 we have reduced the amount of signals and managed reviewed its
5484 rationale. Changed the default decelerate value.
5486 (hildon_pannable_area_add),
5487 (hildon_pannable_area_redraw): Refactored functions.
5489 (hildon_pannable_area_init),
5490 (hildon_pannable_area_get_property),
5491 (hildon_pannable_area_set_property):
5492 (hildon_pannable_draw_vscroll),
5493 (hildon_pannable_draw_hscroll),
5494 (hildon_pannable_area_initial_effect),
5495 (hildon_pannable_area_expose_event),
5496 (hildon_pannable_area_scroll),
5497 (hildon_pannable_area_button_press_cb),
5498 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5499 and vindicator_mode with hscrollbar_policy and
5500 vscrollbar_policy. Replaced hscroll and vscroll with
5501 hscroll_visible and vscroll_visible.
5503 (hildon_pannable_area_refresh): Refactor the function, remove
5504 variables and check the calls to this function, added resize
5505 conditions in case the children change their layout.
5507 (hildon_pannable_area_size_request): Added more detailed
5508 size_request calculation.
5511 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5513 * src/hildon-color-chooser.c
5514 (init_borders): use the correct gtk_border_free instead of g_free, to
5515 avoid a crash when this widget is used (ie: the three color selection
5518 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5520 * src/hildon-check-button.c,
5521 (hildon_check_button_set_active): Fixed problem when setting the
5522 active value, the widget was not redrawn.
5524 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5526 * src/hildon-pannable-area.c,
5527 (hildon_pannable_area_refresh),
5528 (hildon_pannable_area_scroll),
5529 (hildon_pannable_area_motion_notify_cb): Small code style change.
5531 (hildon_pannable_area_class_init): Default initial_hint set to
5532 FALSE, it is not in the specs.
5534 (hildon_pannable_area_initial_effect),
5535 (hildon_pannable_area_expose_event),
5536 (hildon_pannable_area_map),
5537 (hildon_pannable_area_init): Moved the launching point of the
5538 initial effect, it was in map but the sizes where not correct in
5539 that method so we do not know if we have the reproduce it. Now it
5540 is placed in the expose_event method and uses a variable to
5541 reproduce it just once.
5543 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5545 * src/hildon-pannable-area.c,
5546 (hildon_pannable_draw_vscroll),
5547 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5548 position allowed for the scrollbars.
5550 (hildon_pannable_area_size_allocate): Small style change.
5552 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5554 * src/hildon-pannable-area.c,
5555 (hildon_pannable_area_scroll_indicator_fade),
5556 (hildon_pannable_area_button_press_cb),
5557 (hildon_pannable_area_button_release_cb),
5558 (hildon_pannable_area_scroll_cb),
5559 (hildon_pannable_area_expose_event),
5560 (hildon_pannable_area_init): Added the define parameter
5561 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5562 and refactor the fade variable.
5564 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5566 * src/hildon-pannable-area.c,
5567 (hildon_pannable_area_redraw),
5568 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5569 lines, we were reimplemeting the redraw code.
5571 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5573 * src/hildon-pannable-area.c,
5574 (hildon_pannable_area_scroll_cb),
5575 (hildon_pannable_area_realize),
5576 (hildon_pannable_area_class_init): Added scroll_event management
5577 for pannable area, now we can scroll the usual desktop method.
5579 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5580 initialization of the parameters should depend on idle_id.
5582 (hildon_pannable_area_init),
5583 (hildon_pannable_area_map): Small code style modifications
5585 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5587 * src/hildon-pannable-area.c
5588 (hildon_pannable_area_button_press_cb),
5589 (hildon_pannable_area_motion_notify_cb),
5590 (hildon_pannable_area_button_release_cb),
5591 (hildon_pannable_area_size_allocate),
5592 (hildon_pannable_area_scroll_to): Improved the timeouts
5593 management, we avoid creating them each time.
5595 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5597 * src/hildon-pannable-area.c:
5598 (hildon_pannable_area_refresh),
5599 (hildon_pannable_area_motion_notify_cb),
5600 (hildon_pannable_area_class_init):
5601 * src/hildon-pannable-area.h:
5602 * src/hildon-touch-selector.c
5603 (_create_new_column):
5604 * examples/hildon-pannable-area-example-4.c:
5605 (horizontal_movement),
5606 (vertical_movement),
5608 Replaced the names of enums in the HildonPannableArea:
5609 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5610 HILDON_MOVEMENT_MODE_*
5611 - HILDON_PANNABLE_AREA_MOV_* ->
5613 - Removed HildonPannableAreaIndicatorMode, now we
5616 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5618 * examples/hildon-pannable-area-touch-grid-example.c
5619 * examples/hildon-pannable-area-touch-list-example.c: Fix
5620 compilation warnings.
5622 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5624 * src/hildon-gtk.c (hildon_gtk_button_new)
5625 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5626 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5627 images overriding the value of the "gtk-button-images" setting.
5629 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5631 * src/hildon-check-button.c (hildon_check_button_new):
5632 Instead of using a custom container, display the label and the
5633 checkbox using the standard GtkButton API.
5635 * examples/hildon-check-button-example.c (main): Don't use
5636 hildon_check_button_set_label() anymore
5638 * src/hildon-check-button.h
5639 * src/hildon-check-button.c
5640 (hildon_check_button_set_label, hildon_check_button_get_label):
5641 Set as deprecated, now we're using gtk_button_{get,set}_label()
5643 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5645 * src/hildon-pannable-area.c,
5646 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5647 GtkTreeview first line we detected it after the inclusion of the
5648 GtkWindowImpl in gtk+. We now check if the window is visible, not
5649 just if the pointer is over the window.
5650 (hildon_pannable_axis_scroll),
5651 (hildon_pannable_area_expose_event): Small style changes.
5653 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5655 * src/hildon-button.c: Update documentation.
5657 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5659 * examples/hildon-button-example.c: Add a switch to show images in
5662 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5664 * doc/hildon-docs.sgml: Some docs reorganization.
5666 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5668 * examples/hildon-pannable-area-touch-list-example.c
5670 * examples/hildon-pannable-area-touch-grid-example.c
5671 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5672 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5673 Fix memory leak when setting the tree model.
5675 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5679 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5681 * doc/hildon.types: Remove duplicated hildon_window_get_type
5682 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5683 documentation comment.
5685 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5687 * doc/Makefile.am: Complete list of private headers.
5689 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5691 * doc/hildon-docs.sgml
5692 * src/hildon-app-menu.c
5693 * src/hildon-bread-crumb.c
5694 * src/hildon-button.c
5696 * src/hildon-program.c
5697 * src/hildon-stackable-window.c
5698 * src/hildon-window.c: Lots of documentation updates.
5700 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5702 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5704 * configure.ac: Require Gtk+ 2.12.9 at least
5706 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5708 * src/hildon-pannable-area.c
5709 (hildon_pannable_area_scroll_indicator_fade),
5710 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5711 to protect the return of this timeout callbacks, avoiding deadlocks.
5713 2008-08-12 Christian Dywan <christian@imendio.com>
5716 * src/hildon-*.h: Ensure a consistent include order,
5717 include <gtk/gtk.h> instead of particular files and
5718 only include the topmost header in the gtk stack. See NB #39857
5720 2008-08-12 Christian Dywan <christian@imendio.com>
5722 * src/hildon-picker-dialog.c
5723 * src/hildon-touch-selector.c: Fix warnings about unused and
5724 uninitialized variables.
5726 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5728 * examples/Makefile.am
5729 * examples/hildon-check-button-example.c: Example of the hildon
5732 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5734 * src/hildon-window.h
5735 * src/hildon-window.c (hildon_window_class_init)
5736 (hildon_window_unset_program): Don't make
5737 hildon_window_unset_program a virtual function anymore.
5739 * src/hildon-stackable-window.c: Update documentation
5741 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5744 * doc/hildon-docs.sgml
5745 * doc/visual_index.xml
5746 * src/hildon-defines.c
5748 * src/hildon-helper.c
5749 * src/hildon-range-editor.c: Lots of documentation fixes.
5751 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5753 * examples/hildon-picker-button-multicolumn-example.c
5754 (create_touch_selector): Fix compilation warning.
5756 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5758 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5759 (hildon_pannable_area_button_release_cb)
5760 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5762 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5764 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5767 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5769 * src/hildon-bread-crumb-trail.h
5770 * src/hildon-date-editor.c
5771 * src/hildon-date-selector.c
5772 * src/hildon-pannable-area.c
5773 * src/hildon-picker-dialog.c
5774 * src/hildon-time-selector.c
5775 * src/hildon-touch-selector-entry.c
5776 * src/hildon-touch-selector.c
5777 * src/hildon-touch-selector.h: Misc documentation fixes
5779 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5781 * examples/hildon-date-editor-example.c (main): Updated date
5784 * examples/hildon-note-example.c (on_confirmation_clicked):
5785 Updated confirmation note example.
5787 * src/hildon-date-editor.c
5788 * src/hildon-note.c: Updated sample programs in documentation.
5791 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5793 * src/hildon-date-button.h:
5794 * src/hildon-picker-button.h:
5795 * src/hildon-time-button.c:
5796 * src/hildon-time-button.h:
5798 Some declarations changes to allow gtk-doc to document the widgets
5801 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5803 * src/hildon-date-button.c: Document the widget.
5804 * src/hildon-time-button.c: Document the widget.
5806 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5808 * src/hildon-picker-button.c: Document the widget.
5809 * src/hildon-touch-selector-entry.c: Document the widget.
5811 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5813 * doc/hildon-docs.sgml
5816 * src/hildon-check-button.h
5817 * src/hildon-check-button.c: New functions to create the Hildon
5821 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5823 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5825 * src/hildon-button.h
5826 * src/hildon-button.c
5827 (hildon_button_add_title_size_group)
5828 (hildon_button_add_value_size_group)
5829 (hildon_button_add_image_size_group)
5830 (hildon_button_add_size_groups): New functions to set size groups
5831 for the button labels and image.
5832 (hildon_button_new_full): Removed
5834 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5836 * src/hildon-time-selector.c
5837 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5838 in order to avoid a crash if gconf is not available
5840 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5842 * src/hildon-button.c (hildon_button_set_arrangement)
5843 (hildon_button_construct_child): Don't construct the button child
5844 before setting the arrangement.
5846 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5848 * src/hildon-program-private.h
5849 * src/hildon-program.c
5850 * src/hildon-program.h
5851 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5852 (hildon_program_peek_window_stack)
5853 (hildon_program_pop_window_stack)
5854 (hildon_program_go_to_root_window): HildonProgram now has a
5855 separate list for stackable windows. Functions are provided to
5856 manage that list with a stack-like API.
5858 * src/hildon-stackable-window.c: Stackable window management is
5859 now much simpler with the new HildonProgram API. Windows no
5860 longer need to be manually added to the program, they're
5861 automatically pushed to the top of the stack when shown.
5863 * examples/hildon-stackable-window-example.c: Updated example to
5864 reflect the API changes.
5866 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5868 * src/hildon-touch-selector.c: Comment out unimplemented
5869 hildon_touch_selector_insert_column() to avoid a compile warning.
5871 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5873 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5874 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5875 (hildon_touch_selector_set_column_selection_mode),
5876 (_hildon_touch_selector_set_model),
5877 (hildon_touch_selector_set_model):
5879 Complete review of HildonTouchSelector documentation.
5881 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5883 * doc/hildon-docs.sgml
5887 * src/hildon-gtk.c: Convenience functions for standard Gtk
5888 widgets, used to easily perform frequent operations.
5890 * src/hildon-button-helpers.h
5891 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5893 * src/hildon-helper.h
5894 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5895 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5897 * src/hildon-button.h
5898 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5900 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5902 * src/hildon-button.c (hildon_button_init)
5903 (hildon_button_set_arrangement, hildon_button_construct_child):
5904 Pack the image and the labels inside the same GtkAlignment so
5905 gtk_button_set_alignment() can be used
5907 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5909 * src/hildon-button.h
5910 * src/hildon-button.c
5911 (hildon_button_init, hildon_button_set_image)
5912 (hildon_button_set_image_position)
5913 (hildon_button_construct_child): New functions to add an image to
5916 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5918 * src/hildon-date-button.c
5919 * src/hildon-picker-button.c
5920 * src/hildon-time-button.c
5921 * src/hildon-button.c:
5922 (hildon_button_class_init): "size-flags" renamed to "size"
5923 (hildon_button_set_title): Hide the title label if set to NULL.
5925 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5927 HildonButtonFlags split into HildonButtonArrangement (to set the
5928 button layout) and HildonSizeType (which can be used for any
5931 * src/hildon-button.h
5932 * src/hildon-button.c
5933 (hildon_button_class_init)
5934 (hildon_button_set_arrangement)
5935 (hildon_button_set_property): New "size-flags"
5936 property. "arrangement-flags" renamed to "arrangement".
5937 (hildon_button_new, hildon_button_new_with_text)
5938 (hildon_button_new_full): Constructors updated to reflect type changes.
5940 * src/hildon-helper.h
5941 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5942 to set the size of a widget.
5946 * src/hildon-button-helpers.c
5947 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5949 * src/hildon-date-button.c
5950 * src/hildon-date-button.h
5951 * src/hildon-picker-button.c
5952 * src/hildon-picker-button.h
5953 * src/hildon-time-button.c
5954 * src/hildon-time-button.h: Updated widgets to reflect
5955 HildonButton API changes.
5957 * examples/hildon-button-example.c
5958 * examples/hildon-date-button-example.c
5959 * examples/hildon-picker-button-example.c
5960 * examples/hildon-picker-button-multicolumn-example.c
5961 * examples/hildon-time-button-example.c
5962 * examples/hildon-touch-selector-entry-example.c
5963 * examples/hildon-touch-selector-example.c: Updated examples to
5964 reflect HildonButton API changes.
5966 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5968 * doc/hildon-docs.sgml:
5970 * examples/Makefile.am:
5971 * examples/hildon-touch-selector-entry-example.c:
5973 * src/hildon-touch-selector-entry.c:
5974 * src/hildon-touch-selector-entry.h:
5977 Moved HildonTouchSelectorEntry from sandbox. Added its
5978 documentation and examples.
5980 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5982 * src/hildon-touch-selector.h:
5983 * examples/hildon-picker-button-multicolumn-example.c:
5984 (hildon_touch_selector_append_text_column): Add a gboolean
5985 parameter to determine if text must be centered in the column.
5987 * src/hildon-date-selector.c: (hildon_date_selector_init):
5988 * src/hildon-time-selector.c: (hildon_time_selector_init):
5989 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5990 (create_touch_selector): Update widgets and example to reflect
5993 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5995 * src/hildon-touch-selector.c:
5996 (hildon_touch_selector_set_active_iter): Set also the cursor in
5999 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6001 * doc/hildon-docs.sgml
6004 * src/hildon-toggle-button.c
6005 * src/hildon-toggle-button.h
6006 * src/hildon.h: Removed HildonToggleButton widget, a derived
6007 class is not necessary for this.
6009 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6011 * src/hildon-pannable-area.c,
6012 (hildon_pannable_area_realize),
6013 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6016 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6018 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6019 "done" button the default widget for the dialog.
6021 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6023 * src/hildon-touch-selector.c:
6024 (hildon_touch_selector_class_init),
6025 (hildon_touch_selector_get_property),
6026 (_hildon_touch_selector_set_model),
6027 (_hildon_touch_selector_has_multiple_selection),
6028 (hildon_touch_selector_has_multiple_selection):
6029 Add a "has-multiple-selection" property with a virtual
6030 has_multiple_selection() method to allow derived classes to
6031 override the default value for it. See the method and property
6032 documentation for details.
6034 * src/hildon-touch-selector.h: Add the new API.
6036 * src/hildon-picker-dialog.c: (requires_done_button): Call
6037 hildon_touch_selector_has_multiple_selection() instead of
6038 determining the need for a button itself.
6040 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6042 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6043 (_hildon_touch_selector_set_model),
6044 (hildon_touch_selector_set_model): Move working code to
6045 _hildon_touch_selector_set_mode(). Call the class method instead.
6047 * src/hildon-touch-selector.h: Add (*set_model) to
6048 HildonTouchSelectorClass.
6050 Make hildon_touch_selector_set_model() a virtual method, so that
6051 derived classes can extend it and do fancy stuff with the model.
6053 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6055 * configure.ac: Set back the tarname in AC_INIT to hildon.
6057 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6061 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6062 instead of libesd (NB#86876). Volume handling is still an open issue.
6064 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6067 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6069 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6070 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6071 derived class to ease placement of an entry widget in
6072 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6073 end, where the selector columns are packed now.
6075 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6077 * src/hildon-picker-button.c: Removed the simple _text() API.
6078 * src/hildon-picker-button.h: Likewise.
6080 * src/hildon-touch-selector.h:
6081 * src/hildon-touch-selector.c:
6082 (hildon_touch_selector_new_text),
6083 (hildon_touch_selector_append_text),
6084 (hildon_touch_selector_prepend_text),
6085 (hildon_touch_selector_insert_text):
6087 Moved the simple _text() API from HildonPickerButton to
6088 HildonTouchPicker, to provide better escalability and not to tie
6089 that API to HildonPickerButton.
6091 * examples/hildon-picker-button-example.c: (main): Example updated.
6093 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6095 * src/hildon-button.c: Updated documentation.
6097 * examples/hildon-button-example.c: Add the posibility to create
6098 the buttons using horizontal layout for title and value.
6100 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6102 * src/hildon-app-menu-private.h
6103 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6104 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6105 GtkSizeGroup for the filters, use the 'homogeneous' property of
6108 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6110 * examples/hildon-button-example.c: Updated example.
6112 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6114 * doc/hildon-docs.sgml:
6117 Update documentation.
6119 * examples/Makefile.am: Update renamed examples.
6121 * examples/hildon-picker-button-multicolumn-example.c:
6122 (create_touch_selector), (main): Update after the rename.
6124 * examples/hildon-touch-picker-example.c: Removed.
6125 * examples/hildon-touch-selector-example.c: (value_changed),
6126 (create_selector), (get_visible_content), (main): Renamed from
6127 hildon-touch-picker-example.c
6129 * src/Makefile.am: Updated renamed files.
6131 * src/hildon-date-button.c: (hildon_date_button_init),
6132 (hildon_date_button_get_date), (hildon_date_button_set_date):
6133 * src/hildon-date-selector.c: (hildon_date_selector_init),
6134 (_custom_print_func), (_update_day_model),
6135 (_manage_selector_change_cb),
6136 (hildon_date_selector_select_current_date),
6137 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6138 * src/hildon-date-selector.h:
6139 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6140 (hildon_picker_button_set_property),
6141 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6142 (hildon_picker_button_init), (hildon_picker_button_new_text),
6143 (hildon_picker_button_append_text),
6144 (hildon_picker_button_prepend_text),
6145 (hildon_picker_button_insert_text),
6146 (hildon_picker_button_set_selector),
6147 (hildon_picker_button_get_selector):
6148 * src/hildon-picker-button.h:
6149 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6150 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6151 (_update_title_on_selector_changed_cb), (requires_done_button),
6152 (_hildon_picker_dialog_set_selector),
6153 (hildon_picker_dialog_set_selector),
6154 (hildon_picker_dialog_get_selector):
6155 * src/hildon-picker-dialog.h:
6156 * src/hildon-time-button.c: (hildon_time_button_init),
6157 (hildon_time_button_get_time), (hildon_time_button_set_time):
6158 * src/hildon-time-selector.c: (hildon_time_selector_init),
6159 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6160 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6161 * src/hildon-time-selector.h:
6164 Massive code updates after the rename.
6166 * src/hildon-touch-picker.c: Removed.
6167 * src/hildon-touch-picker.h: Removed.
6169 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6170 (hildon_touch_selector_init), (hildon_touch_selector_map),
6171 (hildon_touch_selector_remove), (_default_print_func),
6172 (_selection_changed_cb), (_create_new_column),
6173 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6174 (hildon_touch_selector_append_text_column),
6175 (hildon_touch_selector_remove_column),
6176 (hildon_touch_selector_set_column_attributes),
6177 (hildon_touch_selector_insert_column),
6178 (hildon_touch_selector_get_num_columns),
6179 (hildon_touch_selector_get_column_selection_mode),
6180 (hildon_touch_selector_set_column_selection_mode),
6181 (hildon_touch_selector_set_print_func),
6182 (hildon_touch_selector_get_print_func),
6183 (hildon_touch_selector_get_active_iter),
6184 (hildon_touch_selector_set_active_iter),
6185 (hildon_touch_selector_get_selected_rows),
6186 (hildon_touch_selector_get_model),
6187 (hildon_touch_selector_set_model),
6188 (hildon_touch_selector_get_current_text),
6189 (_hildon_touch_selector_center_on_selected_items):
6190 * src/hildon-touch-selector.h: Renamed from
6191 hildon-touch-picker.[ch]
6193 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6194 references, code examples, and related documentation.
6196 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6198 * doc/hildon-docs.sgml
6201 * src/hildon-toggle-button.c
6202 * src/hildon-toggle-button.h
6203 * src/hildon.h: New HildonToggleButton widget.
6205 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6207 * src/hildon-button.c: Add API documentation.
6208 (hildon_button_set_size_groups): Check input parameters
6210 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6212 * src/hildon-pannable-area.c
6213 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6214 effect after reaching the movement thredshold. This way we start
6215 using the distance after passing the thredshold.
6217 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6219 * src/hildon-button.c: (hildon_button_set_property): Use the
6220 appropriate g_value_get_flags() method.
6222 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6224 * doc/hildon-docs.sgml:
6227 Add the touch pickers, picker dialogs, and picker button widgets
6228 to the documentation.
6230 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6232 * src/hildon-button.c: (hildon_button_set_property),
6233 (hildon_button_class_init): Make "arrangement-flags" a proper
6234 G_TYPE_FLAGS derived property.
6236 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6238 * examples/Makefile.am: Add below examples.
6239 * examples/hildon-date-button-example.c:
6240 * examples/hildon-picker-button-example.c:
6241 * examples/hildon-picker-button-multicolumn-example.c:
6242 * examples/hildon-time-button-example.c:
6243 * examples/hildon-touch-picker-example.c:
6245 Add examples for the recently added touch pickers,
6246 picker dialogs, and picker button widgets.
6248 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6250 * src/hildon-button.c: Add some API documentation
6252 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6254 * src/hildon-button.h
6255 * src/hildon-button.c
6257 (hildon_button_new_with_text): New constructor to create a button
6258 with no text at all.
6259 (hildon_button_init, hildon_button_set_arrangement)
6260 (hildon_button_set_title, hildon_button_set_value)
6261 (hildon_button_set_text)
6262 (hildon_button_construct_child): Hide the value when it's not used
6263 so the rest of the text is properly aligned.
6264 Allow creating buttons with arbitrary widgets inside (not just
6265 title/value labels).
6267 * examples/hildon-button-example.c (vertical_buttons_window)
6268 (horizontal_buttons_window): Update example to use new API.
6270 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6272 * src/Makefile.am: Added HildonTimeButton.
6273 * src/hildon-time-button.c: Added missing LGPL header.
6274 * src/hildon-time-button.h: Added missing LGPL header.
6275 * src/hildon.h: Add hildon-time-button.h
6277 Copied HildonTimeButton from sandbox to trunk. Future work on this
6278 widget must take place in trunk.
6280 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6282 * src/Makefile.am: Added HildonDateButton.
6283 * src/hildon-date-button.c: Update includes.
6284 * src/hildon.h: Add hildon-date-button.h
6286 Copied HildonDateButton from sandbox to trunk. Future work on this
6287 widget must take place in trunk.
6289 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6291 * src/Makefile.am: Added HildonPickerButton.
6292 * src/hildon-picker-button.h: Update includes.
6293 * src/hildon.h: Add hildon-picker-button.h
6295 Copied HildonPickerButton from sandbox to trunk. Future work on
6296 this widget must take place in trunk.
6298 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6300 * src/Makefile.am: Added HildonPickerDialog.
6301 * src/hildon-picker-dialog.c: Update includes.
6302 * src/hildon.h: Add hildon-picker-dialog.h
6304 Copied HildonPickerDialog from sandbox to trunk. Future work
6305 on this widget must take place in trunk.
6307 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6309 * src/Makefile.am: Added HildonTimeSelector.
6310 * src/hildon.h: Add hildon-time-selector.h
6312 Copied HildonTimeSelector widget from sandbox to trunk. Future
6313 work on this widget must happen in trunk.
6315 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6317 * src/Makefile.am: Added HildonDateSelector.
6318 * src/hildon.h: Add hildon-date-selector.h
6320 Copied HildonDateSelector widget from sandbox to trunk. Future
6321 work on this widget must happen in trunk.
6323 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6325 * src/Makefile.am: Added HildonTouchPicker.
6326 * src/hildon-touch-picker.c: Update includes.
6327 * src/hildon.h: Add hildon-touch-picker.h
6329 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6330 on this widget must happen in trunk.
6332 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6334 * src/hildon-pannable-area.c:
6335 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6337 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6339 * examples/hildon-app-menu-example.c (main): Let the window
6342 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6344 * src/hildon-pannable-area.c
6345 (hildon_pannable_area_class_init): Set the min value of the
6346 overshoot properties to zero, which points out that not
6347 overshooting allowed.
6349 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6351 Modified the procedure to get the widget at a point inside the
6352 pannable area when using the movement type signals. Now the user
6353 has to call a function to get the child, that way we just
6354 calculate the child in case the user really want to use it and not
6357 * src/hildon-marshalers.list: Modified the marshallers, now we do
6358 not have the widget as a parameter.
6360 * src/hildon-pannable-area.c
6361 (hildon_pannable_area_motion_notify_cb),
6362 (hildon_pannable_area_class_init),
6363 (hildon_pannable_get_child_widget_at): Removed the widget
6364 parameter from the signal callback. We have also refactored the
6365 emission of the signals.
6367 * src/hildon-pannable-area.h: Added a new method to the API to
6368 calculate a widget at a point inside the pannable area,
6369 hildon_pannable_get_child_widget_at.
6371 * examples/hildon-pannable-area-example-4.c
6372 (horizontal_movement): Modified the example to use the new API,
6373 added condition to control which widget is under the event. This
6374 way we can avoid scrolling laterally over other widgets.
6376 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6378 * src/hildon-pannable-area.c
6379 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6380 modes, we stop getting the pointer events due to returning the
6381 callback without properly calling the get pointer again. Fixed
6382 also an error using the hscroll and vscroll.
6384 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6386 * src/hildon-app-menu-private.h
6387 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6388 (hildon_app_menu_button_release, hildon_app_menu_init)
6389 (hildon_app_menu_class_init): Don't hide the menu on button
6390 release if the user didn't press outside first.
6392 * src/hildon-window.h
6393 * src/hildon-window.c (hildon_window_toggle_menu)
6394 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6395 hildon_window_toggle_menu a virtual function for the stackable
6396 window to override it.
6398 * src/hildon-stackable-window.h
6399 * src/hildon-stackable-window-private.h
6400 * src/hildon-stackable-window.c
6401 (hildon_stackable_window_realize)
6402 (hildon_stackable_window_finalize)
6403 (hildon_stackable_window_class_init)
6404 (hildon_stackable_window_init)
6405 (hildon_stackable_window_set_main_menu): New function to set the
6406 app menu of a HildonStackableWindow.
6408 * examples/hildon-app-menu-example.c: Remove the button to show
6409 the app menu, now it'll be shown when clicking on the title bar
6412 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6414 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6415 set the widget name if the arrangement flags do not specify
6418 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6420 * src/hildon-button.c: (hildon_button_set_property),
6421 (hildon_button_class_init), (hildon_button_new_full),
6422 (hildon_button_set_arrangement): Added "arrangement-flags"
6425 Make the HildonButtonFlags a construction-only property, to allow
6426 subclasses to set them properly.
6428 2008-07-21 Tim Janik <timj@imendio.com>
6430 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6431 insertion position after backspace, so additional digits are appended,
6434 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6436 * src/hildon-pannable-area.c,
6437 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6438 TODO list, it was complete and removed the g_debug and g_print
6441 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6443 Added the movement modes to the hildon-pannable-area, with this
6444 modes the developers can control in which directions the widget
6445 can scroll. They can also connect to signals in order to do
6446 something when that happens, allowing applications scroll. There
6447 is an example uploaded showing how to use it.
6449 * examples/Makefile.am:
6450 * examples/hildon-pannable-area-example-4.c: Added this example of
6451 an application using the modes.
6453 * src/hildon-marshalers.list: Added a new marshaller for the new
6456 * src/hildon-pannable-area.h: Added new enumerations and flags in
6457 order to control the movement modes and the new signals to warn
6458 about the movements in the area.
6460 * src/hildon-pannable-area.c:
6461 (hildon_pannable_axis_scroll),
6462 (hildon_pannable_area_scroll),
6463 (hildon_pannable_area_motion_notify_cb),
6464 (hildon_pannable_area_get_property),
6465 (hildon_pannable_area_set_property),
6466 (hildon_pannable_area_map),
6467 (hildon_pannable_area_class_init),
6468 (hildon_pannable_area_init),
6469 (hildon_pannable_area_jump_to): Added the modes to control the
6470 movement in the widget. We have added properties to control it,
6471 signals to warn about the movements and refactored some code.
6473 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6475 Changes required in order to allow vfast_factor set to zero to
6478 * src/hildon-pannable-area.c:
6479 (hildon_pannable_area_button_press_cb): Changed the condition, it
6480 is required for not allowing click when vfast_factor is zero.
6481 (hildon_pannable_area_timeout): Initialized velocity variables
6482 when we stop moving, it was less than 1 but not zero and we need
6483 to check zero in some situations.
6484 (hildon_pannable_area_class_init): Changed the default value of
6485 the speed factor, now the button_press is just sent in case the
6486 speed is 2 per cent of the max speed.
6487 (hildon_pannable_area_init): Initialization with 0.
6489 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6491 * src/hildon-pannable-area.c,
6492 (hildon_pannable_area_get_topmost): replaced
6493 gdk_window_get_children with gdk_window_peek_children, this way we
6494 do not have to free the list because it is not a copy.
6496 (hildon_pannable_axis_scroll),
6497 (hildon_pannable_area_scroll),
6498 (hildon_pannable_area_timeout),
6499 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6500 two parameters that were only used inside the
6501 hildon_pannable_area_scroll function.
6503 * examples/hildon-pannable-area-example.c,
6504 (get_sawtooth_label): Fixed small memory leak.
6506 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6508 More checks for the case where the overshoot is bigger than the
6511 * src/hildon-pannable-area.c:
6512 (hildon_pannable_draw_vscroll),
6513 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6514 to draw the slider of the scrollbar under the other scrollbar.
6515 (hildon_pannable_area_expose_event): added new checks to control
6516 the drawing of the overshooting area rectangle, in case it is too
6517 big for the area of the widget.
6518 (hildon_pannable_area_size_allocate): add more checks to avoid
6519 setting a position to the child widget outside the area.
6521 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6523 * src/hildon-pannable-area.c
6524 (hildon_pannable_area_size_allocate): Added conditions to control
6525 when overshooting is bigger than the allocated space for the
6526 children, this avoids negative allocations.
6528 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6530 * doc/hildon-docs.sgml
6532 * examples/Makefile.am
6533 * examples/hildon-button-example.c
6535 * src/hildon-button.c
6536 * src/hildon-button.h
6537 * src/hildon.h: Initial version of the new HildonButton widget,
6540 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6542 * src/hildon-pannable-area.c:
6543 (hildon_pannable_area_button_press_cb),
6544 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6545 (hildon_pannable_area_motion_notify_cb),
6546 (hildon_pannable_area_button_release_cb),
6547 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6548 (hildon_pannable_area_jump_to_child):
6550 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6552 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6554 * examples/Makefile.am
6555 * examples/hildon-pannable-area-touch-grid-example.c
6556 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6557 the Hildon Touch List and Hildon Touch Grid using the
6558 HildonPannableArea widget.
6560 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6562 * src/hildon-pannable-area.c,
6563 (hildon_pannable_area_button_press_cb),
6564 (hildon_pannable_area_refresh),
6565 (hildon_pannable_area_scroll),
6566 (hildon_pannable_area_motion_notify_cb),
6567 (hildon_pannable_area_button_release_cb),
6568 (hildon_pannable_area_expose_event),
6569 (hildon_pannable_area_add),
6570 (hildon_pannable_area_remove),
6571 (hildon_pannable_area_realize),
6572 (hildon_pannable_area_size_allocate),
6573 (hildon_pannable_area_class_init),
6574 (hildon_pannable_area_init),
6575 (hildon_pannable_area_scroll_to_child),
6576 (hildon_pannable_area_jump_to_child): Fixed the problem of
6577 removing the child from the GtkBin, we have rearranged the widget
6578 hierarchy, now there is no GtkAlignment which was not doing
6579 anything interesting but breaking some of the assumptions of
6580 GtkContainer. Now developers if they want to add a GtkAlignment
6581 they could, but it is not inside the area.
6583 We had to review the whole allocation/expose process, now it is
6584 improved and we save at least three signals which would be saving
6585 some time when rendering the widget. The allocation of the
6586 scrollbars is now made in the allocate method as usual.
6588 We have also added some conditions in order to control when there
6589 is no child of the pannable area. Maybe we will need more work
6592 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6594 * src/hildon-pannable-area.c,
6595 (hildon_pannable_area_dispose): Released the fade-out timeout when
6596 disposing the widget.
6598 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6600 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6601 zero, we are going to use that property in order to deactivate the
6603 (hildon_pannable_axis_scroll),
6604 (hildon_pannable_area_size_allocate): Added conditions to control
6605 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6606 call, now it is called in all situations and we can remove calls
6607 in the allocate method.
6608 (hildon_pannable_area_map): Control the situation when
6609 overshoot_max is zero, we do not need the timeout.
6610 (hildon_pannable_area_class_init): Added documentation in order to
6611 point out that setting zero to overshoot_max means deactivate
6614 NOTE: removed trailing whitespaces from my previous comments of
6617 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6619 * src/hildon-pannable-area.c
6620 (hildon_pannable_area_get_property),
6621 (hildon_pannable_area_set_property),
6622 (hildon_pannable_area_map),
6623 (hildon_pannable_area_class_init),
6624 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6625 to cause the widget give a hint about its panning abilities upon
6628 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6630 * src/hildon-pannable-area.c: Several documentation improvements.
6632 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6634 * src/hildon-program.c
6635 * src/hildon-stackable-window.c: Update documentation.
6637 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6639 * src/hildon-stackable-window.c (get_previous_window_if_last):
6640 Renamed get_last_window()
6641 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6642 (hildon_stackable_window_unset_program):
6644 (get_previous_window_if_last):
6645 Detect if the window hasn't been added to a HildonProgram.
6647 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6649 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6651 * src/hildon-pannable-area.c
6652 (hildon_pannable_area_button_press_cb),
6653 (hildon_pannable_axis_scroll),
6654 (hildon_pannable_area_scroll),
6655 (hildon_pannable_area_timeout),
6656 (hildon_pannable_calculate_vel_factor),
6657 (hildon_pannable_area_get_property),
6658 (hildon_pannable_area_set_property),
6659 (hildon_pannable_area_class_init),
6660 (hildon_pannable_area_init),
6661 (hildon_pannable_area_scroll_to),
6662 (hildon_pannable_area_jump_to),
6663 (hildon_pannable_area_scroll_to_child),
6664 (hildon_pannable_area_jump_to_child):
6665 * src/hildon-pannable-area.h: Added the new API functions:
6666 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6667 hildon_pannable_area_scroll_to_child,
6668 hildon_pannable_area_jump_to_child
6671 * examples/Makefile.am
6672 * examples/hildon-pannable-area-example-2.c
6673 * examples/hildon-pannable-area-example-3.c: Added these two new
6674 examples in order to test and show how the new APIs work.
6676 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6678 * examples/hildon-stackable-window-example.c (new_window):
6679 * src/Makefile.am (noinst_HEADERS):
6680 * src/hildon-program.c (hildon_program_go_to_root_window):
6681 * src/hildon-program.h:
6682 * src/hildon-stackable-window-private.h:
6683 * src/hildon-stackable-window.c:
6684 * src/hildon-stackable-window.h:
6685 Create hildon-stackable-window-private.h
6686 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6688 * examples/hildon-app-menu-example.c (create_menu):
6689 * examples/hildon-hvolumebar-insensitive-example.c (main):
6690 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6691 * examples/hildon-toolbar-seekbar-example.c (main):
6692 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6693 * src/hildon-banner.c (hildon_banner_set_property):
6694 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6695 Fix compilation warnings
6697 * src/hildon-window.c:
6700 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6702 * src/hildon-stackable-window.c
6703 (hildon_stackable_window_unset_program):
6704 Calculate correctly whether to show the previous window if the
6705 last one is removed from the stack.
6706 (hildon_stackable_window_go_to_root_window):
6707 Send delete events starting from the topmost window.
6708 Stop if one of the windows is not destroyed.
6710 (hildon_stackable_window_delete_event)
6711 (hildon_stackable_window_class_init):
6712 Ignore the delete event if the window is not the topmost one.
6714 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6716 * src/hildon-pannable-area.c
6717 (hildon_pannable_area_expose_event): Fixed a problem when
6718 selecting the background color of the scrollbars.
6720 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6722 * examples/hildon-stackable-window-example.c
6723 * src/hildon-stackable-window.c
6724 * src/hildon-stackable-window.h
6725 hildon_stackable_window_go_home() renamed to
6726 hildon_stackable_window_go_to_root_window()
6727 Send delete events to windows rather than closing them with
6728 gtk_widget_destroy()
6730 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6732 * src/hildon-pannable-area.c
6733 (hildon_pannable_area_button_release_cb): Fix overshooting in
6736 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6738 * src/hildon-pannable-area.c
6739 (hildon_pannable_area_init): Initially show the scroll indicators.
6740 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6742 Add initial effect showing the widget is pannable.
6744 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6746 * src/hildon-pannable-area.c
6747 (hildon_pannable_area_class_init)
6748 (hildon_pannable_area_set_property)
6749 (hildon_pannable_area_get_property)
6750 (hildon_pannable_area_button_press_cb):
6751 New 'velocity_fast_factor' property to decide which velocity is
6754 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6756 * src/hildon-pannable-area.c
6757 (hildon_pannable_draw_hscroll)
6758 (hildon_pannable_draw_vscroll):
6759 Use float variables to calculate the size of the scrollbars to
6760 avoid error propagation and resizing during scrolling.
6762 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6764 * src/hildon-pannable-area.c
6765 (hildon_pannable_draw_vscroll)
6766 (hildon_pannable_draw_hscroll):
6767 Define a minimum size for the scroll bars
6769 * src/hildon-stackable-window.c
6770 (hildon_stackable_window_go_home): Fix compilation warning
6771 (get_last_window): Minor optimizations
6772 (hildon_stackable_window_class_init): Fix initialization of
6775 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6777 * src/hildon-stackable-window.c: Fixed typos in doc
6779 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6781 * src/hildon-pannable-area.c
6782 (hildon_pannable_area_scroll):
6783 Calculate here whether we need to scroll instead of using the booleans
6784 that tell us whether to /draw/ the scrolling bars.
6786 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6788 * src/hildon-app-menu.h
6790 * src/hildon-app-menu.c
6791 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6792 multiple filter groups related code and API. Now we support only
6794 * examples/hildon-app-menu-example.c:
6796 Update to reflect API changes.
6798 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6800 * src/hildon-stackable-window.c
6801 (hildon_stackable_window_class_init):
6802 Add hildon_stackable_window_realize.
6803 (hildon_stackable_window_realize):
6804 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6805 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6806 to apply theming and behavior specific to HildonStackableWindow
6809 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6811 * src/hildon-note.c (hildon_note_button_release):
6812 Close information notes also when tapping on them
6814 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6816 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6817 ELASTICITY, refactor and review, fix some issues with drawing
6820 * src/hildon-pannable-area.c:
6821 (hildon_pannable_area_button_press_cb): removed the conditions to
6822 avoid clicks when overshooting. It is not required
6824 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6825 define. Refatored and reviewed the code, now we do not need to
6826 manage velocity in motion_notify.
6828 (hildon_pannable_area_motion_notify_cb): We have moved the code
6829 that controls the area_scroll to the axis_scroll function and get
6830 rid of duplicated code.
6832 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6834 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6836 (hildon_pannable_draw_vscroll),
6837 (hildon_pannable_draw_hscroll): Fixed the problems with the
6838 scrollbar drawing, now we do not use two surfaces, it is easier
6839 and saves resources.
6841 (hildon_pannable_area_get_property): Style modification.
6843 (hildon_pannable_area_class_init): Changed some default values.
6845 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6847 * src/hildon-stackable-window.c: Fix some typos in the
6850 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6852 * src/hildon-dialog.c:
6853 Change indentation style
6856 (hildon_note_button_release):
6857 Use root coordinates to check if the release event happened
6860 * src/hildon-app-menu.c
6861 (hildon_app_menu_button_release):
6862 Remove unnecessary check
6864 * examples/hildon-app-menu-example.c
6866 Add cast to fix warning
6868 * src/hildon-app-menu.c
6869 (hildon_app_menu_class_init):
6870 New inner-border style property.
6871 Set all default spacings to 16
6872 (hildon_app_menu_init):
6873 Use vertical-spacing to set the space between filter buttons and
6874 regular menu buttons.
6875 Set the default container border using the inner-border value.
6877 * examples/hildon-app-menu-example.c
6879 Don't set the menu border explicitly, now we have the inner-border
6880 style property for that.
6882 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6884 * src/hildon-app-menu.c (hildon_app_menu_init):
6885 Make the window modal
6887 * src/hildon-note.c (hildon_note_map)
6888 * src/hildon-app-menu.c (hildon_app_menu_map):
6889 Destroy the grab window if we're unable to grab the pointer
6891 * src/hildon-app-menu-private.h
6892 * src/hildon-app-menu.c
6893 (hildon_app_menu_init, hildon_app_menu_finalize)
6894 (hildon_app_menu_map, hildon_app_menu_unmap)
6895 (hildon_app_menu_button_release)
6896 (grab_transfer_window_get):
6897 Bring back the grab window
6898 (hildon_app_menu_realize):
6899 Decorate the window, set WM hint for Matchbox
6901 * src/hildon-note.c (hildon_note_realize):
6902 * src/hildon-banner.c (hildon_banner_realize):
6903 Add WM hints for Matchbox
6905 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6907 * src/hildon-app-menu-private.h
6908 * src/hildon-app-menu.c
6909 (hildon_app_menu_init, hildon_app_menu_finalize)
6910 (hildon_app_menu_map, hildon_app_menu_unmap)
6911 (hildon_app_menu_button_release):
6912 Remove the grab window, it's not needed anymore
6914 * src/hildon-program.c
6915 Fixed typo in documentation
6917 * src/hildon-app-menu.h
6918 * src/hildon-app-menu.c
6919 * examples/hildon-app-menu-example.c
6920 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6922 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6925 Added new transfer_window and close_if_pressed_outside private
6927 (hildon_note_rebuild):
6928 Don't add a cancel button to the information note. It will be
6929 closed when tapping outside
6930 Remove the comment about the OK button in the documentation
6931 (hildon_note_realize):
6932 Set the notification type hint
6933 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6934 Grab/ungrab pointer and keyboard if the note has to be closed when
6936 (hildon_note_button_release):
6937 Close the note when tapping outside (if applicable)
6939 * src/hildon-app-menu.c
6940 Grab/ungrab pointer and keyboard on map/unmap
6941 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6942 Close the menu on button release, not button press
6944 * src/hildon-banner.c
6945 (hildon_banner_set_property)
6946 (hildon_banner_check_position):
6947 Make the banner use the full width of the screen
6948 (hildon_banner_show_information)
6949 (hildon_banner_show_information_with_markup):
6950 Don't display an icon by default
6952 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6954 Added fading scrollbars and adapted all the overshooting code to
6955 horizontal scrolling. We have also fixed bugs with overshooting
6956 and current fading implementation.
6958 * src/hildon-pannable-area.c
6959 (hildon_pannable_area_scroll_indicator_fade): Time out function
6960 used to change the transparency of the scrollbars.
6962 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6963 control and fixed a problem with fading, we now remove the fade
6964 timeout before adding a new one.
6966 (hildon_pannable_axis_scroll):
6967 (hildon_pannable_area_scroll):
6968 (hildon_pannable_area_timeout): Added this functions so we can use
6969 the scroll code both for vertical and horizontal.
6971 (hildon_pannable_area_motion_notify_cb):
6972 (hildon_pannable_area_button_release_cb): Added the horizontal
6973 scrolling control, fixed a problem with the overshooting timeout.
6975 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6976 painting of the scrolls.
6978 (hildon_pannable_draw_vscroll):
6979 (hildon_pannable_draw_hscroll):
6980 (hildon_pannable_area_expose_event):
6981 Draw both scrollbars and rectangles in the overshooting area.
6983 (hildon_pannable_area_get_property):
6984 (hildon_pannable_area_set_property):
6985 Modified the overshoot property to overshoot_max
6987 (hildon_pannable_area_map):
6988 Replaced the comments symbols.
6990 (hildon_pannable_area_size_allocate):
6991 (hildon_pannable_area_class_init):
6992 (hildon_pannable_area_init): Added horizontal scroll, fading
6993 effect properties, fixed a problem when overshooting in the bottom
6996 * examples/hildon-pannable-area-example.c:
6997 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6998 looks better in the example.
7000 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7002 * src/hildon-window.c
7003 * src/hildon-window.h
7004 (hildon_window_class_init)
7005 (hildon_window_unset_program)
7006 (hildon_window_unset_program_real):
7007 Make unset_program a virtual function
7009 * src/hildon-stackable-window.c
7010 * src/hildon-stackable-window.h
7011 Added hildon_stackable_window_go_home()
7013 * examples/Makefile.am
7014 * examples/hildon-stackable-window-example.c
7015 HildonStackableWindow example
7017 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7019 * hildon-pannable-area.c: Added the overshoot property and removed
7020 the OVERSHOOT define. Fixed an indent style error.
7021 (hildon_pannable_area_motion_notify_cb):
7022 (hildon_pannable_area_get_property):
7023 (hildon_pannable_area_set_property): Add overshoot property.
7025 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7028 (hildon_pannable_area_class_init): Installed the new property.
7030 * hildon-pannable-area-example.c: Added a sawtooth function, this
7031 way it is easier to check the movement in the pannable.
7032 (get_sawtooth_label): Added this function.
7033 (main): Now we get the labels from the new get_sawtooth_label
7036 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7038 * src/hildon-app-menu.h
7039 * src/hildon-app-menu.c
7040 Renamed API variables for consistency
7042 (hildon_app_menu_popup): Use also the default window size to
7043 decide where to place the menu
7045 (hildon_app_menu_init, hildon_app_menu_class_init): New
7046 external-border style property
7048 2008-05-26 Michael Natterer <mitch@imendio.com>
7050 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7051 widget_class->tap_and_hold_setup signal slot doesn't exist any
7052 longer, stop overriding it.
7054 (hildon_time_editor_init): g_signal_connect() to the
7055 tap-and-hold-setup signal instead.
7057 (hildon_time_editor_entry_keypress): add cast to fix warning.
7059 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7061 * doc/hildon-docs.sgml
7063 * examples/Makefile.am
7064 * examples/hildon-app-menu-example.c
7066 * src/hildon-app-menu-private.h
7067 * src/hildon-app-menu.c
7068 * src/hildon-app-menu.h
7070 New HildonAppMenu widget
7072 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7074 Rearranged the inheritance of the pannable area, now it inherits
7075 from GtkBin. This will allow us to control the event_window and
7076 the allocation process of the widget, required for some effects.
7078 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7079 GtkBin structures. * src/hildon-pannable-area.c: Added the
7080 event_window variable.
7081 (hildon_pannable_area_button_press_cb):
7082 (hildon_pannable_area_button_release_cb):
7083 (hildon_pannable_area_motion_notify_cb):
7084 Changed the signature of the method, now we override the event
7085 callback instead of connecting to the signal.
7087 (hildon_pannable_area_realize):
7088 (hildon_pannable_area_unrealize):
7089 (hildon_pannable_area_map):
7090 (hildon_pannable_area_unmap):
7091 (hildon_pannable_area_size_allocate):
7092 Added functions to control the widget construction. We add a
7093 INPUT_ONLY window and we put it over the widgets inside the
7094 container, this event_window handles the events.
7096 (hildon_pannable_area_class_init):
7097 Replaced the signal connections with overrides of the event
7100 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7102 Bouncing effect added when touching the borders, you can change
7103 the elasticity of the border changing the ELASTICITY define.
7105 * src/hildon-pannable-area.c: Added ELASTICITY define.
7106 (hildon_pannable_area_timeout): Added inverse velocity when
7107 touching the border of the child widget, that causes a bounce.
7109 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7111 Improved performance, we now do not go to the X server in order to
7112 get the list of window children. Apparently the effect is the
7113 same, we have to be careful and check if this breaks something in
7116 * src/hildon-pannable-area.c:
7117 (get_ordered_children): Removed this function.
7118 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7119 the children windows function with gdk_window_get_children.
7121 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7123 * src/hildon-pannable-area.c:
7124 (hildon_pannable_area_dispose): Fixed a crash when closing the
7125 window and kinetics is activated.
7127 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7129 * src/hildon-pannable-area.h
7130 * src/hildon-pannable-area.c
7131 Changed indentation style to meet the one used in Hildon
7133 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7135 Reviewed the interaction of the AUTO mode, now we use the time
7136 attribute of the events and calculate the velocity in the motion,
7137 doing a gimp like calculation. The velocity is calculated in each
7138 motion event using the last velocity and the current one, the
7139 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7141 * src/hildon-pannable-area.c: Replaced the time based algorithm
7143 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7144 timeout for the AUTO mode when we are still moving the cursor. We
7145 added also the velocity calculation in this function.
7146 (hildon_pannable_area_button_release_cb): launch the timeout in
7147 case we are in AUTO mode. There are still some constants here that
7148 come from the old implementation that should be reviewed and
7151 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7153 * doc/hildon-docs.sgml
7156 * src/hildon-stackable-window.c
7157 * src/hildon-stackable-window.h
7159 New HildonStackableWindow widget
7161 * examples/hildon-dialog-example.c
7162 * examples/hildon-pannable-area-example.c
7165 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7167 * src/hildon-dialog.c
7168 (hildon_dialog_new_with_buttons): New constructor.
7170 * examples/hildon-dialog-example.c
7171 (main): Update the example to use the new
7172 hildon_dialog_new_with_buttons().
7174 * examples/hildon-pannable-area-example.c
7175 (main): Update example.
7177 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7179 * doc/hildon-docs.sgml
7181 Added HildonPannableArea to the documentation.
7183 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7185 * doc/visual_index.xml
7186 Fix reference to HildonLoginDialog in documentation
7188 * doc/hildon-docs.sgml
7190 * examples/Makefile.am
7191 * examples/hildon-dialog-example.c
7193 * src/hildon-dialog.c
7194 * src/hildon-dialog.h
7196 New HildonDialog widget.
7198 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7200 * src/hildon-pannable-area.c
7201 Merge latest changes (r4318, r4342) from libmokoui trunk
7203 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7205 * examples/Makefile.am
7206 * examples/hildon-pannable-area-example.c
7208 * src/hildon-pannable-area.c
7209 * src/hildon-pannable-area.h
7211 New HildonPannableArea widget.
7213 2008-04-15 18:05:19 <timj@imendio.com>
7215 * src/hildon-banner.c: revert the recent change, that introduced
7216 gtk_window_present() calls. this reopens:
7217 Bug 78481 - [freetest] information banners are hidden under browser menu
7218 But resolves another variant of:
7219 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7221 2008-04-15 13:21:13 <timj@imendio.com>
7223 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7224 recreated its layout, spotted by Kris. this fixes all remaining
7225 artefacts and stability issues with the banner code. in particular:
7226 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7228 2008-04-14 16:52:59 <timj@imendio.com>
7230 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7231 operating on unrealized widgets, fixes:
7232 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7234 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7236 2008-04-09 Kristian Rietveld <kris@imendio.com>
7238 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7239 makes banner disappear.
7240 Fixes: NB#79182: info banner flickering with certain message lengts.
7242 * src/hildon-banner.c (hildon_banner_constructor),
7243 (hildon_banner_init), (hildon_banner_set_text),
7244 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7245 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7246 FALSE, reset size requests of label and banner,
7247 (force_to_wrap_truncated): when the text is too wide, always enforce
7248 the maximum possible width instead of recalculating it from the
7249 layout; enforce the maximum banner height of 3 lines,
7250 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7251 nicer wrapping and no truncated chars if space gets tight.
7253 * src/hildon-banner-private.h: add has_been_wrapped and
7254 has_been_truncated fields.
7256 2008-04-07 Sven Herzberg <sven@imendio.com>
7258 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7259 local values in hildon_date_editor_size_allocate
7261 * src/hildon-date-editor.c: moved the real allocation code into the
7264 2008-04-07 Sven Herzberg <sven@imendio.com>
7266 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7267 local values in hildon_date_editor_size_allocate
7269 * src/hildon-date-editor.c: merged the two if() branches together
7271 2008-04-07 Sven Herzberg <sven@imendio.com>
7273 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7274 local values in hildon_date_editor_size_allocate
7276 * src/hildon-date-editor.c: changed the arguments of the if()
7279 2008-04-07 Sven Herzberg <sven@imendio.com>
7281 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7282 local values in hildon_date_editor_size_allocate
7284 * src/hildon-date-editor.c: split the calculation of the allocation
7285 from the real allocation
7287 2008-03-27 Michael Natterer <mitch@imendio.com>
7289 Fixes: NB#81696: The passcode is not overwritten even after
7292 * src/hildon-code-dialog.c
7293 (hildon_code_dialog_button_clicked)
7294 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7295 because that doesn't overwrite selected text. Instead, emit the
7296 "commit" signal on the entry's im_context so the entry's normal
7297 insert logic is triggered. Set the cursor to the end of the entry
7298 after each insert operation so that we *only* insert in the middle
7299 of the text if something was selected.
7301 2008-03-27 Michael Natterer <mitch@imendio.com>
7303 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7304 selector cannot be opened
7306 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7307 when the popup color selector is created. Please connect to this
7308 signal in order to set the dialog's help ID.
7310 2008-03-25 Sven Herzberg <sven@imendio.com>
7312 Fixes: MB#1212: Hide info banners (infoprints) on click
7314 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7315 extracted the close event simulation into an extra function
7316 (hildon_banner_button_press_event): simulate a close event and destroy
7317 the widget if the event wasn't handled
7318 (hildon_banner_class_init): added the button_press_event handler
7319 (hildon_banner_init): added button-press events to the widget
7321 2008-03-25 Sven Herzberg <sven@imendio.com>
7323 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7324 Patch from: Mohammad Anwari <mdamt@maemo.org>
7326 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7327 instead of the right in RTL mode
7328 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7329 breadcrumb button list in RTL mode
7330 * src/hildon-caption.c: mirror the appearance of the caption widget in
7332 * src/hildon-date-editor.c: mirror appearance of the date editor in
7334 * src/hildon-time-editor.c: mirror appearance of the time editor in
7336 * src/hildon-window.c: fix the position of the popup in RTL mode
7338 2008-03-25 Sven Herzberg <sven@imendio.com>
7340 Amendment to the fix of NB#22072. Fix compilation.
7342 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7344 2008-03-19 Sven Herzberg <sven@imendio.com>
7346 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7349 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7350 timeout id properly when the timeout will disappear this leaves no
7351 artifacts around in the destroy(); there will only be the timeout
7352 created by hildon_banner_ensure_timeout() and adding a new timeout
7353 will also work if the timeout gets removed because the timeout_handler
7356 2008-03-19 Michael Natterer <mitch@imendio.com>
7358 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7360 * src/hildon-volumebar.c
7361 * src/hildon-vvolumebar.c
7362 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7363 the widget becomes focussable at all.
7365 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7366 set the focus to wither the mute button or the volumebar.
7368 Remove own "can-focus" property and instead listen to
7369 notify::can-focus in order to update the widget's state.
7371 Implement GtkWidget::focus() and make sure we can also *leave* the
7372 widget, not only enter it, depending on volumebar orientation and
7373 requested focus direction.
7375 Clean up set_mute() to cooperate nicely with all the above.
7377 2008-03-04 Michael Natterer <mitch@imendio.com>
7379 Fixes: NB#78481: information banners are hidden under browser menu
7381 * src/hildon-banner.c: call gtk_window_present() on the banners so
7382 they are risen if they are already visible.
7384 2008-03-03 Sven Herzberg <sven@imendio.com>
7386 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7388 * examples/hildon-window-menu-example.c: (main): extended the window
7389 menu example to serve as a testcase for automatically added
7390 accelerator groups, too
7391 * src/hildon-window.c: (hildon_window_add_accel_group),
7392 (hildon_window_set_menu): added patch by Tommi Komulainen
7394 2008-03-03 Sven Herzberg <sven@imendio.com>
7396 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7398 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7399 knowledge about the border allocators used within GTK+
7401 2008-02-26 Sven Herzberg <sven@imendio.com>
7403 Fixes: MB#2981: Build with asserts broken
7405 * src/hildon-date-editor.c,
7406 * src/hildon-number-editor.c,
7407 * src/hildon-time-editor.c,
7408 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7409 the proper GType instance check
7411 2008-02-25 Sven Herzberg <sven@imendio.com>
7413 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7415 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7416 * examples/hildon-window-menu-example.c: (main): explicitly show
7418 * src/hildon-window.c:
7419 (hildon_window_set_main_menu): moved most of the code from set_menu()
7420 to this place; skipped the call to gtk_widget_show_all(); also didn't
7421 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7422 (hildon_window_set_menu): removed most of the code, just keep the
7423 questionable gtk_widget_show_all()
7424 * src/hildon-window.h: added the new function and deprecate the old
7427 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7433 * debian/changelog: Updating.
7435 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7438 * pkgconfig/Makefile.am:
7439 * pkgconfig/hildon.pc.in:
7442 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7443 use newly created API_MAJOR_VERSION.
7445 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7451 * debian/changelog: Updating.
7453 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7455 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7457 Add outer_border style property, we use it but don't define it (!).
7461 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7463 * examples/hildon-bread-crumb-trail-example.c (main):
7467 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7469 Fix logic for the bread crumb trail node removal.
7473 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7479 * debian/changelog: Updating.
7481 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7483 Patch by Alejandro to get/set passwords dialogs accesibility.
7485 * hildon-1/src/hildon-get-password-dialog.c:
7486 * hildon-1/src/hildon-set-password-dialog.c:
7487 Set atk_set_name to the passwd entries in order to allow
7488 accessibility by name on this entries.
7490 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7495 * debian/control: Updating gtk dep.
7497 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7499 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7500 USE_MAEMO_GTK is enabled.
7502 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7504 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7505 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7507 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7513 * debian/changelog: Updating.
7515 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7517 * examples/Makefile.am:
7518 * examples/hildon-logical-color-example.c:
7519 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7520 applied + adding a test case. Fixes: NB#71660.
7522 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7524 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7525 to be visible, fixes warning on map for windows without toolbars.
7527 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7529 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7530 2.11.0, add a check for that besides the MAEMO_GTK check.
7532 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7538 * debian/changelog: Updating.
7540 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7542 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7543 visibility. Fixes: NB#70842 and MB#615.
7545 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7547 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7548 set the separator as no-show-all so it doesn't unintentionally appear when
7549 someone does a show_all.
7551 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7553 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7554 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7555 toplevel item. Fixes: NB#62031
7557 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7559 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7560 fix the name of the function in the docs.
7562 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7568 * debian/changelog: Updating.
7570 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7572 * examples/hildon-banner-long-example.c: Adding a test-case for long
7575 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7577 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7579 * src/hildon-color-chooser-dialog.c:
7580 * src/hildon-color-chooser.c:
7581 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7582 memory leaks in font selector and color selector. Fixes: NB#70499 and
7585 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7587 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7589 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7591 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7592 little bit bigger. Fixes: #NB63694.
7594 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7600 * debian/changelog: Updating.
7602 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7605 * doc/hildon-docs.sgml:
7606 * doc/images/bread-crumb-trail.png:
7607 * doc/images/calendar-popup.png:
7608 * doc/images/caption.png:
7609 * doc/images/code-dialog.png:
7610 * doc/images/color-button.png:
7611 * doc/images/color-chooser-dialog.png:
7612 * doc/images/color-chooser.png:
7613 * doc/images/controlbar.png:
7614 * doc/images/date-editor.png:
7615 * doc/images/font-selection-dialog.png:
7616 * doc/images/get-password-dialog.png:
7617 * doc/images/hvolumebar.png:
7618 * doc/images/login-dialog.png:
7619 * doc/images/note.png:
7620 * doc/images/number-editor.png:
7621 * doc/images/range-editor.png:
7622 * doc/images/seekbar.png:
7623 * doc/images/set-password-dialog.png:
7624 * doc/images/sort-dialog.png:
7625 * doc/images/time-editor.png:
7626 * doc/images/time-picker.png:
7627 * doc/images/vvolumebar.png:
7628 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7629 Adding the bread-crumb-trial and helpers to the documentation.
7631 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7633 * examples/hildon-find-toolbar-example.c:
7634 * src/hildon-find-toolbar.c:
7635 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7636 actually continue firing the other handlers if connected. Adding a new
7638 hildon_find_toolbar_get_last_index that gets the index of the most
7639 recently added (last) item. Fixes: NB#52301.
7641 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7643 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7644 behaviour. Fixes: NB#68610.
7646 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7648 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7651 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7653 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7654 when realizing the banner. Should make the infonbanner effect a bit more
7657 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7659 * src/hildon-volumebar.c:
7660 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7661 hildon_volumebar_set_range_insensitive_message and
7662 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7664 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7666 * src/hildon-window.c: Fixing the border freeing on destroy.
7668 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7670 * src/hildon-code-dialog-private.h:
7671 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7672 kw keyboard support in HildonCodeDialog.
7674 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7680 * debian/changelog: Updating.
7682 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7684 * src/hildon-date-editor.c:
7685 * src/hildon-number-editor.c:
7686 * src/hildon-private.c:
7687 * src/hildon-private.h:
7688 * src/hildon-time-editor.c:
7689 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7690 handling in subclassed composite widgets. Fixes: NB#66628.
7692 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7694 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7695 from destroy_ callback as it introduces problems in async dbus signal
7696 handlers. Fixes NB#66673.
7698 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7700 * examples/hildon-hvolumebar-example.c:
7701 * src/hildon-volumebar.c: Improving the focus handling in the
7702 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7703 set_property accessor so that "mute" property can be actually set. I'm
7704 scared that nobody noticed it's totally broken.
7706 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7708 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7711 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7713 * src/hildon-calendar.c:
7714 * src/hildon-number-editor.c:
7715 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7716 matches the spec of 6 chars per second. Fixes: NB#60489.
7718 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7720 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7721 gtk_style_lookup_color sometime returns FALSE even though color was
7722 found and values were filled properly. Weird. Removing the warning for the
7725 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7727 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7728 expand vertically. Adding some extra space to the find toolbar buttons to
7729 make them thumbable. Fixes NB#66060.
7731 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7733 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7734 popup with "Ok" and "Cancel". Fixes NB#59299.
7736 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7738 * src/hildon-calendar.c: Process all window updates before executing next
7739 timeout. Fixes: NB#54146.
7741 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7747 * debian/changelog: Updating.
7749 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7751 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7752 the client event and ignore it, since we use the delete event to close
7755 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7757 * src/hildon-helper.c: Remove the bogus warning about color not being
7758 found. Fixes NB#58352.
7760 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7762 * examples/Makefile.am:
7763 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7764 HildonSeekbar widget inside a toolbar.
7766 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7768 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7769 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7770 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7771 don't want to be closed by non-temporary windows on map.
7773 Also use G_DEFINE_TYPE instead of manually typed code.
7775 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7782 * debian/rules: Updating.
7784 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7786 * examples/Makefile.am:
7787 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7788 bug NB#61128. Strangely it works.
7790 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7792 * src/hildon-date-editor.c: When the date editor entry has been changed
7793 but the numbers of characters < max, turn off the skip validation flag.
7794 Prevents a situation when we enter first a valid year and later re-write
7795 it with an invalid one. Fixes NB#60154.
7797 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7799 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7800 code dialog. Fixes NB#64355.
7802 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7804 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7805 switching the page. Fixes NB#49374.
7807 * examples/Makefile.am:
7808 * examples/hildon-wizard-dialog-example.c: Adding an example for
7809 HildonWizardDialog that shows how to handle manual sensitivity setting on
7812 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7816 * src/hildon-version.h.in:
7817 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7819 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7821 * src/hildon-volumebar.c: Updating the docs.
7823 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7829 * debian/changelog: Updating.
7831 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7833 * src/hildon-find-toolbar.c:
7834 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7835 selected item: hildon_find_toolbar_set_active,
7836 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7837 hildon_find_toolbar_get_active_iter . They correspond to respective
7838 GtkComboBox functions.
7840 * examples/Makefile.am:
7841 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7844 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7846 * examples/Makefile.am:
7847 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7850 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7851 when font size > 32 and we pack a focusable widget inside. Actually using
7852 the default response would work too, but since we don't show default
7853 response state in any way (no theming) it would not be visible to the
7854 user. Fixes NB#63430.
7856 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7858 * src/hildon-date-editor.c: Adding the missing variable setter in the
7859 set_property handler. Fixes NB#54182.
7861 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7863 * src/hildon-window.h: Changing the long key press time from 1500ms to
7864 800ms as requested in NB#63700. I have a bad feeling about this, let's
7865 see... Fixes NB#63700.
7867 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7869 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7870 hildon_time_picker_map, hildon_time_picker_realize,
7871 hildon_time_picker_style_set): Split the contents of map to more
7872 appropriate functions; set window decorations on realize and update
7873 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7875 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7880 * debian/changelog: Updating.
7882 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7884 * src/Makefile.am: fixed installation of the header files
7886 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7892 * debian/changelog: Updating.
7894 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7896 * configure.ac: Removing some remaining of --enable-xan.
7898 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7900 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7901 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7903 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7904 2.10.12-osso6 because the move-focus signal needs to be available in
7907 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7909 * examples/Makefile.am:
7910 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7911 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7912 fine. Prolly NB#61128 is fixed now.
7914 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7916 * src/hildon-volumebar.c:
7917 * src/hildon-volumebar.h: Adding the
7918 hildon_volumebar_set_range_insensitive_message and
7919 hildon_volumebar_set_range_insensitive_messagef functions to set
7920 insensitive message on the slider of the volumebar. Fixes NB#61129.
7922 * examples/Makefile.am:
7923 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7924 test the new insensitive messsage functionality on HildonVolumebar.
7926 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7928 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7931 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7933 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7934 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7935 button on after clearing the trail.
7937 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7939 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7941 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7943 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7944 by splitting the installed headers in generated and non-generated groups. Use
7945 only the non-generated headers to create the hildon-enum-types.h file.
7947 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7949 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7951 * src/hildon-window.c: Hide the window before performing the destroy.
7952 Should make the app closing a little tiny bit more snappy.
7954 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7956 * src/hildon-seekbar.c: add gtkrange.h header
7957 * src/hildon-caption.c: remove unused variable
7959 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7961 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7964 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7970 * debian/changelog: Updating.
7972 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7974 * src/hildon-window.c (hildon_window_window_state_event,
7975 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7976 escape timeout on focus-out-event rather than notify::is-topmost; the
7977 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7979 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7981 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7982 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7984 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7986 * src/hildon-window: actually, you need to use the macro always, there's
7987 no private pointer in the instance structure. We should have cleaned this up
7988 when we had the chance...
7990 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7992 * src/hildon-window.c: do not get the private date from HildonWindow before
7993 it passes the g_return_if_fail check. Once it's passed the test, there's no
7994 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7995 if you are only going to access the data once. Whitespace cleanups.
7997 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7999 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8000 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8002 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8008 * debian/changelog: Updating.
8010 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8012 * src/hildon-window.c: When destroying the window, remove (if exists) the
8013 escape timeout handler. Fixes #NB59276.
8015 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8017 * src/hildon-banner.c: When realizing the widget, set the window
8018 transiency. Setting the transiency in the gobject constructor is not
8019 good, as the widget is not realized at that point. Fixes: #NB56624.
8021 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8023 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8024 Add padding for future expansions.
8026 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8028 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8029 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8030 will fake an activation on the previous to the last item of the trail, so
8031 the effect can be overrided by the developer as usual.
8032 Also change the callback for the back button to do the same thing, so its
8033 effect can be overrided too. Fixes: NB#58982
8035 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8037 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8038 HildonCaption. Fixes NB#52379.
8040 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8042 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8043 the internal state of the trail after the user has had the chance of executing
8044 his handler for the signal. Specifically, it may happen that the activated button
8045 is removed and the user still lets the default handler run. This would segfault
8048 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8050 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8051 scrollbar to the preview dialog. Fixes NB#54147.
8053 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8055 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8056 max/min year properties can be altered, so the client can modify it
8057 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8059 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8061 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8062 hildonlike by default. Fixing a problem with disappearing arrows when
8063 scrolling through months and years. Fixes NB#54127.
8065 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8067 * examples/hildon-date-editor-example.c: Adding error callback to the date
8070 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8076 * configure.ac: Updating.
8078 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8080 * configure.ac: Adding a special '--enable-xan' configure option that
8081 turns off the -Werror compilation setting. Usefull for development.
8083 * src/hildon-calendar.c:
8084 * src/hildon-number-editor.c:
8085 * src/hildon-time-picker.c: Adding the 5* multiplier to
8088 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8090 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8091 instead of g_object_ref + gtk_object_sink.
8093 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8099 * debian/changelog: Updating.
8101 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8103 * src/hildon-color-chooser-dialog.c:
8104 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8105 straight from Tommi labs.
8107 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8109 * examples/hildon-finger-example.c: Correcting the header file path.
8111 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8112 the changed signal. Fixes a small memory leak.
8114 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8118 * src/hildon-banner.c: Importing several usefull fixes from the
8119 ubuntu-mobile branch.
8121 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8123 * examples/Makefile.am:
8124 * examples/hildon-finger-example.c: Adding a finger-checking code
8127 * src/hildon-font-selection-dialog.c: Do not allocate the color
8128 structure using the g_new. Fixes NB#54061.
8130 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8132 * src/hildon-helper.c: Correcting tabs in file.
8134 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8136 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8137 control the visibility of the children.
8139 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8141 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8147 * debian/changelog: Updating.
8149 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8151 * src/hildon-bread-crumb-trail.c:
8152 (hildon_bread_crumb_trail_size_allocate):
8154 Make the back button always a square.
8156 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8158 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8159 from the .c file as it's a private file.
8161 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8163 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8164 uses slightly bigger height.
8166 * src/hildon-font-selection-dialog.c: Adding some checks before
8167 freeing memory in the font selection dialog.
8169 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8171 * src/hildon-font-selection-dialog.c: Adding a small check when
8174 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8175 buttons sensitivity on page switching.
8177 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8179 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8180 internal details of adding a bread crumb to the trail.
8182 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8188 * debian/changelog: Updating.
8190 * src/hildon-bread-crumb-trail.h:
8191 * src/hildon-bread-crumb.h: Changing the API guard to
8192 HILDON_ENABLE_UNSTABLE_API.
8194 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8202 * src/hildon-helper.h: Updating.
8204 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8212 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8216 * src/hildon-helper.h: Small fix to make the package actually compile.
8218 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8220 * src/hildon-bread-crumb-trail.h:
8221 * src/hildon-bread-crumb.h:
8223 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8224 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8226 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8228 * examples/hildon-bread-crumb-trail-example.c:
8230 * src/hildon-bread-crumb-trail.c:
8231 * src/hildon-bread-crumb-trail.h:
8232 * src/hildon-bread-crumb.c:
8233 * src/hildon-bread-crumb.h:
8234 * src/hildon-marshalers.list:
8235 * src/hildon-bread-crumb-widget.c:
8236 * src/hildon-bread-crumb-widget.h:
8238 Slight change in the widget design. The bread crumb trail API is
8239 unchanged, but HildonBreadCrumb is now an interface. A *private*
8240 implementation, hildon-bread-crumb-widget, is provided and used
8241 internally by the trail for the push_text/push_icon functions.
8243 The generic push API is still available, so anyone can implement
8244 and use its own bread crumb widget.
8246 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8248 * debian/rules: Fixing the shlibs.
8250 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8252 * src/hildon-banner.c: Fixing a problem with timed banners having
8253 their parrent destroyed before they are.
8255 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8257 * src/hildon-bread-crumb.c:
8258 * src/hildon-bread-crumb.h:
8260 Make the get_natural_size function a vfunc.
8262 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8264 * src/hildon-bread-crumb.c:
8265 * src/hildon-bread-crumb-trail.c:
8269 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8276 * debian/changelog: Updating for release.
8278 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8280 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8281 don't leak the pango layout.
8283 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8286 * examples/hildon-bread-crumb-trail-example.c:
8290 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8292 * debian/changelog: Removing the bug-fixed entries that were actually
8293 resolved as WONTFIX.
8295 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8298 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8300 * src/hildon-bread-crumb-trail.c:
8301 * src/hildon-bread-crumb-trail.h:
8302 * src/hildon-bread-crumb.c:
8303 * src/hildon-bread-crumb.h:
8307 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8309 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8310 until it's passed the type check.
8312 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8314 * examples/hildon-bread-crumb-trail-example.c
8318 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8320 * examples/Makefile.am
8321 * examples/hildon-bread-crumb-trail-example.c
8323 * src/hildon-bread-crumb-trail.c
8324 * src/hildon-bread-crumb-trail.h
8325 * src/hildon-bread-crumb.c
8326 * src/hildon-bread-crumb.h
8328 New HildonBreadCrumbTrail widget.
8330 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8332 * src/hildon-range-editor.c (hildon_range_editor_init),
8333 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8334 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8335 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8336 hildon_time_editor_class_init, hildon_time_editor_init),
8337 src/hildon-get-password-dialog.c (invalid_input,
8338 hildon_get_password_set_property, hildon_get_password_get_property,
8339 create_contents, hildon_get_password_dialog_set_max_characters),
8340 src/hildon-set-password-dialog.c (create_contents),
8341 src/hildon-date-editor.c (hildon_date_editor_init),
8342 src/hildon-login-dialog.c (hildon_login_dialog_init),
8343 src/hildon-number-editor.c (hildon_number_editor_init),
8344 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8345 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8346 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8347 configure option and adding the respective checks in the code.
8348 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8349 hildon_calendar_drag_data_received): fixed some build warnings.
8351 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8353 * debian/changelog: A 1.0.0 release notes.