1 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
3 * configure.ac: post release version bump
4 * debian/changelog: post release version bump
6 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
11 * configure.ac: Bump version.
12 * debian/changelog: Updates.
14 2009-05-25 Alberto Garcia <agarcia@igalia.com>
16 * hildon/hildon-app-menu.c: Doc updates.
18 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
20 * hildon/hildon-banner.c: Remove leftover macro.
22 2009-05-25 Alejandro G. Castro <alex@igalia.com>
24 * hildon/hildon-pannable-area.c,
25 (hildon_pannable_area_scroll_indicator_fade),
26 (hildon_pannable_area_button_release_cb): Reviewed vmin
27 conditions, it could cause problems in the fadeout procedure.
29 2009-05-25 Alejandro G. Castro <alex@igalia.com>
31 * hildon/hildon-pannable-area.c
32 (hildon_pannable_area_button_release_cb): Added a threshold to
33 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
35 2009-05-25 Alejandro G. Castro <alex@igalia.com>
37 * hildon/hildon-pannable-area.c,
38 (hildon_pannable_area_set_property): Added code to sync the gtk
39 dnd threshold with the panning threshold.
41 2009-05-25 Alejandro G. Castro <alex@igalia.com>
43 * hildon/hildon-pannable-area.c,
44 (hildon_pannable_area_class_init): Changed some of the default
45 values, now it should be less responsive and more accurate.
47 2009-05-25 Alejandro G. Castro <alex@igalia.com>
49 * hildon/hildon-pannable-area.c,
50 (hildon_pannable_area_init),
51 (hildon_pannable_area_scroll_indicator_fade),
52 (hildon_pannable_area_button_press_cb),
53 (hildon_pannable_axis_scroll),
54 (hildon_pannable_area_timeout),
55 (hildon_pannable_area_motion_notify_cb),
56 (hildon_pannable_area_button_release_cb): Changed the name of the
57 clicked attribute to button_pressed, it is more clear about its use.
59 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
61 * src/hildon-pannable-area.c
62 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
64 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
65 vertical scrollbar visibility, and use the data on private section instead,
66 remove the initial_hint check
67 (hildon_pannable_area_expose_event): add the initial_hint check here
69 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
71 * src/hildon-pannable-area.c
72 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
73 if the fadeout effect was used
74 (hildon_pannable_area_expose_event): check if it is required to
75 manage the initial effect on the begining of the function. Previously
76 it was made at the end, but this doesn't ensure that the scrollbars
77 will be painted on the first show. Do not set to FALSE initial_effect,
78 to ensure that the initial hint is showed the first time the pannable
80 * examples/Makefile.am
81 * examples/hildon-pannable-area-initial-hint-example.c:
82 New example, to show that the initial-hint is showed when the widget
85 Fixes: NB#116607 (Pannable area should always have scrollbar visible
86 initially if the application can be scrolled)
88 2009-05-25 Alberto Garcia <agarcia@igalia.com>
90 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
91 Resize table before adding new items to make sure that
92 gtk_table_resize() is called just once.
94 2009-05-25 Alberto Garcia <agarcia@igalia.com>
96 * hildon/hildon-app-menu-private.h
97 * hildon/hildon-app-menu.c (item_visibility_changed)
98 (filter_visibility_changed, hildon_app_menu_show_all)
99 (hildon_app_menu_hide_all, hildon_app_menu_init):
100 Rearrange items just once when gtk_widget_show_all()/hide_all()
103 2009-05-25 Alberto Garcia <agarcia@igalia.com>
105 * hildon/hildon-app-menu.c
106 (hildon_app_menu_insert, hildon_app_menu_add_filter):
107 Don't call gtk_widget_show() on added items.
109 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
110 automatically when they're added)
112 2009-05-20 Alberto Garcia <agarcia@igalia.com>
114 * hildon/hildon-banner.c
115 (hildon_banner_realize, +hildon_banner_unrealize)
116 (+screen_size_changed, hildon_banner_class_init):
117 Redisplay the banner if the screen is rotated.
119 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
120 on transition from landscape to portrait)
122 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
124 * hildon/hildon-banner.[ch]:
125 (hildon_banner_show_information_override_dnd): remove icon_name from the
126 method definition as it is ignored.
127 * examples/hildon-banner-dnd-example.c: updated with the change on
130 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
132 * hildon/hildon-banner-private.h: new require_override_dnd and
133 overrides_dnd variables
134 * hildon/hildon-banner.h:
135 (hildon_banner_show_information_override_dnd): new method, that shows
136 the information but sets the override flag, in order to show important
138 * hildon/hildon-banner.c
139 (hildon_banner_show_information_override_dnd): new method
140 (hildon_banner_set_override_flag): new utility function
141 (hildon_banner_real_show_information): new utility function, in order to
142 generalize the current hildon_banner_show_information_override_dnd and
143 hildon_banner_show_information_override_dnd
144 * examples/Makefile.am
145 * examples/hildon-banner-dnd-example.c: New example that show how to
146 use the new hildon_banner_show_information_override_dnd
148 Fixes: NB#114874 (There is no possibility to show hildon banners with
151 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
153 * hildon/hildon-pannable-area.c: Add a comment explaining the math
154 behind hildon_pannable_calculate_vel_factor().
156 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
158 * hildon/hildon-pannable-area.c
159 (hildon_pannable_calculate_vel_factor): Correct the sum of the
160 deceleration factors.
162 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
164 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
165 Reduce the default value for 'scroll_time' to 1 second, since the
166 current initial scrolling takes too much time.
168 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
170 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
171 calculate velocity factor during initialization, since the properties
174 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
176 * hildon/hildon-pannable-area.c
177 (hildon_pannable_area_set_property): Calculate the velocity factor
178 after setting the deceleration property and not after.
180 2009-05-20 Alberto Garcia <agarcia@igalia.com>
182 * hildon/hildon-entry.c
183 (hildon_entry_class_init, +set_property, hildon_entry_new)
184 * hildon/hildon-check-button.c
185 (hildon_check_button_class_init)
186 (+set_property, hildon_check_button_new):
187 Make the theme size a property.
189 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
190 others) do too much in the _new function)
192 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
194 * configure.ac: post release version bump
195 * debian/changelog: post release version bump
197 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
202 * configure.ac: Bump version.
203 * debian/changelog: Updates.
205 2009-05-15 Alberto Garcia <agarcia@igalia.com>
207 * hildon/hildon-gtk.h
208 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
209 New API function to take a screenshot of a window
211 Fixes: NB#106374 (Need API to take a loading screenshot)
213 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
215 * hildon/hildon-time-selector.c
216 (update_format_policy): prevent to use hours and minutes unitialized
218 2009-05-15 Alberto Garcia <agarcia@igalia.com>
220 * hildon/hildon-window.c (hildon_window_size_request):
221 Always request the full size of the screen (minus the title bar if
222 not in fullscreen mode).
224 Fixes: NB#107486 (HildonWindow should size itself properly)
226 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
228 * hildon/hildon-note-private.h: Add idle_handler to the private data.
229 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
230 (on_show_cb), (sound_handling): Disconnect the idle handler for
231 the sound when the note is finalized to avoid possible crashes.
233 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
236 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
238 * src/hildon-animation-actor.c,
239 * src/hildon-remote-texture.c:
240 Added proper object cleanup to remove signal handler and object
241 references as HildonAnimationActor and HildonRemoteTexture
242 objects get destroyed.
244 Fixes: NB#116682 (Destroying parented animation actors when
245 parent in unmapped leads to crash)
247 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
249 Based on a patch by Christian Dywan (christian@imendio.com)
251 * doc/hildon-sections.txt:
252 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
253 * hildon/hildon-helper.h: New file size formatting method.
255 * debian/control: Depend on osso-filemanager l10n package for
256 proper localization strings.
258 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
260 * tests/Makefile.am: Include top_srcdir to make possible to build
261 tests in a different builddir.
262 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
263 on a different builddir.
265 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
267 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
268 (hildon_touch_selector_remove): Disconnect model's signal handler
271 Fixes: NB#116289 (Hildon home crashes while adding task
274 2009-05-11 Alberto Garcia <agarcia@igalia.com>
276 * hildon/hildon-button.c
277 (hildon_button_set_title, hildon_button_set_value):
278 Hide labels containing an empty string.
280 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
282 * configure.ac: post release version bump
283 * debian/changelog: post release version bump
285 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
290 * configure.ac: Bump version.
291 * debian/changelog: Updates.
293 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
295 * hildon/hildon-note-private.h: Removed sound_signal_handler
296 * hildon/hildon-note.c
297 (on_show_cb): new callback on note "show" event, this simply adds
298 a idle, with the function sound_handling
299 (sound_handling): removed the sound_signal_handler management
300 (hildon_note_init): connect note "show" event to on_show_cb
301 (hildon_note_realize): remove the connection to "expose-event"
303 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
304 device?' confirmation note)
306 2009-05-08 Alberto Garcia <agarcia@igalia.com>
308 * hildon/hildon-note.c
309 (hildon_note_new_information_with_icon_name)
310 (hildon_note_new_confirmation_with_icon_name):
311 Terminate the list of parameters in g_object_set() calls
313 Fixes: NB#115166 (Formatting memory card is not taking place)
315 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
317 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
318 "dialog-information" role for the sound being played.
320 2009-05-06 Alberto Garcia <agarcia@igalia.com>
322 * hildon/hildon-app-menu.c (hildon_app_menu_init):
323 Don't make the menu a modal window, it causes strange interactions
324 with the pointer grab and it's not really needed.
326 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
328 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
330 * hildon/hildon-touch-selector.[ch]
331 (hildon_touch_selector_optimal_size_request): function added to get a
332 optimal size request from the touch selector, when you want a dialog to
333 show as much of the selector
334 * hildon/hildon-picker-dialog.c:
335 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
336 (hildon_app_menu_class_init):
337 New "max-height-landscape" and "max-height-portrait" style properties
338 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
339 (hildon_picker_dialog_get_max_height): returns the maximum height using
340 the style properties defined and checking the current portrait/landscape
342 (_hildon_picker_dialog_set_selector): removed the set_size_request
344 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
346 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
348 * hildon/hildon-bread-crumb-trail.c:
349 * hildon/hildon-bread-crumb.c:
350 * hildon/hildon-seekbar.c:
351 Add reference to replacements for these deprecated widgets.
353 Fixes: MB#4461 (Documentation: All deprecations should mention
356 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
358 * examples/hildon-remote-texture-example.c
360 Change the include to the hildon-remote-texture in order to compile
361 properly the examples on the installed libhildon1-examples package
363 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
365 * tests/Makefile.am: Add check for HildonPickerButton.
366 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
367 (START_TEST), (create_hildon_picker_button_suite): Add three simple
368 checks for the HildonPickerButton.
369 * tests/check_test.c (configure_tests): Add the test suite.
370 * tests/test_suites.h: likewise.
372 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
374 * hildon/hildon-touch-selector.c
375 (+on_row_changed): Emit HildonTouchSelector:changed when the
376 contents of a selected row change.
377 (_create_new_column), (_hildon_touch_selector_set_model): connect
378 to GtkTreeModel:row-changed on a newly set model.
380 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
382 2009-05-05 Alberto Garcia <agarcia@igalia.com>
384 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
386 * hildon/hildon-banner.c (hildon_banner_destroy)
387 (hildon_banner_show_progress, hildon_banner_set_fraction):
388 Remove the progress bar from HildonBanner and use a progress
391 Fixes: NB#113761 (Update progress banner to use progress
394 2009-05-04 Alberto Garcia <agarcia@igalia.com>
396 * hildon/hildon-banner.c:
397 Calculate size of the banner label using the actual screen width
398 rather than using a fixed value.
400 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
403 2009-05-04 Alejandro G. Castro <alex@igalia.com>
405 * hildon/hildon-pannable-area.c,
406 (hildon_pannable_area_class_init): Fixed signals documentation
409 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
411 * configure.ac: post release version bump
412 * debian/changelog: post release version bump
414 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
419 * configure.ac: Bump version.
420 * debian/changelog: Updates.
422 2009-05-01 Alberto Garcia <agarcia@igalia.com>
424 * hildon/hildon-edit-toolbar.c
425 (hildon_edit_toolbar_init):
426 Don't let buttons in HildonEditToolbar receive focus.
428 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
429 typing on an HW arrows key)
431 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
433 * doc/Makefile.am: Fix build.
435 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
437 * doc/Makefile.am: Do not redefine content_files.
439 2009-04-30 Alberto Garcia <agarcia@igalia.com>
447 Renamed src/ to hildon/
452 Include <hildon/hildon.h> directly in all examples.
454 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
456 * src/hildon-sort-dialog.c
457 (hildon_sort_dialog_add_sort_key_with_sorting)
461 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
463 * src/Makefile.am: Move generated sources to CLEANFILES, so that
464 make distcheck passes.
466 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
468 * Makefile.am: Enable gtk-doc during distcheck.
470 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
472 * Makefile.am: Do not distribute the debian/ directory.
474 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
476 * doc/Makefile.am: Add the extra SGML files to content_files,
477 so that they are distributed properly.
479 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
481 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
484 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
486 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
487 (hildon_note_new_information_with_icon_name): Set the "icon" property
488 to preserve soundness.
490 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
492 * src/hildon-font-selection-dialog.c
493 (hildon_font_selection_dialog_set_property): Fail when the "family"
494 property is set to NULL.
496 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
498 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
501 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
503 * src/hildon-time-selector.h:
504 Added HildonTimeSelectorFormatPolicy
505 * src/hildon-time-selector.c:
506 Added PROP_TIME_FORMAT_POLICY
507 (_check_ampm_format): renamed to check_automatic_ampm_format
508 (update_format_policy), (update_format_dependant_columns): new functions
509 (hildon_time_selector_class_init)
510 (hildon_time_selector_contructor)
511 (hildon_time_selector_init)
512 (hildon_time_selector_get_property)
513 (hildon_time_selector_set_property)
514 (hildon_time_selector_get_time)
515 (hildon_time_selector_set_time)
516 * src/hildon-touch-selector.h: new file
517 * src/hildon-touch-selector.c
518 (hildon_touch_selector_emit_changed)
519 (hildon_touch_selector_block_changed)
520 (hildon_touch_selector_unblock_changed)
521 Added functions to allow to block the emission of the "changed" signal
522 * src/hildon-picker-dialog.c
523 (hildon_picker_dialog_show): call the parent show before the custom code
524 * examples/hildon-time-button-example.c
525 Modified, so now you can configure the time format using the new property
527 Added a new property "time-format-policy" that allow to choose the time
528 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
529 case it uses gconf in order to check if the time selector must use
532 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
535 2009-04-28 Alberto Garcia <agarcia@igalia.com>
537 * src/hildon-note.c (hildon_note_init):
538 Label in HildonNote must be left aligned, not centered. This
539 reverts the last commit in HildonNote.
541 Fixes: NB#112933 (text is not left aligned in confirmation dialog
542 is connectivity dialog)
544 2009-04-27 Alberto Garcia <agarcia@igalia.com>
549 * doc/hildon-sections.txt:
550 Added hildon_gtk_window_set_do_not_disturb()
552 2009-04-27 Alberto Garcia <agarcia@igalia.com>
554 * src/hildon-note.c (hildon_note_init): Center label.
556 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
559 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
564 * configure.ac: Bump version.
565 * debian/changelog: Updates.
567 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
569 * src/hildon-note-private.h: Add button-width to the private data.
570 * src/hildon-note.c (+resize_button),
571 (+hildon_note_orientation_update): methods to repack widgets on orientation
573 (screen_size_changed): Call above method for confirmation notes.
574 (hildon_note_realize): Always connect to the "screen-size" changed signal.
575 (hildon_note_rebuild): Store the original width request from buttons.
577 Fixes: NB#109635 (Confirmation notes do not support portrait)
579 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
581 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
582 when it is a progress note.
584 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
586 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
587 in the note, since there are no horizontally arranged contents.
589 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
591 * src/hildon-gtk.c (+set_flag): new generic method to
592 set/delay a flag setting in a window.
593 (hildon_gtk_window_set_progress_indicator):
594 (hildon_gtk_window_set_do_not_disturb),
595 (hildon_gtk_window_set_portrait_flags): use set_flag() to
596 avoid code redundance.
598 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
600 Based on a patch by Alberto Garcia (agarcia@igalia.com)
602 * src/hildon-gtk.c (set_clear_window_flag),
603 (do_set_progress_indicator), (do_set_do_not_disturb),
604 (do_set_portrait_flags),
605 (hildon_gtk_window_set_progress_indicator),
606 (hildon_gtk_window_set_do_not_disturb),
607 (hildon_gtk_window_set_portrait_flags):
608 Allow setting dnd-flag, progress indicator, and portrait flags
609 when the window is not realized.
611 2009-04-24 Alejandro G. Castro <alex@igalia.com>
613 * src/hildon-pannable-area.c,
614 * src/hildon-pannable-area.h: Add the hildon deprecated define to
615 the size request policy function and defines.
617 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
619 * doc/hildon-sections.txt: Add the new API.
620 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
621 method to set the portrait flags.
622 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
624 Fixes: NB#112328 (Adding helpers for setting portrait properties)
626 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
628 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
629 to allow using this method with other flags.
630 (hildon_gtk_window_set_progress_indicator): Update accordingly.
631 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
633 2009-04-22 Alberto Garcia <agarcia@igalia.com>
635 * src/hildon-touch-selector.c
636 (hildon_touch_selector_append_text_column):
637 Make the cell renderer use the smallest width possible.
639 Fixes: NB#108470 (Selected items in multiple selection are either
640 having a tick that is cut or not visible at all.)
642 2009-04-22 Alberto Garcia <agarcia@igalia.com>
644 * src/hildon-touch-selector.c
645 (hildon_touch_selector_append_text_column):
648 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
650 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
651 Use g_strdup_printf() instead of a fixed size buffer.
653 2009-04-21 Alberto Garcia <agarcia@igalia.com>
655 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
656 Close banners when a HildonAppMenu is popped up.
658 Fixes: NB#111027 (Title menu closed immediately if activated when
659 "Invalid e-mail address" banner is shown)
661 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
666 * configure.ac: Bump version.
667 * debian/changelog: Updates.
669 2009-04-20 Alberto Garcia <agarcia@igalia.com>
671 * src/hildon-banner.c (hildon_banner_realize):
672 Mark HildonBanner as supporting portrait mode.
673 Use GDK to set window properties insetad of direct Xlib calls.
675 Fixes: NB#111830 (HildonBanner should be marked as supporting
678 2009-04-20 Alberto Garcia <agarcia@igalia.com>
680 * src/hildon-note.c (hildon_note_rebuild):
681 Hide action area in information notes. Prevents text from being
682 slightly aligned to the left.
684 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
687 2009-04-20 Alberto Garcia <agarcia@igalia.com>
689 Patch by Mox Soini (ext-mox.soini@nokia.com)
691 * src/hildon-banner.c (hildon_banner_create_animation):
692 Use stylus-sized icons in animation banner.
694 Fixes: NB#111206 (stylus sized icon for animation banner)
696 2009-04-20 Alberto Garcia <agarcia@igalia.com>
700 (+hildon_gtk_window_set_do_not_disturb):
701 New API to set the do-not-disturb flag.
703 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
705 2009-04-20 Alberto Garcia <agarcia@igalia.com>
707 * examples/hildon-progress-indicator-example.c: Fix example
709 * src/hildon-gtk.c (set_clear_window_flag)
710 (hildon_gtk_window_set_progress_indicator):
711 Create a generic function for setting flags to a window.
712 Use GDK instead of direct Xlib calls.
714 2009-04-14 Alberto Garcia <agarcia@igalia.com>
716 * src/hildon-button.c (hildon_button_set_arrangement):
717 Due to NB#88126, if one of the labels is too long it will be
718 painted outside the button. The 'value' label is more likely to be
719 the longest one, so we change its packing options in order to
720 truncate it if necessary. As a side effect, the 'title' label will
721 no longer be truncated.
723 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
725 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
730 * configure.ac: Bump version.
731 * debian/changelog: Updates.
733 2009-04-13 Alejandro G. Castro <alex@igalia.com>
735 Deprecation of the hildon_pannable_area_set_size_request_policy
736 API, the only policy properly supported in gtk+ nowadays is the
739 * src/hildon-pannable-area.c,
740 (hildon_pannable_area_size_request): Added a workaround for the
741 size_request to avoid the problems of huge pixmaps in case someone
742 is still using the function.
743 * src/hildon-pannable-area.h: Deprecated the enum with the
746 Fixes: NB#110244 (Problems with the
747 hildon_pannable_area_set_size_request_policy API)
749 2009-04-08 Alejandro G. Castro <alex@igalia.com>
751 * src/hildon-pannable-area.c,
752 (hildon_pannable_area_init),
753 (hildon_pannable_area_size_request),
754 (hildon_pannable_area_style_set),
755 (hildon_pannable_draw_vscroll),
756 (hildon_pannable_draw_hscroll),
757 (hildon_pannable_area_check_scrollbars): Replaced area_width with
758 indicator_width to clarify the use of the attribute.
760 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
765 * configure.ac: Bump version.
766 * debian/changelog: Updates.
768 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
770 * src/hildon-picker-dialog.c
771 * src/hildon-touch-selector.c
772 Reverting the change that tried to avoid the hardcoded height on
773 the picker dialog, as causes problems on the hildon-touch-selector
776 Fixes: NB#110029 (selectors not scrolling to selected value)
778 2009-04-07 Alberto Garcia <agarcia@igalia.com>
780 * src/hildon-touch-selector.c: Fix typos
782 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
784 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
785 Use the event coordinates instead of gdk_window_get_pointer(). Also,
786 request more motions after using it.
788 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
790 * src/hildon-calendar.c (hildon_calendar_expose),
791 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
792 Remove unused variables.
794 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
796 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
799 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
801 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
802 Check the return value of gtk_tree_selection_get_selected()
805 2009-04-06 Alberto Garcia <agarcia@igalia.com>
807 * src/hildon-animation-actor.c
808 * src/hildon-button.c
810 * src/hildon-pannable-area.c
811 * src/hildon-picker-button.c
812 * src/hildon-program.c
813 * src/hildon-remote-texture.c
814 * src/hildon-text-view.c
815 * src/hildon-touch-selector.c
816 * src/hildon-window-stack.c
817 * src/hildon-window.c:
818 Add missing 'Since: 2.2' tags.
820 * doc/hildon-sections.txt:
821 Add some missing symbols.
823 * doc/hildon-docs.sgml:
824 New 'Other' section for HildonAnimationActor and
827 2009-04-06 Alberto Garcia <agarcia@igalia.com>
829 Patch by Iván Gómez (igomez@igalia.com)
833 * doc/hildon-docs.sgml
834 * doc/hildon-sections.txt
838 New chapters on using the Hildon library.
839 Updated the general structure of the reference manual.
840 Other minor documentation fixes.
842 * src/hildon-calendar-popup.c
843 * src/hildon-calendar.c
844 * src/hildon-controlbar.c
845 * src/hildon-date-editor.c
846 * src/hildon-dialog.c
847 * src/hildon-hvolumebar.c
848 * src/hildon-number-editor.c
849 * src/hildon-range-editor.c
850 * src/hildon-sort-dialog.c
851 * src/hildon-time-editor.c
852 * src/hildon-time-picker.c
853 * src/hildon-volumebar-range.c
854 * src/hildon-volumebar.c
855 * src/hildon-vvolumebar.c
856 * src/hildon-weekday-picker.c:
857 Add deprecation notes
859 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
860 Document 'horizontal-movement' and 'vertical-movement' signals.
862 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
867 * configure.ac: Bump version.
868 * debian/changelog: Updates.
870 2009-04-06 Alejandro G. Castro <alex@igalia.com>
872 * src/hildon-pannable-area.c,
873 (hildon_pannable_area_class_init): increased the minimum velocity.
874 (hildon_pannable_area_button_release_cb): Updated the
875 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
876 setup. Review the code to control that last event.
878 Fixes: NB#109790 (Releasing finger in pannable area easily causes
881 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
883 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
885 * src/hildon-get-password-dialog.c
886 (hildon_get_password_set_property),
887 (hildon_get_password_get_property), (create_contents):
888 * src/hildon-login-dialog-private.h:
889 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
890 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
891 (hildon_login_dialog_get_password):
892 * src/hildon-set-password-dialog-private.h:
893 * src/hildon-set-password-dialog.c
894 (hildon_set_password_set_property),
895 (hildon_set_password_get_property), (create_contents),
896 (hildon_set_password_response_change),
897 (hildon_set_password_response_set), (hildon_checkbox_toggled):
899 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
900 instead and look more Fremantle style.
902 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
904 2009-04-03 Alberto Garcia <agarcia@igalia.com>
906 * doc/hildon-sections.txt
907 * src/hildon-window-stack.h
908 * src/hildon-window-stack.c
909 (+hildon_window_stack_get_windows):
910 New API to obtain the list of windows on a stack.
912 2009-04-02 Alberto Garcia <agarcia@igalia.com>
914 * src/hildon-app-menu.c (hildon_app_menu_popup)
915 (hildon_app_menu_class_init, -hildon_app_menu_show):
916 Remove hildon_app_menu_show() and move all its checks to
917 hildon_app_menu_popup()
919 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
921 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
922 (_hildon_picker_dialog_set_selector): removed call to
923 gtk_widget_set_size_request
924 * src/hildon-touch-selector.c
925 (_create_new_column): change the pannable size request policy
927 Avoid to use a hardcoded height for the hildon picker dialog. In order
928 to get that, we needed to change the hildon pannable size request
930 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
932 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
934 * src/hildon-window.c (hildon_window_map): Check for vbox to be
935 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
938 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
940 * debian/control: Depend on osso-system-lock localization package.
941 * src/hildon-code-dialog.c: Obtain the secu_application_title
942 translation from osso-system-lock.
943 * src/hildon-get-password-dialog.c (create_contents): Do not mark
944 for translation the atk related strings, that's not necessary.
945 * src/hildon-set-password-dialog.c (create_contents): Ditto.
946 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
947 cancel button, it is not required.
949 2009-04-02 Alejandro G. Castro <alex@igalia.com>
951 * src/hildon-pannable-area.c,
952 (hildon_pannable_area_class_init): Modified the default value of
953 the overshooting max speed, we have reduced it.
955 2009-04-02 Alberto Garcia <agarcia@igalia.com>
957 * doc/hildon-sections.txt
958 * src/hildon-window-private.h
959 * src/hildon-window.h
960 * src/hildon-window.c (hildon_window_class_init)
961 (hildon_window_init, hildon_window_finalize)
962 (hildon_window_realize, hildon_window_get_property)
963 (hildon_window_set_property, hildon_window_update_markup)
964 (hildon_window_get_markup, hildon_window_set_markup):
965 New "markup" property and hildon_window_{get,set}_markup() methods.
967 * examples/hildon-stackable-window-example.c (new_window):
968 Update example to use hildon_window_set_markup()
970 Fixes: NB#106375 (Need API to retitle a window with a title
973 2009-04-01 Alejandro G. Castro <alex@igalia.com>
975 * src/hildon-pannable-area.c,
976 (hildon_pannable_area_class_init): Changed the default value of
977 the initial_hint to TRUE.
978 (hildon_pannable_area_initial_effect): Changed the initial effect,
979 not the effect is just the fade-out of the scrollbars.
981 Fixes: NB#107775 (No scrollbars can be seen when several items are
982 available in a dialog)
984 2009-04-01 Alberto Garcia <agarcia@igalia.com>
986 * src/hildon-program.c (hildon_program_update_top_most):
989 Fixes: NB#109179 (Memory leak in Hildon program)
991 2009-04-01 Alberto Garcia <agarcia@igalia.com>
993 * src/hildon-banner.c (-get_current_app_window):
994 Remove unused function.
996 2009-04-01 Alejandro G. Castro <alex@igalia.com>
998 * src/hildon-pannable-area.c: Modified the documentation of the
999 get adjustments functions to explain the problem of using the
1000 adjustment directly.
1001 (hildon_pannable_area_class_init): Improved the explanation about
1004 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1006 * src/hildon-app-menu-private.h
1007 * src/hildon-app-menu.c
1008 (hildon_app_menu_class_init):
1009 Bring back the 'external-border' style property
1010 (hildon_app_menu_class_init, hildon_app_menu_init)
1011 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1012 Set a fixed width-request for the menu, independent of the number
1015 Fixes: NB#94957 (Smoothly opened application menu)
1017 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1019 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1021 * src/hildon-banner.c
1022 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1024 Make sure that the banner is correctly placed the first time it's
1026 (hildon_banner_check_position, -check_fullscreen_state):
1027 Show the banner in the same place no matter if the window is in
1028 fullscreen mode or not.
1030 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1032 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1034 * src/hildon-touch-selector.c (_default_print_func): reorder
1035 concatenation for clarity.
1037 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1039 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1040 for multicolumn selectors.
1042 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1044 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1049 * configure.ac: Bump version.
1050 * debian/changelog: Updates.
1052 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1054 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1057 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1059 * configure.ac: removed libcangerra-gtk dependency
1060 * debian/control: removed libcanberra-gtk dependency
1061 * src/Makefile.am: removed libcanberra gtk related flags
1062 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1063 context, and manage a global canberra context instead
1065 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1067 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1069 Patch by Daniel Borgmann (danielb@openismus.com)
1071 * src/hildon-edit-toolbar.c:
1072 Adjust the left padding.
1073 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1074 Paint background of the edit toolbar.
1076 Fixes: NB#107897 (Patch to make editmodetoolbar background
1077 themeable and adjust margin)
1079 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1081 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1083 * src/hildon-program.c (hildon_program_update_top_most):
1084 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1086 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1087 change when the user tasks in/out of an application)
1089 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1091 * configure.ac: added libcangerra-gtk dependency
1092 * debian/control: added libcanberra-gtk dependency
1093 * src/Makefile.am: added libcanberra gtk related flags
1094 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1097 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1099 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1101 * src/hildon-program.c (hildon_program_remove_window)
1102 (hildon_program_add_window): Add checks for the window
1103 parameter. Don't decrease the window counter if the window is not
1106 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1108 * src/hildon-pannable-area.c,
1109 (hildon_pannable_area_realize): Fixed position of the event_window
1110 in the realize method.
1112 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1114 * src/hildon-app-menu-private.h
1115 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1116 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1117 (hildon_app_menu_key_press, hildon_app_menu_init)
1118 (hildon_app_menu_finalize):
1119 Make sure that all idle functions are removed when the widget is
1122 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1124 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1129 * configure.ac: Bump version.
1130 * debian/changelog: Updates.
1132 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1134 * src/hildon-entry.c
1135 (+hildon_entry_show_placeholder),
1136 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1137 that replace hildon_entry_update_contents().
1138 (hildon_entry_set_text),
1139 (hildon_entry_set_placeholder),
1140 (hildon_entry_focus_in_event),
1141 (hildon_entry_focus_out_event): Determine when it is needed
1142 either to show or hide the placeholder and call the above methods.
1144 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1145 when the placeholder text is already set)
1147 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1149 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1150 simple GdkPixbufAnim using the new icons for the banner.
1151 (hildon_banner_show_animation): Use the above mentioned method to
1152 create the animation widget.
1154 Fixes: NB#103564 (Make hildon animation banner use individual
1155 image files as the animation)
1157 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1159 * src/hildon-pannable-area.c,
1160 (hildon_pannable_leave_notify_event): Check if the child is NULL
1161 to avoid sending the leave.
1163 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1165 * src/hildon-pannable-area.c,
1166 (hildon_pannable_area_class_init),
1167 (hildon_pannable_leave_notify_event): Added a handler of the
1168 leave-notify-signal to consider when no motion notify before
1171 Fixes: NB#107494 (Items stay selected when clicking and moving
1172 away when inside pannable area)
1174 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1179 * configure.ac: Bump version.
1180 * debian/changelog: Updates.
1182 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1184 Patch by Alberto Garcia (agarcia@igalia.com)
1186 * src/hildon-date-button.c,
1187 (hildon_date_button_class_init),
1188 (hildon_date_button_init): Removed the construct property handling
1189 and created a default selector in the init method.
1190 * src/hildon-picker-button.c,
1191 (hildon_picker_button_class_init): Removed the construct flag of the
1194 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1196 * src/hildon-main.c (hildon_init):
1197 Don't allow hildon_init() to be called more than once.
1199 Fixes: NB#106607 (hildon_init should issue error message upon
1202 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1204 * examples/hildon-pannable-area-touch-list-example.c
1205 * examples/hildon-pannagle-area-touch-grid-example.c
1206 * examples/hildon-edit-toolbar-example.c
1207 * examples/hildon-touch-selector-multi-cells-example.c
1208 Removed the call to gtk_rc_parse_string, as it is not required since
1211 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1213 * src/hildon-pannable-area.c,
1214 (hildon_pannable_area_class_init): Modified the default panning
1215 threshold of the widget to 6px.
1217 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1218 than the threshold value ) within the button is not sending the
1221 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1223 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1224 for the treeview in the new column. This way, the touch list will never
1227 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1228 be selected manually for the HW keys to work)
1230 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1232 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1233 comparison instead of using strcmp(). Fixes a compiler warning as well.
1235 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1237 * doc/hildon-docs.sgml: Do not set the library version in the
1238 document title, use the releaseinfo tag for that purpose instead.
1240 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1242 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1243 Do not jump to the first item if the text in the entry is removed.
1245 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1250 * configure.ac: Bump version.
1251 * debian/changelog: Updates.
1253 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1255 * src/hildon-entry.c (hildon_entry_refresh_contents):
1256 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1257 Use "ReversedSecondaryTextColor" for the placeholder text.
1259 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1261 * src/hildon-text-view.c: Fix compilation warning.
1263 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1265 * src/hildon-button.c (hildon_button_class_init): Don't make
1266 "title" and "value" construction properties, to prevent them from
1267 overwriting labels set from derived classes.
1269 * src/hildon-picker-button.c
1270 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1271 (hildon_picker_button_class_init): Make touch-selector a
1272 construction property.
1274 * src/hildon-date-button.c (hildon_date_button_class_init)
1275 (+hildon_date_button_constructed): Add a default date selector if
1278 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1280 * src/hildon-touch-selector.c: Small documentation fixes.
1282 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1284 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1286 * src/hildon-entry.c (hildon_entry_refresh_contents),
1287 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1288 widget name, set the logical color directly instead and a boolean
1289 showing_placeholder instead.
1290 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1291 use the widget name here either.
1293 Fixes: NB#105678 (HildonTextView should use logical colours
1294 instead of setting widget name)
1296 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1298 Patch by Daniel Elster (danielk@openismus.com)
1300 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1301 Add user_data parameter.
1302 (hildon_touch_selector_set_print_func_full): New function akin
1303 hildon_touch_selector_set_print_func() but with support for user
1304 data and a destroy callback.
1305 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1306 to clean up the print function user data.
1307 (hildon_touch_selector_class_init): Install dispose function.
1308 (HildonTouchSelectorPrivate::print_user_data),
1309 (HildonTouchSelectorPrivate::print_destroy_func): New private
1311 (hildon_touch_selector_init): Initialize new private members.
1312 (hildon_touch_selector_get_current_text): Pass along user data
1313 to the print function.
1314 (_default_print_func): Add dummy user_data to parameter list.
1315 * hildon-date-selector.c (_custom_print_func): ditto,
1316 * hildon-time-selector.c (_custom_print_func): ditto,
1317 * hildon-touch-selector-entry.c
1318 (hildon_touch_selector_entry_print_func): ditto.
1320 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1322 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1324 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1326 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1328 * src/hildon-pannable-area.c,
1329 (hildon_pannable_area_init),
1330 (hildon_pannable_area_button_press_cb),
1331 (hildon_pannable_area_motion_notify_cb): We have added code to
1332 handle the leave and enter events when using the motion events.
1334 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1336 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1338 * src/hildon-date-button.c (hildon_date_button_get_date)
1339 (hildon_date_button_set_date): Make sure that the button has a
1342 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1344 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1346 * src/hildon-pannable-area.c,
1347 (hildon_pannable_area_class_init),
1348 (hildon_pannable_area_calculate_velocity): Modify the use of the
1349 force and adapt the value.
1351 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1353 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1354 (hildon_app_menu_class_init): Hide the menu if it receives a
1355 delete-event, but don't destroy it
1357 Fixes: NB#104485 (Not able to address the call when application
1358 menu is opened at background)
1360 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1362 * src/hildon-app-menu.c
1363 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1364 Remove the "external-border" style property, let the menu take its
1365 natural size (or the one set by the window manager)
1366 (hildon_app_menu_repack_items):
1367 Don't reshow the menu, avoid flickers.
1369 Partially fixes NB#94957 (Smoothly opened application menu)
1371 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1376 * configure.ac: Bump version.
1377 * debian/changelog: Updates.
1379 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1381 * src/hildon-pannable-area.c,
1382 (hildon_pannable_area_motion_notify_cb): We control that the
1383 direction error margin is used just in case the movement is
1384 allowed in the other direction.
1386 Fixes: NB#105012 (buttons inside a pannable area not getting
1387 release event when dragging/releasing)
1389 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1391 * src/hildon-pannable-area.c,
1392 (hildon_pannable_area_class_init),
1393 (hildon_pannable_area_get_property),
1394 (hildon_pannable_area_set_property),
1395 (hildon_pannable_area_initial_effect),
1396 (hildon_pannable_axis_scroll),
1397 (hildon_pannable_area_button_release_cb): Reviewed the
1398 overshooting effect, now it has its own max
1399 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1400 speed when bouncing.
1402 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1407 * configure.ac: Bump version.
1408 * debian/changelog: Updates.
1410 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1412 * src/hildon-pannable-area.c,
1413 (hildon_pannable_area_class_init): Changed the max speed, now
1414 users can launch the widget very fast. Reduced the default force,
1415 that way it is easier to control the launch speed.
1417 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1419 * src/hildon-pannable-area.c,
1420 (hildon_pannable_area_button_release_cb): Removed this check
1421 because it causes problems when the device is overloaded.
1423 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1425 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1426 add a current_text field to store the text entered in the
1427 touch selector entry.
1428 (_clean_current_selection): clean up the current text as well.
1429 (_save_current_selection), (_restore_current_selection):
1430 Save/restore the text in the entry if the selector is a
1431 HildonTouchSelectorEntry.
1433 Fixes: NB#102541 (value entered in the touch selector entry is not
1434 shown when opened for second time)
1436 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1438 * doc/hildon-sections.txt:
1439 * src/hildon-touch-selector-entry.c
1440 (+hildon_touch_selector_entry_get_entry):
1441 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1443 Fixes: NB#104815 (I need accessor to the entry inside
1444 HildonTouchSelectorEntry)
1446 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1448 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1449 (hildon_app_menu_class_init):
1450 New "filter-vertical-spacing" style property.
1452 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1454 * src/hildon-find-toolbar.c
1455 (hildon_find_toolbar_emit_close)
1456 (hildon_find_toolbar_emit_invalid_input)
1457 (hildon_find_toolbar_entry_activate):
1458 Use g_signal_emit() instead of g_signal_emit_by_name()
1460 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1462 Patch by Mox Soini (ext-mox.soini@nokia.com)
1464 * tests/TEST-CASES.txt
1465 * tests/check-hildon-banner.c
1466 * tests/check-hildon-note.c
1467 * src/hildon-banner.c
1468 * src/hildon-code-dialog.c
1469 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1470 * src/hildon-time-editor.c
1471 * examples/hildon-lookup-example.c (main):
1472 Replace obsolete icon names with new ones.
1474 * src/hildon-find-toolbar-private.h:
1475 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1476 (-hildon_find_toolbar_emit_search):
1477 Remove find button and change icon of close button.
1479 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1481 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1483 * src/hildon-time-button.c (hildon_time_button_new_step):
1484 Use the "touch-selector" property to set the selector directly
1485 when creating the object.
1487 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1489 Added a new example application that allows tuning the pannable
1490 area and replaced defines with properties in order to simplify the
1491 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1492 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1493 PROP_DIRECTION_ERROR_MARGIN.
1495 * examples/hildon-pannable-area-tuning-example.c: New example
1497 * src/hildon-pannable-area.c,
1498 (hildon_pannable_area_class_init),
1499 (hildon_pannable_area_init),
1500 (hildon_pannable_area_get_property),
1501 (hildon_pannable_area_set_property),
1502 (hildon_pannable_area_launch_fade_timeout),
1503 (hildon_pannable_area_adjust_value_changed),
1504 (hildon_pannable_axis_scroll),
1505 (hildon_pannable_area_motion_notify_cb),
1506 (hildon_pannable_area_scroll_cb),
1507 (hildon_pannable_area_button_release_cb): We have converted some
1508 of the defines that control the widget to properties to simplify
1511 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1513 * src/hildon-app-menu.c (hildon_app_menu_map)
1514 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1515 so it's closed if a new window appears.
1517 Fixes: NB#104485 (Not able to address the call when application
1518 menu is opened at background)
1520 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1522 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1523 missing 'break' statement in in 'case' construct to avoid
1526 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1528 * src/hildon-touch-selector-entry.c
1529 (hildon_touch_selector_entry_get_property),
1530 (hildon_touch_selector_entry_set_property): Add missing 'break'
1531 statements in in 'case' constructs to avoid incorrect warnings.
1533 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1535 * src/hildon-time-editor.c
1536 (hildon_time_editor_get_time_separators): Do not crash if
1537 the first label is NULL.
1539 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1541 * src/hildon-date-selector.c (_month_days): Check for month to be
1542 strictly less than 12, since otherwise we may overrun the array.
1544 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1546 * src/hildon-date-button.c (+hildon_date_button_new_full)
1547 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1548 (hildon_date_button_init): Set the date selector using a
1549 construction property, to make it happen after HildonButton's
1550 "value" property is set.
1552 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1553 current date by default)
1555 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1557 * doc/hildon-sections.txt
1558 * src/hildon-program.c
1559 * src/hildon-stackable-window.c
1560 * src/hildon-window.c:
1561 Documentation updates
1563 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1565 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1566 (hildon_window_stack_new, +hildon_window_stack_set_property)
1567 (+hildon_window_stack_get_property)
1568 (hildon_window_stack_class_init)
1569 (+hildon_window_stack_set_window_group)
1570 (+hildon_window_stack_get_window_group):
1571 Make the window group a construction property.
1573 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1575 * doc/hildon-sections.txt
1576 * src/hildon-stackable-window-private.h
1577 * src/hildon-stackable-window.h
1578 * src/hildon-stackable-window.c
1579 (-hildon_stackable_window_set_app_menu)
1580 (-hildon_stackable_window_get_app_menu)
1581 (-hildon_stackable_window_toggle_menu)
1582 (-hildon_stackable_window_finalize)
1583 (hildon_stackable_window_class_init)
1584 (hildon_stackable_window_init)
1585 * src/hildon-window-private.h
1586 * src/hildon-window.h
1587 * src/hildon-window.c (hildon_window_init)
1588 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1589 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1590 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1591 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1592 Moved all HildonAppMenu code to HildonWindow. The menu does not
1593 require a HildonStackableWindow anymore.
1595 * src/hildon-app-menu.c
1596 * src/hildon-program.c
1597 * examples/hildon-app-menu-example.c (main):
1598 Update examples and documentation to reflect HildonAppMenu
1601 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1603 * src/hildon-remote-texture.c
1604 * src/hildon-animation-actor.c:
1605 Don't include unused private headers.
1607 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1609 * src/hildon-program-private.h
1610 * src/hildon-program.c
1611 (hildon_program_set_common_menu)
1612 (hildon_program_get_common_menu)
1613 (hildon_program_set_common_app_menu)
1614 (hildon_program_get_common_app_menu):
1615 Change common menu pointers from GtkWidget* to GtkMenu* and
1616 HildonAppMenu* to avoid unnecessary casts.
1618 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1620 * src/hildon-window.c (hildon_window_set_main_menu):
1621 Removed incorrect 'Since:' tag
1623 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1625 * src/hildon-pannable-area.c,
1626 (hildon_pannable_area_calculate_velocity): We use now the
1627 RATIO_TOLERANCE here to check the distance, fixed typo in the
1629 (hildon_pannable_area_motion_notify_cb): We have to set the type
1630 and time even if we are not sending the motion.
1632 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1634 * doc/hildon-sections.txt
1635 * src/hildon-app-menu.h
1636 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1637 (+hildon_app_menu_get_filters): New methods to get the contents of
1640 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1643 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1645 * src/hildon-app-menu.c (hildon_app_menu_popup):
1648 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1650 * src/hildon-window.h
1651 * src/hildon-window.c (+hildon_window_get_main_menu)
1652 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1653 and deprecated hildon_window_get_menu().
1655 * src/hildon-stackable-window.h
1656 * src/hildon-stackable-window.c
1657 (+hildon_stackable_window_set_app_menu)
1658 (+hildon_stackable_window_get_app_menu)
1659 (hildon_stackable_window_set_main_menu): Created
1660 hildon_stackable_window_{get,set}_app_menu() and deprecated
1661 hildon_stackable_window_set_main_menu().
1663 * doc/hildon-sections.txt
1664 * examples/hildon-app-menu-example.c (main)
1665 * src/hildon-app-menu.c
1666 * src/hildon-program.c:
1667 Updated examples and documentation.
1669 Fixes: NB#103758 (No way to obtain a menu from a
1670 HildonStackableWindow)
1672 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1677 * configure.ac: Bump version.
1678 * debian/changelog: Updates.
1680 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1682 * examples/hildon-remote-texture-example.c: Include
1683 hildon-remote-texture.h explicitely.
1684 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1685 applications not defining _XOPEN_SOURCE which don't require this header.
1687 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1689 * doc/hildon-sections.txt
1690 * src/hildon-app-menu.h
1691 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1692 New function to pop up a HildonAppMenu
1694 * src/hildon-stackable-window.c
1695 (hildon_stackable_window_toggle_menu):
1696 Use hildon_app_menu_popup() to show the menu.
1698 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1700 * src/hildon-app-menu.c (hildon_app_menu_show)
1701 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1702 menu if there's another window between it and its parent window.
1704 Fixes: NB#100468 (Application menu window is launched even when a
1705 new secondary-window/dialog is pending to be shown/realized)
1707 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1709 * src/hildon-window-stack.c (hildon_window_stack_push)
1710 (hildon_window_stack_pop_and_push):
1711 Don't forget to push/pop the first window.
1712 Reverse the window list before calling _push_list()
1714 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1716 * src/hildon-picker-button.h
1717 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1718 Remove "value_changed" slot to avoid ABI breakage
1720 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1722 * src/hildon-pannable-area.c,
1723 (hildon_pannable_area_realize),
1724 (hildon_pannable_area_unrealize),
1725 (hildon_pannable_draw_vscroll),
1726 (hildon_pannable_draw_hscroll): Changed the method to handle the
1727 GC used to draw the transparent scrollbar, this way we avoid
1728 creating the GC all the time when drawing the scrollbars.
1730 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1732 * src/hildon-pannable-area.c,
1733 (hildon_pannable_area_init),
1734 (hildon_pannable_area_remove): Removed some unnecessary casts.
1735 (hildon_pannable_area_dispose): Disconnected some signals before
1736 releasing the adjustments.
1738 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1740 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1741 Make sure that all widgets contained in the toolbar are shown.
1743 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1745 * doc/hildon-sections.txt
1746 * src/hildon-picker-button.h
1747 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1748 (_selection_changed, hildon_picker_button_on_dialog_response)
1749 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1750 New hildon_picker_button_value_changed() method.
1753 * src/hildon-picker-button-private.h
1754 * src/hildon-picker-button.c (hildon_picker_button_init)
1755 (+hildon_picker_button_disable_value_changed): Add protected
1756 function for disabling the "value-changed" signal.
1758 * src/hildon-date-button.c (hildon_date_button_set_date):
1759 Don't emit "value-changed" for each one of the three columns.
1761 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1762 before actual change of values)
1764 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1766 * src/hildon-pannable-area.c,
1767 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1768 for the treeview overshooting.
1770 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1772 * src/hildon-banner.c (+hildon_banner_bind_style):
1773 Renamed from hildon_banner_bind_label_style(), now naming the
1774 banner itself as well.
1775 (hildon_banner_show_information),
1776 (hildon_banner_show_information_with_markup),
1777 (hildon_banner_show_animation), (hildon_banner_show_progress):
1778 Name the widgets and labels, based on their type.
1780 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1783 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1785 * src/hildon-note.c (hildon_note_set_property): call
1786 hildon_note_rename() on HildonNote:note-type set.
1787 (hildon_note_rename): Name the note and its label, based on the
1788 HildonNote:note-type property.
1790 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1793 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1795 * src/hildon-pannable-area.c,
1796 (hildon_pannable_area_class_init),
1797 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1798 panning parameters, increased SPS and deceleration factor. Added
1799 also a margin to control fake directions.
1801 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1803 Patch by Sven Herzberg (sven@imendio.com)
1805 * configure.ac: Add missing AM_PROG_CC_C_0
1806 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1808 See NB#101420 (Update unit tests and fix make check)
1810 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1812 This patch was applied before but reverted because it caused
1813 problems, we have changed the main condition and tested the
1814 regressions we detected before and they work ok. We have done a
1815 complete review of the topmost algorithm in order to get a more
1818 * src/hildon-pannable-area.c,
1819 (hildon_pannable_area_get_topmost): Added a new parameter to
1820 filter the the windows that do not include those events.
1821 (hildon_pannable_area_button_press_cb),
1822 (hildon_pannable_area_button_release_cb),
1823 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1824 topmost function, we have added the new parameter.
1826 Fixes: NB#97458 (Pannable area prevents propagation of button
1829 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1831 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1832 if all columns in the selector have an item selected.
1833 (_on_dialog_response): Stop "response" signal emission if there is
1834 any selector column without selected items.
1836 Fixes: NB#101889 (Picker dialog should not close when nothing is
1837 selected in multiple selection list)
1839 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1841 * src/hildon-font-selection-dialog.c
1842 (hildon_font_selection_dialog_class_init),
1843 (hildon_font_selection_dialog_init): Remove the preview
1844 button and dialog, since previewing with default theming is likely
1845 to be overcomplicated. The :preview property has now no effect.
1846 Update documentation blurbs to inform about this.
1848 Fixes: NB#92297 (Preview content is not clearly visible for
1849 default colour text)
1851 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1853 Reviewed the geometry that handles the children size and
1854 scrollbar, now it tries a size and reviews the results depending
1855 on the scrollbars visibility.
1857 * src/hildon-pannable-area.c,
1858 (hildon_pannable_area_realize): Fixed a typo.
1859 (hildon_pannable_area_child_allocate_calculate): Added this
1860 function to calculate the child allocation.
1861 (hildon_pannable_area_size_allocate): Reviewed the allocation
1863 (hildon_pannable_area_check_scrollbars),
1864 (hildon_pannable_area_refresh): Refactored refresh function, this
1865 way we can call the code handling the scrollbars without causing a
1866 size_request, it is interesting in the allocate.
1867 (hildon_pannable_area_init): Replace the callbacks of the
1868 value_changed and changed signals to propertly deal with the
1870 (hildon_pannable_area_grab_notify),
1871 (hildon_pannable_area_initial_effect),
1872 (hildon_pannable_area_launch_fade_timeout),
1873 (hildon_pannable_area_adjust_changed),
1874 (hildon_pannable_area_adjust_value_changed),
1875 (hildon_pannable_area_redraw),
1876 (hildon_pannable_area_button_press_cb),
1877 (hildon_pannable_area_button_release_cb),
1878 (hildon_pannable_area_scroll_cb),
1879 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1880 code and use the new functions adjust_changed and
1881 adjust_value_changed.
1883 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1884 Contact editor dialog)
1886 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1891 * configure.ac: Bump version.
1892 * debian/changelog: Updates.
1894 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1896 * src/hildon-pannable-area.c,
1897 (hildon_pannable_area_get_topmost),
1898 (hildon_pannable_area_button_press_cb),
1899 (hildon_pannable_area_button_release_cb),
1900 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1901 topmost function adding the event mask. We have to try a
1902 differente approach because it is still causing problems (NB#9745,
1905 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1907 * src/hildon-banner.c:
1908 Update the maximum width of timed banners.
1909 (force_to_wrap_truncated): Enforce the maximum text width if the
1912 Fixes: NB#102413 (The text margins (wrapping) in information
1913 banner should be HILDON_MARGIN_TRIPLE)
1915 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1917 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1919 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1920 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1921 bound when calculating the scroll indicator position.
1923 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1924 treat ->lower correctly)
1926 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1928 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1929 expose event handling, since it is not necessary to draw the focus
1932 Fixes: NB#102467 (Do not show highlight on the text in
1935 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1937 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1938 full height of the toolbar for the button and the label.
1940 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1942 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1943 padding before the label and after the button.
1945 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1947 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1949 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1950 Add a GtkVSeparator between the button and the back arrow.
1951 Let the button have automatic size.
1952 Set a name to the widget for theming handling.
1954 Fixes: NB#101793 (Make edit toolbar the same height as window
1955 title bar (use title area theming))
1957 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1959 * src/hildon-helper.c (attach_new_color_element): Fix memory
1962 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1964 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1966 * examples/hildon-button-example.c (common_buttons_window): Don't
1969 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1971 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1972 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1974 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1976 * src/hildon-gtk.c: Check that the window is realized.
1978 Fixes: NB#102225 (Crash setting the progress indicator to a non
1981 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1983 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1984 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1985 instead of modifying the one in the widget style.
1987 Fixes: NB#101043 (Second row of all the command button are
1988 displayed in transparent mode.)
1990 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1992 * src/hildon-date-button.c
1993 * src/hildon-time-button.c: Add gettext macros
1995 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1997 * src/hildon-date-button.c (hildon_date_button_new):
1998 * src/hildon-time-button.c (hildon_time_button_new_step):
1999 Use new logical strings to set the button default title.
2001 Fixes: NB#99915 (Date and Time options are not localised in Date
2004 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2006 * src/hildon-pannable-area.c
2007 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2008 the PANNING_THRESHOLD.
2010 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2012 * src/hildon-pannable-area.c,
2013 (hildon_pannable_area_class_init): Increased the maximum speed.
2014 (hildon_pannable_area_get_property),
2015 (hildon_pannable_area_set_property),
2016 (hildon_pannable_area_timeout): Added a new low friction mode, it
2017 allows the user avoid friction when launching the widget fast
2018 enough. It is interesting to traverse long lists.
2020 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2022 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2023 (+hildon_stackable_window_delete_event): Ignore delete events if
2024 the window is not the topmost one.
2026 Fixes: NB#101698 (Back button long press and delete-event handling)
2028 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2030 * src/hildon-pannable-area.c,
2031 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2032 gtk-dnd-drag-threshold, it was too big. We have defined our own
2033 dnd define and set a smaller value: PANNIG_THRESHOLD.
2035 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2037 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2038 user-defined icons, use always the default one.
2040 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2042 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2044 This patch was applied before but reverted because it caused
2045 problems, we have changed the main condition and tested the
2046 regressions we detected before and they work ok.
2048 * src/hildon-pannable-area.c,
2049 (hildon_pannable_area_get_topmost): Added a new parameter to
2050 filter the the windows that do not include those events. Added
2051 also a condition when finding the window to filter windows that do
2052 not ask for those events.
2053 (hildon_pannable_area_button_press_cb),
2054 (hildon_pannable_area_button_release_cb),
2055 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2056 topmost function, we have added the new parameter.
2058 Fixes: NB#97458 (Pannable area prevents propagation of button
2061 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2063 * tests/check-hildon-color-button.c (START_TEST): do not leak
2066 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2068 * src/hildon-font-selection-dialog.c
2069 (hildon_font_selection_dialog_get_preview_text): Return NULL
2070 instead of FALSE on the g_return_val_if_fail().
2072 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2074 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2075 * src/hildon-date-selector.c
2076 (hildon_date_selector_select_current_date):
2077 Do not compare unsigned integers to be greater than or equal 0,
2078 because it's always TRUE.
2080 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2082 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2083 (hildon_date_selector_constructor): Do not select the current
2084 date until we are handle the "changed" signal, to avoid having bogus
2085 elements in the days model.
2087 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2089 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2090 for num_days, since _month_days() can return a negative value.
2092 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2094 * src/hildon-caption.c (hildon_caption_size_allocate):
2095 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2096 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2098 Initialize allocation variables to 0, to avoid eventually using
2099 unitialized variables.
2101 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2103 * src/hildon-bread-crumb-trail.c
2104 (hildon_bread_crumb_trail_size_allocate):
2105 * src/hildon-calendar.c (hildon_calendar_set_background):
2106 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2107 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2108 * src/hildon-seekbar.c (hildon_seekbar_init):
2109 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2110 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2111 * src/hildon-touch-selector-entry.c
2112 (hildon_touch_selector_get_text_from_model):
2113 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2114 * src/hildon-window.c (hildon_window_finalize):
2116 Remove many unused variables.
2118 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2120 * src/hildon-seekbar.c: (hildon_seekbar_init),
2121 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2123 Remove unnecessary g_assert() calls.
2125 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2127 * src/hildon-caption.c: (hildon_caption_expose),
2128 (hildon_caption_set_property), (hildon_caption_init),
2129 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2130 (hildon_caption_size_request), (hildon_caption_size_allocate),
2131 (hildon_caption_forall), (hildon_caption_set_separator),
2132 (hildon_caption_activate), (hildon_caption_set_child_expand),
2133 (hildon_caption_set_label_text),
2134 (hildon_caption_get_label_alignment):
2136 Remove unnecessary g_assert() calls.
2138 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2140 * src/hildon-banner.c
2141 (hildon_banner_map, hildon_banner_init): Make banner temporary
2142 before mapping it to avoid closing other temporary windows, but
2143 make it non-temporary afterwards to avoid being closed by other
2144 non-temporary windows.
2145 (-hildon_banner_client_event, hildon_banner_init):
2146 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2148 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2151 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2153 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2156 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2158 * src/hildon-remote-texture.c
2159 * src/hildon-remote-texture.h
2160 * src/hildon-remote-texture-private.h
2161 * examples/hildon-remote-texture-example.c:
2162 Updates/fixes to remote-texture and its example.
2164 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2166 Patch by Mox Soini (ext-mox.soini@nokia.com)
2168 * src/hildon-code-dialog.c: Update logical id.
2169 * src/hildon-set-password-dialog.c: Update logical id.
2171 Fixes: NB#100646 (Logical strings is shown for ok in set
2172 password,Password needed dialogs)
2174 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2177 * src/hildon-remote-texture.c
2178 * src/hildon-remote-texture.h
2179 * src/hildon-remote-texture-private.h
2181 Added remote texture widget (for Clutter shared memory textures)
2183 * examples/hildon-remote-texture-example.c
2184 * examples/Makefile.am
2185 Added example file for remote texture usage
2187 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2189 * configure.ac: post release version bump.
2190 * debian/changelog: version bump.
2192 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2197 * configure.ac: Bump version.
2198 * debian/changelog: Updates.
2200 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2202 * src/hildon-date-selector.c (hildon_date_selector_init)
2203 (hildon_date_selector_constructor): Don't connect to the "changed"
2204 signal until the selector is completely constructed.
2206 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/hildon-touch-selector.c: (_create_new_column),
2209 (hildon_touch_selector_append_column),
2210 (hildon_touch_selector_set_column_selection_mode),
2211 (hildon_touch_selector_set_active),
2212 (hildon_touch_selector_select_iter):
2213 Emit the HildonTouchSelector::changed signal every time selection
2214 is changed in any of the methods above. This behavior was already
2215 documented but not fully functional.
2217 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2218 selection is programmatically changed)
2220 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2222 * doc/hildon-sections.txt: Remove obsolete icon
2223 sizes from here as well.
2225 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2227 * examples/hildon-stackable-window-example.c (add_window): Remove
2230 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2232 * src/hildon-app-menu.c
2233 (hildon_app_menu_show): Check whether the parent window of a menu
2234 is topmost before popping it up.
2236 Fixes: NB#100468 (Application menu window is launched even when a
2237 new secondary-window/dialog is pending to be shown/realized.)
2239 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2241 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2244 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2246 Patch by Mox Soini (ext-mox.soini@nokia.com)
2248 * src/hildon-banner.c: (hildon_banner_show_animation):
2249 use stylus size instead of obsolete note size.
2250 * src/hildon-defines.h: Update icon sizes.
2252 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2254 * src/hildon-touch-selector-entry.c:
2255 (hildon_touch_selector_entry_init): Disable unsupported
2257 (hildon_touch_selector_entry_get_text_column): Emit a warning
2258 if an unsupported input modes is used and explicitile state
2259 these modes in the documentation.
2261 Fixes: NB#99802 (Hildon touch selector entry not working properly
2262 for some of the input modes)
2264 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2266 * src/hildon-pannable-area.c,
2267 (hildon_pannable_area_init): Added the changed signal handlers of
2270 Fixes: NB#100320 (HildonPannableArea does not listen to
2271 GtkAdjustment "change" signals)
2273 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2275 * doc/hildon-sections.txt
2276 * src/hildon-window-private.h
2277 * src/hildon-window.h
2278 * src/hildon-window.c (hildon_window_init)
2279 (hildon_window_realize, hildon_window_unrealize)
2280 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2281 (hildon_window_size_request, hildon_window_size_allocate)
2282 (hildon_window_forall, hildon_window_show_all)
2283 (hildon_window_destroy, +paint_edit_toolbar)
2284 (+hildon_window_set_edit_toolbar):
2285 New hildon_window_set_edit_toolbar() method, to add a
2286 HildonEditToolbar to a window without having to pack it manually.
2288 Reorganize hildon_window_size_allocate()
2290 * src/hildon-edit-toolbar.c: Update documentation.
2292 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2293 example to use the new API.
2295 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2297 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2299 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2300 Remove from stack before calling parent's hide.
2302 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2304 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2305 window is removed from the middle of the stack, update the
2306 transiency of the previous one.
2308 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2311 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2313 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2314 block/unblock the signal handler if it's not actually being used.
2315 Fixes some critical warnings.
2317 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2319 Based on a patch by Iván Gómez (igomez@igalia.com)
2321 * src/hildon-banner.c
2325 * src/hildon-pannable-area.c
2326 * src/hildon-picker-dialog.c
2327 * src/hildon-wizard-dialog.h
2328 * src/hildon-wizard-dialog.c: Documentation updates.
2330 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2331 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2333 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2335 * configure.ac: post release version bump.
2336 * debian/changelog: version bump.
2338 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2343 * configure.ac: Bump version.
2344 * debian/changelog: Updates.
2346 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2348 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2349 a stock icon nor change the relief of the back arrow.
2351 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2352 graphics from theme)
2354 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2356 * src/hildon-button.c (hildon_button_set_alignment): Use
2357 priv->alignment if the button has no child yet.
2359 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2361 * src/hildon-button.c: (hildon_button_init): Set the
2362 button style during initialization to give it the proper
2365 Fixes: NB#99713 (HildonButton value label color is wrong)
2367 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2369 * src/hildon-touch-selector.c: Document
2370 hildon_touch_selector_center_on_selected()
2372 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2374 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2375 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2376 all menu items, but not the menu itself.
2377 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2378 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2379 items after adding them to the menu so keyboard accelerators work.
2380 (hildon_app_menu_show): Don't show the menu if it contains items
2381 but none of them are visible.
2383 * examples/hildon-app-menu-example.c (create_menu): Use
2384 gtk_widget_show_all() to show all menu items.
2386 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2388 * src/hildon-picker-dialog.c:
2389 (-_update_title_on_selector_changed_cb),
2390 (-_dialog_update_title): Removed.
2391 (_select_on_selector_changed_cb), (_on_dialog_response),
2392 (on_selector_columns_changed): Do not update the dialog title.
2393 (setup_interaction_mode): Do not connect to
2394 HildonTouchSelector::changed signal if there's a "done" button, as
2395 the dialog title doesn't need to be updated.
2397 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2400 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2402 Patch by Kristian Rietveld (kris@imendio.com)
2404 * src/hildon-touch-selector.c: (_create_new_column): Use new
2405 GtkTreeView::hildon-row-tapped signal to react to user interactions
2406 instead of ::changed.
2408 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2409 with some dynamic tree model)
2411 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2413 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2414 (+screen_size_changed, +label_size_request)
2415 (hildon_note_class_init): Make the Hildon information note have a
2416 minimum height, and make its text hvae a maximum width.
2418 Fixes: NB#98614 (Hildon information note (background) should have
2419 minimum height and maximum text width)
2421 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2423 * src/hildon-banner.h
2424 * src/hildon-banner.c (hildon_banner_show_information)
2425 (hildon_banner_show_informationf)
2426 (hildon_banner_show_information_with_markup): Update documentation
2427 to reflect that the icon_name parameter is not used anymore.
2428 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2429 Remove all code from these functions and mark them as deprecated.
2430 (hildon_banner_show_progress): Mark as deprecated.
2432 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2434 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2436 * src/hildon-pannable-area.c,
2437 (hildon_pannable_area_class_init),
2438 (tranparency_color),
2439 (hildon_pannable_draw_vscroll),
2440 (hildon_pannable_draw_hscroll),
2441 (hildon_pannable_area_expose_event): Added a new way to render the
2442 scrollbars of the pannable area avoiding using cairo at all. This
2443 way we improve the performance of the pannable area rendering. The
2444 cairo rendering procedure is still in the code, we can control
2445 which one to use changing the value of the define
2446 USE_CAIRO_SCROLLBARS.
2448 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2450 * configure.ac: post release version bump.
2451 * debian/changelog: version bump.
2453 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2458 * configure.ac: Bump version.
2459 * debian/changelog: Updates.
2461 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2463 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2464 banners instead of destroying them when they receive a button
2467 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2469 Reverted commit 34028, it was causing regressions, probably the
2470 topmost condition is not correct, we have to check it in more
2471 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2472 propagation of button press events)
2474 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2476 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2477 that the selection is not empty before attempting to retrieve the
2478 current ampm selection.
2480 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2482 * src/hildon-picker-button.c:
2483 (hildon_picker_button_on_dialog_response): Directly update the
2484 button contents when required instead of calling _selection_changed.
2486 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2488 * src/hildon-program.c (hildon_program_update_top_most): Update
2489 'is-topmost' property also when wm_hints is not set.
2491 Fixes: NB#98383 (is-topmost signal is not emitted when task
2492 switcher is clicked.)
2494 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2496 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2500 * src/hildon-animation-actor.c,
2501 * src/hildon-animation-actor.h: Added the animation actor class,
2502 this widget represents an animation actor for WM-assisted
2503 animation effects in the Hildon framework.
2505 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-window-stack-private.h
2508 * src/hildon-window-stack.c
2509 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2510 Avoid calling gtk_widget_show() again indirectly from
2511 hildon_stackable_window_show()
2513 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2515 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2518 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2520 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2521 (hildon_time_selector_init): Move the construction of the hours and
2522 ampm columns to the constructor to preserve the order the columns
2525 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2527 * src/hildon-picker-dialog.c:
2528 (hildon_picker_dialog_class_init): Connect a realize method.
2529 (+hildon_picker_dialog_realize): Setup the interaction mode here
2531 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2532 yet, do it during the realize instead.
2533 (_on_dialog_response):
2534 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2535 if the widget is not realized, to avoid the dialog response before it
2538 Avoid premature responses in the HildonPickerDialog that can cause it
2539 to be hidden before it's even shown.
2541 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2543 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2544 (on_selector_columns_changed), (requires_done_button),
2545 (+prepare_action_area), (setup_interaction_mode),
2546 (_hildon_picker_dialog_set_selector):
2548 Split the interaction mode setup into preparation of the
2549 action area (prepare_action_area()) and the connection of
2550 the signals in setup_interaction_mode() and update the code to
2553 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2555 * src/hildon-pannable-area.c,
2556 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2557 per second to 15, we will check if this is ok regarding
2560 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2562 * src/hildon-pannable-area.c,
2563 (hildon_pannable_axis_scroll): Avoid resize if we already have
2564 reached overshoot_max.
2566 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2568 * src/hildon-pannable-area.c,
2569 (hildon_pannable_area_init),
2570 (hildon_pannable_area_realize),
2571 (hildon_pannable_area_size_allocate),
2572 (hildon_pannable_area_map),
2573 (hildon_pannable_area_unmap),
2574 (hildon_pannable_draw_vscroll),
2575 (hildon_pannable_draw_hscroll),
2576 (hildon_pannable_area_expose_event),
2577 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2578 pannable are to avoid the expose events go to the window and
2579 redraw the window. We save this way that part of the stack and the
2580 paint_boxes. We had to change the positions of the elements when
2583 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2585 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2586 * src/hildon-color-chooser-dialog.c:
2587 (hildon_color_chooser_dialog_init):
2588 * src/hildon-font-selection-dialog.c:
2589 (hildon_font_selection_dialog_init),
2590 (hildon_font_selection_dialog_show_preview):
2591 * src/hildon-get-password-dialog.c:
2592 * src/hildon-login-dialog.c:
2593 * src/hildon-set-password-dialog.c:
2594 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2595 * src/hildon-time-picker.c: (hildon_time_picker_init):
2597 Remove obsolete logical string IDs and update to the appropriate ones.
2599 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2601 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2603 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2604 that happens if the window hasn't been realized yet.
2606 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2607 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2609 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2611 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2612 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2615 Fixes: NB#98537 (Device hangs in account settings dialog)
2617 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2619 * configure.ac: post release version bump.
2620 * debian/changelog: version bump
2622 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2627 * configure.ac: Bump version.
2628 * debian/changelog: Updates.
2630 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2632 Added a new function to the HildonTimeButton widget that allows to
2633 change the step of the minutes in the selector associated with the
2634 button: hildon_time_button_new_step
2636 * src/hildon-time-button.c,
2637 (hildon_time_button_init),
2638 (hildon_time_button_new),
2639 (hildon_time_button_new_step):
2640 * src/hildon-time-button.h: Added the new function and refactored
2642 * examples/hildon-time-button-example.c,
2643 (main): We have replaced the function without parameters with the
2644 function with the steps set to 5
2646 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2648 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2650 * src/hildon-time-selector.c,
2651 (hildon_time_selector_class_init),
2652 (hildon_time_selector_constructor),
2653 (hildon_time_selector_get_property),
2654 (hildon_time_selector_set_property),
2655 (_create_minutes_model),
2656 (hildon_time_selector_new_step),
2657 (hildon_time_selector_set_time),
2658 * src/hildon-time-selector.h: Added a new property to the
2659 HildonTimeSelector (minutes-step), we use that property to control
2660 the steps between the minutes in the list of the selector. We have
2661 added a new function to the API to create a widget changing the
2662 step: hildon_time_selector_new_step.
2664 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2666 * src/hildon-time-selector.c,
2667 (hildon_time_selector_class_init),
2668 (hildon_time_selector_constructor),
2669 (hildon_time_selector_init): Overrided the construct function when
2670 creating the time selector object. We have moved the minutes model
2671 handling code from the init to the new construction function:
2672 hildon_time_selector_constructor.
2674 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2676 * examples/hildon-date-button-example.c: (main): Use the new
2677 hildon_date_button_new_with_year_range() method in the example.
2678 * src/hildon-date-button.c:
2679 (+hildon_date_button_new_with_year_range): New public method
2680 to conveniently create a HildonDateButton with a custom year range
2681 in its HildonDateSelector.
2682 * src/hildon-date-button.h: Add the new public method definition.
2684 Fixes: NB#97908 (Not possible to change the year range in
2685 HildonDateSelector/HildonDateButton)
2687 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2689 * src/hildon-date-selector.c:
2690 (+hildon_date_selector_set_property),
2691 (+hildon_date_selector_get_property),
2692 (hildon_date_selector_class_init): Install new properties "min-year"
2693 and "max-year" to define boundaries for the year column.
2694 (_create_year_model): Use the boundary properties to populate the model.
2695 (+hildon_date_selector_new_with_year_range): New public method to
2696 create a HildonDateSelector with a user defined year range.
2697 (hildon_date_selector_select_current_date): Use the new boundaries to
2698 calculate the iterator of current year.
2699 * src/hildon-date-selector.h: Add the new public method definition.
2701 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2703 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2704 Install a constructor method.
2705 (+hildon_date_selector_construct_ui): construct the widget.
2706 (+hildon_date_selector_constructor): new constructor.
2707 (+hildon_date_selector_init): move out widget construction code to
2708 the new constructor.
2710 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2712 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2713 that there's actually a month or year selected before obtaining them.
2714 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2715 of the HildonTouchSelector::changed signal, as it was emitted on every
2716 single item selection.
2718 Fix some warnings and possible crashers due to the selection restoring.
2720 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2722 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2723 the signal handlers only after creating the dialog instead of on every
2726 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2728 * src/hildon-button.c (hildon_button_init)
2729 * src/hildon-check-button.c (hildon_check_button_init)
2730 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2731 focus when clicked by default.
2733 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2735 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2738 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2740 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2741 Alejandro G. Castro (alex@igalia.com)
2743 * src/hildon-picker-dialog.c:
2744 (hildon_picker_dialog_class_init): install new "center-on-show"
2746 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2747 (hildon_picker_dialog_set_property): add setter code for the new
2749 (hildon_picker_dialog_get_property): add getter code for the new
2751 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2752 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2755 Fixes: NB#92849 (Selected item is not always visible when
2756 HildonTouchSelector is shown)
2758 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2760 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2761 Alejandro G. Castro (alex@igalia.com)
2763 * src/hildon-touch-selector.c:
2764 (_create_new_column): Do not connect to the "realize" signal of the
2766 (hildon_touch_selector_append_column): center on the selected items
2767 when a new column is appended.
2768 (hildon_touch_selector_select_iter): Factor out the code to select a
2769 column to hildon_touch_selector_scroll_to().
2770 (+search_nearest_element): Method to retrieve the nearest selected
2771 element to the visible area of the pannable area in a column.
2772 (+on_realize_cb): scroll to the initially selected item.
2773 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2774 the pannable area is realized, otherwise delay this until it is.
2775 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2776 selected items of a given column.
2777 (+hildon_touch_selector_center_on_selected): Public method to center
2778 all columns on the nearest selected item.
2779 * src/hildon-touch-selector.h: Add definition for
2780 hildon_touch_selector_center_on_selected().
2782 Implement public API to ensure visibility of all selected items in
2783 a HildonTouchSelector.
2785 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2787 Fixed a problem in the fading when calling the scroll_to API, and
2788 improve scrollbar fading handling.
2790 * src/hildon-pannable-area.c,
2791 (hildon_pannable_area_grab_notify): avoid the timeout when the
2793 (hildon_pannable_area_button_press_cb),
2794 (hildon_pannable_area_motion_notify_cb): Code style changes.
2795 (hildon_pannable_area_button_release_cb): Review the conditions
2796 when releasing the mouse button to avoid unrequired fading
2798 (hildon_pannable_area_scroll_to): Do not calculate and set the
2799 velocity if the scroll is not required.
2801 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2803 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2804 Don't check whether the new selector is NULL: it cannot be.
2805 Hold a reference to the selector while doing the replacement.
2807 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2809 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2810 unnecessary size_request in a removed widget.
2812 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2814 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2815 an unnecessary reference tracking that was leaking.
2817 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2819 Added delayed motion notify event handling, this way we can
2820 discard redrawing if more than 25 events arrive per second.
2822 * src/hildon-pannable-area.c,
2823 (hildon_pannable_area_init): Initialized the new private atributes
2824 controlling this timeout
2825 (hildon_pannable_area_dispose): Remove the timeout that controls
2826 the motion notify events.
2827 (hildon_pannable_area_scroll): Added a condition to control the
2828 use of the acceleration.
2829 (hildon_pannable_area_motion_event_scroll_timeout),
2830 (hildon_pannable_area_motion_event_scroll): Added this two
2831 functions, they handle the motion notify events inside the
2833 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2834 to the scroll method with the new function.
2835 (hildon_pannable_area_button_release_cb): We have to remove the
2836 timeout handler and move to the last position if the last motion
2837 events were not handled.
2839 Fixes: NB#97028 (Pannable area updates on every motion event)
2841 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2843 * src/hildon-pannable-area.c,
2844 (hildon_pannable_area_get_topmost): Added a new parameter to
2845 filter the the windows that do not include those events. Added
2846 also a condition when finding the window to filter windows that do
2847 not ask for those events.
2848 (hildon_pannable_area_button_press_cb),
2849 (hildon_pannable_area_button_release_cb),
2850 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2851 topmost function, we have added the new parameter.
2853 Fixes: NB#97458 (Pannable area prevents propagation of button
2856 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2858 * src/hildon-pannable-area.c,
2859 (hildon_pannable_area_initial_effect): Added controls before
2860 launching the timeout and the idle functions.
2861 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2862 of the method, in some situations it can return with TRUE and 0 in
2864 (hildon_pannable_area_button_press_cb): We do not need to set
2865 DELAY for fading out here.
2867 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2869 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2871 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2872 post-cleaning if the selection is not NULL.
2874 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2876 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2877 all items before restoring the selection.
2879 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2881 * src/hildon-touch-selector.c:
2882 (+hildon_touch_selector_unselect_all):
2883 * src/hildon-touch-selector.h: New API to unselect all items in a
2884 column of the touch selector.
2886 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2888 * src/hildon-pannable-area.c,
2889 (hildon_pannable_area_redraw): Added a call to the refresh
2890 function inside the redraw because apparently in some cases the
2891 change in the adjustment does not imply a size allocate.
2893 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2894 despite the view not being scrollable)
2896 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2898 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2899 leak. Check for NULL before attempting to set the window title.
2901 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2903 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2904 whether to show or not the 'Done' button each time the dialog is
2905 shown, as it depends on the HildonTouchSelector selection mode.
2907 Fixes: NB#96226 (In multiple selection mode Done button is shown
2908 sometimes in listpicker)
2910 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2912 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2913 for the number of columns in the HildonTouchSelector more than once.
2915 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2917 * src/hildon-touch-selector.c: Minor documentation fixes.
2919 * src/hildon-picker-dialog.c (+_dialog_update_title)
2920 (_select_on_selector_changed_cb)
2921 (_update_title_on_selector_changed_cb)
2922 (on_selector_columns_changed): Update dialog title when there's no
2923 'Done' button and also when the number of columns in the selector
2927 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2928 (+_selection_changed, hildon_picker_button_on_dialog_response)
2929 (hildon_picker_button_selector_selection_changed)
2930 (+hildon_picker_button_selector_columns_changed)
2931 (hildon_picker_button_set_selector): Update button value and emit
2932 'value-changed' when the number of columns in the selector
2936 Fixes: NB#96225 (Dialog titles are not shown according to the
2937 values selected in the list picker)
2939 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2941 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2942 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2943 New "arrow-width" and "arrow-height" style properties to set the
2944 size of the arrow button.
2945 Set name of arrow button ("hildon-edit-toolbar-arrow").
2947 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2948 graphics from theme)
2950 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2952 * src/hildon-picker-button.c:
2953 (hildon_picker_button_selector_selection_changed): Use
2954 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2955 the dialog is present.
2957 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2958 the selection is accepted in the dialog)
2960 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2962 * src/hildon-color-chooser.h
2963 * src/hildon-color-chooser-dialog.h:
2964 Added G_BEGIN_DECLS and G_END_DECLS
2966 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2968 (_clean_current_selection): plug a leak in the list.
2970 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2972 * src/hildon-picker-dialog.c:
2973 (+free_path_list): Method to free a GList of GtkTreePaths.
2974 (_clean_current_selection), (_save_current_selection),
2975 (_restore_current_selection): Save the current selection in
2976 as a list of lists, to support multiple selection properly.
2978 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2980 patch by Claudio Saavedra (csaavedra@igalia.com)
2982 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2983 Store the press position.
2984 (+hildon_text_view_button_release_event): If the release position is
2985 close enough to the press position, move the cursor here. Otherwise,
2987 (hildon_text_view_class_init): Override GtkTextView press, release, and
2988 motion event handlers, disabling this way text selection through
2989 pointer interaction, and allowing the container widget to handle the
2992 Fixes: NB#95828 (HildonTextView functionality)
2994 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2996 Based on a patch by Iván Gómez (igomez@igalia.com)
2998 * src/hildon-button.[ch]
2999 * src/hildon-calendar.c
3000 * src/hildon-check-button.c
3001 * src/hildon-date-editor.c
3002 * src/hildon-date-selector.c
3003 * src/hildon-picker-button.c
3004 * src/hildon-time-editor.c
3005 * src/hildon-time-selector.c
3006 * src/hildon-touch-selector.[ch]:
3007 Documentation updates
3009 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3011 * src/hildon-pannable-area.c,
3012 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3013 threshold, it was required due to X events handling.
3015 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3017 * src/hildon-pannable-area.c,
3018 (hildon_pannable_area_grab_notify),
3019 (hildon_pannable_area_initial_effect),
3020 (hildon_pannable_area_button_press_cb),
3021 (hildon_pannable_area_button_release_cb),
3022 (hildon_pannable_area_scroll_cb),
3023 (hildon_pannable_area_scroll_to): Review the timeout management of
3024 the scrollbar, the frecuency was incorrectly set.
3026 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3028 * src/hildon-picker-button.c:
3029 (+hildon_picker_button_on_dialog_response),
3030 (hildon_picker_button_clicked): Present the dialog instead of
3031 running it with gtk_dialog_run().
3033 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3036 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3038 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3039 (hildon_app_menu_finalize): When a window is hidden it doesn't
3040 emit notify::is-topmost, so make sure than the menu also
3041 disappears in that case.
3042 (parent_window_topmost_notify): Renamed from parent_window_hidden
3044 Fixes: NB#94460 (stackable window's menu is not closed when its
3047 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3049 * src/hildon-touch-selector-entry.c:
3050 (+hildon_touch_selector_entry_set_input_mode),
3051 (+hildon_touch_selector_entry_get_input_mode):
3052 * src/hildon-touch-selector-entry.h: New methods to access the input
3053 mode in the selector's entry.
3055 Fixes: NB#93410 (API required for setting IM mode in
3056 HildonTouchSelectorEntry)
3058 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3060 * configure.ac: post release version bump.
3061 * debian/changelog: version bump
3063 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3068 * configure.ac: Bump version.
3069 * debian/changelog: Updates.
3071 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3073 * src/hildon-touch-selector.c:
3074 (_hildon_touch_selector_has_multiple_selection): No need
3075 to initialize the variables here.
3077 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3079 * src/hildon-note-private.h
3080 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3081 (hildon_note_finalize, hildon_note_rebuild): Close information
3082 notes when they receive a button press.
3084 Fixes: NB#89890 (Information notes does not get disappeared after
3087 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3089 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3090 mark from the wizard title, as it's not really necessary. Also,
3091 do not display the page title if not set.
3093 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3095 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3096 (parent_window_hidden): Use the window's "is-topmost" property to
3097 detect when to hide the menu.
3099 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3101 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3102 (hildon_app_menu_finalize): If the parent window of the menu is
3103 hidden, hide the menu too.
3105 Fixes: NB#94460 (stackable window's menu is not closed when its
3108 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3111 * debian/libhildon1-examples.install
3113 * examples/Makefile.am:
3114 Use dh_install to install all examples.
3115 Use DEB_SRCDIR instead of defining SOURCE_DIR
3117 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3119 * configure.ac: post release version bump.
3120 * debian/changelog: version bump
3122 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3127 * configure.ac: bump version
3128 * debian/changelog: updates
3129 * debian/control: bump gtk+ dependency
3131 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3133 patch by Christian Dywan (christian@imendio.com)
3135 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3136 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3138 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3140 * src/hildon-check-button.c (hildon_check_button_init)
3141 (hildon_check_button_class_init, hildon_check_button_style_set)
3142 (hildon_check_button_apply_style):
3143 New "checkbox-size" style property.
3145 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3146 larger / configurable size)
3148 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3150 * configure.ac: post release version bump.
3151 * debian/changelog: version bump
3153 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3158 * configure.ac: bump version
3159 * debian/changelog: updates
3161 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3163 * doc/hildon-sections.txt
3164 * src/hildon-pannable-area.c
3165 * src/hildon-program.c
3166 * src/hildon-time-editor.c
3167 * src/hildon-touch-selector-entry.c:
3169 More documentation updates.
3171 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3173 * doc/hildon-sections.txt
3174 * src/hildon-caption.c
3175 * src/hildon-code-dialog.c
3176 * src/hildon-color-button.c
3177 * src/hildon-controlbar.c
3178 * src/hildon-date-editor.c
3179 * src/hildon-date-selector.c
3180 * src/hildon-edit-toolbar.c
3181 * src/hildon-find-toolbar.c
3182 * src/hildon-font-selection-dialog.c
3184 * src/hildon-program.c
3185 * src/hildon-range-editor.c
3186 * src/hildon-seekbar.c
3187 * src/hildon-time-editor.c
3188 * src/hildon-time-selector.c
3189 * src/hildon-volumebar-range.c
3190 * src/hildon-volumebar.c
3191 * src/hildon-vvolumebar.c
3192 * src/hildon-weekday-picker.c
3193 * src/hildon-window.c
3194 * src/hildon-wizard-dialog.c:
3196 Lots of documentation fixes.
3198 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3200 Patch contributed by Iván Gómez (igomez@igalia.com)
3202 * src/hildon-check-button.c:
3203 * src/hildon-date-button.c:
3204 * src/hildon-date-selector.c:
3205 * src/hildon-dialog.c:
3206 * src/hildon-edit-toolbar.c:
3207 * src/hildon-entry.c:
3208 * src/hildon-picker-button.c:
3209 * src/hildon-program.c:
3210 * src/hildon-text-view.c:
3211 * src/hildon-time-button.c:
3212 * src/hildon-touch-selector-entry.c:
3213 * src/hildon-window-stack.c:
3215 Add more "since" tags to the new API.
3217 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3219 * doc/hildon-sections.txt: Add below method.
3220 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3221 version for the hildonized scale.
3222 * src/hildon-gtk.h: Add the definition.
3224 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3226 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3228 * doc/hildon-sections.txt: Add missing entries for new methods.
3230 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3232 Added API to pannable are in order to get its adjustments. We
3233 added two properties to manage the values we had in the private
3236 * src/hildon-pannable-area.c:
3237 (hildon_pannable_area_class_init): Added hadjustment and
3238 vadjustment properties in order to expose horizontal and vertical
3240 (hildon_pannable_area_get_property),
3241 (hildon_pannable_area_set_property): Added code to handle the new
3243 (hildon_pannable_area_get_hadjustment),
3244 (hildon_pannable_area_get_vadjustment): API functions to get the
3246 * src/hildon-pannable-area.h:
3247 (hildon_pannable_area_get_hadjustment),
3248 (hildon_pannable_area_get_vadjustment): API functions to get the
3251 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3253 Fixed some leaks, after valgrinding.
3255 * src/hildon-touch-selector.c:
3256 (_default_print_func): Fixed a leak.
3257 (hildon_touch_selector_append_column): Fixed a leak.
3258 * src/hildon-date-button.c:
3259 (hildon_date_button_init): Fixed a leak.
3260 * src/hildon-date-selector.c
3261 (hildon_date_selector_finalize): Fixed a leak.
3263 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3265 Based on a patch by Christian Dywan (christian@imendio.com)
3267 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3269 * src/hildon-gtk.h: Add definition.
3271 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3273 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3275 * src/hildon-picker-button.c: (hildon_picker_button_init),
3276 (hildon_picker_button_new): Set the HildonButton::style property
3277 in the init method, to propagate the value to the derived classes.
3279 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3281 * src/hildon-button.c: (hildon_button_class_init): Do not make
3282 the "style" property a construct property.
3284 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3286 * src/hildon-wizard-dialog.h
3287 * src/hildon-wizard-dialog.c
3288 (hildon_wizard_dialog_set_forward_page_func)
3289 * src/hildon-pannable-area.h
3290 * src/hildon-pannable-area.c
3291 (hildon_pannable_area_set_size_request_policy):
3292 Documentation fixes.
3294 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3296 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3298 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3300 * doc/hildon-sections.txt: Added sections file.
3302 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3305 * src/*.[ch]: Updates.
3307 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3309 * examples/hildon-progress-indicator-example.c: new file
3310 * examples/Makefile.am: include the new example program
3312 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3314 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3316 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3318 * configure.ac: post release version bump
3319 * debian/changelog: version bump
3321 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3326 * configure.ac: bump version
3327 * debian/changelog: updates
3328 * debian/control: bump gtk+ dependency
3330 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3332 * src/hildon-dialog.c: Mark as deprecated.
3333 * src/hildon-dialog.h: Mark as deprecated.
3334 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3335 from HildonDialog and still work, even if
3336 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3337 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3339 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3340 maemo changes) instead)
3342 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3344 * src/hildon-pannable_area.h:
3345 * src/hildon-pannable_area.c:
3346 (hildon_pannable_area_class_init),
3347 (hildon_pannable_area_set_property),
3348 (hildon_pannable_area_get_property),
3349 (hildon_pannable_area_size_request),
3350 (hildon_pannable_area_get_size_request_policy),
3351 (hildon_pannable_area_set_size_request_policy): Added new API
3352 allowing applications to control the request policy. Now they can
3353 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3354 children allocation (HILDON_MOVEMENT_CHILDREN).
3356 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3360 (hildon_gtk_tree_view_set_ui_mode)
3361 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3362 mode of treeviews and iconviews.
3364 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3366 * src/hildon-touch-selector-entry.c:
3367 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3368 of a GtkEntry to get proper theming.
3370 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3371 widget, not GtkEntry)
3373 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3375 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3376 no HildonWizardDialogPageFunc.
3378 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3380 Patch contributed by Iván Gómez (igomez@igalia.com)
3382 * src/hildon-app-menu.c:
3383 * src/hildon-button.c:
3384 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3385 * src/hildon-stackable-window.c:
3386 * src/hildon-time-selector.c:
3387 * src/hildon-touch-selector.c:
3388 * src/hildon-window.c:
3390 Add more "since" tags to the new API in hildon 2.2.
3392 2008-12-05 Tim Janik <timj@imendio.com>
3394 Patch contributed by Christian Dywan (christian@imendio.com)
3396 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3397 HildonSizeType, which are supplied by Gtk+ now.
3399 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3401 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3402 (with maemo changes) instead)
3404 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3406 Patch contributed by Iván Gómez (igomez@igalia.com)
3408 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3411 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3413 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3414 (some_page_func), (main): Update the example to use a
3415 HildonWizardDialogPageFunc function.
3417 * src/hildon-wizard-dialog-private.h: Add private data for
3418 the HildonWizardDialogPageFunc function usage.
3420 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3421 (destroy), (hildon_wizard_dialog_init), (response),
3422 (hildon_wizard_dialog_set_forward_page_func):
3423 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3424 that applications can use to stop a HildonWizardDialog to jump to
3427 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3430 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3432 * src/hildon-program.h
3433 * src/hildon-program-private.h
3434 * src/hildon-program.c (hildon_program_init)
3435 (hildon_program_set_common_app_menu)
3436 (hildon_program_get_common_app_menu):
3437 New API for setting a common HildonAppMenu for all
3438 HildonStackableWindows registered with the HildonProgram.
3440 * src/hildon-stackable-window.c
3441 (hildon_stackable_window_toggle_menu):
3442 Use the common HildonAppMenu if a window doesn't have a specific
3445 * src/hildon-app-menu-private.h
3446 * src/hildon-app-menu.c
3447 (hildon_app_menu_get_parent_window):
3448 Function to obtain the window a HildonAppMenu is attached to.
3449 (hildon_app_menu_set_parent_window):
3450 Hide the menu if the parent window is set to NULL.
3452 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3454 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3455 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3456 search widget to popup.
3458 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3460 * configure.ac: post release version bump
3461 * debian/changelog: version bump
3463 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3468 * configure.ac: bump version
3469 * debian/changelog: updates
3471 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3473 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3475 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3476 (hildon_window_stack_window_realized)
3477 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3478 Set the leader GdkWindow when a window is stacked and realized,
3479 unset it when it's unstacked.
3480 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3482 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3484 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3486 * src/hildon-stackable-window.h
3487 * src/hildon-window-stack.h:
3488 Protect definition of HildonWindowStack using the preprocessor.
3490 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3492 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3493 Fix warning if all menu items are hidden.
3495 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3497 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3499 * src/hildon-controlbar.c:
3500 * src/hildon-hvolumebar.c:
3501 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3502 Multiple scale size defines updates.
3504 Fixes: NB#94322 (Scale Updates)
3506 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3508 * examples/hildon-app-menu-example.c (create_menu)
3509 Show items after adding them to the menu, as in the future the
3510 menu will no longer call gtk_widget_show() on the added items.
3512 * src/hildon-app-menu.c:
3513 Update example as explained above.
3515 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3517 * src/hildon-app-menu.c
3518 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3519 Make sure that all menu items have finger height.
3521 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3523 * src/hildon-picker-dialog.c:
3524 (_on_dialog_response), (_save_current_selection),
3525 (_restore_current_selection), (_clean_current_selection),
3526 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3527 Defined new functions in order to save the current internal selector
3528 selection previous open the dialog, in case that the use cancel the
3529 interaction, so the widget restores the previous selection.
3531 Fixes: NB#92032 (In calendar application, date values in 'new event'
3534 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3536 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3538 * src/hildon-button.c: Add a reference to the button examples in
3539 hildon-button-example.c
3541 * examples/hildon-button-example.c: Added examples of the most
3542 common button layouts.
3544 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3546 * src/hildon-app-menu.c (hildon_app_menu_show)
3547 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3549 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3551 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3553 * src/hildon-picker-dialog.c:
3554 (hildon_picker_dialog_init): Initialize the signal id for
3555 HildonTouchSelector::columns-changed.
3556 (+on_selector_columns_changed): Set up the interaction mode everytime a
3557 column is added or removed from the HildonTouchSelector.
3558 (_hildon_picker_dialog_set_selector): Connect to
3559 HildonTouchSelector::columns-changed and keep track of it.
3561 Make sure to update the interaction mode of the dialog everytime a
3562 column is added or removed in the HildonTouchSelector.
3564 Fixes: NB#93228 (Done button is not shown always in listpicker)
3566 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3568 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3569 a new ::columns-changed signal.
3570 (hildon_touch_selector_append_column): Emit ::columns-changed.
3571 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3573 Add a ::columns-changed signal, emitted when the number of columns in a
3574 HildonTouchSelector changes.
3576 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3578 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3579 (_hildon_picker_dialog_set_selector): Factor out the code
3580 to set up the dialog interaction mode.
3582 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3584 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3585 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3586 to signal_changed_id.
3588 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3590 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3593 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3595 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3596 Updated the logical ids related to ampm format, as now it is required to
3597 show it correctly localized even on languages with no default
3598 abbreviations for am or pm
3599 (_check_am_pm_format): check correctly the 24h format gconf property
3601 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3603 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3605 * src/hildon-button.c: Documentation updates.
3607 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3609 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3610 * src/hildon-caption.c: (hildon_caption_class_init):
3611 * src/hildon-color-button.c: (hildon_color_button_class_init):
3612 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3613 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3614 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3615 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3617 Remove deprecated GTK+ marshalers and replace them with the ones
3618 provided by GLib, for those available, add a marshaler for
3619 BOOLEAN:VOID, which is not available in GLib, and use it.
3621 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3623 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3624 the text from the previous column if there is no
3625 HildonTouchSelectorColumn::text-property set.
3627 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3629 * src/hildon-button.h
3630 * src/hildon-button.c (hildon_button_set_property)
3631 (hildon_button_get_property, hildon_button_class_init)
3632 (hildon_button_set_style, hildon_button_get_style):
3633 New "style" property to change the visual appearance of the
3636 * src/hildon-picker-button.c (hildon_picker_button_new):
3637 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3639 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3640 HildonButton look like PickerButton)
3642 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3644 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3645 column while building the default string.
3647 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3649 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3650 scroll indicator by default.
3652 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3654 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3656 * src/hildon-main.c: Fix the documentation for hildon_init()
3658 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3660 * doc/hildon-docs.sgml
3664 * src/hildon-window-stack-private.h
3665 * src/hildon-window-stack.h
3666 * src/hildon-window-stack.c:
3667 New HildonWindowStack object, that adds support for multiple
3668 stacks of windows per process.
3670 * src/hildon-stackable-window-private.h
3671 * src/hildon-stackable-window.h
3672 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3673 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3674 (hildon_stackable_window_show, hildon_stackable_window_hide)
3675 (hildon_stackable_window_class_init)
3676 (hildon_stackable_window_init):
3677 Use HildonWindowStack for stack management.
3679 * src/hildon-program.c (hildon_program_pop_window_stack)
3680 (hildon_program_peek_window_stack)
3681 (hildon_program_go_to_root_window):
3682 Add a fallback implementation to the deprecated functions using
3685 * examples/hildon-stackable-window-example.c:
3686 Use the new HildonWindowStack API.
3688 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3690 * src/hildon-stackable-window-private.h
3691 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3692 (hildon_stackable_window_hide, hildon_stackable_window_init):
3693 Remove all window stack management.
3695 * src/hildon-program-private.h
3696 * src/hildon-program.h
3697 * src/hildon-program.c (hildon_program_init)
3698 (hildon_program_pop_window_stack)
3699 (hildon_program_peek_window_stack)
3700 (hildon_program_go_to_root_window):
3701 Remove all window stack management and mark functions as
3704 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3706 * src/hildon-app-menu.c (hildon_app_menu_realize):
3707 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3709 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3711 * configure.ac: post release version bump
3712 * debian/changelog: version bump
3714 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3719 * configure.ac: bump version
3720 * debian/changelog: updates
3722 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3724 Based on initial code by Christian Dywan (christian@imendio.com)
3726 * doc/hildon-docs.sgml: Add section for hildon-main.
3727 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3728 * src/Makefile.am: Add new hildon-main.[ch]
3729 * src/hildon-defines.h: Update the icon sizes.
3730 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3731 new library initialization files and register icon sizes.
3732 * src/hildon-main.h: New declarations.
3733 * src/hildon.h: Include hildon-main.h
3735 Add new initialization functions to the library. These methods
3736 will register the hildon specific icon sizes and can be used in the
3737 future for other hildon specific bits.
3739 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3741 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3743 * src/hildon-window.c: (hildon_window_realize),
3744 (hildon_window_notify), (-hildon_window_update_title): Do not set
3745 the application name in the window title.
3747 Fixes: NB#89754 (Applications shouldn't display their names in the
3750 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3752 * src/hildon-note-private.h:
3753 * src/hildon-note.c: (hildon_note_set_property),
3754 (hildon_note_get_property), (hildon_note_class_init),
3755 (hildon_note_init), (hildon_note_finalize),
3756 (hildon_note_new_confirmation_with_icon_name),
3757 (hildon_note_new_information_with_icon_name):
3759 No need to mark as deprecated the actual code. Revert
3760 to avoid missing symbols in widgets using deprecated API.
3762 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3764 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3766 * src/hildon-volumebar.h
3767 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3768 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3770 * src/hildon-helper.h
3771 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3772 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3774 * examples/Makefile.am:
3775 Deprecate hildon-insensitive-example
3777 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3779 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3781 * examples/hildon-pannable-area-buttons-scroll-example.c:
3782 Make all buttons finger height
3784 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3786 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3788 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3789 update the day model only if it is really required, and to avoid the
3790 full-reconstruction aproach. Now it only add or remove the required days.
3792 The purpose of this is avoid superfluous HildonTouchSelector::changed
3795 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3796 with strange parameters)
3798 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3800 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3802 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3803 the WINDOW_TYPE property.
3805 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3807 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3810 Fix dependency to allow parallel compilation with make -jX
3812 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3814 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3815 color frame and some minor tweaks to make it more consistent with
3818 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3819 highlighted but not visible)
3821 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3823 * examples/Makefile.am: Fixed typo in the Makefile.am.
3825 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3827 Reviewed the use of MAEMO_GTK define, now we add the define in the
3828 compilation line, and we also add it to the pc file.
3830 * configure.ac: Added MAEMO_GTK define to the compilation command
3831 and removed it from the config.h.
3833 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3834 do not have to take care about this define if the library was
3838 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3840 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3842 * examples/Makefile.am,
3843 * examples/hildon-pannable-area-buttons-scroll-example.c,
3844 * examples/hildon-pannable-area-gesture-signals-example.c,
3845 * examples/hildon-pannable-area-scroll-jump-example.c,
3846 * examples/hildon-pannable-area-tree-view-example.c:
3847 Renamed the pannable area examples, now they have more meaningful
3850 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3852 * src/hildon-touch-selector.c:
3853 (hildon_touch_selector_set_column_selection_mode): Used of
3854 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3855 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3856 to avoid re-seting the same selection mode.
3858 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3859 breaks HildonPickerDialog)
3861 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3863 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3864 conditional in the Makefile.am
3866 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3868 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3869 Remove unused methods.
3871 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3873 * src/hildon-button.c (hildon_button_init):
3874 Make button images center-aligned by default
3876 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3879 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3880 activated, we have to think about how to deal with both defines
3881 MAEMO_GTK and MAEMO_CHANGES.
3883 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3885 * examples/hildon-app-menu-example.c (create_menu): Make all
3886 buttons finger size.
3888 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3890 Fixed the compilation without maemo gtk adding ifdefs with
3891 MAEMO_GTK define to the code, we have to check this version more
3894 * examples/Makefile.am: Added control to avoid some examples that
3895 just make sense with maemo gtk.
3898 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3899 hildon modes with the define.
3901 * examples/hildon-edit-toolbar-example.c,
3902 (create_icon_view): Create the icon view without hildon-gtk
3903 helpers if we are not using maemo gtk.
3905 * src/hildon-touch-selector.c,
3906 (_create_new_column): Create the treeview without hildon-gtk
3907 helpers if we are not using maemo gtk.
3909 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3911 * src/hildon-pnnable-area.c,
3912 (hildon_pannable_area_dispose),
3913 (hildon_pannable_area_button_press_cb),
3914 (hildon_pannable_area_child_mapped),
3915 (hildon_pannable_area_add),
3916 (hildon_pannable_area_remove): Added code to control the position
3917 of the event_window when adding and removing children from the
3918 pannable. We have to raise the event window when the child is
3921 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3922 selection mode using custom widget inside pannable)
3924 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3926 * configure.ac: post release version bump
3927 * debian/changelog: version bump
3929 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3934 * configure.ac: bump version
3935 * debian/changelog: updates
3937 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3939 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3940 search mode, in order to avoid lose the focus on the treeview when
3941 a hw key (like enter) is pressed.
3943 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3944 in HildonDateSelector dialog)
3946 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3948 * debian/rules: Added --enable-maintainer-mode
3949 * Makefile.am: Added ACLOCAL_AMFLAGS
3951 This allows to properly regenerate the Makefiles if you modify the
3952 configure.ac or any Makefile.am.
3954 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3956 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3957 properties, not needed at all.
3959 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3961 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3963 * src/hildon-note.c: (hildon_note_set_property),
3964 (hildon_note_get_property), (hildon_note_class_init),
3965 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3966 (hildon_note_new_confirmation_add_buttons): Remove icons.
3967 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3968 (hildon_note_new_information_with_icon_name): Deprecate.
3969 (hildon_note_new_confirmation): Act directly, without calling
3970 the deprecated constructor.
3971 (hildon_note_new_information): Act directly, without calling
3972 the deprecated constructor.
3973 * src/hildon-note.h: Mark deprecate methods as such.
3974 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3975 not run tests on the deprecated methods if built with deprecation
3978 Fixes: NB#91688 (Never show icons in information notes/confirmation
3981 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3983 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3984 (hildon_app_menu_key_press): Remove leftover usage of the
3985 private structure in HildonAppMenu struct.
3986 * src/hildon-app-menu.h: Remove leftover private structure
3987 from the HildonAppMenu struct.
3989 Fixes a crasher when using the HildonAppMenu.
3991 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3993 * src/hildon-picker-dialog.c: Use appropriate logical id
3994 for the default "Done" text.
3996 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3998 * configure.ac: post release version bump
3999 * debian/changelog: version bump
4001 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4003 Modified the way to scroll to the current selection just when the touch
4004 selector is shown on the screen, avoiding a g_idle. Added too a property
4005 to configure this behaviour. See hildon_pannable_area_jump_to_child
4006 documentation for more information.
4008 * src/hildon-touch-selector.c
4009 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4010 Added 'initial-scroll' property
4011 (hildon_touch_selector_set_property): Added
4012 (hildon_touch_selector_map): Removed as not required anymore
4013 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4014 only a concrete column, instead of iterate along all the columns
4016 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4021 * configure.ac: bump version
4022 * debian/changelog: updates
4024 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4026 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4027 compilation time warnings.
4029 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4031 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4032 the default value for HildonPannableArea::mov-mode to
4033 HILDON_PANNABLE_AREA_MODE_VERT.
4035 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4037 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4039 Reverting following commit:
4041 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4043 * src/hildon-app-menu-private.h
4044 * src/hildon-app-menu.[ch]
4045 * src/hildon-button.[ch]
4046 * src/hildon-check-button.[ch]
4047 * src/hildon-entry.[ch]
4048 * src/hildon-pannable-area.[ch]
4049 * src/hildon-text-view.[ch]:
4050 Added private field to the object's structure.
4052 because it causes an ABI breakage. We will need to introduce these
4053 changes later at some point. See NB#91636 for an extensive
4054 explanation and status.
4056 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4058 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4060 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4061 remove special cases that are no longer necessary.
4063 Fixes: NB#91016 (Change toolbar sizes, simplification)
4065 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4067 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4068 is shown in the cancel note.
4070 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4072 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4073 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4074 (hildon_seekbar_init): Remove steppers, remove expose event.
4075 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4077 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4079 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4081 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4082 label font to "SmallSystemFont" for vertically arranged buttons.
4084 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4087 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4089 * src/hildon-check-button.c
4090 (hildon_check_button_set_active, hildon_check_button_clicked):
4091 Don't access private parts directly, use getters instead.
4093 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4095 * src/hildon-check-button.c (hildon_check_button_new):
4096 Align the contents of the check button to the left.
4098 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4100 * src/hildon-pannable-area.c,
4101 (hildon_pannable_area_scroll_to),
4102 (hildon_pannable_area_jump_to),
4103 (hildon_pannable_area_scroll_to_child),
4104 (hildon_pannable_area_jump_to_child): Replace the mapped
4105 precondition of these functions with the realized, it is the
4106 correct state of the widget in this case. Changed the
4107 documentation according to this modification.
4109 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4111 Added a new EXTRA_CFLAGS option to add the deprecated define to
4112 the compilation command. This way we can avoid using the define in
4113 the documentation compilation.
4115 * configure.ac: Defined EXTRA_CFLAGS.
4117 * examples/Makefile.am:
4119 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4121 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4123 * src/hildon-picker-dialog.c:
4124 Defined a utility macro with the desired touch selector height
4125 Removed currently unused separator, and title_label variables from
4127 (hildon_picker_dialog_init): Removed code related to the creation
4128 of unused private variables title_label and separator.
4129 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4130 to ensure correct visualization of the touch selector inside the dialog.
4131 * src/hildon-touch-selector.c
4132 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4133 ensure a concrete height of the widget.
4135 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4138 * tests/Makefile.am:
4140 Remove spurious whitespaces.
4142 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4144 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4145 compilation warning after the cancel button removal.
4147 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4149 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4151 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4152 Makefile.am, that way we can choose not to compile some examples
4153 and tests of the deprecated widgets.
4155 * examples/Makefile.am: Divided the sources in deprecated and
4158 * src/Makefile.am: Added undef statement of the deprecated
4159 symbol to the enums file generation process.
4161 * src/hildon-color-chooser-dialog.c
4162 * src/hildon-color-chooser-dialog.h
4163 * src/hildon-color-button.c
4164 * src/hildon-color-button.h
4165 * src/hildon-color-chooser.c
4166 * src/hildon-color-chooser.h
4167 * src/hildon-controlbar.c
4168 * src/hildon-controlbar.h
4169 * src/hildon-date-editor.c
4170 * src/hildon-date-editor.h
4171 * src/hildon-hvolumebar.c
4172 * src/hildon-hvolumebar.h
4173 * src/hildon-private.c
4174 * src/hildon-private.h
4175 * src/hildon-range-editor.c
4176 * src/hildon-range-editor.h
4177 * src/hildon-seekbar.c
4178 * src/hildon-seekbar.h
4179 * src/hildon-time-editor.c
4180 * src/hildon-time-editor.h
4181 * src/hildon-time-picker.c
4182 * src/hildon-time-picker.h
4183 * src/hildon-volumebar.c
4184 * src/hildon-volumebar.h
4185 * src/hildon-vvolumebar.c
4186 * src/hildon-vvolumebar.h
4187 * src/hildon-bread-crumb-trail.h
4188 * src/hildon-bread-crumb-trail.c
4189 * src/hildon-calendar-popup.c
4190 * src/hildon-calendar-popup.h
4191 * src/hildon-weekday-picker.c:
4192 * src/hildon-weekday-picker.h:
4193 * src/hildon-bread-crumb-widget.c:
4194 * src/hildon-bread-crumb-widget.h:
4195 * src/hildon-bread-crumb.c:
4196 * src/hildon-bread-crumb.h:
4197 * src/hildon-calendar.c:
4198 * src/hildon-calendar.h:
4199 * src/hildon-caption.c:
4200 * src/hildon-code-dialog.c:
4201 * src/hildon-code-dialog.h:
4202 * src/hildon-font-selection-dialog.c:
4203 * src/hildon-font-selection-dialog.h:
4204 * src/hildon-get-password-dialog.c:
4205 * src/hildon-get-password-dialog.h:
4206 * src/hildon-login-dialog.c:
4207 * src/hildon-login-dialog.h:
4208 * src/hildon-number-editor.c:
4209 * src/hildon-number-editor.h:
4210 * src/hildon-set-password-dialog.c:
4211 * src/hildon-set-password-dialog.h:
4212 * src/hildon-sort-dialog.c:
4213 * src/hildon-sort-dialog.h: This is the list of deprecated
4216 * src/hildon-touch-selector.c:
4217 * src/hildon-window.c: Added undef statement to avoid compilation
4220 * tests/Makefile.am: Divided the sources in deprecated and
4223 * tests/check_test.c,
4224 (configure_tests): Marked the deprecated code that was adding
4225 suites with deprecated tests.
4227 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4229 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4231 * src/hildon-touch-selector.c: (_default_print_func): Do not
4232 duplicate a string returned by gtk_tree_model_get(), it is already
4235 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4238 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4240 * src/hildon-pannable-area.c
4241 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4242 method, it had problems when adding a widget with viewport the
4243 second time. Now checks if it already has a viewport and uses it.
4245 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4248 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4250 * src/hildon-pannable-area.c,
4251 (hildon_pannable_area_scroll_to),
4252 (hildon_pannable_area_jump_to),
4253 (hildon_pannable_area_scroll_to_child),
4254 (hildon_pannable_area_jump_to_child): Added a precondition to the
4255 scroll and jump to functions: the widget must be mapped before we
4256 can safely call these functions. We have also added documentation
4257 to the functions to explain how to use them in this situation.
4260 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4262 Reviewed the threading handling of the pannable widget, we have
4263 used the gdk_threads_add_timeout function instead of the usual
4264 glib handlers. This avoids some problems with the threads.
4266 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4267 (hildon_pannable_area_initial_effect),
4268 (hildon_pannable_area_scroll_indicator_fade),
4269 (hildon_pannable_area_button_press_cb),
4270 (hildon_pannable_area_timeout),
4271 (hildon_pannable_area_motion_notify_cb),
4272 (hildon_pannable_area_button_release_cb),
4273 (hildon_pannable_area_scroll_cb),
4274 (hildon_pannable_area_scroll_to): Removed the
4275 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4276 gdk_threads_add_timeout.
4278 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4280 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4285 * configure.ac: bump version
4286 * debian/changelog: updates
4288 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4290 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4291 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4292 * src/hildon-color-chooser-dialog.c:
4293 (hildon_color_chooser_dialog_init):
4294 * src/hildon-font-selection-dialog.c:
4295 (hildon_font_selection_dialog_init):
4296 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4298 Remove all cancel/close-like dialogs, as these are not going to be
4301 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4303 * src/hildon-note.c: (hildon_note_rebuild),
4304 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4307 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4309 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4311 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4312 sure all buttons are shown, even the Cancel/Close-like ones.
4314 Fixes: NB#90861 (Custom Confirmation dialogs should be
4315 protected from cancel button removal)
4317 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4319 * debian/control: Change libhildon1-examples dependency from libhildon1
4321 * debian/libhildon1-examples.install
4323 * Makefile.am: Modified the final install directory for the examples on
4324 package libhildon1-examples
4325 * Makefile.static: Update clean target in order to remove all the binary
4328 Changes suggested by Claudio after review new libhildon1-examples package
4330 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4332 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4333 * src/hildon-touch-selector.c: Ditto.
4335 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4337 * debian/control: Added new package libhildon1-examples, in order to pack
4338 the current hildon examples as documentation
4339 * debian/rules: Not to compress .c files, modify some includes on the
4340 examples (as normally are compiled locally, but when installed it will
4341 require to include the installed libhildon1 library), and rename
4343 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4344 install all the example files on the new example package
4345 * examples/Makefile.static: Added static makefile that can be used to
4346 compile the examples, once installed the new example package
4347 * examples: Most of the examples were modified in order to grant that
4348 all use only '#include "hildon.h"', in order to be easy to prepare
4349 it on the example package
4351 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4354 * debian/libhildon1-dev.install
4355 * debian/libhildon1-doc.install:
4356 Move all gtk-doc files to a separate libhildon1-doc package.
4358 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4360 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4362 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4364 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4366 * debian/rules: Fixed a error in order to avoid unnecessary calls
4367 to autogen.sh on package building
4369 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4371 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4373 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4375 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4378 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4380 * src/hildon-picker-button.c
4381 (hildon_picker_button_finalize):
4382 Free priv->done_button_text
4384 * src/hildon-time-button.c
4385 (hildon_time_button_set_time)
4386 * src/hildon-picker-button.c
4387 (hildon_picker_button_clicked)
4388 (hildon_picker_button_selector_selection_changed)
4389 (hildon_picker_button_set_selector)
4390 * src/hildon-date-button.c
4391 (hildon_date_button_set_date):
4392 Free strings returned by hildon_touch_selector_get_current_text()
4394 * src/hildon-button.c (hildon_button_construct_child):
4395 Fix leaks in priv->image and priv->label_box
4397 Fixes: NB#90535 (Memory leak in picker button)
4399 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4401 * src/hildon-button.c: (hildon_button_get_property): Do not access
4402 private elements directly, use getters instead.
4404 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4406 * src/hildon-app-menu-private.h
4407 * src/hildon-app-menu.c
4408 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4409 Store the menu's parent window.
4411 * src/hildon-stackable-window.c
4412 (hildon_stackable_window_toggle_menu)
4413 (hildon_stackable_window_finalize):
4414 Set the menu's parent window when the menu is shown, unset it when
4417 * src/hildon-app-menu.c
4418 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4419 (hildon_app_menu_class_init):
4420 Send unhandled keyboard accelerators to the parent window.
4422 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4424 * src/hildon-stackable-window.c
4425 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4427 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4429 * configure.ac: post release version bump
4431 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4434 * configure.ac: Bump version
4435 * debian/changelog: Updates
4436 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4439 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4441 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4444 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4445 GtkMenu with Hildon style.
4447 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4449 * src/hildon-picker-button.c:
4450 (hildon_picker_button_set_done_button_text): Set the dialog's
4451 done button text here as well.
4453 Fixes: NB#90232 (Picker button does not set the label on done button
4454 for the second time)
4456 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4458 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4461 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4463 * src/hildon-app-menu.c (hildon_app_menu_insert)
4464 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4465 the HildonAppMenu to be activatable using keyboard accelerators
4466 when the menu is not being shown.
4468 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4470 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4472 * src/hildon-stackable-window.c
4473 (hildon_stackable_window_show):
4474 Don't hide old windows automatically when new windows are shown:
4475 this is now a task for the window manager.
4476 (hildon_stackable_window_class_init)
4477 (hildon_stackable_window_hide):
4478 Remove windows from the stack everytime they're hidden.
4479 (hildon_stackable_window_realize):
4480 Don't change the _NET_WM_WINDOW_TYPE property. Use
4481 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4482 it as a stackable window.
4484 * src/hildon-program.c
4485 (hildon_program_pop_window_stack):
4486 Just hide the window to remove it from the stack.
4487 (hildon_program_go_to_root_window):
4488 Don't call gtk_widget_show(), this is now a task for the window
4491 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4493 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4495 * src/hildon-button.c
4496 (hildon_button_construct_child):
4497 Don't pack anything in the button until text or image are
4498 set. This allows adding a custom child after creating the button
4499 with hildon_button_new().
4500 (hildon_button_finalize, hildon_button_class_init)
4501 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4502 alignment and the label box even when they're not packed in the
4505 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4507 * src/hildon-touch-selector.h:
4508 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4509 currently the type definition was using GTK_TYPE_VBOX
4510 * src/hildon-touch-selector.c:
4511 Added some implementation notes in order to clarify that any other widget
4512 added without the column related API will not be included on the
4513 selection logic, and how the widget is freed, as some people ask about
4515 (hildon_touch_selector_remove): Reimplemented in order to free properly
4516 the column related data when you remove the private hbox.
4517 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4518 to get a proper HildonTouchSelectorColumn documentation
4520 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4522 * src/hildon-touch-selector-entry.c:
4523 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4524 text in the GtkEntry and there is no item selected. Fixes a
4527 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4529 * src/hildon-app-menu-private.h
4530 * src/hildon-app-menu.[ch]
4531 * src/hildon-button.[ch]
4532 * src/hildon-check-button.[ch]
4533 * src/hildon-entry.[ch]
4534 * src/hildon-pannable-area.[ch]
4535 * src/hildon-text-view.[ch]:
4536 Added private field to the object's structure.
4538 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4540 * configure.ac: post-release version bump
4542 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4546 * configure.ac: pre-release version bump
4548 * debian/changelog: updates.
4550 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4552 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4553 Disconnect the handler for HildonTouchSelector::changed.
4555 (hildon_picker_button_selector_selection_changed): Update the button
4556 value if the selection change was not triggered by the
4559 (hildon_picker_button_set_selector): connect to
4560 HildonTouchSelector::changed.
4562 Fixes: NB#89650 (Picker button is not updated, when selection in
4563 selector has changed)
4565 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4567 * src/hildon-picker-dialog.c
4568 (hildon_picker_dialog_realize): Removed as not required
4569 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4570 * src/hildon-picker-button.c
4571 (_current_selector_empty): New function, checks if the selector is empty
4572 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4573 if the current selector is empty, in order to avoid to show the dialog
4574 close the dialog in this case (and shows a g_warning).
4576 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4578 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4580 * src/hildon-pannable-area.c,
4581 (hildon_pannable_area_scroll): Added clause to stop movement when
4582 the child of pannable is smaller than one page.
4583 (hildon_pannable_area_scroll_to): Added conditions to avoid
4584 starting the scrolling movement if the child is smaller than one
4585 page, the complete child is in the screen, we do not have to move.
4587 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4589 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4591 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4592 this is managed automatically by the widget when the size of the
4595 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4597 * src/hildon-picker-button.c
4598 (hildon_picker_button_set_done_button_text): Make a copy of the
4599 text, and free the previous value.
4601 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4603 * src/hildon-touch-selector-entry.c:
4604 (hildon_touch_selector_entry_print_func): Return the selected row's
4605 text if the entry is empty.
4607 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4610 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4612 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4614 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4617 * src/hildon-check-button.h
4618 * src/hildon-check-button.c
4619 * examples/hildon-check-button-example.c:
4620 HildonCheckButton is now a new widget. 'toggled' signal added.
4622 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4624 * src/hildon-program-private.h
4625 * src/hildon-program.c (hildon_program_init)
4626 (hildon_program_finalize): Removed unused variables group_leader
4627 and name from HildonProgramPrivate.
4629 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4631 * src/hildon-check-button.c (hildon_check_button_set_active)
4632 (hildon_check_button_get_active, hildon_check_button_new): Use
4633 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4635 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4637 * src/hildon-touch-selector.h
4638 (hildon_touch_selector_set_column_attributes): added deprecation
4639 guard HILDON_DISABLE_DEPRECATED
4640 * src/hildon-time-selector.c
4641 (hildon_time_selector_set_time)
4642 (hildon_time_selector_get_time): Fixed a typo on documentation
4643 * src/hildon-touch-selector.c: update HildonTouchSelector and
4644 HildonTouchSelectorColumn documentation
4645 * src/hildon-touch-selector-entry.c: update "text-column" property
4647 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4648 to be added to the general documentation.
4650 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4652 * examples/hildon-pannable-area-example-4.c,
4654 * examples/hildon-pannable-area-example.c,
4655 (main): Modified the code in order to use the container add, with
4656 viewport treeviews could have problems if they are really big.
4658 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4660 * src/hildon-weekday-picker.c,
4661 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4662 the agreement regarding deprecation in the library.
4664 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4666 * examples/hildon-picker-button-multicolumn-example.c:
4667 (main): Use custom "done" button text.
4669 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4670 (hildon_picker_button_set_property),
4671 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4672 (hildon_picker_button_init),
4673 (+hildon_picker_button_get_done_button_text),
4674 (+hildon_picker_button_set_done_button_text): New methods to customize
4675 the "done" button label in the launched HildonPickerDialog. Also,
4678 * src/hildon-picker-button.h: add the public API.
4680 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4682 * src/hildon-date-selector.h:
4683 * src/hildon-picker-dialog.h:
4684 * src/hildon-time-selector.h:
4685 * src/hildon-touch-selector-column.h:
4686 * src/hildon-touch-selector.h:
4688 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4689 declarations. Fixes gtk-doc warnings.
4691 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4693 * src/hildon-picker-dialog.h
4694 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4695 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4697 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4698 long text is set as label for done button)
4700 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4702 * src/hildon-dialog.c (hildon_dialog_add_button):
4703 Set fixed width to all buttons in the HildonDialog.
4705 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4707 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4709 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4710 Set widget name using class name plus "-finger" or "-thumb".
4712 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4714 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4715 'clicked' when the state of the button is manually changed.
4717 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4719 * src/hildon-app-menu.c (hildon_app_menu_realize)
4720 (hildon_app_menu_unrealize, hildon_app_menu_init)
4721 (hildon_app_menu_class_init, item_visibility_changed):
4722 Change the menu layout when the size of the screen changes.
4723 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4724 Show warning only when changing the number of colums using the
4727 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4729 * debian/compat: Set to 5
4730 * debian/control: Update dependencies.
4731 * debian/libhildon1-dbg.install: Remove.
4732 * debian/libhildon1-dev.install: Update according to cdbs paths.
4733 * debian/libhildon1.install: Update according to cdbs paths.
4734 * debian/rules: Switch to cdbs.
4736 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4738 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4739 'item' variable renamed to 'filter'
4741 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4743 * src/hildon-app-menu.c (hildon_app_menu_insert)
4744 (hildon_app_menu_add_filter, remove_item_from_list)
4745 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4746 Don't leak hidden items when the menu is destroyed.
4748 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4750 * src/hildon-app-menu.c (hildon_app_menu_insert)
4751 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4752 (hildon_app_menu_set_columns, item_visibility_changed)
4753 (filter_visibility_changed, hildon_app_menu_repack_filters)
4754 (hildon_app_menu_repack_items):
4755 Repack items and filters separately.
4757 Don't repack all items, change only the ones that are needed to
4760 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4762 * src/Makefile.am: added hildon-touch-selector-column.h
4764 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4766 * src/hildon-touch-selector.c: added the property "text-column" to the
4767 class HildonTouchSelectorColumn, and related get/set functions
4768 (_default_printf_func): updated to use "text-column" property
4769 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4770 "text-column" in his documentation, as this is now included on
4771 HildonTouchSelectorColumn. The get/set_property can still be used,
4772 working as a wrapper to the concrete column "text-column" property
4773 (_text_column_modified): callback added in order to handle the signal
4774 "notify::text-column" of the concrete HildonTouchSelectorColumn
4775 (hildon_touch_selector_entry_get_text_column)
4776 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4777 modified in order to use the HildonTouchSelectorColumn "text-column"
4779 * src/hildon-time-selector.c:
4780 * src/hildon-date-selector.c:
4781 * examples/hildon-touch-selector-example.c
4782 * examples/hildon-touch-selector-multi-cells-example.c
4783 * examples/hildon-picker-button-multicolumn-example.c
4784 Set the right value to "text-column" property on the creation of a new
4785 column using hildon_touch_selector_append_column()
4787 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4789 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4791 * src/hildon-app-menu.c
4792 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4793 updating the layout of the menu, don't create all widgets again,
4794 just repack the items in their new places.
4796 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4798 * src/hildon-time-selector.c
4799 (hildon_time_selector_get_time)
4800 (hildon_time_selector_set_time)
4801 Added documentation of these public methods
4803 * src/hildon-date-button.h
4804 * src/hildon-touch-selector-column.h
4805 * src/hildon-time-button.h
4806 * src/hildon-picker-dialog.h
4807 * src/hildon-time-selector.h
4808 * src/hildon-picker-button.h
4809 * src/hildon-touch-selector.h
4810 * src/hildon-time-picker.h
4811 * src/hildon-date-selector.h
4812 * src/hildon-touch-selector-entry.h
4813 Modified in order to use hildon-widgets code style
4815 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4817 Added deprecated support to the compilation process using
4818 HILDON_DISABLE_DEPRECATED
4820 * configure.ac: Added the --disable-deprecated to the configure
4823 * src/hildon-weekday-picker.c:
4824 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4825 to use the deprecated support. We will update the other deprecated
4826 widgets status in a new patch.
4828 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4830 * configure.ac: Fixed typo with fatal warnings support, the
4831 variable name was not correct
4833 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4835 * src/hildon-app-menu.c
4836 * src/hildon-program.c: Update documentation.
4838 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4840 * configure.ac: Post-release version bump.
4842 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4847 * configure.ac: Pre-release version bump.
4848 * debian/changelog: Updates.
4850 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4852 * NEWS: Update news for previous releases.
4854 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4856 * examples/hildon-touch-selector-multi-cells-example.c:
4857 (create_selector): Update the example to use
4858 hildon_touch_selector_append_column() with a NULL renderer and set
4859 the renderers later.
4860 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4861 passed a NULL renderer. This is documented behavior now.
4863 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4864 This must be used if the developer wants full control on the layout of
4865 the renderers to be added to the column.
4867 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4869 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4871 * src/hildon-touch-selector.c: Documentation fixes.
4873 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4875 * src/hildon-wizard-dialog-private.h: Remove image and box.
4876 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4877 (hildon_wizard_dialog_set_property), (response): Completely remove
4878 image/icon support, and the containers required for the layout.
4880 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4882 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4884 * src/hildon-app-menu.c: Updated documentation.
4886 * src/hildon-stackable-window.c
4887 (hildon_stackable_window_set_main_menu): Unref the old menu after
4888 ref'ing the new one.
4890 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4892 * src/hildon-stackable-window.c
4893 (hildon_stackable_window_set_main_menu): Unref the previous menu
4894 instead of destroying it.
4896 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4897 floating reference and set has_user_ref_count to FALSE to make
4898 HildonAppMenu act like a normal ref-counted widget and not a
4901 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4904 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4906 * src/hildon-touch-selector-column.h: new file
4907 * src/hildon-touch-selector.h
4908 * src/hildon-touch-selector.c
4909 Implemented GtkCellLayout interface, in order to allow to configure
4910 the cell layout on each individual selector column
4911 (hildon_touch_selector_set_column_attributes): marked as deprecated
4912 * examples/hildon-touch-selector-multi-cells-example.c
4913 Example of how to use the GtkCellLayout interface on the selector
4915 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4917 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4919 * src/hildon-app-menu.h
4920 * src/hildon-app-menu.c
4921 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4922 (hildon_app_menu_append, hildon_app_menu_prepend):
4923 New methods to prepend, insert and move items in the menu.
4925 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4927 * src/hildon-wizard-dialog.c:
4929 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4931 (create_title): Update logical IDs and related code.
4932 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4934 * src/hildon-wizard-dialog.h: Note that
4935 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4936 point, as it is not used anymore.
4938 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4940 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4942 * src/hildon-note.c:
4943 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4944 shown. Do not display an icon in confirmation notes nor information
4946 (hildon_note_set_button_text): Update logical ID for cancel button.
4948 Fixes: NB#88850 (Update HildonNote button strings + signals)
4950 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4952 * src/hildon-stackable-window.c
4953 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4955 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4957 * src/hildon-app-menu-private.h
4958 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4959 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4960 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4961 temporary property 'columns' to change the number of columns.
4963 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4965 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4967 * examples/hildon-note-example.c: (on_information_clicked),
4968 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4969 debugging information.
4970 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4972 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4973 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4974 in order to close: this will be handled by the WM from now on.
4976 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4978 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4980 * src/hildon-app-menu-private.h
4981 * src/hildon-app-menu.c
4982 (hildon_app_menu_append, hildon_app_menu_add_filter)
4983 (button_visibility_changed, hildon_app_menu_apply_style)
4984 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4985 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4986 layout everytime a button (item or filter) is shown or hidden.
4988 * src/hildon-stackable-window.c
4989 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4992 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4994 * src/hildon-touch-selector.c:
4995 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4996 that the treeview inside the touch selector is in fremantle hildon mode
4997 * examples/hildon-date-button-example.c
4998 * examples/hildon-picker-button-multicolumn-example.c
4999 * examples/hildon-touch-selector-entry-example.c
5000 * examples/hildon-touch-selector-example.c
5001 * examples/hildon-time-button-example.c
5002 * examples/hildon-picker-button-example.c:
5003 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5005 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5007 * examples/hildon-text-view-example.c: (main): Remove the
5008 gtkrc bits, now handled by the theme.
5010 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5012 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5015 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5017 * po/Makefile.am: Install properly the mo files.
5018 * po/en_GB.po: Update translation, to ease testing purposes.
5020 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5022 * examples/hildon-picker-button-example.c: (main): Select an item
5023 in the selector before setting it to the button.
5025 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5027 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5028 Update button's value if the selector has an item active.
5030 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5031 'value' with the selector)
5033 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5035 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5036 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5037 (hildon_picker_button_class_init): Plug the finalize method.
5038 (hildon_picker_button_set_selector): If there's a previously set
5039 selector, unref'it before setting a new one.
5041 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5042 HildonTouchSelector)
5044 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5046 * src/hildon-touch-selector-entry.c:
5047 (hildon_touch_selector_entry_changed): Check if there is no text
5048 selected before setting the entry text.
5051 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5053 * src/hildon-touch-selector.h
5054 * src/hildon-touch-selector.c
5055 (hildon_touch_selector_get_active)
5056 (hildon_touch_selector_set_active): New methods to set/get the
5057 index of the selected item.
5059 * src/hildon-picker-button.h
5060 * src/hildon-picker-button.c
5061 (hildon_picker_button_get_active)
5062 (hildon_picker_button_set_active): New methods to set/get the
5063 index of the selected item.
5065 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5067 * configure.ac: post-release version bump.
5069 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5073 * configure.ac: Pre-release version bump.
5074 * debian/changelog: Updates.
5075 * debian/control: Add myself as maintainer and depend on l10n
5078 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5080 * src/hildon-window.c
5081 (hildon_window_set_main_menu)
5082 * src/hildon-stackable-window.c
5083 (hildon_stackable_window_set_main_menu):
5084 Updated documentation.
5086 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5088 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5089 Don't free selector->priv manually.
5092 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5095 (hildon_gtk_window_set_progress_indicator):
5096 * src/hildon-gtk.h: Added the new API
5097 hildon_gtk_window_set_progress_indicator, it changes the state of
5098 the window progress hint.
5100 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5102 * src/hildon-button.c
5103 * src/hildon-stackable-window.c: Minor documentation updates.
5105 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5107 * src/hildon-stackable-window.c: Updated documentation.
5109 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5111 * src/hildon-defines.h: Update margins definitions
5112 to the Fremantle sizes.
5115 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5117 * src/hildon-touch-selector.c,
5118 (_hildon_touch_selector_set_model): Cleaning the code after
5119 review, removed g_print and #if 0 from the code.
5121 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5123 * src/hildon-edit-toolbar.c: Update documentation.
5125 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5127 * src/hildon-check-button.h
5128 * src/hildon-check-button.c
5129 (hildon_check_button_set_label, hildon_check_button_get_label)
5130 * examples/hildon-check-button-example.c
5131 (button_clicked_cb):
5132 Removed deprecated methods.
5134 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5136 * src/hildon-text-view.c:
5137 Add sample code to the documentation.
5139 * src/hildon-entry.h
5140 * src/hildon-text-view.h:
5141 Minor cosmetic changes.
5143 * src/hildon-entry.c:
5144 Add sample code to the documentation.
5145 (hildon_entry_init, hildon_entry_refresh_contents):
5146 Don't allow NULL values in the placeholder.
5148 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5150 * doc/hildon-docs.sgml
5152 * examples/Makefile.am
5153 * examples/hildon-text-view-example.c
5155 * src/hildon-text-view.c
5156 * src/hildon-text-view.h
5158 New HildonTextView widget, with example.
5160 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5162 * po/POTFILES.in: Add missing files with translatable strings.
5163 Partially fixes NB#88287.
5165 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5167 * examples/hildon-pannable-area-example-2.c: (main): No need to
5168 set the cellrenderer height inside hildon touch lists, the theme does
5171 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5173 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5174 they are integrated in the theme.
5176 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5178 * examples/hildon-entry-example.c: Update the example adding
5179 widgets to modify the text and the placeholder of the HildonEntry.
5181 * src/hildon-entry.c: Show the placeholder everytime the widget
5182 is empty and loses the focus.
5184 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5186 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5188 * src/hildon-pannable-area.c,
5189 (hildon_pannable_area_size_request): Fixed bug in height
5190 requisition, avoid increasing size and add border twice.
5192 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5194 * configure.ac: postrelease version bump.
5196 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5200 * configure.ac: Prerelease version bump.
5201 * debian/changelog: update.
5202 * debian/rules: make -dbg package contain useful debugging symbols.
5204 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5206 * src/hildon-dialog.h
5207 * src/hildon-dialog.c
5208 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5209 New methods to add buttons with finger size.
5210 (hildon_dialog_new_with_buttons):
5211 Create buttons with finger size.
5213 * examples/hildon-dialog-example.c (main): Use HildonDialog
5214 methods to add buttons.
5216 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5218 * src/hildon-entry.c: Updated HildonButton documentation.
5220 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5222 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5223 button value label with (FALSE, FALSE) to prevent NB#88126 from
5226 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5228 * examples/hildon-pannable-area-example.c,
5229 (main): Removed examples panning a vbox inside a pannable
5230 area. Check bug NB#87965
5232 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5234 Patch contributed by Kris Rietveld (kris@imendio.com)
5236 * src/hildon-pannable-area.c,
5237 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5238 get_size and get_position, this saves an X server roundtrip.
5240 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5242 * doc/hildon-docs.sgml
5244 * examples/Makefile.am
5245 * examples/hildon-entry-example.c
5247 * src/hildon-entry.c
5248 * src/hildon-entry.h
5250 New HildonEntry widget, with example.
5252 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5254 * src/hildon-button.c (hildon_button_construct_child): Pack the
5255 image with expand == fill == FALSE. This is a workaround for a bug
5258 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5260 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5261 labels for the text column, to make it more look more dynamic.
5263 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5265 * src/hildon-time-selector.c
5266 Define gettext auxiliar macro N_
5267 (_create_minutes_model)
5268 (_create_hours_model)
5269 (_create_ampm_model): use of strftime in order to fill the model
5270 * src/hildon-date-selector.c
5271 (hildon_date_selector_finalize):
5272 (_locales_init): remove the logic related to get the name of the months
5273 using nl_langinfo, as it is not required anymore
5275 (_create_year_model)
5276 (_create_month_model)
5277 (_update_day_model): use of strftime in order to fill the model properly
5280 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5282 * src/hildon-button.h
5283 * src/hildon-button.c (hildon_button_get_image): New method to
5286 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5288 * src/hildon-touch-selector.c:
5289 (hildon_touch_selector_remove_column): Remove from the correct parent
5290 and also remove the list element and free it.
5293 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5295 * src/hildon-time-selector.c
5296 (_create_hours_model): change the range on 12h ampm format in order to use
5297 a 12-11 range instead of previous 01-12 range
5298 (hildon_time_selector_set_time): change the way to select the current time
5299 on 12h ampm format, due the change on the range
5300 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5303 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5305 * src/hildon-touch-selector.c
5306 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5307 in order to allow use this function on multiple row selection mode if
5308 the column is different that the first one
5311 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5313 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5314 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5316 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5318 * src/hildon-date-selector.h: clean some comments, now on the .c
5319 * src/hildon-date-selector.c
5320 (hildon_date_selector_select_month): first implementation
5321 (hildon_date_selector_select_day): added documentation, reimplemented
5322 using hildon_date_selector_select_current_date to avoid repeat code
5325 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5327 Reviewed interaction logic based on device experiences, refactored
5330 * src/hildon-pannable-area.c,
5331 (hildon_pannable_area_class_init): Updated default vmax speed.
5332 (hildon_pannable_area_calculate_velocity): Added this function, it
5333 avoids duplicate valocity calculation. Adjusted calculation to
5334 avoid problems with zero dist events.
5336 (hildon_pannable_area_motion_notify_cb): Now we use the
5337 calculate_velocity function.
5339 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5341 * src/hildon-date-selector.c
5342 (hildon_date_selector_select_current_date): fix the day range check
5343 as it failed using the last day of the current month
5346 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5348 * src/hildon-touch-selector.c
5349 (hildon_touch_selector_get_num_columns): added a parameter validation
5352 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5354 * examples/Makefile.am
5355 * examples/hildon-edit-toolbar-example.c: Example of the
5356 HildonEditToolbar widget.
5358 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5360 * configure.ac: postrelease version bump.
5362 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5366 * configure.ac: prerelease version bump.
5367 * debian/changelog: update.
5369 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5371 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5372 renderer to display stock icons in the touch list. Also, set the sizes
5373 to the recommended in the style guide.
5375 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5376 * src/hildon-touch-selector.h
5377 (hildon_touch_selector_set_active_iter): renamed, now is
5378 hildon_touch_selector_select_iter
5379 (hildon_touch_selector_get_active_iter): renamed, now is
5380 hildon_touch_selector_get_selected
5381 (hildon_touch_selector_unselect_iter): added
5382 * src/hildon-touch-selector.c
5383 Update after API modification (methods renamed)
5384 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5385 order to avoid problems selecting multiple elements on the column
5386 (hildon_touch_selector_unselect_iter): added the implementation
5387 * src/hildon-time-selector.c
5388 * src/hildon-date-selector.c
5389 * src/hildon-touch-selector-entry.c
5390 Update methods calls after hildon-touch-selector.h API modification (methods
5393 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5395 * src/hildon-stackable-window.c
5396 (hildon_stackable_window_finalize): Call the parent class's finalize.
5398 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5400 * examples/hildon-touch-selector-example.c: (create_selector): Use
5401 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5404 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5406 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5407 set a cell background color, to respect theming.
5409 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5411 * doc/hildon-docs.sgml
5414 * src/hildon-edit-toolbar.c
5415 * src/hildon-edit-toolbar.h
5416 * src/hildon.h: New HildonEditToolbar widget.
5418 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5420 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5423 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5424 * src/hildon-touch-selector.c
5425 (_create_new_column): use g_object_set instead of two g_object_set_property
5427 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5428 * src/hildon-touch-selector.c
5429 (_create_new_column): use of hildon_gtk_tree_view_new to create
5430 the treeview, instead of use directly g_object_new
5431 (_create_new_column): update the property name "vindicator-mode" for the
5432 new one "vscrollbar-policy"
5433 * examples/hildon-date-button-example.c
5434 * examples/hildon-picker-button-multicolumn-example.c
5435 * examples/hildon-touch-selector-entry-example.c
5436 * examples/hildon-touch-selector-example.c
5437 * examples/hildon-time-button-example.c
5438 * examples/hildon-picker-button-example.c
5439 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5440 to all the treeviews inside a pannable area.
5442 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5444 * src/hildon-button.h
5445 * src/hildon-button.c (hildon_button_init)
5446 (hildon_button_set_arrangement, hildon_button_set_alignment)
5447 (hildon_button_set_title_alignment)
5448 (hildon_button_set_value_alignment)
5449 (hildon_button_set_image_alignment)
5450 (hildon_button_construct_child): New methods to set the alignment
5451 of the individual components of the button (title, value,
5452 image). Also, new method to alter the xscale and yscale properties
5453 of the GtkAlignment inside the button, so more complex layouts can
5456 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5458 * src/hildon-button.c (hildon_button_style_set)
5459 (hildon_button_class_init, hildon_button_set_arrangement)
5460 (hildon_button_construct_child): Apply style properties
5461 correctly. Use the 'image-spacing' style property too.
5463 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5465 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5466 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5469 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5471 * src/hildon-pannable-area.c,
5472 (hildon_pannable_area_size_request): Fixed problem with
5473 pannable-area size_request.
5475 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5477 Added management for the grab-focus to a child widget, like a
5478 range, we need to fade out the scrollbar when releasing.
5480 * src/hildon-pannable-area.c,
5481 (hildon_pannable_area_init): Connected the grab-focus signal to
5483 (hildon_pannable_area_grab_notify): Added this function in order
5484 to manage the situation when the grab-focus ends. We have to
5485 fade-out the scrollbar.
5487 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5489 * src/hildon-app-menu.c: Minor documentation update.
5491 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5493 * src/hildon-app-menu.c
5494 * examples/hildon-app-menu-example.c (create_menu): Update
5495 examples and documentation to explain how to connect callbacks.
5497 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5499 * examples/hildon-button-example.c
5500 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5501 hildon_stackable_window_new instead of gtk_window_new
5503 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5505 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5506 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5507 (hildon_pannable_area_set_property),
5508 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5509 (hildon_pannable_area_unrealize),
5510 (hildon_pannable_area_size_request),
5511 (hildon_pannable_area_size_allocate),
5512 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5513 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5514 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5515 (hildon_pannable_area_initial_effect),
5516 (hildon_pannable_area_redraw),
5517 (hildon_pannable_area_scroll_indicator_fade),
5518 (hildon_pannable_area_expose_event),
5519 (hildon_pannable_area_get_topmost), (synth_crossing),
5520 (hildon_pannable_area_button_press_cb),
5521 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5522 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5523 (hildon_pannable_area_motion_notify_cb),
5524 (hildon_pannable_area_button_release_cb),
5525 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5526 (hildon_pannable_area_remove),
5527 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5528 chage the code layout to a more GtkWidget like. Review the use of
5531 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5533 * examples/hildon-pannable-area-example-4.c,
5534 (main): Modified the name of the hindicator_mode to
5537 * src/hildon-pannable-area.c,
5538 (hildon_pannable_area_class_init),
5539 (hildon_pannable_area_motion_notify_cb),
5540 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5541 we have reduced the amount of signals and managed reviewed its
5542 rationale. Changed the default decelerate value.
5544 (hildon_pannable_area_add),
5545 (hildon_pannable_area_redraw): Refactored functions.
5547 (hildon_pannable_area_init),
5548 (hildon_pannable_area_get_property),
5549 (hildon_pannable_area_set_property):
5550 (hildon_pannable_draw_vscroll),
5551 (hildon_pannable_draw_hscroll),
5552 (hildon_pannable_area_initial_effect),
5553 (hildon_pannable_area_expose_event),
5554 (hildon_pannable_area_scroll),
5555 (hildon_pannable_area_button_press_cb),
5556 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5557 and vindicator_mode with hscrollbar_policy and
5558 vscrollbar_policy. Replaced hscroll and vscroll with
5559 hscroll_visible and vscroll_visible.
5561 (hildon_pannable_area_refresh): Refactor the function, remove
5562 variables and check the calls to this function, added resize
5563 conditions in case the children change their layout.
5565 (hildon_pannable_area_size_request): Added more detailed
5566 size_request calculation.
5569 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5571 * src/hildon-color-chooser.c
5572 (init_borders): use the correct gtk_border_free instead of g_free, to
5573 avoid a crash when this widget is used (ie: the three color selection
5576 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5578 * src/hildon-check-button.c,
5579 (hildon_check_button_set_active): Fixed problem when setting the
5580 active value, the widget was not redrawn.
5582 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5584 * src/hildon-pannable-area.c,
5585 (hildon_pannable_area_refresh),
5586 (hildon_pannable_area_scroll),
5587 (hildon_pannable_area_motion_notify_cb): Small code style change.
5589 (hildon_pannable_area_class_init): Default initial_hint set to
5590 FALSE, it is not in the specs.
5592 (hildon_pannable_area_initial_effect),
5593 (hildon_pannable_area_expose_event),
5594 (hildon_pannable_area_map),
5595 (hildon_pannable_area_init): Moved the launching point of the
5596 initial effect, it was in map but the sizes where not correct in
5597 that method so we do not know if we have the reproduce it. Now it
5598 is placed in the expose_event method and uses a variable to
5599 reproduce it just once.
5601 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5603 * src/hildon-pannable-area.c,
5604 (hildon_pannable_draw_vscroll),
5605 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5606 position allowed for the scrollbars.
5608 (hildon_pannable_area_size_allocate): Small style change.
5610 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5612 * src/hildon-pannable-area.c,
5613 (hildon_pannable_area_scroll_indicator_fade),
5614 (hildon_pannable_area_button_press_cb),
5615 (hildon_pannable_area_button_release_cb),
5616 (hildon_pannable_area_scroll_cb),
5617 (hildon_pannable_area_expose_event),
5618 (hildon_pannable_area_init): Added the define parameter
5619 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5620 and refactor the fade variable.
5622 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5624 * src/hildon-pannable-area.c,
5625 (hildon_pannable_area_redraw),
5626 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5627 lines, we were reimplemeting the redraw code.
5629 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5631 * src/hildon-pannable-area.c,
5632 (hildon_pannable_area_scroll_cb),
5633 (hildon_pannable_area_realize),
5634 (hildon_pannable_area_class_init): Added scroll_event management
5635 for pannable area, now we can scroll the usual desktop method.
5637 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5638 initialization of the parameters should depend on idle_id.
5640 (hildon_pannable_area_init),
5641 (hildon_pannable_area_map): Small code style modifications
5643 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5645 * src/hildon-pannable-area.c
5646 (hildon_pannable_area_button_press_cb),
5647 (hildon_pannable_area_motion_notify_cb),
5648 (hildon_pannable_area_button_release_cb),
5649 (hildon_pannable_area_size_allocate),
5650 (hildon_pannable_area_scroll_to): Improved the timeouts
5651 management, we avoid creating them each time.
5653 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5655 * src/hildon-pannable-area.c:
5656 (hildon_pannable_area_refresh),
5657 (hildon_pannable_area_motion_notify_cb),
5658 (hildon_pannable_area_class_init):
5659 * src/hildon-pannable-area.h:
5660 * src/hildon-touch-selector.c
5661 (_create_new_column):
5662 * examples/hildon-pannable-area-example-4.c:
5663 (horizontal_movement),
5664 (vertical_movement),
5666 Replaced the names of enums in the HildonPannableArea:
5667 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5668 HILDON_MOVEMENT_MODE_*
5669 - HILDON_PANNABLE_AREA_MOV_* ->
5671 - Removed HildonPannableAreaIndicatorMode, now we
5674 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5676 * examples/hildon-pannable-area-touch-grid-example.c
5677 * examples/hildon-pannable-area-touch-list-example.c: Fix
5678 compilation warnings.
5680 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5682 * src/hildon-gtk.c (hildon_gtk_button_new)
5683 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5684 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5685 images overriding the value of the "gtk-button-images" setting.
5687 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5689 * src/hildon-check-button.c (hildon_check_button_new):
5690 Instead of using a custom container, display the label and the
5691 checkbox using the standard GtkButton API.
5693 * examples/hildon-check-button-example.c (main): Don't use
5694 hildon_check_button_set_label() anymore
5696 * src/hildon-check-button.h
5697 * src/hildon-check-button.c
5698 (hildon_check_button_set_label, hildon_check_button_get_label):
5699 Set as deprecated, now we're using gtk_button_{get,set}_label()
5701 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5703 * src/hildon-pannable-area.c,
5704 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5705 GtkTreeview first line we detected it after the inclusion of the
5706 GtkWindowImpl in gtk+. We now check if the window is visible, not
5707 just if the pointer is over the window.
5708 (hildon_pannable_axis_scroll),
5709 (hildon_pannable_area_expose_event): Small style changes.
5711 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5713 * src/hildon-button.c: Update documentation.
5715 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5717 * examples/hildon-button-example.c: Add a switch to show images in
5720 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5722 * doc/hildon-docs.sgml: Some docs reorganization.
5724 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5726 * examples/hildon-pannable-area-touch-list-example.c
5728 * examples/hildon-pannable-area-touch-grid-example.c
5729 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5730 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5731 Fix memory leak when setting the tree model.
5733 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5737 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5739 * doc/hildon.types: Remove duplicated hildon_window_get_type
5740 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5741 documentation comment.
5743 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5745 * doc/Makefile.am: Complete list of private headers.
5747 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5749 * doc/hildon-docs.sgml
5750 * src/hildon-app-menu.c
5751 * src/hildon-bread-crumb.c
5752 * src/hildon-button.c
5754 * src/hildon-program.c
5755 * src/hildon-stackable-window.c
5756 * src/hildon-window.c: Lots of documentation updates.
5758 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5760 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5762 * configure.ac: Require Gtk+ 2.12.9 at least
5764 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5766 * src/hildon-pannable-area.c
5767 (hildon_pannable_area_scroll_indicator_fade),
5768 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5769 to protect the return of this timeout callbacks, avoiding deadlocks.
5771 2008-08-12 Christian Dywan <christian@imendio.com>
5774 * src/hildon-*.h: Ensure a consistent include order,
5775 include <gtk/gtk.h> instead of particular files and
5776 only include the topmost header in the gtk stack. See NB #39857
5778 2008-08-12 Christian Dywan <christian@imendio.com>
5780 * src/hildon-picker-dialog.c
5781 * src/hildon-touch-selector.c: Fix warnings about unused and
5782 uninitialized variables.
5784 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5786 * examples/Makefile.am
5787 * examples/hildon-check-button-example.c: Example of the hildon
5790 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5792 * src/hildon-window.h
5793 * src/hildon-window.c (hildon_window_class_init)
5794 (hildon_window_unset_program): Don't make
5795 hildon_window_unset_program a virtual function anymore.
5797 * src/hildon-stackable-window.c: Update documentation
5799 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5802 * doc/hildon-docs.sgml
5803 * doc/visual_index.xml
5804 * src/hildon-defines.c
5806 * src/hildon-helper.c
5807 * src/hildon-range-editor.c: Lots of documentation fixes.
5809 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5811 * examples/hildon-picker-button-multicolumn-example.c
5812 (create_touch_selector): Fix compilation warning.
5814 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5816 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5817 (hildon_pannable_area_button_release_cb)
5818 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5820 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5822 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5825 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5827 * src/hildon-bread-crumb-trail.h
5828 * src/hildon-date-editor.c
5829 * src/hildon-date-selector.c
5830 * src/hildon-pannable-area.c
5831 * src/hildon-picker-dialog.c
5832 * src/hildon-time-selector.c
5833 * src/hildon-touch-selector-entry.c
5834 * src/hildon-touch-selector.c
5835 * src/hildon-touch-selector.h: Misc documentation fixes
5837 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5839 * examples/hildon-date-editor-example.c (main): Updated date
5842 * examples/hildon-note-example.c (on_confirmation_clicked):
5843 Updated confirmation note example.
5845 * src/hildon-date-editor.c
5846 * src/hildon-note.c: Updated sample programs in documentation.
5849 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5851 * src/hildon-date-button.h:
5852 * src/hildon-picker-button.h:
5853 * src/hildon-time-button.c:
5854 * src/hildon-time-button.h:
5856 Some declarations changes to allow gtk-doc to document the widgets
5859 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5861 * src/hildon-date-button.c: Document the widget.
5862 * src/hildon-time-button.c: Document the widget.
5864 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5866 * src/hildon-picker-button.c: Document the widget.
5867 * src/hildon-touch-selector-entry.c: Document the widget.
5869 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5871 * doc/hildon-docs.sgml
5874 * src/hildon-check-button.h
5875 * src/hildon-check-button.c: New functions to create the Hildon
5879 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5881 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5883 * src/hildon-button.h
5884 * src/hildon-button.c
5885 (hildon_button_add_title_size_group)
5886 (hildon_button_add_value_size_group)
5887 (hildon_button_add_image_size_group)
5888 (hildon_button_add_size_groups): New functions to set size groups
5889 for the button labels and image.
5890 (hildon_button_new_full): Removed
5892 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5894 * src/hildon-time-selector.c
5895 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5896 in order to avoid a crash if gconf is not available
5898 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5900 * src/hildon-button.c (hildon_button_set_arrangement)
5901 (hildon_button_construct_child): Don't construct the button child
5902 before setting the arrangement.
5904 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5906 * src/hildon-program-private.h
5907 * src/hildon-program.c
5908 * src/hildon-program.h
5909 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5910 (hildon_program_peek_window_stack)
5911 (hildon_program_pop_window_stack)
5912 (hildon_program_go_to_root_window): HildonProgram now has a
5913 separate list for stackable windows. Functions are provided to
5914 manage that list with a stack-like API.
5916 * src/hildon-stackable-window.c: Stackable window management is
5917 now much simpler with the new HildonProgram API. Windows no
5918 longer need to be manually added to the program, they're
5919 automatically pushed to the top of the stack when shown.
5921 * examples/hildon-stackable-window-example.c: Updated example to
5922 reflect the API changes.
5924 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5926 * src/hildon-touch-selector.c: Comment out unimplemented
5927 hildon_touch_selector_insert_column() to avoid a compile warning.
5929 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5931 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5932 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5933 (hildon_touch_selector_set_column_selection_mode),
5934 (_hildon_touch_selector_set_model),
5935 (hildon_touch_selector_set_model):
5937 Complete review of HildonTouchSelector documentation.
5939 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5941 * doc/hildon-docs.sgml
5945 * src/hildon-gtk.c: Convenience functions for standard Gtk
5946 widgets, used to easily perform frequent operations.
5948 * src/hildon-button-helpers.h
5949 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5951 * src/hildon-helper.h
5952 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5953 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5955 * src/hildon-button.h
5956 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5958 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5960 * src/hildon-button.c (hildon_button_init)
5961 (hildon_button_set_arrangement, hildon_button_construct_child):
5962 Pack the image and the labels inside the same GtkAlignment so
5963 gtk_button_set_alignment() can be used
5965 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5967 * src/hildon-button.h
5968 * src/hildon-button.c
5969 (hildon_button_init, hildon_button_set_image)
5970 (hildon_button_set_image_position)
5971 (hildon_button_construct_child): New functions to add an image to
5974 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5976 * src/hildon-date-button.c
5977 * src/hildon-picker-button.c
5978 * src/hildon-time-button.c
5979 * src/hildon-button.c:
5980 (hildon_button_class_init): "size-flags" renamed to "size"
5981 (hildon_button_set_title): Hide the title label if set to NULL.
5983 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5985 HildonButtonFlags split into HildonButtonArrangement (to set the
5986 button layout) and HildonSizeType (which can be used for any
5989 * src/hildon-button.h
5990 * src/hildon-button.c
5991 (hildon_button_class_init)
5992 (hildon_button_set_arrangement)
5993 (hildon_button_set_property): New "size-flags"
5994 property. "arrangement-flags" renamed to "arrangement".
5995 (hildon_button_new, hildon_button_new_with_text)
5996 (hildon_button_new_full): Constructors updated to reflect type changes.
5998 * src/hildon-helper.h
5999 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6000 to set the size of a widget.
6004 * src/hildon-button-helpers.c
6005 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6007 * src/hildon-date-button.c
6008 * src/hildon-date-button.h
6009 * src/hildon-picker-button.c
6010 * src/hildon-picker-button.h
6011 * src/hildon-time-button.c
6012 * src/hildon-time-button.h: Updated widgets to reflect
6013 HildonButton API changes.
6015 * examples/hildon-button-example.c
6016 * examples/hildon-date-button-example.c
6017 * examples/hildon-picker-button-example.c
6018 * examples/hildon-picker-button-multicolumn-example.c
6019 * examples/hildon-time-button-example.c
6020 * examples/hildon-touch-selector-entry-example.c
6021 * examples/hildon-touch-selector-example.c: Updated examples to
6022 reflect HildonButton API changes.
6024 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6026 * doc/hildon-docs.sgml:
6028 * examples/Makefile.am:
6029 * examples/hildon-touch-selector-entry-example.c:
6031 * src/hildon-touch-selector-entry.c:
6032 * src/hildon-touch-selector-entry.h:
6035 Moved HildonTouchSelectorEntry from sandbox. Added its
6036 documentation and examples.
6038 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6040 * src/hildon-touch-selector.h:
6041 * examples/hildon-picker-button-multicolumn-example.c:
6042 (hildon_touch_selector_append_text_column): Add a gboolean
6043 parameter to determine if text must be centered in the column.
6045 * src/hildon-date-selector.c: (hildon_date_selector_init):
6046 * src/hildon-time-selector.c: (hildon_time_selector_init):
6047 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6048 (create_touch_selector): Update widgets and example to reflect
6051 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6053 * src/hildon-touch-selector.c:
6054 (hildon_touch_selector_set_active_iter): Set also the cursor in
6057 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6059 * doc/hildon-docs.sgml
6062 * src/hildon-toggle-button.c
6063 * src/hildon-toggle-button.h
6064 * src/hildon.h: Removed HildonToggleButton widget, a derived
6065 class is not necessary for this.
6067 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6069 * src/hildon-pannable-area.c,
6070 (hildon_pannable_area_realize),
6071 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6074 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6076 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6077 "done" button the default widget for the dialog.
6079 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6081 * src/hildon-touch-selector.c:
6082 (hildon_touch_selector_class_init),
6083 (hildon_touch_selector_get_property),
6084 (_hildon_touch_selector_set_model),
6085 (_hildon_touch_selector_has_multiple_selection),
6086 (hildon_touch_selector_has_multiple_selection):
6087 Add a "has-multiple-selection" property with a virtual
6088 has_multiple_selection() method to allow derived classes to
6089 override the default value for it. See the method and property
6090 documentation for details.
6092 * src/hildon-touch-selector.h: Add the new API.
6094 * src/hildon-picker-dialog.c: (requires_done_button): Call
6095 hildon_touch_selector_has_multiple_selection() instead of
6096 determining the need for a button itself.
6098 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6100 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6101 (_hildon_touch_selector_set_model),
6102 (hildon_touch_selector_set_model): Move working code to
6103 _hildon_touch_selector_set_mode(). Call the class method instead.
6105 * src/hildon-touch-selector.h: Add (*set_model) to
6106 HildonTouchSelectorClass.
6108 Make hildon_touch_selector_set_model() a virtual method, so that
6109 derived classes can extend it and do fancy stuff with the model.
6111 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6113 * configure.ac: Set back the tarname in AC_INIT to hildon.
6115 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6119 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6120 instead of libesd (NB#86876). Volume handling is still an open issue.
6122 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6125 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6127 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6128 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6129 derived class to ease placement of an entry widget in
6130 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6131 end, where the selector columns are packed now.
6133 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6135 * src/hildon-picker-button.c: Removed the simple _text() API.
6136 * src/hildon-picker-button.h: Likewise.
6138 * src/hildon-touch-selector.h:
6139 * src/hildon-touch-selector.c:
6140 (hildon_touch_selector_new_text),
6141 (hildon_touch_selector_append_text),
6142 (hildon_touch_selector_prepend_text),
6143 (hildon_touch_selector_insert_text):
6145 Moved the simple _text() API from HildonPickerButton to
6146 HildonTouchPicker, to provide better escalability and not to tie
6147 that API to HildonPickerButton.
6149 * examples/hildon-picker-button-example.c: (main): Example updated.
6151 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6153 * src/hildon-button.c: Updated documentation.
6155 * examples/hildon-button-example.c: Add the posibility to create
6156 the buttons using horizontal layout for title and value.
6158 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6160 * src/hildon-app-menu-private.h
6161 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6162 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6163 GtkSizeGroup for the filters, use the 'homogeneous' property of
6166 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6168 * examples/hildon-button-example.c: Updated example.
6170 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6172 * doc/hildon-docs.sgml:
6175 Update documentation.
6177 * examples/Makefile.am: Update renamed examples.
6179 * examples/hildon-picker-button-multicolumn-example.c:
6180 (create_touch_selector), (main): Update after the rename.
6182 * examples/hildon-touch-picker-example.c: Removed.
6183 * examples/hildon-touch-selector-example.c: (value_changed),
6184 (create_selector), (get_visible_content), (main): Renamed from
6185 hildon-touch-picker-example.c
6187 * src/Makefile.am: Updated renamed files.
6189 * src/hildon-date-button.c: (hildon_date_button_init),
6190 (hildon_date_button_get_date), (hildon_date_button_set_date):
6191 * src/hildon-date-selector.c: (hildon_date_selector_init),
6192 (_custom_print_func), (_update_day_model),
6193 (_manage_selector_change_cb),
6194 (hildon_date_selector_select_current_date),
6195 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6196 * src/hildon-date-selector.h:
6197 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6198 (hildon_picker_button_set_property),
6199 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6200 (hildon_picker_button_init), (hildon_picker_button_new_text),
6201 (hildon_picker_button_append_text),
6202 (hildon_picker_button_prepend_text),
6203 (hildon_picker_button_insert_text),
6204 (hildon_picker_button_set_selector),
6205 (hildon_picker_button_get_selector):
6206 * src/hildon-picker-button.h:
6207 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6208 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6209 (_update_title_on_selector_changed_cb), (requires_done_button),
6210 (_hildon_picker_dialog_set_selector),
6211 (hildon_picker_dialog_set_selector),
6212 (hildon_picker_dialog_get_selector):
6213 * src/hildon-picker-dialog.h:
6214 * src/hildon-time-button.c: (hildon_time_button_init),
6215 (hildon_time_button_get_time), (hildon_time_button_set_time):
6216 * src/hildon-time-selector.c: (hildon_time_selector_init),
6217 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6218 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6219 * src/hildon-time-selector.h:
6222 Massive code updates after the rename.
6224 * src/hildon-touch-picker.c: Removed.
6225 * src/hildon-touch-picker.h: Removed.
6227 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6228 (hildon_touch_selector_init), (hildon_touch_selector_map),
6229 (hildon_touch_selector_remove), (_default_print_func),
6230 (_selection_changed_cb), (_create_new_column),
6231 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6232 (hildon_touch_selector_append_text_column),
6233 (hildon_touch_selector_remove_column),
6234 (hildon_touch_selector_set_column_attributes),
6235 (hildon_touch_selector_insert_column),
6236 (hildon_touch_selector_get_num_columns),
6237 (hildon_touch_selector_get_column_selection_mode),
6238 (hildon_touch_selector_set_column_selection_mode),
6239 (hildon_touch_selector_set_print_func),
6240 (hildon_touch_selector_get_print_func),
6241 (hildon_touch_selector_get_active_iter),
6242 (hildon_touch_selector_set_active_iter),
6243 (hildon_touch_selector_get_selected_rows),
6244 (hildon_touch_selector_get_model),
6245 (hildon_touch_selector_set_model),
6246 (hildon_touch_selector_get_current_text),
6247 (_hildon_touch_selector_center_on_selected_items):
6248 * src/hildon-touch-selector.h: Renamed from
6249 hildon-touch-picker.[ch]
6251 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6252 references, code examples, and related documentation.
6254 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6256 * doc/hildon-docs.sgml
6259 * src/hildon-toggle-button.c
6260 * src/hildon-toggle-button.h
6261 * src/hildon.h: New HildonToggleButton widget.
6263 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6265 * src/hildon-button.c: Add API documentation.
6266 (hildon_button_set_size_groups): Check input parameters
6268 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6270 * src/hildon-pannable-area.c
6271 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6272 effect after reaching the movement thredshold. This way we start
6273 using the distance after passing the thredshold.
6275 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6277 * src/hildon-button.c: (hildon_button_set_property): Use the
6278 appropriate g_value_get_flags() method.
6280 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6282 * doc/hildon-docs.sgml:
6285 Add the touch pickers, picker dialogs, and picker button widgets
6286 to the documentation.
6288 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6290 * src/hildon-button.c: (hildon_button_set_property),
6291 (hildon_button_class_init): Make "arrangement-flags" a proper
6292 G_TYPE_FLAGS derived property.
6294 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6296 * examples/Makefile.am: Add below examples.
6297 * examples/hildon-date-button-example.c:
6298 * examples/hildon-picker-button-example.c:
6299 * examples/hildon-picker-button-multicolumn-example.c:
6300 * examples/hildon-time-button-example.c:
6301 * examples/hildon-touch-picker-example.c:
6303 Add examples for the recently added touch pickers,
6304 picker dialogs, and picker button widgets.
6306 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6308 * src/hildon-button.c: Add some API documentation
6310 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6312 * src/hildon-button.h
6313 * src/hildon-button.c
6315 (hildon_button_new_with_text): New constructor to create a button
6316 with no text at all.
6317 (hildon_button_init, hildon_button_set_arrangement)
6318 (hildon_button_set_title, hildon_button_set_value)
6319 (hildon_button_set_text)
6320 (hildon_button_construct_child): Hide the value when it's not used
6321 so the rest of the text is properly aligned.
6322 Allow creating buttons with arbitrary widgets inside (not just
6323 title/value labels).
6325 * examples/hildon-button-example.c (vertical_buttons_window)
6326 (horizontal_buttons_window): Update example to use new API.
6328 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6330 * src/Makefile.am: Added HildonTimeButton.
6331 * src/hildon-time-button.c: Added missing LGPL header.
6332 * src/hildon-time-button.h: Added missing LGPL header.
6333 * src/hildon.h: Add hildon-time-button.h
6335 Copied HildonTimeButton from sandbox to trunk. Future work on this
6336 widget must take place in trunk.
6338 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6340 * src/Makefile.am: Added HildonDateButton.
6341 * src/hildon-date-button.c: Update includes.
6342 * src/hildon.h: Add hildon-date-button.h
6344 Copied HildonDateButton from sandbox to trunk. Future work on this
6345 widget must take place in trunk.
6347 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6349 * src/Makefile.am: Added HildonPickerButton.
6350 * src/hildon-picker-button.h: Update includes.
6351 * src/hildon.h: Add hildon-picker-button.h
6353 Copied HildonPickerButton from sandbox to trunk. Future work on
6354 this widget must take place in trunk.
6356 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6358 * src/Makefile.am: Added HildonPickerDialog.
6359 * src/hildon-picker-dialog.c: Update includes.
6360 * src/hildon.h: Add hildon-picker-dialog.h
6362 Copied HildonPickerDialog from sandbox to trunk. Future work
6363 on this widget must take place in trunk.
6365 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6367 * src/Makefile.am: Added HildonTimeSelector.
6368 * src/hildon.h: Add hildon-time-selector.h
6370 Copied HildonTimeSelector widget from sandbox to trunk. Future
6371 work on this widget must happen in trunk.
6373 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6375 * src/Makefile.am: Added HildonDateSelector.
6376 * src/hildon.h: Add hildon-date-selector.h
6378 Copied HildonDateSelector widget from sandbox to trunk. Future
6379 work on this widget must happen in trunk.
6381 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6383 * src/Makefile.am: Added HildonTouchPicker.
6384 * src/hildon-touch-picker.c: Update includes.
6385 * src/hildon.h: Add hildon-touch-picker.h
6387 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6388 on this widget must happen in trunk.
6390 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6392 * src/hildon-pannable-area.c:
6393 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6395 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6397 * examples/hildon-app-menu-example.c (main): Let the window
6400 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6402 * src/hildon-pannable-area.c
6403 (hildon_pannable_area_class_init): Set the min value of the
6404 overshoot properties to zero, which points out that not
6405 overshooting allowed.
6407 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6409 Modified the procedure to get the widget at a point inside the
6410 pannable area when using the movement type signals. Now the user
6411 has to call a function to get the child, that way we just
6412 calculate the child in case the user really want to use it and not
6415 * src/hildon-marshalers.list: Modified the marshallers, now we do
6416 not have the widget as a parameter.
6418 * src/hildon-pannable-area.c
6419 (hildon_pannable_area_motion_notify_cb),
6420 (hildon_pannable_area_class_init),
6421 (hildon_pannable_get_child_widget_at): Removed the widget
6422 parameter from the signal callback. We have also refactored the
6423 emission of the signals.
6425 * src/hildon-pannable-area.h: Added a new method to the API to
6426 calculate a widget at a point inside the pannable area,
6427 hildon_pannable_get_child_widget_at.
6429 * examples/hildon-pannable-area-example-4.c
6430 (horizontal_movement): Modified the example to use the new API,
6431 added condition to control which widget is under the event. This
6432 way we can avoid scrolling laterally over other widgets.
6434 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6436 * src/hildon-pannable-area.c
6437 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6438 modes, we stop getting the pointer events due to returning the
6439 callback without properly calling the get pointer again. Fixed
6440 also an error using the hscroll and vscroll.
6442 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6444 * src/hildon-app-menu-private.h
6445 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6446 (hildon_app_menu_button_release, hildon_app_menu_init)
6447 (hildon_app_menu_class_init): Don't hide the menu on button
6448 release if the user didn't press outside first.
6450 * src/hildon-window.h
6451 * src/hildon-window.c (hildon_window_toggle_menu)
6452 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6453 hildon_window_toggle_menu a virtual function for the stackable
6454 window to override it.
6456 * src/hildon-stackable-window.h
6457 * src/hildon-stackable-window-private.h
6458 * src/hildon-stackable-window.c
6459 (hildon_stackable_window_realize)
6460 (hildon_stackable_window_finalize)
6461 (hildon_stackable_window_class_init)
6462 (hildon_stackable_window_init)
6463 (hildon_stackable_window_set_main_menu): New function to set the
6464 app menu of a HildonStackableWindow.
6466 * examples/hildon-app-menu-example.c: Remove the button to show
6467 the app menu, now it'll be shown when clicking on the title bar
6470 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6472 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6473 set the widget name if the arrangement flags do not specify
6476 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6478 * src/hildon-button.c: (hildon_button_set_property),
6479 (hildon_button_class_init), (hildon_button_new_full),
6480 (hildon_button_set_arrangement): Added "arrangement-flags"
6483 Make the HildonButtonFlags a construction-only property, to allow
6484 subclasses to set them properly.
6486 2008-07-21 Tim Janik <timj@imendio.com>
6488 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6489 insertion position after backspace, so additional digits are appended,
6492 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6494 * src/hildon-pannable-area.c,
6495 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6496 TODO list, it was complete and removed the g_debug and g_print
6499 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6501 Added the movement modes to the hildon-pannable-area, with this
6502 modes the developers can control in which directions the widget
6503 can scroll. They can also connect to signals in order to do
6504 something when that happens, allowing applications scroll. There
6505 is an example uploaded showing how to use it.
6507 * examples/Makefile.am:
6508 * examples/hildon-pannable-area-example-4.c: Added this example of
6509 an application using the modes.
6511 * src/hildon-marshalers.list: Added a new marshaller for the new
6514 * src/hildon-pannable-area.h: Added new enumerations and flags in
6515 order to control the movement modes and the new signals to warn
6516 about the movements in the area.
6518 * src/hildon-pannable-area.c:
6519 (hildon_pannable_axis_scroll),
6520 (hildon_pannable_area_scroll),
6521 (hildon_pannable_area_motion_notify_cb),
6522 (hildon_pannable_area_get_property),
6523 (hildon_pannable_area_set_property),
6524 (hildon_pannable_area_map),
6525 (hildon_pannable_area_class_init),
6526 (hildon_pannable_area_init),
6527 (hildon_pannable_area_jump_to): Added the modes to control the
6528 movement in the widget. We have added properties to control it,
6529 signals to warn about the movements and refactored some code.
6531 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6533 Changes required in order to allow vfast_factor set to zero to
6536 * src/hildon-pannable-area.c:
6537 (hildon_pannable_area_button_press_cb): Changed the condition, it
6538 is required for not allowing click when vfast_factor is zero.
6539 (hildon_pannable_area_timeout): Initialized velocity variables
6540 when we stop moving, it was less than 1 but not zero and we need
6541 to check zero in some situations.
6542 (hildon_pannable_area_class_init): Changed the default value of
6543 the speed factor, now the button_press is just sent in case the
6544 speed is 2 per cent of the max speed.
6545 (hildon_pannable_area_init): Initialization with 0.
6547 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6549 * src/hildon-pannable-area.c,
6550 (hildon_pannable_area_get_topmost): replaced
6551 gdk_window_get_children with gdk_window_peek_children, this way we
6552 do not have to free the list because it is not a copy.
6554 (hildon_pannable_axis_scroll),
6555 (hildon_pannable_area_scroll),
6556 (hildon_pannable_area_timeout),
6557 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6558 two parameters that were only used inside the
6559 hildon_pannable_area_scroll function.
6561 * examples/hildon-pannable-area-example.c,
6562 (get_sawtooth_label): Fixed small memory leak.
6564 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6566 More checks for the case where the overshoot is bigger than the
6569 * src/hildon-pannable-area.c:
6570 (hildon_pannable_draw_vscroll),
6571 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6572 to draw the slider of the scrollbar under the other scrollbar.
6573 (hildon_pannable_area_expose_event): added new checks to control
6574 the drawing of the overshooting area rectangle, in case it is too
6575 big for the area of the widget.
6576 (hildon_pannable_area_size_allocate): add more checks to avoid
6577 setting a position to the child widget outside the area.
6579 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6581 * src/hildon-pannable-area.c
6582 (hildon_pannable_area_size_allocate): Added conditions to control
6583 when overshooting is bigger than the allocated space for the
6584 children, this avoids negative allocations.
6586 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6588 * doc/hildon-docs.sgml
6590 * examples/Makefile.am
6591 * examples/hildon-button-example.c
6593 * src/hildon-button.c
6594 * src/hildon-button.h
6595 * src/hildon.h: Initial version of the new HildonButton widget,
6598 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6600 * src/hildon-pannable-area.c:
6601 (hildon_pannable_area_button_press_cb),
6602 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6603 (hildon_pannable_area_motion_notify_cb),
6604 (hildon_pannable_area_button_release_cb),
6605 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6606 (hildon_pannable_area_jump_to_child):
6608 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6610 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6612 * examples/Makefile.am
6613 * examples/hildon-pannable-area-touch-grid-example.c
6614 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6615 the Hildon Touch List and Hildon Touch Grid using the
6616 HildonPannableArea widget.
6618 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6620 * src/hildon-pannable-area.c,
6621 (hildon_pannable_area_button_press_cb),
6622 (hildon_pannable_area_refresh),
6623 (hildon_pannable_area_scroll),
6624 (hildon_pannable_area_motion_notify_cb),
6625 (hildon_pannable_area_button_release_cb),
6626 (hildon_pannable_area_expose_event),
6627 (hildon_pannable_area_add),
6628 (hildon_pannable_area_remove),
6629 (hildon_pannable_area_realize),
6630 (hildon_pannable_area_size_allocate),
6631 (hildon_pannable_area_class_init),
6632 (hildon_pannable_area_init),
6633 (hildon_pannable_area_scroll_to_child),
6634 (hildon_pannable_area_jump_to_child): Fixed the problem of
6635 removing the child from the GtkBin, we have rearranged the widget
6636 hierarchy, now there is no GtkAlignment which was not doing
6637 anything interesting but breaking some of the assumptions of
6638 GtkContainer. Now developers if they want to add a GtkAlignment
6639 they could, but it is not inside the area.
6641 We had to review the whole allocation/expose process, now it is
6642 improved and we save at least three signals which would be saving
6643 some time when rendering the widget. The allocation of the
6644 scrollbars is now made in the allocate method as usual.
6646 We have also added some conditions in order to control when there
6647 is no child of the pannable area. Maybe we will need more work
6650 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6652 * src/hildon-pannable-area.c,
6653 (hildon_pannable_area_dispose): Released the fade-out timeout when
6654 disposing the widget.
6656 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6658 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6659 zero, we are going to use that property in order to deactivate the
6661 (hildon_pannable_axis_scroll),
6662 (hildon_pannable_area_size_allocate): Added conditions to control
6663 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6664 call, now it is called in all situations and we can remove calls
6665 in the allocate method.
6666 (hildon_pannable_area_map): Control the situation when
6667 overshoot_max is zero, we do not need the timeout.
6668 (hildon_pannable_area_class_init): Added documentation in order to
6669 point out that setting zero to overshoot_max means deactivate
6672 NOTE: removed trailing whitespaces from my previous comments of
6675 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6677 * src/hildon-pannable-area.c
6678 (hildon_pannable_area_get_property),
6679 (hildon_pannable_area_set_property),
6680 (hildon_pannable_area_map),
6681 (hildon_pannable_area_class_init),
6682 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6683 to cause the widget give a hint about its panning abilities upon
6686 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6688 * src/hildon-pannable-area.c: Several documentation improvements.
6690 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6692 * src/hildon-program.c
6693 * src/hildon-stackable-window.c: Update documentation.
6695 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6697 * src/hildon-stackable-window.c (get_previous_window_if_last):
6698 Renamed get_last_window()
6699 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6700 (hildon_stackable_window_unset_program):
6702 (get_previous_window_if_last):
6703 Detect if the window hasn't been added to a HildonProgram.
6705 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6707 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6709 * src/hildon-pannable-area.c
6710 (hildon_pannable_area_button_press_cb),
6711 (hildon_pannable_axis_scroll),
6712 (hildon_pannable_area_scroll),
6713 (hildon_pannable_area_timeout),
6714 (hildon_pannable_calculate_vel_factor),
6715 (hildon_pannable_area_get_property),
6716 (hildon_pannable_area_set_property),
6717 (hildon_pannable_area_class_init),
6718 (hildon_pannable_area_init),
6719 (hildon_pannable_area_scroll_to),
6720 (hildon_pannable_area_jump_to),
6721 (hildon_pannable_area_scroll_to_child),
6722 (hildon_pannable_area_jump_to_child):
6723 * src/hildon-pannable-area.h: Added the new API functions:
6724 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6725 hildon_pannable_area_scroll_to_child,
6726 hildon_pannable_area_jump_to_child
6729 * examples/Makefile.am
6730 * examples/hildon-pannable-area-example-2.c
6731 * examples/hildon-pannable-area-example-3.c: Added these two new
6732 examples in order to test and show how the new APIs work.
6734 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6736 * examples/hildon-stackable-window-example.c (new_window):
6737 * src/Makefile.am (noinst_HEADERS):
6738 * src/hildon-program.c (hildon_program_go_to_root_window):
6739 * src/hildon-program.h:
6740 * src/hildon-stackable-window-private.h:
6741 * src/hildon-stackable-window.c:
6742 * src/hildon-stackable-window.h:
6743 Create hildon-stackable-window-private.h
6744 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6746 * examples/hildon-app-menu-example.c (create_menu):
6747 * examples/hildon-hvolumebar-insensitive-example.c (main):
6748 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6749 * examples/hildon-toolbar-seekbar-example.c (main):
6750 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6751 * src/hildon-banner.c (hildon_banner_set_property):
6752 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6753 Fix compilation warnings
6755 * src/hildon-window.c:
6758 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6760 * src/hildon-stackable-window.c
6761 (hildon_stackable_window_unset_program):
6762 Calculate correctly whether to show the previous window if the
6763 last one is removed from the stack.
6764 (hildon_stackable_window_go_to_root_window):
6765 Send delete events starting from the topmost window.
6766 Stop if one of the windows is not destroyed.
6768 (hildon_stackable_window_delete_event)
6769 (hildon_stackable_window_class_init):
6770 Ignore the delete event if the window is not the topmost one.
6772 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6774 * src/hildon-pannable-area.c
6775 (hildon_pannable_area_expose_event): Fixed a problem when
6776 selecting the background color of the scrollbars.
6778 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6780 * examples/hildon-stackable-window-example.c
6781 * src/hildon-stackable-window.c
6782 * src/hildon-stackable-window.h
6783 hildon_stackable_window_go_home() renamed to
6784 hildon_stackable_window_go_to_root_window()
6785 Send delete events to windows rather than closing them with
6786 gtk_widget_destroy()
6788 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6790 * src/hildon-pannable-area.c
6791 (hildon_pannable_area_button_release_cb): Fix overshooting in
6794 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6796 * src/hildon-pannable-area.c
6797 (hildon_pannable_area_init): Initially show the scroll indicators.
6798 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6800 Add initial effect showing the widget is pannable.
6802 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6804 * src/hildon-pannable-area.c
6805 (hildon_pannable_area_class_init)
6806 (hildon_pannable_area_set_property)
6807 (hildon_pannable_area_get_property)
6808 (hildon_pannable_area_button_press_cb):
6809 New 'velocity_fast_factor' property to decide which velocity is
6812 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6814 * src/hildon-pannable-area.c
6815 (hildon_pannable_draw_hscroll)
6816 (hildon_pannable_draw_vscroll):
6817 Use float variables to calculate the size of the scrollbars to
6818 avoid error propagation and resizing during scrolling.
6820 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6822 * src/hildon-pannable-area.c
6823 (hildon_pannable_draw_vscroll)
6824 (hildon_pannable_draw_hscroll):
6825 Define a minimum size for the scroll bars
6827 * src/hildon-stackable-window.c
6828 (hildon_stackable_window_go_home): Fix compilation warning
6829 (get_last_window): Minor optimizations
6830 (hildon_stackable_window_class_init): Fix initialization of
6833 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6835 * src/hildon-stackable-window.c: Fixed typos in doc
6837 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6839 * src/hildon-pannable-area.c
6840 (hildon_pannable_area_scroll):
6841 Calculate here whether we need to scroll instead of using the booleans
6842 that tell us whether to /draw/ the scrolling bars.
6844 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6846 * src/hildon-app-menu.h
6848 * src/hildon-app-menu.c
6849 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6850 multiple filter groups related code and API. Now we support only
6852 * examples/hildon-app-menu-example.c:
6854 Update to reflect API changes.
6856 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6858 * src/hildon-stackable-window.c
6859 (hildon_stackable_window_class_init):
6860 Add hildon_stackable_window_realize.
6861 (hildon_stackable_window_realize):
6862 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6863 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6864 to apply theming and behavior specific to HildonStackableWindow
6867 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6869 * src/hildon-note.c (hildon_note_button_release):
6870 Close information notes also when tapping on them
6872 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6874 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6875 ELASTICITY, refactor and review, fix some issues with drawing
6878 * src/hildon-pannable-area.c:
6879 (hildon_pannable_area_button_press_cb): removed the conditions to
6880 avoid clicks when overshooting. It is not required
6882 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6883 define. Refatored and reviewed the code, now we do not need to
6884 manage velocity in motion_notify.
6886 (hildon_pannable_area_motion_notify_cb): We have moved the code
6887 that controls the area_scroll to the axis_scroll function and get
6888 rid of duplicated code.
6890 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6892 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6894 (hildon_pannable_draw_vscroll),
6895 (hildon_pannable_draw_hscroll): Fixed the problems with the
6896 scrollbar drawing, now we do not use two surfaces, it is easier
6897 and saves resources.
6899 (hildon_pannable_area_get_property): Style modification.
6901 (hildon_pannable_area_class_init): Changed some default values.
6903 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6905 * src/hildon-stackable-window.c: Fix some typos in the
6908 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6910 * src/hildon-dialog.c:
6911 Change indentation style
6914 (hildon_note_button_release):
6915 Use root coordinates to check if the release event happened
6918 * src/hildon-app-menu.c
6919 (hildon_app_menu_button_release):
6920 Remove unnecessary check
6922 * examples/hildon-app-menu-example.c
6924 Add cast to fix warning
6926 * src/hildon-app-menu.c
6927 (hildon_app_menu_class_init):
6928 New inner-border style property.
6929 Set all default spacings to 16
6930 (hildon_app_menu_init):
6931 Use vertical-spacing to set the space between filter buttons and
6932 regular menu buttons.
6933 Set the default container border using the inner-border value.
6935 * examples/hildon-app-menu-example.c
6937 Don't set the menu border explicitly, now we have the inner-border
6938 style property for that.
6940 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6942 * src/hildon-app-menu.c (hildon_app_menu_init):
6943 Make the window modal
6945 * src/hildon-note.c (hildon_note_map)
6946 * src/hildon-app-menu.c (hildon_app_menu_map):
6947 Destroy the grab window if we're unable to grab the pointer
6949 * src/hildon-app-menu-private.h
6950 * src/hildon-app-menu.c
6951 (hildon_app_menu_init, hildon_app_menu_finalize)
6952 (hildon_app_menu_map, hildon_app_menu_unmap)
6953 (hildon_app_menu_button_release)
6954 (grab_transfer_window_get):
6955 Bring back the grab window
6956 (hildon_app_menu_realize):
6957 Decorate the window, set WM hint for Matchbox
6959 * src/hildon-note.c (hildon_note_realize):
6960 * src/hildon-banner.c (hildon_banner_realize):
6961 Add WM hints for Matchbox
6963 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6965 * src/hildon-app-menu-private.h
6966 * src/hildon-app-menu.c
6967 (hildon_app_menu_init, hildon_app_menu_finalize)
6968 (hildon_app_menu_map, hildon_app_menu_unmap)
6969 (hildon_app_menu_button_release):
6970 Remove the grab window, it's not needed anymore
6972 * src/hildon-program.c
6973 Fixed typo in documentation
6975 * src/hildon-app-menu.h
6976 * src/hildon-app-menu.c
6977 * examples/hildon-app-menu-example.c
6978 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6980 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6983 Added new transfer_window and close_if_pressed_outside private
6985 (hildon_note_rebuild):
6986 Don't add a cancel button to the information note. It will be
6987 closed when tapping outside
6988 Remove the comment about the OK button in the documentation
6989 (hildon_note_realize):
6990 Set the notification type hint
6991 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6992 Grab/ungrab pointer and keyboard if the note has to be closed when
6994 (hildon_note_button_release):
6995 Close the note when tapping outside (if applicable)
6997 * src/hildon-app-menu.c
6998 Grab/ungrab pointer and keyboard on map/unmap
6999 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7000 Close the menu on button release, not button press
7002 * src/hildon-banner.c
7003 (hildon_banner_set_property)
7004 (hildon_banner_check_position):
7005 Make the banner use the full width of the screen
7006 (hildon_banner_show_information)
7007 (hildon_banner_show_information_with_markup):
7008 Don't display an icon by default
7010 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7012 Added fading scrollbars and adapted all the overshooting code to
7013 horizontal scrolling. We have also fixed bugs with overshooting
7014 and current fading implementation.
7016 * src/hildon-pannable-area.c
7017 (hildon_pannable_area_scroll_indicator_fade): Time out function
7018 used to change the transparency of the scrollbars.
7020 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7021 control and fixed a problem with fading, we now remove the fade
7022 timeout before adding a new one.
7024 (hildon_pannable_axis_scroll):
7025 (hildon_pannable_area_scroll):
7026 (hildon_pannable_area_timeout): Added this functions so we can use
7027 the scroll code both for vertical and horizontal.
7029 (hildon_pannable_area_motion_notify_cb):
7030 (hildon_pannable_area_button_release_cb): Added the horizontal
7031 scrolling control, fixed a problem with the overshooting timeout.
7033 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7034 painting of the scrolls.
7036 (hildon_pannable_draw_vscroll):
7037 (hildon_pannable_draw_hscroll):
7038 (hildon_pannable_area_expose_event):
7039 Draw both scrollbars and rectangles in the overshooting area.
7041 (hildon_pannable_area_get_property):
7042 (hildon_pannable_area_set_property):
7043 Modified the overshoot property to overshoot_max
7045 (hildon_pannable_area_map):
7046 Replaced the comments symbols.
7048 (hildon_pannable_area_size_allocate):
7049 (hildon_pannable_area_class_init):
7050 (hildon_pannable_area_init): Added horizontal scroll, fading
7051 effect properties, fixed a problem when overshooting in the bottom
7054 * examples/hildon-pannable-area-example.c:
7055 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7056 looks better in the example.
7058 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7060 * src/hildon-window.c
7061 * src/hildon-window.h
7062 (hildon_window_class_init)
7063 (hildon_window_unset_program)
7064 (hildon_window_unset_program_real):
7065 Make unset_program a virtual function
7067 * src/hildon-stackable-window.c
7068 * src/hildon-stackable-window.h
7069 Added hildon_stackable_window_go_home()
7071 * examples/Makefile.am
7072 * examples/hildon-stackable-window-example.c
7073 HildonStackableWindow example
7075 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7077 * hildon-pannable-area.c: Added the overshoot property and removed
7078 the OVERSHOOT define. Fixed an indent style error.
7079 (hildon_pannable_area_motion_notify_cb):
7080 (hildon_pannable_area_get_property):
7081 (hildon_pannable_area_set_property): Add overshoot property.
7083 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7086 (hildon_pannable_area_class_init): Installed the new property.
7088 * hildon-pannable-area-example.c: Added a sawtooth function, this
7089 way it is easier to check the movement in the pannable.
7090 (get_sawtooth_label): Added this function.
7091 (main): Now we get the labels from the new get_sawtooth_label
7094 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7096 * src/hildon-app-menu.h
7097 * src/hildon-app-menu.c
7098 Renamed API variables for consistency
7100 (hildon_app_menu_popup): Use also the default window size to
7101 decide where to place the menu
7103 (hildon_app_menu_init, hildon_app_menu_class_init): New
7104 external-border style property
7106 2008-05-26 Michael Natterer <mitch@imendio.com>
7108 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7109 widget_class->tap_and_hold_setup signal slot doesn't exist any
7110 longer, stop overriding it.
7112 (hildon_time_editor_init): g_signal_connect() to the
7113 tap-and-hold-setup signal instead.
7115 (hildon_time_editor_entry_keypress): add cast to fix warning.
7117 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7119 * doc/hildon-docs.sgml
7121 * examples/Makefile.am
7122 * examples/hildon-app-menu-example.c
7124 * src/hildon-app-menu-private.h
7125 * src/hildon-app-menu.c
7126 * src/hildon-app-menu.h
7128 New HildonAppMenu widget
7130 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7132 Rearranged the inheritance of the pannable area, now it inherits
7133 from GtkBin. This will allow us to control the event_window and
7134 the allocation process of the widget, required for some effects.
7136 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7137 GtkBin structures. * src/hildon-pannable-area.c: Added the
7138 event_window variable.
7139 (hildon_pannable_area_button_press_cb):
7140 (hildon_pannable_area_button_release_cb):
7141 (hildon_pannable_area_motion_notify_cb):
7142 Changed the signature of the method, now we override the event
7143 callback instead of connecting to the signal.
7145 (hildon_pannable_area_realize):
7146 (hildon_pannable_area_unrealize):
7147 (hildon_pannable_area_map):
7148 (hildon_pannable_area_unmap):
7149 (hildon_pannable_area_size_allocate):
7150 Added functions to control the widget construction. We add a
7151 INPUT_ONLY window and we put it over the widgets inside the
7152 container, this event_window handles the events.
7154 (hildon_pannable_area_class_init):
7155 Replaced the signal connections with overrides of the event
7158 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7160 Bouncing effect added when touching the borders, you can change
7161 the elasticity of the border changing the ELASTICITY define.
7163 * src/hildon-pannable-area.c: Added ELASTICITY define.
7164 (hildon_pannable_area_timeout): Added inverse velocity when
7165 touching the border of the child widget, that causes a bounce.
7167 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7169 Improved performance, we now do not go to the X server in order to
7170 get the list of window children. Apparently the effect is the
7171 same, we have to be careful and check if this breaks something in
7174 * src/hildon-pannable-area.c:
7175 (get_ordered_children): Removed this function.
7176 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7177 the children windows function with gdk_window_get_children.
7179 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7181 * src/hildon-pannable-area.c:
7182 (hildon_pannable_area_dispose): Fixed a crash when closing the
7183 window and kinetics is activated.
7185 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7187 * src/hildon-pannable-area.h
7188 * src/hildon-pannable-area.c
7189 Changed indentation style to meet the one used in Hildon
7191 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7193 Reviewed the interaction of the AUTO mode, now we use the time
7194 attribute of the events and calculate the velocity in the motion,
7195 doing a gimp like calculation. The velocity is calculated in each
7196 motion event using the last velocity and the current one, the
7197 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7199 * src/hildon-pannable-area.c: Replaced the time based algorithm
7201 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7202 timeout for the AUTO mode when we are still moving the cursor. We
7203 added also the velocity calculation in this function.
7204 (hildon_pannable_area_button_release_cb): launch the timeout in
7205 case we are in AUTO mode. There are still some constants here that
7206 come from the old implementation that should be reviewed and
7209 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7211 * doc/hildon-docs.sgml
7214 * src/hildon-stackable-window.c
7215 * src/hildon-stackable-window.h
7217 New HildonStackableWindow widget
7219 * examples/hildon-dialog-example.c
7220 * examples/hildon-pannable-area-example.c
7223 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7225 * src/hildon-dialog.c
7226 (hildon_dialog_new_with_buttons): New constructor.
7228 * examples/hildon-dialog-example.c
7229 (main): Update the example to use the new
7230 hildon_dialog_new_with_buttons().
7232 * examples/hildon-pannable-area-example.c
7233 (main): Update example.
7235 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7237 * doc/hildon-docs.sgml
7239 Added HildonPannableArea to the documentation.
7241 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7243 * doc/visual_index.xml
7244 Fix reference to HildonLoginDialog in documentation
7246 * doc/hildon-docs.sgml
7248 * examples/Makefile.am
7249 * examples/hildon-dialog-example.c
7251 * src/hildon-dialog.c
7252 * src/hildon-dialog.h
7254 New HildonDialog widget.
7256 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7258 * src/hildon-pannable-area.c
7259 Merge latest changes (r4318, r4342) from libmokoui trunk
7261 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7263 * examples/Makefile.am
7264 * examples/hildon-pannable-area-example.c
7266 * src/hildon-pannable-area.c
7267 * src/hildon-pannable-area.h
7269 New HildonPannableArea widget.
7271 2008-04-15 18:05:19 <timj@imendio.com>
7273 * src/hildon-banner.c: revert the recent change, that introduced
7274 gtk_window_present() calls. this reopens:
7275 Bug 78481 - [freetest] information banners are hidden under browser menu
7276 But resolves another variant of:
7277 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7279 2008-04-15 13:21:13 <timj@imendio.com>
7281 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7282 recreated its layout, spotted by Kris. this fixes all remaining
7283 artefacts and stability issues with the banner code. in particular:
7284 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7286 2008-04-14 16:52:59 <timj@imendio.com>
7288 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7289 operating on unrealized widgets, fixes:
7290 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7292 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7294 2008-04-09 Kristian Rietveld <kris@imendio.com>
7296 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7297 makes banner disappear.
7298 Fixes: NB#79182: info banner flickering with certain message lengts.
7300 * src/hildon-banner.c (hildon_banner_constructor),
7301 (hildon_banner_init), (hildon_banner_set_text),
7302 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7303 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7304 FALSE, reset size requests of label and banner,
7305 (force_to_wrap_truncated): when the text is too wide, always enforce
7306 the maximum possible width instead of recalculating it from the
7307 layout; enforce the maximum banner height of 3 lines,
7308 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7309 nicer wrapping and no truncated chars if space gets tight.
7311 * src/hildon-banner-private.h: add has_been_wrapped and
7312 has_been_truncated fields.
7314 2008-04-07 Sven Herzberg <sven@imendio.com>
7316 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7317 local values in hildon_date_editor_size_allocate
7319 * src/hildon-date-editor.c: moved the real allocation code into the
7322 2008-04-07 Sven Herzberg <sven@imendio.com>
7324 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7325 local values in hildon_date_editor_size_allocate
7327 * src/hildon-date-editor.c: merged the two if() branches together
7329 2008-04-07 Sven Herzberg <sven@imendio.com>
7331 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7332 local values in hildon_date_editor_size_allocate
7334 * src/hildon-date-editor.c: changed the arguments of the if()
7337 2008-04-07 Sven Herzberg <sven@imendio.com>
7339 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7340 local values in hildon_date_editor_size_allocate
7342 * src/hildon-date-editor.c: split the calculation of the allocation
7343 from the real allocation
7345 2008-03-27 Michael Natterer <mitch@imendio.com>
7347 Fixes: NB#81696: The passcode is not overwritten even after
7350 * src/hildon-code-dialog.c
7351 (hildon_code_dialog_button_clicked)
7352 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7353 because that doesn't overwrite selected text. Instead, emit the
7354 "commit" signal on the entry's im_context so the entry's normal
7355 insert logic is triggered. Set the cursor to the end of the entry
7356 after each insert operation so that we *only* insert in the middle
7357 of the text if something was selected.
7359 2008-03-27 Michael Natterer <mitch@imendio.com>
7361 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7362 selector cannot be opened
7364 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7365 when the popup color selector is created. Please connect to this
7366 signal in order to set the dialog's help ID.
7368 2008-03-25 Sven Herzberg <sven@imendio.com>
7370 Fixes: MB#1212: Hide info banners (infoprints) on click
7372 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7373 extracted the close event simulation into an extra function
7374 (hildon_banner_button_press_event): simulate a close event and destroy
7375 the widget if the event wasn't handled
7376 (hildon_banner_class_init): added the button_press_event handler
7377 (hildon_banner_init): added button-press events to the widget
7379 2008-03-25 Sven Herzberg <sven@imendio.com>
7381 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7382 Patch from: Mohammad Anwari <mdamt@maemo.org>
7384 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7385 instead of the right in RTL mode
7386 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7387 breadcrumb button list in RTL mode
7388 * src/hildon-caption.c: mirror the appearance of the caption widget in
7390 * src/hildon-date-editor.c: mirror appearance of the date editor in
7392 * src/hildon-time-editor.c: mirror appearance of the time editor in
7394 * src/hildon-window.c: fix the position of the popup in RTL mode
7396 2008-03-25 Sven Herzberg <sven@imendio.com>
7398 Amendment to the fix of NB#22072. Fix compilation.
7400 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7402 2008-03-19 Sven Herzberg <sven@imendio.com>
7404 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7407 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7408 timeout id properly when the timeout will disappear this leaves no
7409 artifacts around in the destroy(); there will only be the timeout
7410 created by hildon_banner_ensure_timeout() and adding a new timeout
7411 will also work if the timeout gets removed because the timeout_handler
7414 2008-03-19 Michael Natterer <mitch@imendio.com>
7416 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7418 * src/hildon-volumebar.c
7419 * src/hildon-vvolumebar.c
7420 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7421 the widget becomes focussable at all.
7423 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7424 set the focus to wither the mute button or the volumebar.
7426 Remove own "can-focus" property and instead listen to
7427 notify::can-focus in order to update the widget's state.
7429 Implement GtkWidget::focus() and make sure we can also *leave* the
7430 widget, not only enter it, depending on volumebar orientation and
7431 requested focus direction.
7433 Clean up set_mute() to cooperate nicely with all the above.
7435 2008-03-04 Michael Natterer <mitch@imendio.com>
7437 Fixes: NB#78481: information banners are hidden under browser menu
7439 * src/hildon-banner.c: call gtk_window_present() on the banners so
7440 they are risen if they are already visible.
7442 2008-03-03 Sven Herzberg <sven@imendio.com>
7444 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7446 * examples/hildon-window-menu-example.c: (main): extended the window
7447 menu example to serve as a testcase for automatically added
7448 accelerator groups, too
7449 * src/hildon-window.c: (hildon_window_add_accel_group),
7450 (hildon_window_set_menu): added patch by Tommi Komulainen
7452 2008-03-03 Sven Herzberg <sven@imendio.com>
7454 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7456 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7457 knowledge about the border allocators used within GTK+
7459 2008-02-26 Sven Herzberg <sven@imendio.com>
7461 Fixes: MB#2981: Build with asserts broken
7463 * src/hildon-date-editor.c,
7464 * src/hildon-number-editor.c,
7465 * src/hildon-time-editor.c,
7466 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7467 the proper GType instance check
7469 2008-02-25 Sven Herzberg <sven@imendio.com>
7471 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7473 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7474 * examples/hildon-window-menu-example.c: (main): explicitly show
7476 * src/hildon-window.c:
7477 (hildon_window_set_main_menu): moved most of the code from set_menu()
7478 to this place; skipped the call to gtk_widget_show_all(); also didn't
7479 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7480 (hildon_window_set_menu): removed most of the code, just keep the
7481 questionable gtk_widget_show_all()
7482 * src/hildon-window.h: added the new function and deprecate the old
7485 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7491 * debian/changelog: Updating.
7493 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7496 * pkgconfig/Makefile.am:
7497 * pkgconfig/hildon.pc.in:
7500 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7501 use newly created API_MAJOR_VERSION.
7503 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7509 * debian/changelog: Updating.
7511 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7513 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7515 Add outer_border style property, we use it but don't define it (!).
7519 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7521 * examples/hildon-bread-crumb-trail-example.c (main):
7525 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7527 Fix logic for the bread crumb trail node removal.
7531 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7537 * debian/changelog: Updating.
7539 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7541 Patch by Alejandro to get/set passwords dialogs accesibility.
7543 * hildon-1/src/hildon-get-password-dialog.c:
7544 * hildon-1/src/hildon-set-password-dialog.c:
7545 Set atk_set_name to the passwd entries in order to allow
7546 accessibility by name on this entries.
7548 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7553 * debian/control: Updating gtk dep.
7555 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7557 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7558 USE_MAEMO_GTK is enabled.
7560 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7562 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7563 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7565 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7571 * debian/changelog: Updating.
7573 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7575 * examples/Makefile.am:
7576 * examples/hildon-logical-color-example.c:
7577 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7578 applied + adding a test case. Fixes: NB#71660.
7580 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7582 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7583 to be visible, fixes warning on map for windows without toolbars.
7585 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7587 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7588 2.11.0, add a check for that besides the MAEMO_GTK check.
7590 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7596 * debian/changelog: Updating.
7598 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7600 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7601 visibility. Fixes: NB#70842 and MB#615.
7603 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7605 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7606 set the separator as no-show-all so it doesn't unintentionally appear when
7607 someone does a show_all.
7609 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7611 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7612 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7613 toplevel item. Fixes: NB#62031
7615 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7617 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7618 fix the name of the function in the docs.
7620 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7626 * debian/changelog: Updating.
7628 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7630 * examples/hildon-banner-long-example.c: Adding a test-case for long
7633 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7635 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7637 * src/hildon-color-chooser-dialog.c:
7638 * src/hildon-color-chooser.c:
7639 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7640 memory leaks in font selector and color selector. Fixes: NB#70499 and
7643 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7645 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7647 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7649 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7650 little bit bigger. Fixes: #NB63694.
7652 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7658 * debian/changelog: Updating.
7660 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7663 * doc/hildon-docs.sgml:
7664 * doc/images/bread-crumb-trail.png:
7665 * doc/images/calendar-popup.png:
7666 * doc/images/caption.png:
7667 * doc/images/code-dialog.png:
7668 * doc/images/color-button.png:
7669 * doc/images/color-chooser-dialog.png:
7670 * doc/images/color-chooser.png:
7671 * doc/images/controlbar.png:
7672 * doc/images/date-editor.png:
7673 * doc/images/font-selection-dialog.png:
7674 * doc/images/get-password-dialog.png:
7675 * doc/images/hvolumebar.png:
7676 * doc/images/login-dialog.png:
7677 * doc/images/note.png:
7678 * doc/images/number-editor.png:
7679 * doc/images/range-editor.png:
7680 * doc/images/seekbar.png:
7681 * doc/images/set-password-dialog.png:
7682 * doc/images/sort-dialog.png:
7683 * doc/images/time-editor.png:
7684 * doc/images/time-picker.png:
7685 * doc/images/vvolumebar.png:
7686 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7687 Adding the bread-crumb-trial and helpers to the documentation.
7689 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7691 * examples/hildon-find-toolbar-example.c:
7692 * src/hildon-find-toolbar.c:
7693 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7694 actually continue firing the other handlers if connected. Adding a new
7696 hildon_find_toolbar_get_last_index that gets the index of the most
7697 recently added (last) item. Fixes: NB#52301.
7699 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7701 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7702 behaviour. Fixes: NB#68610.
7704 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7706 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7709 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7711 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7712 when realizing the banner. Should make the infonbanner effect a bit more
7715 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7717 * src/hildon-volumebar.c:
7718 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7719 hildon_volumebar_set_range_insensitive_message and
7720 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7722 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7724 * src/hildon-window.c: Fixing the border freeing on destroy.
7726 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7728 * src/hildon-code-dialog-private.h:
7729 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7730 kw keyboard support in HildonCodeDialog.
7732 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7738 * debian/changelog: Updating.
7740 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7742 * src/hildon-date-editor.c:
7743 * src/hildon-number-editor.c:
7744 * src/hildon-private.c:
7745 * src/hildon-private.h:
7746 * src/hildon-time-editor.c:
7747 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7748 handling in subclassed composite widgets. Fixes: NB#66628.
7750 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7752 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7753 from destroy_ callback as it introduces problems in async dbus signal
7754 handlers. Fixes NB#66673.
7756 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7758 * examples/hildon-hvolumebar-example.c:
7759 * src/hildon-volumebar.c: Improving the focus handling in the
7760 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7761 set_property accessor so that "mute" property can be actually set. I'm
7762 scared that nobody noticed it's totally broken.
7764 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7766 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7769 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7771 * src/hildon-calendar.c:
7772 * src/hildon-number-editor.c:
7773 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7774 matches the spec of 6 chars per second. Fixes: NB#60489.
7776 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7778 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7779 gtk_style_lookup_color sometime returns FALSE even though color was
7780 found and values were filled properly. Weird. Removing the warning for the
7783 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7785 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7786 expand vertically. Adding some extra space to the find toolbar buttons to
7787 make them thumbable. Fixes NB#66060.
7789 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7791 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7792 popup with "Ok" and "Cancel". Fixes NB#59299.
7794 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7796 * src/hildon-calendar.c: Process all window updates before executing next
7797 timeout. Fixes: NB#54146.
7799 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7805 * debian/changelog: Updating.
7807 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7809 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7810 the client event and ignore it, since we use the delete event to close
7813 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7815 * src/hildon-helper.c: Remove the bogus warning about color not being
7816 found. Fixes NB#58352.
7818 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7820 * examples/Makefile.am:
7821 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7822 HildonSeekbar widget inside a toolbar.
7824 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7826 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7827 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7828 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7829 don't want to be closed by non-temporary windows on map.
7831 Also use G_DEFINE_TYPE instead of manually typed code.
7833 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7840 * debian/rules: Updating.
7842 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7844 * examples/Makefile.am:
7845 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7846 bug NB#61128. Strangely it works.
7848 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7850 * src/hildon-date-editor.c: When the date editor entry has been changed
7851 but the numbers of characters < max, turn off the skip validation flag.
7852 Prevents a situation when we enter first a valid year and later re-write
7853 it with an invalid one. Fixes NB#60154.
7855 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7857 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7858 code dialog. Fixes NB#64355.
7860 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7862 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7863 switching the page. Fixes NB#49374.
7865 * examples/Makefile.am:
7866 * examples/hildon-wizard-dialog-example.c: Adding an example for
7867 HildonWizardDialog that shows how to handle manual sensitivity setting on
7870 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7874 * src/hildon-version.h.in:
7875 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7877 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7879 * src/hildon-volumebar.c: Updating the docs.
7881 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7887 * debian/changelog: Updating.
7889 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7891 * src/hildon-find-toolbar.c:
7892 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7893 selected item: hildon_find_toolbar_set_active,
7894 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7895 hildon_find_toolbar_get_active_iter . They correspond to respective
7896 GtkComboBox functions.
7898 * examples/Makefile.am:
7899 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7902 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7904 * examples/Makefile.am:
7905 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7908 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7909 when font size > 32 and we pack a focusable widget inside. Actually using
7910 the default response would work too, but since we don't show default
7911 response state in any way (no theming) it would not be visible to the
7912 user. Fixes NB#63430.
7914 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7916 * src/hildon-date-editor.c: Adding the missing variable setter in the
7917 set_property handler. Fixes NB#54182.
7919 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7921 * src/hildon-window.h: Changing the long key press time from 1500ms to
7922 800ms as requested in NB#63700. I have a bad feeling about this, let's
7923 see... Fixes NB#63700.
7925 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7927 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7928 hildon_time_picker_map, hildon_time_picker_realize,
7929 hildon_time_picker_style_set): Split the contents of map to more
7930 appropriate functions; set window decorations on realize and update
7931 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7933 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7938 * debian/changelog: Updating.
7940 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7942 * src/Makefile.am: fixed installation of the header files
7944 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7950 * debian/changelog: Updating.
7952 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7954 * configure.ac: Removing some remaining of --enable-xan.
7956 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7958 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7959 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7961 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7962 2.10.12-osso6 because the move-focus signal needs to be available in
7965 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7967 * examples/Makefile.am:
7968 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7969 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7970 fine. Prolly NB#61128 is fixed now.
7972 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7974 * src/hildon-volumebar.c:
7975 * src/hildon-volumebar.h: Adding the
7976 hildon_volumebar_set_range_insensitive_message and
7977 hildon_volumebar_set_range_insensitive_messagef functions to set
7978 insensitive message on the slider of the volumebar. Fixes NB#61129.
7980 * examples/Makefile.am:
7981 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7982 test the new insensitive messsage functionality on HildonVolumebar.
7984 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7986 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7989 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7991 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7992 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7993 button on after clearing the trail.
7995 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7997 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7999 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8001 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8002 by splitting the installed headers in generated and non-generated groups. Use
8003 only the non-generated headers to create the hildon-enum-types.h file.
8005 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8007 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8009 * src/hildon-window.c: Hide the window before performing the destroy.
8010 Should make the app closing a little tiny bit more snappy.
8012 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8014 * src/hildon-seekbar.c: add gtkrange.h header
8015 * src/hildon-caption.c: remove unused variable
8017 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8019 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8022 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8028 * debian/changelog: Updating.
8030 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8032 * src/hildon-window.c (hildon_window_window_state_event,
8033 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8034 escape timeout on focus-out-event rather than notify::is-topmost; the
8035 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8037 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8039 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8040 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8042 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8044 * src/hildon-window: actually, you need to use the macro always, there's
8045 no private pointer in the instance structure. We should have cleaned this up
8046 when we had the chance...
8048 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8050 * src/hildon-window.c: do not get the private date from HildonWindow before
8051 it passes the g_return_if_fail check. Once it's passed the test, there's no
8052 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8053 if you are only going to access the data once. Whitespace cleanups.
8055 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8057 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8058 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8060 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8066 * debian/changelog: Updating.
8068 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8070 * src/hildon-window.c: When destroying the window, remove (if exists) the
8071 escape timeout handler. Fixes #NB59276.
8073 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8075 * src/hildon-banner.c: When realizing the widget, set the window
8076 transiency. Setting the transiency in the gobject constructor is not
8077 good, as the widget is not realized at that point. Fixes: #NB56624.
8079 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8081 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8082 Add padding for future expansions.
8084 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8086 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8087 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8088 will fake an activation on the previous to the last item of the trail, so
8089 the effect can be overrided by the developer as usual.
8090 Also change the callback for the back button to do the same thing, so its
8091 effect can be overrided too. Fixes: NB#58982
8093 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8095 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8096 HildonCaption. Fixes NB#52379.
8098 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8100 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8101 the internal state of the trail after the user has had the chance of executing
8102 his handler for the signal. Specifically, it may happen that the activated button
8103 is removed and the user still lets the default handler run. This would segfault
8106 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8108 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8109 scrollbar to the preview dialog. Fixes NB#54147.
8111 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8113 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8114 max/min year properties can be altered, so the client can modify it
8115 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8117 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8119 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8120 hildonlike by default. Fixing a problem with disappearing arrows when
8121 scrolling through months and years. Fixes NB#54127.
8123 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8125 * examples/hildon-date-editor-example.c: Adding error callback to the date
8128 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8134 * configure.ac: Updating.
8136 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8138 * configure.ac: Adding a special '--enable-xan' configure option that
8139 turns off the -Werror compilation setting. Usefull for development.
8141 * src/hildon-calendar.c:
8142 * src/hildon-number-editor.c:
8143 * src/hildon-time-picker.c: Adding the 5* multiplier to
8146 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8148 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8149 instead of g_object_ref + gtk_object_sink.
8151 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8157 * debian/changelog: Updating.
8159 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8161 * src/hildon-color-chooser-dialog.c:
8162 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8163 straight from Tommi labs.
8165 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8167 * examples/hildon-finger-example.c: Correcting the header file path.
8169 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8170 the changed signal. Fixes a small memory leak.
8172 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8176 * src/hildon-banner.c: Importing several usefull fixes from the
8177 ubuntu-mobile branch.
8179 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8181 * examples/Makefile.am:
8182 * examples/hildon-finger-example.c: Adding a finger-checking code
8185 * src/hildon-font-selection-dialog.c: Do not allocate the color
8186 structure using the g_new. Fixes NB#54061.
8188 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8190 * src/hildon-helper.c: Correcting tabs in file.
8192 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8194 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8195 control the visibility of the children.
8197 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8199 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8205 * debian/changelog: Updating.
8207 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8209 * src/hildon-bread-crumb-trail.c:
8210 (hildon_bread_crumb_trail_size_allocate):
8212 Make the back button always a square.
8214 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8216 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8217 from the .c file as it's a private file.
8219 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8221 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8222 uses slightly bigger height.
8224 * src/hildon-font-selection-dialog.c: Adding some checks before
8225 freeing memory in the font selection dialog.
8227 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8229 * src/hildon-font-selection-dialog.c: Adding a small check when
8232 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8233 buttons sensitivity on page switching.
8235 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8237 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8238 internal details of adding a bread crumb to the trail.
8240 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8246 * debian/changelog: Updating.
8248 * src/hildon-bread-crumb-trail.h:
8249 * src/hildon-bread-crumb.h: Changing the API guard to
8250 HILDON_ENABLE_UNSTABLE_API.
8252 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8260 * src/hildon-helper.h: Updating.
8262 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8270 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8274 * src/hildon-helper.h: Small fix to make the package actually compile.
8276 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8278 * src/hildon-bread-crumb-trail.h:
8279 * src/hildon-bread-crumb.h:
8281 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8282 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8284 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8286 * examples/hildon-bread-crumb-trail-example.c:
8288 * src/hildon-bread-crumb-trail.c:
8289 * src/hildon-bread-crumb-trail.h:
8290 * src/hildon-bread-crumb.c:
8291 * src/hildon-bread-crumb.h:
8292 * src/hildon-marshalers.list:
8293 * src/hildon-bread-crumb-widget.c:
8294 * src/hildon-bread-crumb-widget.h:
8296 Slight change in the widget design. The bread crumb trail API is
8297 unchanged, but HildonBreadCrumb is now an interface. A *private*
8298 implementation, hildon-bread-crumb-widget, is provided and used
8299 internally by the trail for the push_text/push_icon functions.
8301 The generic push API is still available, so anyone can implement
8302 and use its own bread crumb widget.
8304 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8306 * debian/rules: Fixing the shlibs.
8308 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8310 * src/hildon-banner.c: Fixing a problem with timed banners having
8311 their parrent destroyed before they are.
8313 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8315 * src/hildon-bread-crumb.c:
8316 * src/hildon-bread-crumb.h:
8318 Make the get_natural_size function a vfunc.
8320 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8322 * src/hildon-bread-crumb.c:
8323 * src/hildon-bread-crumb-trail.c:
8327 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8334 * debian/changelog: Updating for release.
8336 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8338 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8339 don't leak the pango layout.
8341 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8344 * examples/hildon-bread-crumb-trail-example.c:
8348 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8350 * debian/changelog: Removing the bug-fixed entries that were actually
8351 resolved as WONTFIX.
8353 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8356 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8358 * src/hildon-bread-crumb-trail.c:
8359 * src/hildon-bread-crumb-trail.h:
8360 * src/hildon-bread-crumb.c:
8361 * src/hildon-bread-crumb.h:
8365 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8367 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8368 until it's passed the type check.
8370 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8372 * examples/hildon-bread-crumb-trail-example.c
8376 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8378 * examples/Makefile.am
8379 * examples/hildon-bread-crumb-trail-example.c
8381 * src/hildon-bread-crumb-trail.c
8382 * src/hildon-bread-crumb-trail.h
8383 * src/hildon-bread-crumb.c
8384 * src/hildon-bread-crumb.h
8386 New HildonBreadCrumbTrail widget.
8388 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8390 * src/hildon-range-editor.c (hildon_range_editor_init),
8391 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8392 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8393 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8394 hildon_time_editor_class_init, hildon_time_editor_init),
8395 src/hildon-get-password-dialog.c (invalid_input,
8396 hildon_get_password_set_property, hildon_get_password_get_property,
8397 create_contents, hildon_get_password_dialog_set_max_characters),
8398 src/hildon-set-password-dialog.c (create_contents),
8399 src/hildon-date-editor.c (hildon_date_editor_init),
8400 src/hildon-login-dialog.c (hildon_login_dialog_init),
8401 src/hildon-number-editor.c (hildon_number_editor_init),
8402 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8403 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8404 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8405 configure option and adding the respective checks in the code.
8406 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8407 hildon_calendar_drag_data_received): fixed some build warnings.
8409 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8411 * debian/changelog: A 1.0.0 release notes.