1 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
4 calculate velocity factor during initialization, since the properties
7 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
9 * hildon/hildon-pannable-area.c
10 (hildon_pannable_area_set_property): Calculate the velocity factor
11 after setting the deceleration property and not after.
13 2009-05-20 Alberto Garcia <agarcia@igalia.com>
15 * hildon/hildon-entry.c
16 (hildon_entry_class_init, +set_property, hildon_entry_new)
17 * hildon/hildon-check-button.c
18 (hildon_check_button_class_init)
19 (+set_property, hildon_check_button_new):
20 Make the theme size a property.
22 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
23 others) do too much in the _new function)
25 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
27 * configure.ac: post release version bump
28 * debian/changelog: post release version bump
30 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
35 * configure.ac: Bump version.
36 * debian/changelog: Updates.
38 2009-05-15 Alberto Garcia <agarcia@igalia.com>
41 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
42 New API function to take a screenshot of a window
44 Fixes: NB#106374 (Need API to take a loading screenshot)
46 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
48 * hildon/hildon-time-selector.c
49 (update_format_policy): prevent to use hours and minutes unitialized
51 2009-05-15 Alberto Garcia <agarcia@igalia.com>
53 * hildon/hildon-window.c (hildon_window_size_request):
54 Always request the full size of the screen (minus the title bar if
55 not in fullscreen mode).
57 Fixes: NB#107486 (HildonWindow should size itself properly)
59 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
61 * hildon/hildon-note-private.h: Add idle_handler to the private data.
62 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
63 (on_show_cb), (sound_handling): Disconnect the idle handler for
64 the sound when the note is finalized to avoid possible crashes.
66 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
69 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
71 * src/hildon-animation-actor.c,
72 * src/hildon-remote-texture.c:
73 Added proper object cleanup to remove signal handler and object
74 references as HildonAnimationActor and HildonRemoteTexture
75 objects get destroyed.
77 Fixes: NB#116682 (Destroying parented animation actors when
78 parent in unmapped leads to crash)
80 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
82 Based on a patch by Christian Dywan (christian@imendio.com)
84 * doc/hildon-sections.txt:
85 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
86 * hildon/hildon-helper.h: New file size formatting method.
88 * debian/control: Depend on osso-filemanager l10n package for
89 proper localization strings.
91 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
93 * tests/Makefile.am: Include top_srcdir to make possible to build
94 tests in a different builddir.
95 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
96 on a different builddir.
98 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
100 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
101 (hildon_touch_selector_remove): Disconnect model's signal handler
104 Fixes: NB#116289 (Hildon home crashes while adding task
107 2009-05-11 Alberto Garcia <agarcia@igalia.com>
109 * hildon/hildon-button.c
110 (hildon_button_set_title, hildon_button_set_value):
111 Hide labels containing an empty string.
113 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
115 * configure.ac: post release version bump
116 * debian/changelog: post release version bump
118 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
123 * configure.ac: Bump version.
124 * debian/changelog: Updates.
126 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
128 * hildon/hildon-note-private.h: Removed sound_signal_handler
129 * hildon/hildon-note.c
130 (on_show_cb): new callback on note "show" event, this simply adds
131 a idle, with the function sound_handling
132 (sound_handling): removed the sound_signal_handler management
133 (hildon_note_init): connect note "show" event to on_show_cb
134 (hildon_note_realize): remove the connection to "expose-event"
136 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
137 device?' confirmation note)
139 2009-05-08 Alberto Garcia <agarcia@igalia.com>
141 * hildon/hildon-note.c
142 (hildon_note_new_information_with_icon_name)
143 (hildon_note_new_confirmation_with_icon_name):
144 Terminate the list of parameters in g_object_set() calls
146 Fixes: NB#115166 (Formatting memory card is not taking place)
148 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
150 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
151 "dialog-information" role for the sound being played.
153 2009-05-06 Alberto Garcia <agarcia@igalia.com>
155 * hildon/hildon-app-menu.c (hildon_app_menu_init):
156 Don't make the menu a modal window, it causes strange interactions
157 with the pointer grab and it's not really needed.
159 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
161 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
163 * hildon/hildon-touch-selector.[ch]
164 (hildon_touch_selector_optimal_size_request): function added to get a
165 optimal size request from the touch selector, when you want a dialog to
166 show as much of the selector
167 * hildon/hildon-picker-dialog.c:
168 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
169 (hildon_app_menu_class_init):
170 New "max-height-landscape" and "max-height-portrait" style properties
171 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
172 (hildon_picker_dialog_get_max_height): returns the maximum height using
173 the style properties defined and checking the current portrait/landscape
175 (_hildon_picker_dialog_set_selector): removed the set_size_request
177 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
179 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
181 * hildon/hildon-bread-crumb-trail.c:
182 * hildon/hildon-bread-crumb.c:
183 * hildon/hildon-seekbar.c:
184 Add reference to replacements for these deprecated widgets.
186 Fixes: MB#4461 (Documentation: All deprecations should mention
189 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
191 * examples/hildon-remote-texture-example.c
193 Change the include to the hildon-remote-texture in order to compile
194 properly the examples on the installed libhildon1-examples package
196 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
198 * tests/Makefile.am: Add check for HildonPickerButton.
199 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
200 (START_TEST), (create_hildon_picker_button_suite): Add three simple
201 checks for the HildonPickerButton.
202 * tests/check_test.c (configure_tests): Add the test suite.
203 * tests/test_suites.h: likewise.
205 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
207 * hildon/hildon-touch-selector.c
208 (+on_row_changed): Emit HildonTouchSelector:changed when the
209 contents of a selected row change.
210 (_create_new_column), (_hildon_touch_selector_set_model): connect
211 to GtkTreeModel:row-changed on a newly set model.
213 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
215 2009-05-05 Alberto Garcia <agarcia@igalia.com>
217 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
219 * hildon/hildon-banner.c (hildon_banner_destroy)
220 (hildon_banner_show_progress, hildon_banner_set_fraction):
221 Remove the progress bar from HildonBanner and use a progress
224 Fixes: NB#113761 (Update progress banner to use progress
227 2009-05-04 Alberto Garcia <agarcia@igalia.com>
229 * hildon/hildon-banner.c:
230 Calculate size of the banner label using the actual screen width
231 rather than using a fixed value.
233 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
236 2009-05-04 Alejandro G. Castro <alex@igalia.com>
238 * hildon/hildon-pannable-area.c,
239 (hildon_pannable_area_class_init): Fixed signals documentation
242 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
244 * configure.ac: post release version bump
245 * debian/changelog: post release version bump
247 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
252 * configure.ac: Bump version.
253 * debian/changelog: Updates.
255 2009-05-01 Alberto Garcia <agarcia@igalia.com>
257 * hildon/hildon-edit-toolbar.c
258 (hildon_edit_toolbar_init):
259 Don't let buttons in HildonEditToolbar receive focus.
261 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
262 typing on an HW arrows key)
264 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
266 * doc/Makefile.am: Fix build.
268 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
270 * doc/Makefile.am: Do not redefine content_files.
272 2009-04-30 Alberto Garcia <agarcia@igalia.com>
280 Renamed src/ to hildon/
285 Include <hildon/hildon.h> directly in all examples.
287 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
289 * src/hildon-sort-dialog.c
290 (hildon_sort_dialog_add_sort_key_with_sorting)
294 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
296 * src/Makefile.am: Move generated sources to CLEANFILES, so that
297 make distcheck passes.
299 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
301 * Makefile.am: Enable gtk-doc during distcheck.
303 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
305 * Makefile.am: Do not distribute the debian/ directory.
307 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
309 * doc/Makefile.am: Add the extra SGML files to content_files,
310 so that they are distributed properly.
312 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
314 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
317 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
319 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
320 (hildon_note_new_information_with_icon_name): Set the "icon" property
321 to preserve soundness.
323 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
325 * src/hildon-font-selection-dialog.c
326 (hildon_font_selection_dialog_set_property): Fail when the "family"
327 property is set to NULL.
329 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
331 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
334 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
336 * src/hildon-time-selector.h:
337 Added HildonTimeSelectorFormatPolicy
338 * src/hildon-time-selector.c:
339 Added PROP_TIME_FORMAT_POLICY
340 (_check_ampm_format): renamed to check_automatic_ampm_format
341 (update_format_policy), (update_format_dependant_columns): new functions
342 (hildon_time_selector_class_init)
343 (hildon_time_selector_contructor)
344 (hildon_time_selector_init)
345 (hildon_time_selector_get_property)
346 (hildon_time_selector_set_property)
347 (hildon_time_selector_get_time)
348 (hildon_time_selector_set_time)
349 * src/hildon-touch-selector.h: new file
350 * src/hildon-touch-selector.c
351 (hildon_touch_selector_emit_changed)
352 (hildon_touch_selector_block_changed)
353 (hildon_touch_selector_unblock_changed)
354 Added functions to allow to block the emission of the "changed" signal
355 * src/hildon-picker-dialog.c
356 (hildon_picker_dialog_show): call the parent show before the custom code
357 * examples/hildon-time-button-example.c
358 Modified, so now you can configure the time format using the new property
360 Added a new property "time-format-policy" that allow to choose the time
361 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
362 case it uses gconf in order to check if the time selector must use
365 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
368 2009-04-28 Alberto Garcia <agarcia@igalia.com>
370 * src/hildon-note.c (hildon_note_init):
371 Label in HildonNote must be left aligned, not centered. This
372 reverts the last commit in HildonNote.
374 Fixes: NB#112933 (text is not left aligned in confirmation dialog
375 is connectivity dialog)
377 2009-04-27 Alberto Garcia <agarcia@igalia.com>
382 * doc/hildon-sections.txt:
383 Added hildon_gtk_window_set_do_not_disturb()
385 2009-04-27 Alberto Garcia <agarcia@igalia.com>
387 * src/hildon-note.c (hildon_note_init): Center label.
389 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
392 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
397 * configure.ac: Bump version.
398 * debian/changelog: Updates.
400 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
402 * src/hildon-note-private.h: Add button-width to the private data.
403 * src/hildon-note.c (+resize_button),
404 (+hildon_note_orientation_update): methods to repack widgets on orientation
406 (screen_size_changed): Call above method for confirmation notes.
407 (hildon_note_realize): Always connect to the "screen-size" changed signal.
408 (hildon_note_rebuild): Store the original width request from buttons.
410 Fixes: NB#109635 (Confirmation notes do not support portrait)
412 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
414 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
415 when it is a progress note.
417 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
419 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
420 in the note, since there are no horizontally arranged contents.
422 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
424 * src/hildon-gtk.c (+set_flag): new generic method to
425 set/delay a flag setting in a window.
426 (hildon_gtk_window_set_progress_indicator):
427 (hildon_gtk_window_set_do_not_disturb),
428 (hildon_gtk_window_set_portrait_flags): use set_flag() to
429 avoid code redundance.
431 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
433 Based on a patch by Alberto Garcia (agarcia@igalia.com)
435 * src/hildon-gtk.c (set_clear_window_flag),
436 (do_set_progress_indicator), (do_set_do_not_disturb),
437 (do_set_portrait_flags),
438 (hildon_gtk_window_set_progress_indicator),
439 (hildon_gtk_window_set_do_not_disturb),
440 (hildon_gtk_window_set_portrait_flags):
441 Allow setting dnd-flag, progress indicator, and portrait flags
442 when the window is not realized.
444 2009-04-24 Alejandro G. Castro <alex@igalia.com>
446 * src/hildon-pannable-area.c,
447 * src/hildon-pannable-area.h: Add the hildon deprecated define to
448 the size request policy function and defines.
450 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
452 * doc/hildon-sections.txt: Add the new API.
453 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
454 method to set the portrait flags.
455 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
457 Fixes: NB#112328 (Adding helpers for setting portrait properties)
459 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
461 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
462 to allow using this method with other flags.
463 (hildon_gtk_window_set_progress_indicator): Update accordingly.
464 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
466 2009-04-22 Alberto Garcia <agarcia@igalia.com>
468 * src/hildon-touch-selector.c
469 (hildon_touch_selector_append_text_column):
470 Make the cell renderer use the smallest width possible.
472 Fixes: NB#108470 (Selected items in multiple selection are either
473 having a tick that is cut or not visible at all.)
475 2009-04-22 Alberto Garcia <agarcia@igalia.com>
477 * src/hildon-touch-selector.c
478 (hildon_touch_selector_append_text_column):
481 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
483 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
484 Use g_strdup_printf() instead of a fixed size buffer.
486 2009-04-21 Alberto Garcia <agarcia@igalia.com>
488 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
489 Close banners when a HildonAppMenu is popped up.
491 Fixes: NB#111027 (Title menu closed immediately if activated when
492 "Invalid e-mail address" banner is shown)
494 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
499 * configure.ac: Bump version.
500 * debian/changelog: Updates.
502 2009-04-20 Alberto Garcia <agarcia@igalia.com>
504 * src/hildon-banner.c (hildon_banner_realize):
505 Mark HildonBanner as supporting portrait mode.
506 Use GDK to set window properties insetad of direct Xlib calls.
508 Fixes: NB#111830 (HildonBanner should be marked as supporting
511 2009-04-20 Alberto Garcia <agarcia@igalia.com>
513 * src/hildon-note.c (hildon_note_rebuild):
514 Hide action area in information notes. Prevents text from being
515 slightly aligned to the left.
517 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
520 2009-04-20 Alberto Garcia <agarcia@igalia.com>
522 Patch by Mox Soini (ext-mox.soini@nokia.com)
524 * src/hildon-banner.c (hildon_banner_create_animation):
525 Use stylus-sized icons in animation banner.
527 Fixes: NB#111206 (stylus sized icon for animation banner)
529 2009-04-20 Alberto Garcia <agarcia@igalia.com>
533 (+hildon_gtk_window_set_do_not_disturb):
534 New API to set the do-not-disturb flag.
536 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
538 2009-04-20 Alberto Garcia <agarcia@igalia.com>
540 * examples/hildon-progress-indicator-example.c: Fix example
542 * src/hildon-gtk.c (set_clear_window_flag)
543 (hildon_gtk_window_set_progress_indicator):
544 Create a generic function for setting flags to a window.
545 Use GDK instead of direct Xlib calls.
547 2009-04-14 Alberto Garcia <agarcia@igalia.com>
549 * src/hildon-button.c (hildon_button_set_arrangement):
550 Due to NB#88126, if one of the labels is too long it will be
551 painted outside the button. The 'value' label is more likely to be
552 the longest one, so we change its packing options in order to
553 truncate it if necessary. As a side effect, the 'title' label will
554 no longer be truncated.
556 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
558 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
563 * configure.ac: Bump version.
564 * debian/changelog: Updates.
566 2009-04-13 Alejandro G. Castro <alex@igalia.com>
568 Deprecation of the hildon_pannable_area_set_size_request_policy
569 API, the only policy properly supported in gtk+ nowadays is the
572 * src/hildon-pannable-area.c,
573 (hildon_pannable_area_size_request): Added a workaround for the
574 size_request to avoid the problems of huge pixmaps in case someone
575 is still using the function.
576 * src/hildon-pannable-area.h: Deprecated the enum with the
579 Fixes: NB#110244 (Problems with the
580 hildon_pannable_area_set_size_request_policy API)
582 2009-04-08 Alejandro G. Castro <alex@igalia.com>
584 * src/hildon-pannable-area.c,
585 (hildon_pannable_area_init),
586 (hildon_pannable_area_size_request),
587 (hildon_pannable_area_style_set),
588 (hildon_pannable_draw_vscroll),
589 (hildon_pannable_draw_hscroll),
590 (hildon_pannable_area_check_scrollbars): Replaced area_width with
591 indicator_width to clarify the use of the attribute.
593 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
598 * configure.ac: Bump version.
599 * debian/changelog: Updates.
601 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
603 * src/hildon-picker-dialog.c
604 * src/hildon-touch-selector.c
605 Reverting the change that tried to avoid the hardcoded height on
606 the picker dialog, as causes problems on the hildon-touch-selector
609 Fixes: NB#110029 (selectors not scrolling to selected value)
611 2009-04-07 Alberto Garcia <agarcia@igalia.com>
613 * src/hildon-touch-selector.c: Fix typos
615 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
617 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
618 Use the event coordinates instead of gdk_window_get_pointer(). Also,
619 request more motions after using it.
621 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
623 * src/hildon-calendar.c (hildon_calendar_expose),
624 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
625 Remove unused variables.
627 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
629 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
632 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
634 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
635 Check the return value of gtk_tree_selection_get_selected()
638 2009-04-06 Alberto Garcia <agarcia@igalia.com>
640 * src/hildon-animation-actor.c
641 * src/hildon-button.c
643 * src/hildon-pannable-area.c
644 * src/hildon-picker-button.c
645 * src/hildon-program.c
646 * src/hildon-remote-texture.c
647 * src/hildon-text-view.c
648 * src/hildon-touch-selector.c
649 * src/hildon-window-stack.c
650 * src/hildon-window.c:
651 Add missing 'Since: 2.2' tags.
653 * doc/hildon-sections.txt:
654 Add some missing symbols.
656 * doc/hildon-docs.sgml:
657 New 'Other' section for HildonAnimationActor and
660 2009-04-06 Alberto Garcia <agarcia@igalia.com>
662 Patch by Iván Gómez (igomez@igalia.com)
666 * doc/hildon-docs.sgml
667 * doc/hildon-sections.txt
671 New chapters on using the Hildon library.
672 Updated the general structure of the reference manual.
673 Other minor documentation fixes.
675 * src/hildon-calendar-popup.c
676 * src/hildon-calendar.c
677 * src/hildon-controlbar.c
678 * src/hildon-date-editor.c
679 * src/hildon-dialog.c
680 * src/hildon-hvolumebar.c
681 * src/hildon-number-editor.c
682 * src/hildon-range-editor.c
683 * src/hildon-sort-dialog.c
684 * src/hildon-time-editor.c
685 * src/hildon-time-picker.c
686 * src/hildon-volumebar-range.c
687 * src/hildon-volumebar.c
688 * src/hildon-vvolumebar.c
689 * src/hildon-weekday-picker.c:
690 Add deprecation notes
692 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
693 Document 'horizontal-movement' and 'vertical-movement' signals.
695 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
700 * configure.ac: Bump version.
701 * debian/changelog: Updates.
703 2009-04-06 Alejandro G. Castro <alex@igalia.com>
705 * src/hildon-pannable-area.c,
706 (hildon_pannable_area_class_init): increased the minimum velocity.
707 (hildon_pannable_area_button_release_cb): Updated the
708 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
709 setup. Review the code to control that last event.
711 Fixes: NB#109790 (Releasing finger in pannable area easily causes
714 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
716 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
718 * src/hildon-get-password-dialog.c
719 (hildon_get_password_set_property),
720 (hildon_get_password_get_property), (create_contents):
721 * src/hildon-login-dialog-private.h:
722 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
723 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
724 (hildon_login_dialog_get_password):
725 * src/hildon-set-password-dialog-private.h:
726 * src/hildon-set-password-dialog.c
727 (hildon_set_password_set_property),
728 (hildon_set_password_get_property), (create_contents),
729 (hildon_set_password_response_change),
730 (hildon_set_password_response_set), (hildon_checkbox_toggled):
732 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
733 instead and look more Fremantle style.
735 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
737 2009-04-03 Alberto Garcia <agarcia@igalia.com>
739 * doc/hildon-sections.txt
740 * src/hildon-window-stack.h
741 * src/hildon-window-stack.c
742 (+hildon_window_stack_get_windows):
743 New API to obtain the list of windows on a stack.
745 2009-04-02 Alberto Garcia <agarcia@igalia.com>
747 * src/hildon-app-menu.c (hildon_app_menu_popup)
748 (hildon_app_menu_class_init, -hildon_app_menu_show):
749 Remove hildon_app_menu_show() and move all its checks to
750 hildon_app_menu_popup()
752 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
754 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
755 (_hildon_picker_dialog_set_selector): removed call to
756 gtk_widget_set_size_request
757 * src/hildon-touch-selector.c
758 (_create_new_column): change the pannable size request policy
760 Avoid to use a hardcoded height for the hildon picker dialog. In order
761 to get that, we needed to change the hildon pannable size request
763 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
765 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
767 * src/hildon-window.c (hildon_window_map): Check for vbox to be
768 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
771 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
773 * debian/control: Depend on osso-system-lock localization package.
774 * src/hildon-code-dialog.c: Obtain the secu_application_title
775 translation from osso-system-lock.
776 * src/hildon-get-password-dialog.c (create_contents): Do not mark
777 for translation the atk related strings, that's not necessary.
778 * src/hildon-set-password-dialog.c (create_contents): Ditto.
779 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
780 cancel button, it is not required.
782 2009-04-02 Alejandro G. Castro <alex@igalia.com>
784 * src/hildon-pannable-area.c,
785 (hildon_pannable_area_class_init): Modified the default value of
786 the overshooting max speed, we have reduced it.
788 2009-04-02 Alberto Garcia <agarcia@igalia.com>
790 * doc/hildon-sections.txt
791 * src/hildon-window-private.h
792 * src/hildon-window.h
793 * src/hildon-window.c (hildon_window_class_init)
794 (hildon_window_init, hildon_window_finalize)
795 (hildon_window_realize, hildon_window_get_property)
796 (hildon_window_set_property, hildon_window_update_markup)
797 (hildon_window_get_markup, hildon_window_set_markup):
798 New "markup" property and hildon_window_{get,set}_markup() methods.
800 * examples/hildon-stackable-window-example.c (new_window):
801 Update example to use hildon_window_set_markup()
803 Fixes: NB#106375 (Need API to retitle a window with a title
806 2009-04-01 Alejandro G. Castro <alex@igalia.com>
808 * src/hildon-pannable-area.c,
809 (hildon_pannable_area_class_init): Changed the default value of
810 the initial_hint to TRUE.
811 (hildon_pannable_area_initial_effect): Changed the initial effect,
812 not the effect is just the fade-out of the scrollbars.
814 Fixes: NB#107775 (No scrollbars can be seen when several items are
815 available in a dialog)
817 2009-04-01 Alberto Garcia <agarcia@igalia.com>
819 * src/hildon-program.c (hildon_program_update_top_most):
822 Fixes: NB#109179 (Memory leak in Hildon program)
824 2009-04-01 Alberto Garcia <agarcia@igalia.com>
826 * src/hildon-banner.c (-get_current_app_window):
827 Remove unused function.
829 2009-04-01 Alejandro G. Castro <alex@igalia.com>
831 * src/hildon-pannable-area.c: Modified the documentation of the
832 get adjustments functions to explain the problem of using the
834 (hildon_pannable_area_class_init): Improved the explanation about
837 2009-04-01 Alberto Garcia <agarcia@igalia.com>
839 * src/hildon-app-menu-private.h
840 * src/hildon-app-menu.c
841 (hildon_app_menu_class_init):
842 Bring back the 'external-border' style property
843 (hildon_app_menu_class_init, hildon_app_menu_init)
844 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
845 Set a fixed width-request for the menu, independent of the number
848 Fixes: NB#94957 (Smoothly opened application menu)
850 2009-03-30 Alberto Garcia <agarcia@igalia.com>
852 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
854 * src/hildon-banner.c
855 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
857 Make sure that the banner is correctly placed the first time it's
859 (hildon_banner_check_position, -check_fullscreen_state):
860 Show the banner in the same place no matter if the window is in
861 fullscreen mode or not.
863 Fixes: NB#107386 (Odd stacking behaviour for information banners)
865 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
867 * src/hildon-touch-selector.c (_default_print_func): reorder
868 concatenation for clarity.
870 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
872 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
873 for multicolumn selectors.
875 Fixes: NB#109099 (Memory leak in Hildon touch selector)
877 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
882 * configure.ac: Bump version.
883 * debian/changelog: Updates.
885 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
887 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
890 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
892 * configure.ac: removed libcangerra-gtk dependency
893 * debian/control: removed libcanberra-gtk dependency
894 * src/Makefile.am: removed libcanberra gtk related flags
895 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
896 context, and manage a global canberra context instead
898 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
900 2009-03-26 Alberto Garcia <agarcia@igalia.com>
902 Patch by Daniel Borgmann (danielb@openismus.com)
904 * src/hildon-edit-toolbar.c:
905 Adjust the left padding.
906 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
907 Paint background of the edit toolbar.
909 Fixes: NB#107897 (Patch to make editmodetoolbar background
910 themeable and adjust margin)
912 2009-03-25 Alberto Garcia <agarcia@igalia.com>
914 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
916 * src/hildon-program.c (hildon_program_update_top_most):
917 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
919 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
920 change when the user tasks in/out of an application)
922 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
924 * configure.ac: added libcangerra-gtk dependency
925 * debian/control: added libcanberra-gtk dependency
926 * src/Makefile.am: added libcanberra gtk related flags
927 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
930 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
932 2009-03-25 Alberto Garcia <agarcia@igalia.com>
934 * src/hildon-program.c (hildon_program_remove_window)
935 (hildon_program_add_window): Add checks for the window
936 parameter. Don't decrease the window counter if the window is not
939 2009-03-24 Alejandro G. Castro <alex@igalia.com>
941 * src/hildon-pannable-area.c,
942 (hildon_pannable_area_realize): Fixed position of the event_window
943 in the realize method.
945 2009-03-24 Alberto Garcia <agarcia@igalia.com>
947 * src/hildon-app-menu-private.h
948 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
949 (hildon_app_menu_map, hildon_app_menu_hide_idle)
950 (hildon_app_menu_key_press, hildon_app_menu_init)
951 (hildon_app_menu_finalize):
952 Make sure that all idle functions are removed when the widget is
955 Fixes: NB#107583 (Hildon app menu crashes in various applications)
957 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
962 * configure.ac: Bump version.
963 * debian/changelog: Updates.
965 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
968 (+hildon_entry_show_placeholder),
969 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
970 that replace hildon_entry_update_contents().
971 (hildon_entry_set_text),
972 (hildon_entry_set_placeholder),
973 (hildon_entry_focus_in_event),
974 (hildon_entry_focus_out_event): Determine when it is needed
975 either to show or hide the placeholder and call the above methods.
977 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
978 when the placeholder text is already set)
980 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
982 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
983 simple GdkPixbufAnim using the new icons for the banner.
984 (hildon_banner_show_animation): Use the above mentioned method to
985 create the animation widget.
987 Fixes: NB#103564 (Make hildon animation banner use individual
988 image files as the animation)
990 2009-03-24 Alejandro G. Castro <alex@igalia.com>
992 * src/hildon-pannable-area.c,
993 (hildon_pannable_leave_notify_event): Check if the child is NULL
994 to avoid sending the leave.
996 2009-03-24 Alejandro G. Castro <alex@igalia.com>
998 * src/hildon-pannable-area.c,
999 (hildon_pannable_area_class_init),
1000 (hildon_pannable_leave_notify_event): Added a handler of the
1001 leave-notify-signal to consider when no motion notify before
1004 Fixes: NB#107494 (Items stay selected when clicking and moving
1005 away when inside pannable area)
1007 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1012 * configure.ac: Bump version.
1013 * debian/changelog: Updates.
1015 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1017 Patch by Alberto Garcia (agarcia@igalia.com)
1019 * src/hildon-date-button.c,
1020 (hildon_date_button_class_init),
1021 (hildon_date_button_init): Removed the construct property handling
1022 and created a default selector in the init method.
1023 * src/hildon-picker-button.c,
1024 (hildon_picker_button_class_init): Removed the construct flag of the
1027 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1029 * src/hildon-main.c (hildon_init):
1030 Don't allow hildon_init() to be called more than once.
1032 Fixes: NB#106607 (hildon_init should issue error message upon
1035 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1037 * examples/hildon-pannable-area-touch-list-example.c
1038 * examples/hildon-pannagle-area-touch-grid-example.c
1039 * examples/hildon-edit-toolbar-example.c
1040 * examples/hildon-touch-selector-multi-cells-example.c
1041 Removed the call to gtk_rc_parse_string, as it is not required since
1044 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1046 * src/hildon-pannable-area.c,
1047 (hildon_pannable_area_class_init): Modified the default panning
1048 threshold of the widget to 6px.
1050 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1051 than the threshold value ) within the button is not sending the
1054 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1056 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1057 for the treeview in the new column. This way, the touch list will never
1060 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1061 be selected manually for the HW keys to work)
1063 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1065 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1066 comparison instead of using strcmp(). Fixes a compiler warning as well.
1068 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1070 * doc/hildon-docs.sgml: Do not set the library version in the
1071 document title, use the releaseinfo tag for that purpose instead.
1073 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1075 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1076 Do not jump to the first item if the text in the entry is removed.
1078 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1083 * configure.ac: Bump version.
1084 * debian/changelog: Updates.
1086 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1088 * src/hildon-entry.c (hildon_entry_refresh_contents):
1089 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1090 Use "ReversedSecondaryTextColor" for the placeholder text.
1092 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1094 * src/hildon-text-view.c: Fix compilation warning.
1096 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1098 * src/hildon-button.c (hildon_button_class_init): Don't make
1099 "title" and "value" construction properties, to prevent them from
1100 overwriting labels set from derived classes.
1102 * src/hildon-picker-button.c
1103 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1104 (hildon_picker_button_class_init): Make touch-selector a
1105 construction property.
1107 * src/hildon-date-button.c (hildon_date_button_class_init)
1108 (+hildon_date_button_constructed): Add a default date selector if
1111 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1113 * src/hildon-touch-selector.c: Small documentation fixes.
1115 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1117 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1119 * src/hildon-entry.c (hildon_entry_refresh_contents),
1120 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1121 widget name, set the logical color directly instead and a boolean
1122 showing_placeholder instead.
1123 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1124 use the widget name here either.
1126 Fixes: NB#105678 (HildonTextView should use logical colours
1127 instead of setting widget name)
1129 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1131 Patch by Daniel Elster (danielk@openismus.com)
1133 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1134 Add user_data parameter.
1135 (hildon_touch_selector_set_print_func_full): New function akin
1136 hildon_touch_selector_set_print_func() but with support for user
1137 data and a destroy callback.
1138 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1139 to clean up the print function user data.
1140 (hildon_touch_selector_class_init): Install dispose function.
1141 (HildonTouchSelectorPrivate::print_user_data),
1142 (HildonTouchSelectorPrivate::print_destroy_func): New private
1144 (hildon_touch_selector_init): Initialize new private members.
1145 (hildon_touch_selector_get_current_text): Pass along user data
1146 to the print function.
1147 (_default_print_func): Add dummy user_data to parameter list.
1148 * hildon-date-selector.c (_custom_print_func): ditto,
1149 * hildon-time-selector.c (_custom_print_func): ditto,
1150 * hildon-touch-selector-entry.c
1151 (hildon_touch_selector_entry_print_func): ditto.
1153 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1155 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1157 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1159 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1161 * src/hildon-pannable-area.c,
1162 (hildon_pannable_area_init),
1163 (hildon_pannable_area_button_press_cb),
1164 (hildon_pannable_area_motion_notify_cb): We have added code to
1165 handle the leave and enter events when using the motion events.
1167 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1169 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1171 * src/hildon-date-button.c (hildon_date_button_get_date)
1172 (hildon_date_button_set_date): Make sure that the button has a
1175 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1177 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1179 * src/hildon-pannable-area.c,
1180 (hildon_pannable_area_class_init),
1181 (hildon_pannable_area_calculate_velocity): Modify the use of the
1182 force and adapt the value.
1184 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1186 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1187 (hildon_app_menu_class_init): Hide the menu if it receives a
1188 delete-event, but don't destroy it
1190 Fixes: NB#104485 (Not able to address the call when application
1191 menu is opened at background)
1193 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1195 * src/hildon-app-menu.c
1196 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1197 Remove the "external-border" style property, let the menu take its
1198 natural size (or the one set by the window manager)
1199 (hildon_app_menu_repack_items):
1200 Don't reshow the menu, avoid flickers.
1202 Partially fixes NB#94957 (Smoothly opened application menu)
1204 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1209 * configure.ac: Bump version.
1210 * debian/changelog: Updates.
1212 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1214 * src/hildon-pannable-area.c,
1215 (hildon_pannable_area_motion_notify_cb): We control that the
1216 direction error margin is used just in case the movement is
1217 allowed in the other direction.
1219 Fixes: NB#105012 (buttons inside a pannable area not getting
1220 release event when dragging/releasing)
1222 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1224 * src/hildon-pannable-area.c,
1225 (hildon_pannable_area_class_init),
1226 (hildon_pannable_area_get_property),
1227 (hildon_pannable_area_set_property),
1228 (hildon_pannable_area_initial_effect),
1229 (hildon_pannable_axis_scroll),
1230 (hildon_pannable_area_button_release_cb): Reviewed the
1231 overshooting effect, now it has its own max
1232 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1233 speed when bouncing.
1235 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1240 * configure.ac: Bump version.
1241 * debian/changelog: Updates.
1243 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1245 * src/hildon-pannable-area.c,
1246 (hildon_pannable_area_class_init): Changed the max speed, now
1247 users can launch the widget very fast. Reduced the default force,
1248 that way it is easier to control the launch speed.
1250 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1252 * src/hildon-pannable-area.c,
1253 (hildon_pannable_area_button_release_cb): Removed this check
1254 because it causes problems when the device is overloaded.
1256 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1258 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1259 add a current_text field to store the text entered in the
1260 touch selector entry.
1261 (_clean_current_selection): clean up the current text as well.
1262 (_save_current_selection), (_restore_current_selection):
1263 Save/restore the text in the entry if the selector is a
1264 HildonTouchSelectorEntry.
1266 Fixes: NB#102541 (value entered in the touch selector entry is not
1267 shown when opened for second time)
1269 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1271 * doc/hildon-sections.txt:
1272 * src/hildon-touch-selector-entry.c
1273 (+hildon_touch_selector_entry_get_entry):
1274 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1276 Fixes: NB#104815 (I need accessor to the entry inside
1277 HildonTouchSelectorEntry)
1279 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1281 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1282 (hildon_app_menu_class_init):
1283 New "filter-vertical-spacing" style property.
1285 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1287 * src/hildon-find-toolbar.c
1288 (hildon_find_toolbar_emit_close)
1289 (hildon_find_toolbar_emit_invalid_input)
1290 (hildon_find_toolbar_entry_activate):
1291 Use g_signal_emit() instead of g_signal_emit_by_name()
1293 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1295 Patch by Mox Soini (ext-mox.soini@nokia.com)
1297 * tests/TEST-CASES.txt
1298 * tests/check-hildon-banner.c
1299 * tests/check-hildon-note.c
1300 * src/hildon-banner.c
1301 * src/hildon-code-dialog.c
1302 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1303 * src/hildon-time-editor.c
1304 * examples/hildon-lookup-example.c (main):
1305 Replace obsolete icon names with new ones.
1307 * src/hildon-find-toolbar-private.h:
1308 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1309 (-hildon_find_toolbar_emit_search):
1310 Remove find button and change icon of close button.
1312 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1314 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1316 * src/hildon-time-button.c (hildon_time_button_new_step):
1317 Use the "touch-selector" property to set the selector directly
1318 when creating the object.
1320 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1322 Added a new example application that allows tuning the pannable
1323 area and replaced defines with properties in order to simplify the
1324 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1325 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1326 PROP_DIRECTION_ERROR_MARGIN.
1328 * examples/hildon-pannable-area-tuning-example.c: New example
1330 * src/hildon-pannable-area.c,
1331 (hildon_pannable_area_class_init),
1332 (hildon_pannable_area_init),
1333 (hildon_pannable_area_get_property),
1334 (hildon_pannable_area_set_property),
1335 (hildon_pannable_area_launch_fade_timeout),
1336 (hildon_pannable_area_adjust_value_changed),
1337 (hildon_pannable_axis_scroll),
1338 (hildon_pannable_area_motion_notify_cb),
1339 (hildon_pannable_area_scroll_cb),
1340 (hildon_pannable_area_button_release_cb): We have converted some
1341 of the defines that control the widget to properties to simplify
1344 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1346 * src/hildon-app-menu.c (hildon_app_menu_map)
1347 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1348 so it's closed if a new window appears.
1350 Fixes: NB#104485 (Not able to address the call when application
1351 menu is opened at background)
1353 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1355 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1356 missing 'break' statement in in 'case' construct to avoid
1359 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1361 * src/hildon-touch-selector-entry.c
1362 (hildon_touch_selector_entry_get_property),
1363 (hildon_touch_selector_entry_set_property): Add missing 'break'
1364 statements in in 'case' constructs to avoid incorrect warnings.
1366 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1368 * src/hildon-time-editor.c
1369 (hildon_time_editor_get_time_separators): Do not crash if
1370 the first label is NULL.
1372 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1374 * src/hildon-date-selector.c (_month_days): Check for month to be
1375 strictly less than 12, since otherwise we may overrun the array.
1377 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1379 * src/hildon-date-button.c (+hildon_date_button_new_full)
1380 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1381 (hildon_date_button_init): Set the date selector using a
1382 construction property, to make it happen after HildonButton's
1383 "value" property is set.
1385 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1386 current date by default)
1388 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1390 * doc/hildon-sections.txt
1391 * src/hildon-program.c
1392 * src/hildon-stackable-window.c
1393 * src/hildon-window.c:
1394 Documentation updates
1396 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1398 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1399 (hildon_window_stack_new, +hildon_window_stack_set_property)
1400 (+hildon_window_stack_get_property)
1401 (hildon_window_stack_class_init)
1402 (+hildon_window_stack_set_window_group)
1403 (+hildon_window_stack_get_window_group):
1404 Make the window group a construction property.
1406 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1408 * doc/hildon-sections.txt
1409 * src/hildon-stackable-window-private.h
1410 * src/hildon-stackable-window.h
1411 * src/hildon-stackable-window.c
1412 (-hildon_stackable_window_set_app_menu)
1413 (-hildon_stackable_window_get_app_menu)
1414 (-hildon_stackable_window_toggle_menu)
1415 (-hildon_stackable_window_finalize)
1416 (hildon_stackable_window_class_init)
1417 (hildon_stackable_window_init)
1418 * src/hildon-window-private.h
1419 * src/hildon-window.h
1420 * src/hildon-window.c (hildon_window_init)
1421 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1422 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1423 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1424 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1425 Moved all HildonAppMenu code to HildonWindow. The menu does not
1426 require a HildonStackableWindow anymore.
1428 * src/hildon-app-menu.c
1429 * src/hildon-program.c
1430 * examples/hildon-app-menu-example.c (main):
1431 Update examples and documentation to reflect HildonAppMenu
1434 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1436 * src/hildon-remote-texture.c
1437 * src/hildon-animation-actor.c:
1438 Don't include unused private headers.
1440 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1442 * src/hildon-program-private.h
1443 * src/hildon-program.c
1444 (hildon_program_set_common_menu)
1445 (hildon_program_get_common_menu)
1446 (hildon_program_set_common_app_menu)
1447 (hildon_program_get_common_app_menu):
1448 Change common menu pointers from GtkWidget* to GtkMenu* and
1449 HildonAppMenu* to avoid unnecessary casts.
1451 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1453 * src/hildon-window.c (hildon_window_set_main_menu):
1454 Removed incorrect 'Since:' tag
1456 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1458 * src/hildon-pannable-area.c,
1459 (hildon_pannable_area_calculate_velocity): We use now the
1460 RATIO_TOLERANCE here to check the distance, fixed typo in the
1462 (hildon_pannable_area_motion_notify_cb): We have to set the type
1463 and time even if we are not sending the motion.
1465 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1467 * doc/hildon-sections.txt
1468 * src/hildon-app-menu.h
1469 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1470 (+hildon_app_menu_get_filters): New methods to get the contents of
1473 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1476 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1478 * src/hildon-app-menu.c (hildon_app_menu_popup):
1481 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1483 * src/hildon-window.h
1484 * src/hildon-window.c (+hildon_window_get_main_menu)
1485 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1486 and deprecated hildon_window_get_menu().
1488 * src/hildon-stackable-window.h
1489 * src/hildon-stackable-window.c
1490 (+hildon_stackable_window_set_app_menu)
1491 (+hildon_stackable_window_get_app_menu)
1492 (hildon_stackable_window_set_main_menu): Created
1493 hildon_stackable_window_{get,set}_app_menu() and deprecated
1494 hildon_stackable_window_set_main_menu().
1496 * doc/hildon-sections.txt
1497 * examples/hildon-app-menu-example.c (main)
1498 * src/hildon-app-menu.c
1499 * src/hildon-program.c:
1500 Updated examples and documentation.
1502 Fixes: NB#103758 (No way to obtain a menu from a
1503 HildonStackableWindow)
1505 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1510 * configure.ac: Bump version.
1511 * debian/changelog: Updates.
1513 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1515 * examples/hildon-remote-texture-example.c: Include
1516 hildon-remote-texture.h explicitely.
1517 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1518 applications not defining _XOPEN_SOURCE which don't require this header.
1520 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1522 * doc/hildon-sections.txt
1523 * src/hildon-app-menu.h
1524 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1525 New function to pop up a HildonAppMenu
1527 * src/hildon-stackable-window.c
1528 (hildon_stackable_window_toggle_menu):
1529 Use hildon_app_menu_popup() to show the menu.
1531 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1533 * src/hildon-app-menu.c (hildon_app_menu_show)
1534 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1535 menu if there's another window between it and its parent window.
1537 Fixes: NB#100468 (Application menu window is launched even when a
1538 new secondary-window/dialog is pending to be shown/realized)
1540 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1542 * src/hildon-window-stack.c (hildon_window_stack_push)
1543 (hildon_window_stack_pop_and_push):
1544 Don't forget to push/pop the first window.
1545 Reverse the window list before calling _push_list()
1547 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1549 * src/hildon-picker-button.h
1550 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1551 Remove "value_changed" slot to avoid ABI breakage
1553 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1555 * src/hildon-pannable-area.c,
1556 (hildon_pannable_area_realize),
1557 (hildon_pannable_area_unrealize),
1558 (hildon_pannable_draw_vscroll),
1559 (hildon_pannable_draw_hscroll): Changed the method to handle the
1560 GC used to draw the transparent scrollbar, this way we avoid
1561 creating the GC all the time when drawing the scrollbars.
1563 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1565 * src/hildon-pannable-area.c,
1566 (hildon_pannable_area_init),
1567 (hildon_pannable_area_remove): Removed some unnecessary casts.
1568 (hildon_pannable_area_dispose): Disconnected some signals before
1569 releasing the adjustments.
1571 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1573 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1574 Make sure that all widgets contained in the toolbar are shown.
1576 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1578 * doc/hildon-sections.txt
1579 * src/hildon-picker-button.h
1580 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1581 (_selection_changed, hildon_picker_button_on_dialog_response)
1582 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1583 New hildon_picker_button_value_changed() method.
1586 * src/hildon-picker-button-private.h
1587 * src/hildon-picker-button.c (hildon_picker_button_init)
1588 (+hildon_picker_button_disable_value_changed): Add protected
1589 function for disabling the "value-changed" signal.
1591 * src/hildon-date-button.c (hildon_date_button_set_date):
1592 Don't emit "value-changed" for each one of the three columns.
1594 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1595 before actual change of values)
1597 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1599 * src/hildon-pannable-area.c,
1600 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1601 for the treeview overshooting.
1603 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1605 * src/hildon-banner.c (+hildon_banner_bind_style):
1606 Renamed from hildon_banner_bind_label_style(), now naming the
1607 banner itself as well.
1608 (hildon_banner_show_information),
1609 (hildon_banner_show_information_with_markup),
1610 (hildon_banner_show_animation), (hildon_banner_show_progress):
1611 Name the widgets and labels, based on their type.
1613 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1616 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1618 * src/hildon-note.c (hildon_note_set_property): call
1619 hildon_note_rename() on HildonNote:note-type set.
1620 (hildon_note_rename): Name the note and its label, based on the
1621 HildonNote:note-type property.
1623 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1626 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1628 * src/hildon-pannable-area.c,
1629 (hildon_pannable_area_class_init),
1630 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1631 panning parameters, increased SPS and deceleration factor. Added
1632 also a margin to control fake directions.
1634 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1636 Patch by Sven Herzberg (sven@imendio.com)
1638 * configure.ac: Add missing AM_PROG_CC_C_0
1639 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1641 See NB#101420 (Update unit tests and fix make check)
1643 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1645 This patch was applied before but reverted because it caused
1646 problems, we have changed the main condition and tested the
1647 regressions we detected before and they work ok. We have done a
1648 complete review of the topmost algorithm in order to get a more
1651 * src/hildon-pannable-area.c,
1652 (hildon_pannable_area_get_topmost): Added a new parameter to
1653 filter the the windows that do not include those events.
1654 (hildon_pannable_area_button_press_cb),
1655 (hildon_pannable_area_button_release_cb),
1656 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1657 topmost function, we have added the new parameter.
1659 Fixes: NB#97458 (Pannable area prevents propagation of button
1662 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1664 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1665 if all columns in the selector have an item selected.
1666 (_on_dialog_response): Stop "response" signal emission if there is
1667 any selector column without selected items.
1669 Fixes: NB#101889 (Picker dialog should not close when nothing is
1670 selected in multiple selection list)
1672 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1674 * src/hildon-font-selection-dialog.c
1675 (hildon_font_selection_dialog_class_init),
1676 (hildon_font_selection_dialog_init): Remove the preview
1677 button and dialog, since previewing with default theming is likely
1678 to be overcomplicated. The :preview property has now no effect.
1679 Update documentation blurbs to inform about this.
1681 Fixes: NB#92297 (Preview content is not clearly visible for
1682 default colour text)
1684 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1686 Reviewed the geometry that handles the children size and
1687 scrollbar, now it tries a size and reviews the results depending
1688 on the scrollbars visibility.
1690 * src/hildon-pannable-area.c,
1691 (hildon_pannable_area_realize): Fixed a typo.
1692 (hildon_pannable_area_child_allocate_calculate): Added this
1693 function to calculate the child allocation.
1694 (hildon_pannable_area_size_allocate): Reviewed the allocation
1696 (hildon_pannable_area_check_scrollbars),
1697 (hildon_pannable_area_refresh): Refactored refresh function, this
1698 way we can call the code handling the scrollbars without causing a
1699 size_request, it is interesting in the allocate.
1700 (hildon_pannable_area_init): Replace the callbacks of the
1701 value_changed and changed signals to propertly deal with the
1703 (hildon_pannable_area_grab_notify),
1704 (hildon_pannable_area_initial_effect),
1705 (hildon_pannable_area_launch_fade_timeout),
1706 (hildon_pannable_area_adjust_changed),
1707 (hildon_pannable_area_adjust_value_changed),
1708 (hildon_pannable_area_redraw),
1709 (hildon_pannable_area_button_press_cb),
1710 (hildon_pannable_area_button_release_cb),
1711 (hildon_pannable_area_scroll_cb),
1712 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1713 code and use the new functions adjust_changed and
1714 adjust_value_changed.
1716 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1717 Contact editor dialog)
1719 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1724 * configure.ac: Bump version.
1725 * debian/changelog: Updates.
1727 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1729 * src/hildon-pannable-area.c,
1730 (hildon_pannable_area_get_topmost),
1731 (hildon_pannable_area_button_press_cb),
1732 (hildon_pannable_area_button_release_cb),
1733 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1734 topmost function adding the event mask. We have to try a
1735 differente approach because it is still causing problems (NB#9745,
1738 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1740 * src/hildon-banner.c:
1741 Update the maximum width of timed banners.
1742 (force_to_wrap_truncated): Enforce the maximum text width if the
1745 Fixes: NB#102413 (The text margins (wrapping) in information
1746 banner should be HILDON_MARGIN_TRIPLE)
1748 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1750 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1752 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1753 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1754 bound when calculating the scroll indicator position.
1756 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1757 treat ->lower correctly)
1759 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1761 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1762 expose event handling, since it is not necessary to draw the focus
1765 Fixes: NB#102467 (Do not show highlight on the text in
1768 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1770 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1771 full height of the toolbar for the button and the label.
1773 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1775 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1776 padding before the label and after the button.
1778 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1780 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1782 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1783 Add a GtkVSeparator between the button and the back arrow.
1784 Let the button have automatic size.
1785 Set a name to the widget for theming handling.
1787 Fixes: NB#101793 (Make edit toolbar the same height as window
1788 title bar (use title area theming))
1790 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1792 * src/hildon-helper.c (attach_new_color_element): Fix memory
1795 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1797 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1799 * examples/hildon-button-example.c (common_buttons_window): Don't
1802 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1804 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1805 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1807 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1809 * src/hildon-gtk.c: Check that the window is realized.
1811 Fixes: NB#102225 (Crash setting the progress indicator to a non
1814 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1816 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1817 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1818 instead of modifying the one in the widget style.
1820 Fixes: NB#101043 (Second row of all the command button are
1821 displayed in transparent mode.)
1823 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1825 * src/hildon-date-button.c
1826 * src/hildon-time-button.c: Add gettext macros
1828 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1830 * src/hildon-date-button.c (hildon_date_button_new):
1831 * src/hildon-time-button.c (hildon_time_button_new_step):
1832 Use new logical strings to set the button default title.
1834 Fixes: NB#99915 (Date and Time options are not localised in Date
1837 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1839 * src/hildon-pannable-area.c
1840 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1841 the PANNING_THRESHOLD.
1843 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1845 * src/hildon-pannable-area.c,
1846 (hildon_pannable_area_class_init): Increased the maximum speed.
1847 (hildon_pannable_area_get_property),
1848 (hildon_pannable_area_set_property),
1849 (hildon_pannable_area_timeout): Added a new low friction mode, it
1850 allows the user avoid friction when launching the widget fast
1851 enough. It is interesting to traverse long lists.
1853 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1855 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1856 (+hildon_stackable_window_delete_event): Ignore delete events if
1857 the window is not the topmost one.
1859 Fixes: NB#101698 (Back button long press and delete-event handling)
1861 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1863 * src/hildon-pannable-area.c,
1864 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1865 gtk-dnd-drag-threshold, it was too big. We have defined our own
1866 dnd define and set a smaller value: PANNIG_THRESHOLD.
1868 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1870 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1871 user-defined icons, use always the default one.
1873 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1875 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1877 This patch was applied before but reverted because it caused
1878 problems, we have changed the main condition and tested the
1879 regressions we detected before and they work ok.
1881 * src/hildon-pannable-area.c,
1882 (hildon_pannable_area_get_topmost): Added a new parameter to
1883 filter the the windows that do not include those events. Added
1884 also a condition when finding the window to filter windows that do
1885 not ask for those events.
1886 (hildon_pannable_area_button_press_cb),
1887 (hildon_pannable_area_button_release_cb),
1888 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1889 topmost function, we have added the new parameter.
1891 Fixes: NB#97458 (Pannable area prevents propagation of button
1894 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1896 * tests/check-hildon-color-button.c (START_TEST): do not leak
1899 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1901 * src/hildon-font-selection-dialog.c
1902 (hildon_font_selection_dialog_get_preview_text): Return NULL
1903 instead of FALSE on the g_return_val_if_fail().
1905 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1907 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1908 * src/hildon-date-selector.c
1909 (hildon_date_selector_select_current_date):
1910 Do not compare unsigned integers to be greater than or equal 0,
1911 because it's always TRUE.
1913 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1915 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1916 (hildon_date_selector_constructor): Do not select the current
1917 date until we are handle the "changed" signal, to avoid having bogus
1918 elements in the days model.
1920 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1922 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1923 for num_days, since _month_days() can return a negative value.
1925 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1927 * src/hildon-caption.c (hildon_caption_size_allocate):
1928 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1929 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1931 Initialize allocation variables to 0, to avoid eventually using
1932 unitialized variables.
1934 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1936 * src/hildon-bread-crumb-trail.c
1937 (hildon_bread_crumb_trail_size_allocate):
1938 * src/hildon-calendar.c (hildon_calendar_set_background):
1939 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1940 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1941 * src/hildon-seekbar.c (hildon_seekbar_init):
1942 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1943 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1944 * src/hildon-touch-selector-entry.c
1945 (hildon_touch_selector_get_text_from_model):
1946 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1947 * src/hildon-window.c (hildon_window_finalize):
1949 Remove many unused variables.
1951 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-seekbar.c: (hildon_seekbar_init),
1954 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1956 Remove unnecessary g_assert() calls.
1958 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1960 * src/hildon-caption.c: (hildon_caption_expose),
1961 (hildon_caption_set_property), (hildon_caption_init),
1962 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1963 (hildon_caption_size_request), (hildon_caption_size_allocate),
1964 (hildon_caption_forall), (hildon_caption_set_separator),
1965 (hildon_caption_activate), (hildon_caption_set_child_expand),
1966 (hildon_caption_set_label_text),
1967 (hildon_caption_get_label_alignment):
1969 Remove unnecessary g_assert() calls.
1971 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1973 * src/hildon-banner.c
1974 (hildon_banner_map, hildon_banner_init): Make banner temporary
1975 before mapping it to avoid closing other temporary windows, but
1976 make it non-temporary afterwards to avoid being closed by other
1977 non-temporary windows.
1978 (-hildon_banner_client_event, hildon_banner_init):
1979 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1981 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1984 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1986 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1989 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1991 * src/hildon-remote-texture.c
1992 * src/hildon-remote-texture.h
1993 * src/hildon-remote-texture-private.h
1994 * examples/hildon-remote-texture-example.c:
1995 Updates/fixes to remote-texture and its example.
1997 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1999 Patch by Mox Soini (ext-mox.soini@nokia.com)
2001 * src/hildon-code-dialog.c: Update logical id.
2002 * src/hildon-set-password-dialog.c: Update logical id.
2004 Fixes: NB#100646 (Logical strings is shown for ok in set
2005 password,Password needed dialogs)
2007 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2010 * src/hildon-remote-texture.c
2011 * src/hildon-remote-texture.h
2012 * src/hildon-remote-texture-private.h
2014 Added remote texture widget (for Clutter shared memory textures)
2016 * examples/hildon-remote-texture-example.c
2017 * examples/Makefile.am
2018 Added example file for remote texture usage
2020 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2022 * configure.ac: post release version bump.
2023 * debian/changelog: version bump.
2025 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2030 * configure.ac: Bump version.
2031 * debian/changelog: Updates.
2033 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2035 * src/hildon-date-selector.c (hildon_date_selector_init)
2036 (hildon_date_selector_constructor): Don't connect to the "changed"
2037 signal until the selector is completely constructed.
2039 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2041 * src/hildon-touch-selector.c: (_create_new_column),
2042 (hildon_touch_selector_append_column),
2043 (hildon_touch_selector_set_column_selection_mode),
2044 (hildon_touch_selector_set_active),
2045 (hildon_touch_selector_select_iter):
2046 Emit the HildonTouchSelector::changed signal every time selection
2047 is changed in any of the methods above. This behavior was already
2048 documented but not fully functional.
2050 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2051 selection is programmatically changed)
2053 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2055 * doc/hildon-sections.txt: Remove obsolete icon
2056 sizes from here as well.
2058 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2060 * examples/hildon-stackable-window-example.c (add_window): Remove
2063 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2065 * src/hildon-app-menu.c
2066 (hildon_app_menu_show): Check whether the parent window of a menu
2067 is topmost before popping it up.
2069 Fixes: NB#100468 (Application menu window is launched even when a
2070 new secondary-window/dialog is pending to be shown/realized.)
2072 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2074 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2077 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2079 Patch by Mox Soini (ext-mox.soini@nokia.com)
2081 * src/hildon-banner.c: (hildon_banner_show_animation):
2082 use stylus size instead of obsolete note size.
2083 * src/hildon-defines.h: Update icon sizes.
2085 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2087 * src/hildon-touch-selector-entry.c:
2088 (hildon_touch_selector_entry_init): Disable unsupported
2090 (hildon_touch_selector_entry_get_text_column): Emit a warning
2091 if an unsupported input modes is used and explicitile state
2092 these modes in the documentation.
2094 Fixes: NB#99802 (Hildon touch selector entry not working properly
2095 for some of the input modes)
2097 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2099 * src/hildon-pannable-area.c,
2100 (hildon_pannable_area_init): Added the changed signal handlers of
2103 Fixes: NB#100320 (HildonPannableArea does not listen to
2104 GtkAdjustment "change" signals)
2106 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2108 * doc/hildon-sections.txt
2109 * src/hildon-window-private.h
2110 * src/hildon-window.h
2111 * src/hildon-window.c (hildon_window_init)
2112 (hildon_window_realize, hildon_window_unrealize)
2113 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2114 (hildon_window_size_request, hildon_window_size_allocate)
2115 (hildon_window_forall, hildon_window_show_all)
2116 (hildon_window_destroy, +paint_edit_toolbar)
2117 (+hildon_window_set_edit_toolbar):
2118 New hildon_window_set_edit_toolbar() method, to add a
2119 HildonEditToolbar to a window without having to pack it manually.
2121 Reorganize hildon_window_size_allocate()
2123 * src/hildon-edit-toolbar.c: Update documentation.
2125 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2126 example to use the new API.
2128 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2130 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2132 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2133 Remove from stack before calling parent's hide.
2135 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2137 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2138 window is removed from the middle of the stack, update the
2139 transiency of the previous one.
2141 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2144 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2147 block/unblock the signal handler if it's not actually being used.
2148 Fixes some critical warnings.
2150 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2152 Based on a patch by Iván Gómez (igomez@igalia.com)
2154 * src/hildon-banner.c
2158 * src/hildon-pannable-area.c
2159 * src/hildon-picker-dialog.c
2160 * src/hildon-wizard-dialog.h
2161 * src/hildon-wizard-dialog.c: Documentation updates.
2163 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2164 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2166 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2168 * configure.ac: post release version bump.
2169 * debian/changelog: version bump.
2171 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2176 * configure.ac: Bump version.
2177 * debian/changelog: Updates.
2179 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2181 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2182 a stock icon nor change the relief of the back arrow.
2184 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2185 graphics from theme)
2187 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2189 * src/hildon-button.c (hildon_button_set_alignment): Use
2190 priv->alignment if the button has no child yet.
2192 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2194 * src/hildon-button.c: (hildon_button_init): Set the
2195 button style during initialization to give it the proper
2198 Fixes: NB#99713 (HildonButton value label color is wrong)
2200 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2202 * src/hildon-touch-selector.c: Document
2203 hildon_touch_selector_center_on_selected()
2205 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2207 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2208 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2209 all menu items, but not the menu itself.
2210 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2211 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2212 items after adding them to the menu so keyboard accelerators work.
2213 (hildon_app_menu_show): Don't show the menu if it contains items
2214 but none of them are visible.
2216 * examples/hildon-app-menu-example.c (create_menu): Use
2217 gtk_widget_show_all() to show all menu items.
2219 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2221 * src/hildon-picker-dialog.c:
2222 (-_update_title_on_selector_changed_cb),
2223 (-_dialog_update_title): Removed.
2224 (_select_on_selector_changed_cb), (_on_dialog_response),
2225 (on_selector_columns_changed): Do not update the dialog title.
2226 (setup_interaction_mode): Do not connect to
2227 HildonTouchSelector::changed signal if there's a "done" button, as
2228 the dialog title doesn't need to be updated.
2230 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2233 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2235 Patch by Kristian Rietveld (kris@imendio.com)
2237 * src/hildon-touch-selector.c: (_create_new_column): Use new
2238 GtkTreeView::hildon-row-tapped signal to react to user interactions
2239 instead of ::changed.
2241 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2242 with some dynamic tree model)
2244 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2246 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2247 (+screen_size_changed, +label_size_request)
2248 (hildon_note_class_init): Make the Hildon information note have a
2249 minimum height, and make its text hvae a maximum width.
2251 Fixes: NB#98614 (Hildon information note (background) should have
2252 minimum height and maximum text width)
2254 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2256 * src/hildon-banner.h
2257 * src/hildon-banner.c (hildon_banner_show_information)
2258 (hildon_banner_show_informationf)
2259 (hildon_banner_show_information_with_markup): Update documentation
2260 to reflect that the icon_name parameter is not used anymore.
2261 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2262 Remove all code from these functions and mark them as deprecated.
2263 (hildon_banner_show_progress): Mark as deprecated.
2265 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2267 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2269 * src/hildon-pannable-area.c,
2270 (hildon_pannable_area_class_init),
2271 (tranparency_color),
2272 (hildon_pannable_draw_vscroll),
2273 (hildon_pannable_draw_hscroll),
2274 (hildon_pannable_area_expose_event): Added a new way to render the
2275 scrollbars of the pannable area avoiding using cairo at all. This
2276 way we improve the performance of the pannable area rendering. The
2277 cairo rendering procedure is still in the code, we can control
2278 which one to use changing the value of the define
2279 USE_CAIRO_SCROLLBARS.
2281 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2283 * configure.ac: post release version bump.
2284 * debian/changelog: version bump.
2286 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2291 * configure.ac: Bump version.
2292 * debian/changelog: Updates.
2294 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2296 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2297 banners instead of destroying them when they receive a button
2300 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2302 Reverted commit 34028, it was causing regressions, probably the
2303 topmost condition is not correct, we have to check it in more
2304 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2305 propagation of button press events)
2307 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2309 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2310 that the selection is not empty before attempting to retrieve the
2311 current ampm selection.
2313 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2315 * src/hildon-picker-button.c:
2316 (hildon_picker_button_on_dialog_response): Directly update the
2317 button contents when required instead of calling _selection_changed.
2319 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2321 * src/hildon-program.c (hildon_program_update_top_most): Update
2322 'is-topmost' property also when wm_hints is not set.
2324 Fixes: NB#98383 (is-topmost signal is not emitted when task
2325 switcher is clicked.)
2327 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2329 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2333 * src/hildon-animation-actor.c,
2334 * src/hildon-animation-actor.h: Added the animation actor class,
2335 this widget represents an animation actor for WM-assisted
2336 animation effects in the Hildon framework.
2338 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2340 * src/hildon-window-stack-private.h
2341 * src/hildon-window-stack.c
2342 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2343 Avoid calling gtk_widget_show() again indirectly from
2344 hildon_stackable_window_show()
2346 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2348 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2351 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2353 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2354 (hildon_time_selector_init): Move the construction of the hours and
2355 ampm columns to the constructor to preserve the order the columns
2358 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2360 * src/hildon-picker-dialog.c:
2361 (hildon_picker_dialog_class_init): Connect a realize method.
2362 (+hildon_picker_dialog_realize): Setup the interaction mode here
2364 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2365 yet, do it during the realize instead.
2366 (_on_dialog_response):
2367 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2368 if the widget is not realized, to avoid the dialog response before it
2371 Avoid premature responses in the HildonPickerDialog that can cause it
2372 to be hidden before it's even shown.
2374 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2376 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2377 (on_selector_columns_changed), (requires_done_button),
2378 (+prepare_action_area), (setup_interaction_mode),
2379 (_hildon_picker_dialog_set_selector):
2381 Split the interaction mode setup into preparation of the
2382 action area (prepare_action_area()) and the connection of
2383 the signals in setup_interaction_mode() and update the code to
2386 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2388 * src/hildon-pannable-area.c,
2389 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2390 per second to 15, we will check if this is ok regarding
2393 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2395 * src/hildon-pannable-area.c,
2396 (hildon_pannable_axis_scroll): Avoid resize if we already have
2397 reached overshoot_max.
2399 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2401 * src/hildon-pannable-area.c,
2402 (hildon_pannable_area_init),
2403 (hildon_pannable_area_realize),
2404 (hildon_pannable_area_size_allocate),
2405 (hildon_pannable_area_map),
2406 (hildon_pannable_area_unmap),
2407 (hildon_pannable_draw_vscroll),
2408 (hildon_pannable_draw_hscroll),
2409 (hildon_pannable_area_expose_event),
2410 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2411 pannable are to avoid the expose events go to the window and
2412 redraw the window. We save this way that part of the stack and the
2413 paint_boxes. We had to change the positions of the elements when
2416 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2418 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2419 * src/hildon-color-chooser-dialog.c:
2420 (hildon_color_chooser_dialog_init):
2421 * src/hildon-font-selection-dialog.c:
2422 (hildon_font_selection_dialog_init),
2423 (hildon_font_selection_dialog_show_preview):
2424 * src/hildon-get-password-dialog.c:
2425 * src/hildon-login-dialog.c:
2426 * src/hildon-set-password-dialog.c:
2427 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2428 * src/hildon-time-picker.c: (hildon_time_picker_init):
2430 Remove obsolete logical string IDs and update to the appropriate ones.
2432 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2434 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2436 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2437 that happens if the window hasn't been realized yet.
2439 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2440 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2442 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2444 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2445 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2448 Fixes: NB#98537 (Device hangs in account settings dialog)
2450 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2452 * configure.ac: post release version bump.
2453 * debian/changelog: version bump
2455 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2460 * configure.ac: Bump version.
2461 * debian/changelog: Updates.
2463 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2465 Added a new function to the HildonTimeButton widget that allows to
2466 change the step of the minutes in the selector associated with the
2467 button: hildon_time_button_new_step
2469 * src/hildon-time-button.c,
2470 (hildon_time_button_init),
2471 (hildon_time_button_new),
2472 (hildon_time_button_new_step):
2473 * src/hildon-time-button.h: Added the new function and refactored
2475 * examples/hildon-time-button-example.c,
2476 (main): We have replaced the function without parameters with the
2477 function with the steps set to 5
2479 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2481 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2483 * src/hildon-time-selector.c,
2484 (hildon_time_selector_class_init),
2485 (hildon_time_selector_constructor),
2486 (hildon_time_selector_get_property),
2487 (hildon_time_selector_set_property),
2488 (_create_minutes_model),
2489 (hildon_time_selector_new_step),
2490 (hildon_time_selector_set_time),
2491 * src/hildon-time-selector.h: Added a new property to the
2492 HildonTimeSelector (minutes-step), we use that property to control
2493 the steps between the minutes in the list of the selector. We have
2494 added a new function to the API to create a widget changing the
2495 step: hildon_time_selector_new_step.
2497 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2499 * src/hildon-time-selector.c,
2500 (hildon_time_selector_class_init),
2501 (hildon_time_selector_constructor),
2502 (hildon_time_selector_init): Overrided the construct function when
2503 creating the time selector object. We have moved the minutes model
2504 handling code from the init to the new construction function:
2505 hildon_time_selector_constructor.
2507 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2509 * examples/hildon-date-button-example.c: (main): Use the new
2510 hildon_date_button_new_with_year_range() method in the example.
2511 * src/hildon-date-button.c:
2512 (+hildon_date_button_new_with_year_range): New public method
2513 to conveniently create a HildonDateButton with a custom year range
2514 in its HildonDateSelector.
2515 * src/hildon-date-button.h: Add the new public method definition.
2517 Fixes: NB#97908 (Not possible to change the year range in
2518 HildonDateSelector/HildonDateButton)
2520 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2522 * src/hildon-date-selector.c:
2523 (+hildon_date_selector_set_property),
2524 (+hildon_date_selector_get_property),
2525 (hildon_date_selector_class_init): Install new properties "min-year"
2526 and "max-year" to define boundaries for the year column.
2527 (_create_year_model): Use the boundary properties to populate the model.
2528 (+hildon_date_selector_new_with_year_range): New public method to
2529 create a HildonDateSelector with a user defined year range.
2530 (hildon_date_selector_select_current_date): Use the new boundaries to
2531 calculate the iterator of current year.
2532 * src/hildon-date-selector.h: Add the new public method definition.
2534 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2536 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2537 Install a constructor method.
2538 (+hildon_date_selector_construct_ui): construct the widget.
2539 (+hildon_date_selector_constructor): new constructor.
2540 (+hildon_date_selector_init): move out widget construction code to
2541 the new constructor.
2543 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2545 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2546 that there's actually a month or year selected before obtaining them.
2547 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2548 of the HildonTouchSelector::changed signal, as it was emitted on every
2549 single item selection.
2551 Fix some warnings and possible crashers due to the selection restoring.
2553 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2555 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2556 the signal handlers only after creating the dialog instead of on every
2559 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2561 * src/hildon-button.c (hildon_button_init)
2562 * src/hildon-check-button.c (hildon_check_button_init)
2563 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2564 focus when clicked by default.
2566 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2568 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2571 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2573 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2574 Alejandro G. Castro (alex@igalia.com)
2576 * src/hildon-picker-dialog.c:
2577 (hildon_picker_dialog_class_init): install new "center-on-show"
2579 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2580 (hildon_picker_dialog_set_property): add setter code for the new
2582 (hildon_picker_dialog_get_property): add getter code for the new
2584 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2585 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2588 Fixes: NB#92849 (Selected item is not always visible when
2589 HildonTouchSelector is shown)
2591 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2593 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2594 Alejandro G. Castro (alex@igalia.com)
2596 * src/hildon-touch-selector.c:
2597 (_create_new_column): Do not connect to the "realize" signal of the
2599 (hildon_touch_selector_append_column): center on the selected items
2600 when a new column is appended.
2601 (hildon_touch_selector_select_iter): Factor out the code to select a
2602 column to hildon_touch_selector_scroll_to().
2603 (+search_nearest_element): Method to retrieve the nearest selected
2604 element to the visible area of the pannable area in a column.
2605 (+on_realize_cb): scroll to the initially selected item.
2606 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2607 the pannable area is realized, otherwise delay this until it is.
2608 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2609 selected items of a given column.
2610 (+hildon_touch_selector_center_on_selected): Public method to center
2611 all columns on the nearest selected item.
2612 * src/hildon-touch-selector.h: Add definition for
2613 hildon_touch_selector_center_on_selected().
2615 Implement public API to ensure visibility of all selected items in
2616 a HildonTouchSelector.
2618 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2620 Fixed a problem in the fading when calling the scroll_to API, and
2621 improve scrollbar fading handling.
2623 * src/hildon-pannable-area.c,
2624 (hildon_pannable_area_grab_notify): avoid the timeout when the
2626 (hildon_pannable_area_button_press_cb),
2627 (hildon_pannable_area_motion_notify_cb): Code style changes.
2628 (hildon_pannable_area_button_release_cb): Review the conditions
2629 when releasing the mouse button to avoid unrequired fading
2631 (hildon_pannable_area_scroll_to): Do not calculate and set the
2632 velocity if the scroll is not required.
2634 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2636 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2637 Don't check whether the new selector is NULL: it cannot be.
2638 Hold a reference to the selector while doing the replacement.
2640 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2642 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2643 unnecessary size_request in a removed widget.
2645 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2647 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2648 an unnecessary reference tracking that was leaking.
2650 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2652 Added delayed motion notify event handling, this way we can
2653 discard redrawing if more than 25 events arrive per second.
2655 * src/hildon-pannable-area.c,
2656 (hildon_pannable_area_init): Initialized the new private atributes
2657 controlling this timeout
2658 (hildon_pannable_area_dispose): Remove the timeout that controls
2659 the motion notify events.
2660 (hildon_pannable_area_scroll): Added a condition to control the
2661 use of the acceleration.
2662 (hildon_pannable_area_motion_event_scroll_timeout),
2663 (hildon_pannable_area_motion_event_scroll): Added this two
2664 functions, they handle the motion notify events inside the
2666 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2667 to the scroll method with the new function.
2668 (hildon_pannable_area_button_release_cb): We have to remove the
2669 timeout handler and move to the last position if the last motion
2670 events were not handled.
2672 Fixes: NB#97028 (Pannable area updates on every motion event)
2674 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2676 * src/hildon-pannable-area.c,
2677 (hildon_pannable_area_get_topmost): Added a new parameter to
2678 filter the the windows that do not include those events. Added
2679 also a condition when finding the window to filter windows that do
2680 not ask for those events.
2681 (hildon_pannable_area_button_press_cb),
2682 (hildon_pannable_area_button_release_cb),
2683 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2684 topmost function, we have added the new parameter.
2686 Fixes: NB#97458 (Pannable area prevents propagation of button
2689 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2691 * src/hildon-pannable-area.c,
2692 (hildon_pannable_area_initial_effect): Added controls before
2693 launching the timeout and the idle functions.
2694 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2695 of the method, in some situations it can return with TRUE and 0 in
2697 (hildon_pannable_area_button_press_cb): We do not need to set
2698 DELAY for fading out here.
2700 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2702 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2704 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2705 post-cleaning if the selection is not NULL.
2707 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2709 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2710 all items before restoring the selection.
2712 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2714 * src/hildon-touch-selector.c:
2715 (+hildon_touch_selector_unselect_all):
2716 * src/hildon-touch-selector.h: New API to unselect all items in a
2717 column of the touch selector.
2719 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2721 * src/hildon-pannable-area.c,
2722 (hildon_pannable_area_redraw): Added a call to the refresh
2723 function inside the redraw because apparently in some cases the
2724 change in the adjustment does not imply a size allocate.
2726 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2727 despite the view not being scrollable)
2729 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2731 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2732 leak. Check for NULL before attempting to set the window title.
2734 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2736 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2737 whether to show or not the 'Done' button each time the dialog is
2738 shown, as it depends on the HildonTouchSelector selection mode.
2740 Fixes: NB#96226 (In multiple selection mode Done button is shown
2741 sometimes in listpicker)
2743 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2745 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2746 for the number of columns in the HildonTouchSelector more than once.
2748 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2750 * src/hildon-touch-selector.c: Minor documentation fixes.
2752 * src/hildon-picker-dialog.c (+_dialog_update_title)
2753 (_select_on_selector_changed_cb)
2754 (_update_title_on_selector_changed_cb)
2755 (on_selector_columns_changed): Update dialog title when there's no
2756 'Done' button and also when the number of columns in the selector
2760 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2761 (+_selection_changed, hildon_picker_button_on_dialog_response)
2762 (hildon_picker_button_selector_selection_changed)
2763 (+hildon_picker_button_selector_columns_changed)
2764 (hildon_picker_button_set_selector): Update button value and emit
2765 'value-changed' when the number of columns in the selector
2769 Fixes: NB#96225 (Dialog titles are not shown according to the
2770 values selected in the list picker)
2772 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2774 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2775 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2776 New "arrow-width" and "arrow-height" style properties to set the
2777 size of the arrow button.
2778 Set name of arrow button ("hildon-edit-toolbar-arrow").
2780 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2781 graphics from theme)
2783 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2785 * src/hildon-picker-button.c:
2786 (hildon_picker_button_selector_selection_changed): Use
2787 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2788 the dialog is present.
2790 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2791 the selection is accepted in the dialog)
2793 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2795 * src/hildon-color-chooser.h
2796 * src/hildon-color-chooser-dialog.h:
2797 Added G_BEGIN_DECLS and G_END_DECLS
2799 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2801 (_clean_current_selection): plug a leak in the list.
2803 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2805 * src/hildon-picker-dialog.c:
2806 (+free_path_list): Method to free a GList of GtkTreePaths.
2807 (_clean_current_selection), (_save_current_selection),
2808 (_restore_current_selection): Save the current selection in
2809 as a list of lists, to support multiple selection properly.
2811 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2813 patch by Claudio Saavedra (csaavedra@igalia.com)
2815 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2816 Store the press position.
2817 (+hildon_text_view_button_release_event): If the release position is
2818 close enough to the press position, move the cursor here. Otherwise,
2820 (hildon_text_view_class_init): Override GtkTextView press, release, and
2821 motion event handlers, disabling this way text selection through
2822 pointer interaction, and allowing the container widget to handle the
2825 Fixes: NB#95828 (HildonTextView functionality)
2827 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2829 Based on a patch by Iván Gómez (igomez@igalia.com)
2831 * src/hildon-button.[ch]
2832 * src/hildon-calendar.c
2833 * src/hildon-check-button.c
2834 * src/hildon-date-editor.c
2835 * src/hildon-date-selector.c
2836 * src/hildon-picker-button.c
2837 * src/hildon-time-editor.c
2838 * src/hildon-time-selector.c
2839 * src/hildon-touch-selector.[ch]:
2840 Documentation updates
2842 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2844 * src/hildon-pannable-area.c,
2845 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2846 threshold, it was required due to X events handling.
2848 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2850 * src/hildon-pannable-area.c,
2851 (hildon_pannable_area_grab_notify),
2852 (hildon_pannable_area_initial_effect),
2853 (hildon_pannable_area_button_press_cb),
2854 (hildon_pannable_area_button_release_cb),
2855 (hildon_pannable_area_scroll_cb),
2856 (hildon_pannable_area_scroll_to): Review the timeout management of
2857 the scrollbar, the frecuency was incorrectly set.
2859 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2861 * src/hildon-picker-button.c:
2862 (+hildon_picker_button_on_dialog_response),
2863 (hildon_picker_button_clicked): Present the dialog instead of
2864 running it with gtk_dialog_run().
2866 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2869 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2871 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2872 (hildon_app_menu_finalize): When a window is hidden it doesn't
2873 emit notify::is-topmost, so make sure than the menu also
2874 disappears in that case.
2875 (parent_window_topmost_notify): Renamed from parent_window_hidden
2877 Fixes: NB#94460 (stackable window's menu is not closed when its
2880 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2882 * src/hildon-touch-selector-entry.c:
2883 (+hildon_touch_selector_entry_set_input_mode),
2884 (+hildon_touch_selector_entry_get_input_mode):
2885 * src/hildon-touch-selector-entry.h: New methods to access the input
2886 mode in the selector's entry.
2888 Fixes: NB#93410 (API required for setting IM mode in
2889 HildonTouchSelectorEntry)
2891 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2893 * configure.ac: post release version bump.
2894 * debian/changelog: version bump
2896 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2901 * configure.ac: Bump version.
2902 * debian/changelog: Updates.
2904 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2906 * src/hildon-touch-selector.c:
2907 (_hildon_touch_selector_has_multiple_selection): No need
2908 to initialize the variables here.
2910 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2912 * src/hildon-note-private.h
2913 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2914 (hildon_note_finalize, hildon_note_rebuild): Close information
2915 notes when they receive a button press.
2917 Fixes: NB#89890 (Information notes does not get disappeared after
2920 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2922 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2923 mark from the wizard title, as it's not really necessary. Also,
2924 do not display the page title if not set.
2926 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2928 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2929 (parent_window_hidden): Use the window's "is-topmost" property to
2930 detect when to hide the menu.
2932 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2934 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2935 (hildon_app_menu_finalize): If the parent window of the menu is
2936 hidden, hide the menu too.
2938 Fixes: NB#94460 (stackable window's menu is not closed when its
2941 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2944 * debian/libhildon1-examples.install
2946 * examples/Makefile.am:
2947 Use dh_install to install all examples.
2948 Use DEB_SRCDIR instead of defining SOURCE_DIR
2950 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2952 * configure.ac: post release version bump.
2953 * debian/changelog: version bump
2955 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2960 * configure.ac: bump version
2961 * debian/changelog: updates
2962 * debian/control: bump gtk+ dependency
2964 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2966 patch by Christian Dywan (christian@imendio.com)
2968 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2969 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2971 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2973 * src/hildon-check-button.c (hildon_check_button_init)
2974 (hildon_check_button_class_init, hildon_check_button_style_set)
2975 (hildon_check_button_apply_style):
2976 New "checkbox-size" style property.
2978 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2979 larger / configurable size)
2981 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2983 * configure.ac: post release version bump.
2984 * debian/changelog: version bump
2986 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2991 * configure.ac: bump version
2992 * debian/changelog: updates
2994 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2996 * doc/hildon-sections.txt
2997 * src/hildon-pannable-area.c
2998 * src/hildon-program.c
2999 * src/hildon-time-editor.c
3000 * src/hildon-touch-selector-entry.c:
3002 More documentation updates.
3004 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3006 * doc/hildon-sections.txt
3007 * src/hildon-caption.c
3008 * src/hildon-code-dialog.c
3009 * src/hildon-color-button.c
3010 * src/hildon-controlbar.c
3011 * src/hildon-date-editor.c
3012 * src/hildon-date-selector.c
3013 * src/hildon-edit-toolbar.c
3014 * src/hildon-find-toolbar.c
3015 * src/hildon-font-selection-dialog.c
3017 * src/hildon-program.c
3018 * src/hildon-range-editor.c
3019 * src/hildon-seekbar.c
3020 * src/hildon-time-editor.c
3021 * src/hildon-time-selector.c
3022 * src/hildon-volumebar-range.c
3023 * src/hildon-volumebar.c
3024 * src/hildon-vvolumebar.c
3025 * src/hildon-weekday-picker.c
3026 * src/hildon-window.c
3027 * src/hildon-wizard-dialog.c:
3029 Lots of documentation fixes.
3031 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3033 Patch contributed by Iván Gómez (igomez@igalia.com)
3035 * src/hildon-check-button.c:
3036 * src/hildon-date-button.c:
3037 * src/hildon-date-selector.c:
3038 * src/hildon-dialog.c:
3039 * src/hildon-edit-toolbar.c:
3040 * src/hildon-entry.c:
3041 * src/hildon-picker-button.c:
3042 * src/hildon-program.c:
3043 * src/hildon-text-view.c:
3044 * src/hildon-time-button.c:
3045 * src/hildon-touch-selector-entry.c:
3046 * src/hildon-window-stack.c:
3048 Add more "since" tags to the new API.
3050 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3052 * doc/hildon-sections.txt: Add below method.
3053 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3054 version for the hildonized scale.
3055 * src/hildon-gtk.h: Add the definition.
3057 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3059 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3061 * doc/hildon-sections.txt: Add missing entries for new methods.
3063 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3065 Added API to pannable are in order to get its adjustments. We
3066 added two properties to manage the values we had in the private
3069 * src/hildon-pannable-area.c:
3070 (hildon_pannable_area_class_init): Added hadjustment and
3071 vadjustment properties in order to expose horizontal and vertical
3073 (hildon_pannable_area_get_property),
3074 (hildon_pannable_area_set_property): Added code to handle the new
3076 (hildon_pannable_area_get_hadjustment),
3077 (hildon_pannable_area_get_vadjustment): API functions to get the
3079 * src/hildon-pannable-area.h:
3080 (hildon_pannable_area_get_hadjustment),
3081 (hildon_pannable_area_get_vadjustment): API functions to get the
3084 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3086 Fixed some leaks, after valgrinding.
3088 * src/hildon-touch-selector.c:
3089 (_default_print_func): Fixed a leak.
3090 (hildon_touch_selector_append_column): Fixed a leak.
3091 * src/hildon-date-button.c:
3092 (hildon_date_button_init): Fixed a leak.
3093 * src/hildon-date-selector.c
3094 (hildon_date_selector_finalize): Fixed a leak.
3096 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3098 Based on a patch by Christian Dywan (christian@imendio.com)
3100 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3102 * src/hildon-gtk.h: Add definition.
3104 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3106 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3108 * src/hildon-picker-button.c: (hildon_picker_button_init),
3109 (hildon_picker_button_new): Set the HildonButton::style property
3110 in the init method, to propagate the value to the derived classes.
3112 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3114 * src/hildon-button.c: (hildon_button_class_init): Do not make
3115 the "style" property a construct property.
3117 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3119 * src/hildon-wizard-dialog.h
3120 * src/hildon-wizard-dialog.c
3121 (hildon_wizard_dialog_set_forward_page_func)
3122 * src/hildon-pannable-area.h
3123 * src/hildon-pannable-area.c
3124 (hildon_pannable_area_set_size_request_policy):
3125 Documentation fixes.
3127 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3129 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3131 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3133 * doc/hildon-sections.txt: Added sections file.
3135 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3138 * src/*.[ch]: Updates.
3140 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3142 * examples/hildon-progress-indicator-example.c: new file
3143 * examples/Makefile.am: include the new example program
3145 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3147 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3149 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3151 * configure.ac: post release version bump
3152 * debian/changelog: version bump
3154 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3159 * configure.ac: bump version
3160 * debian/changelog: updates
3161 * debian/control: bump gtk+ dependency
3163 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3165 * src/hildon-dialog.c: Mark as deprecated.
3166 * src/hildon-dialog.h: Mark as deprecated.
3167 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3168 from HildonDialog and still work, even if
3169 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3170 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3172 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3173 maemo changes) instead)
3175 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3177 * src/hildon-pannable_area.h:
3178 * src/hildon-pannable_area.c:
3179 (hildon_pannable_area_class_init),
3180 (hildon_pannable_area_set_property),
3181 (hildon_pannable_area_get_property),
3182 (hildon_pannable_area_size_request),
3183 (hildon_pannable_area_get_size_request_policy),
3184 (hildon_pannable_area_set_size_request_policy): Added new API
3185 allowing applications to control the request policy. Now they can
3186 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3187 children allocation (HILDON_MOVEMENT_CHILDREN).
3189 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3193 (hildon_gtk_tree_view_set_ui_mode)
3194 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3195 mode of treeviews and iconviews.
3197 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3199 * src/hildon-touch-selector-entry.c:
3200 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3201 of a GtkEntry to get proper theming.
3203 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3204 widget, not GtkEntry)
3206 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3208 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3209 no HildonWizardDialogPageFunc.
3211 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3213 Patch contributed by Iván Gómez (igomez@igalia.com)
3215 * src/hildon-app-menu.c:
3216 * src/hildon-button.c:
3217 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3218 * src/hildon-stackable-window.c:
3219 * src/hildon-time-selector.c:
3220 * src/hildon-touch-selector.c:
3221 * src/hildon-window.c:
3223 Add more "since" tags to the new API in hildon 2.2.
3225 2008-12-05 Tim Janik <timj@imendio.com>
3227 Patch contributed by Christian Dywan (christian@imendio.com)
3229 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3230 HildonSizeType, which are supplied by Gtk+ now.
3232 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3234 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3235 (with maemo changes) instead)
3237 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3239 Patch contributed by Iván Gómez (igomez@igalia.com)
3241 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3244 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3246 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3247 (some_page_func), (main): Update the example to use a
3248 HildonWizardDialogPageFunc function.
3250 * src/hildon-wizard-dialog-private.h: Add private data for
3251 the HildonWizardDialogPageFunc function usage.
3253 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3254 (destroy), (hildon_wizard_dialog_init), (response),
3255 (hildon_wizard_dialog_set_forward_page_func):
3256 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3257 that applications can use to stop a HildonWizardDialog to jump to
3260 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3263 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3265 * src/hildon-program.h
3266 * src/hildon-program-private.h
3267 * src/hildon-program.c (hildon_program_init)
3268 (hildon_program_set_common_app_menu)
3269 (hildon_program_get_common_app_menu):
3270 New API for setting a common HildonAppMenu for all
3271 HildonStackableWindows registered with the HildonProgram.
3273 * src/hildon-stackable-window.c
3274 (hildon_stackable_window_toggle_menu):
3275 Use the common HildonAppMenu if a window doesn't have a specific
3278 * src/hildon-app-menu-private.h
3279 * src/hildon-app-menu.c
3280 (hildon_app_menu_get_parent_window):
3281 Function to obtain the window a HildonAppMenu is attached to.
3282 (hildon_app_menu_set_parent_window):
3283 Hide the menu if the parent window is set to NULL.
3285 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3287 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3288 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3289 search widget to popup.
3291 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3293 * configure.ac: post release version bump
3294 * debian/changelog: version bump
3296 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3301 * configure.ac: bump version
3302 * debian/changelog: updates
3304 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3306 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3308 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3309 (hildon_window_stack_window_realized)
3310 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3311 Set the leader GdkWindow when a window is stacked and realized,
3312 unset it when it's unstacked.
3313 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3315 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3317 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3319 * src/hildon-stackable-window.h
3320 * src/hildon-window-stack.h:
3321 Protect definition of HildonWindowStack using the preprocessor.
3323 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3325 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3326 Fix warning if all menu items are hidden.
3328 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3330 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3332 * src/hildon-controlbar.c:
3333 * src/hildon-hvolumebar.c:
3334 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3335 Multiple scale size defines updates.
3337 Fixes: NB#94322 (Scale Updates)
3339 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3341 * examples/hildon-app-menu-example.c (create_menu)
3342 Show items after adding them to the menu, as in the future the
3343 menu will no longer call gtk_widget_show() on the added items.
3345 * src/hildon-app-menu.c:
3346 Update example as explained above.
3348 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3350 * src/hildon-app-menu.c
3351 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3352 Make sure that all menu items have finger height.
3354 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3356 * src/hildon-picker-dialog.c:
3357 (_on_dialog_response), (_save_current_selection),
3358 (_restore_current_selection), (_clean_current_selection),
3359 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3360 Defined new functions in order to save the current internal selector
3361 selection previous open the dialog, in case that the use cancel the
3362 interaction, so the widget restores the previous selection.
3364 Fixes: NB#92032 (In calendar application, date values in 'new event'
3367 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3369 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3371 * src/hildon-button.c: Add a reference to the button examples in
3372 hildon-button-example.c
3374 * examples/hildon-button-example.c: Added examples of the most
3375 common button layouts.
3377 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3379 * src/hildon-app-menu.c (hildon_app_menu_show)
3380 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3382 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3384 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3386 * src/hildon-picker-dialog.c:
3387 (hildon_picker_dialog_init): Initialize the signal id for
3388 HildonTouchSelector::columns-changed.
3389 (+on_selector_columns_changed): Set up the interaction mode everytime a
3390 column is added or removed from the HildonTouchSelector.
3391 (_hildon_picker_dialog_set_selector): Connect to
3392 HildonTouchSelector::columns-changed and keep track of it.
3394 Make sure to update the interaction mode of the dialog everytime a
3395 column is added or removed in the HildonTouchSelector.
3397 Fixes: NB#93228 (Done button is not shown always in listpicker)
3399 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3401 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3402 a new ::columns-changed signal.
3403 (hildon_touch_selector_append_column): Emit ::columns-changed.
3404 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3406 Add a ::columns-changed signal, emitted when the number of columns in a
3407 HildonTouchSelector changes.
3409 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3411 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3412 (_hildon_picker_dialog_set_selector): Factor out the code
3413 to set up the dialog interaction mode.
3415 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3417 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3418 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3419 to signal_changed_id.
3421 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3423 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3426 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3428 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3429 Updated the logical ids related to ampm format, as now it is required to
3430 show it correctly localized even on languages with no default
3431 abbreviations for am or pm
3432 (_check_am_pm_format): check correctly the 24h format gconf property
3434 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3436 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3438 * src/hildon-button.c: Documentation updates.
3440 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3442 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3443 * src/hildon-caption.c: (hildon_caption_class_init):
3444 * src/hildon-color-button.c: (hildon_color_button_class_init):
3445 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3446 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3447 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3448 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3450 Remove deprecated GTK+ marshalers and replace them with the ones
3451 provided by GLib, for those available, add a marshaler for
3452 BOOLEAN:VOID, which is not available in GLib, and use it.
3454 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3456 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3457 the text from the previous column if there is no
3458 HildonTouchSelectorColumn::text-property set.
3460 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3462 * src/hildon-button.h
3463 * src/hildon-button.c (hildon_button_set_property)
3464 (hildon_button_get_property, hildon_button_class_init)
3465 (hildon_button_set_style, hildon_button_get_style):
3466 New "style" property to change the visual appearance of the
3469 * src/hildon-picker-button.c (hildon_picker_button_new):
3470 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3472 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3473 HildonButton look like PickerButton)
3475 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3477 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3478 column while building the default string.
3480 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3482 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3483 scroll indicator by default.
3485 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3487 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3489 * src/hildon-main.c: Fix the documentation for hildon_init()
3491 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3493 * doc/hildon-docs.sgml
3497 * src/hildon-window-stack-private.h
3498 * src/hildon-window-stack.h
3499 * src/hildon-window-stack.c:
3500 New HildonWindowStack object, that adds support for multiple
3501 stacks of windows per process.
3503 * src/hildon-stackable-window-private.h
3504 * src/hildon-stackable-window.h
3505 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3506 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3507 (hildon_stackable_window_show, hildon_stackable_window_hide)
3508 (hildon_stackable_window_class_init)
3509 (hildon_stackable_window_init):
3510 Use HildonWindowStack for stack management.
3512 * src/hildon-program.c (hildon_program_pop_window_stack)
3513 (hildon_program_peek_window_stack)
3514 (hildon_program_go_to_root_window):
3515 Add a fallback implementation to the deprecated functions using
3518 * examples/hildon-stackable-window-example.c:
3519 Use the new HildonWindowStack API.
3521 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3523 * src/hildon-stackable-window-private.h
3524 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3525 (hildon_stackable_window_hide, hildon_stackable_window_init):
3526 Remove all window stack management.
3528 * src/hildon-program-private.h
3529 * src/hildon-program.h
3530 * src/hildon-program.c (hildon_program_init)
3531 (hildon_program_pop_window_stack)
3532 (hildon_program_peek_window_stack)
3533 (hildon_program_go_to_root_window):
3534 Remove all window stack management and mark functions as
3537 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3539 * src/hildon-app-menu.c (hildon_app_menu_realize):
3540 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3542 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3544 * configure.ac: post release version bump
3545 * debian/changelog: version bump
3547 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3552 * configure.ac: bump version
3553 * debian/changelog: updates
3555 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3557 Based on initial code by Christian Dywan (christian@imendio.com)
3559 * doc/hildon-docs.sgml: Add section for hildon-main.
3560 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3561 * src/Makefile.am: Add new hildon-main.[ch]
3562 * src/hildon-defines.h: Update the icon sizes.
3563 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3564 new library initialization files and register icon sizes.
3565 * src/hildon-main.h: New declarations.
3566 * src/hildon.h: Include hildon-main.h
3568 Add new initialization functions to the library. These methods
3569 will register the hildon specific icon sizes and can be used in the
3570 future for other hildon specific bits.
3572 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3574 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3576 * src/hildon-window.c: (hildon_window_realize),
3577 (hildon_window_notify), (-hildon_window_update_title): Do not set
3578 the application name in the window title.
3580 Fixes: NB#89754 (Applications shouldn't display their names in the
3583 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3585 * src/hildon-note-private.h:
3586 * src/hildon-note.c: (hildon_note_set_property),
3587 (hildon_note_get_property), (hildon_note_class_init),
3588 (hildon_note_init), (hildon_note_finalize),
3589 (hildon_note_new_confirmation_with_icon_name),
3590 (hildon_note_new_information_with_icon_name):
3592 No need to mark as deprecated the actual code. Revert
3593 to avoid missing symbols in widgets using deprecated API.
3595 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3597 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3599 * src/hildon-volumebar.h
3600 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3601 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3603 * src/hildon-helper.h
3604 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3605 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3607 * examples/Makefile.am:
3608 Deprecate hildon-insensitive-example
3610 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3612 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3614 * examples/hildon-pannable-area-buttons-scroll-example.c:
3615 Make all buttons finger height
3617 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3619 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3621 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3622 update the day model only if it is really required, and to avoid the
3623 full-reconstruction aproach. Now it only add or remove the required days.
3625 The purpose of this is avoid superfluous HildonTouchSelector::changed
3628 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3629 with strange parameters)
3631 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3633 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3635 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3636 the WINDOW_TYPE property.
3638 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3640 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3643 Fix dependency to allow parallel compilation with make -jX
3645 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3647 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3648 color frame and some minor tweaks to make it more consistent with
3651 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3652 highlighted but not visible)
3654 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3656 * examples/Makefile.am: Fixed typo in the Makefile.am.
3658 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3660 Reviewed the use of MAEMO_GTK define, now we add the define in the
3661 compilation line, and we also add it to the pc file.
3663 * configure.ac: Added MAEMO_GTK define to the compilation command
3664 and removed it from the config.h.
3666 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3667 do not have to take care about this define if the library was
3671 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3673 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3675 * examples/Makefile.am,
3676 * examples/hildon-pannable-area-buttons-scroll-example.c,
3677 * examples/hildon-pannable-area-gesture-signals-example.c,
3678 * examples/hildon-pannable-area-scroll-jump-example.c,
3679 * examples/hildon-pannable-area-tree-view-example.c:
3680 Renamed the pannable area examples, now they have more meaningful
3683 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3685 * src/hildon-touch-selector.c:
3686 (hildon_touch_selector_set_column_selection_mode): Used of
3687 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3688 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3689 to avoid re-seting the same selection mode.
3691 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3692 breaks HildonPickerDialog)
3694 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3696 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3697 conditional in the Makefile.am
3699 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3701 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3702 Remove unused methods.
3704 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3706 * src/hildon-button.c (hildon_button_init):
3707 Make button images center-aligned by default
3709 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3712 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3713 activated, we have to think about how to deal with both defines
3714 MAEMO_GTK and MAEMO_CHANGES.
3716 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3718 * examples/hildon-app-menu-example.c (create_menu): Make all
3719 buttons finger size.
3721 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3723 Fixed the compilation without maemo gtk adding ifdefs with
3724 MAEMO_GTK define to the code, we have to check this version more
3727 * examples/Makefile.am: Added control to avoid some examples that
3728 just make sense with maemo gtk.
3731 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3732 hildon modes with the define.
3734 * examples/hildon-edit-toolbar-example.c,
3735 (create_icon_view): Create the icon view without hildon-gtk
3736 helpers if we are not using maemo gtk.
3738 * src/hildon-touch-selector.c,
3739 (_create_new_column): Create the treeview without hildon-gtk
3740 helpers if we are not using maemo gtk.
3742 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3744 * src/hildon-pnnable-area.c,
3745 (hildon_pannable_area_dispose),
3746 (hildon_pannable_area_button_press_cb),
3747 (hildon_pannable_area_child_mapped),
3748 (hildon_pannable_area_add),
3749 (hildon_pannable_area_remove): Added code to control the position
3750 of the event_window when adding and removing children from the
3751 pannable. We have to raise the event window when the child is
3754 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3755 selection mode using custom widget inside pannable)
3757 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3759 * configure.ac: post release version bump
3760 * debian/changelog: version bump
3762 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3767 * configure.ac: bump version
3768 * debian/changelog: updates
3770 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3772 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3773 search mode, in order to avoid lose the focus on the treeview when
3774 a hw key (like enter) is pressed.
3776 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3777 in HildonDateSelector dialog)
3779 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3781 * debian/rules: Added --enable-maintainer-mode
3782 * Makefile.am: Added ACLOCAL_AMFLAGS
3784 This allows to properly regenerate the Makefiles if you modify the
3785 configure.ac or any Makefile.am.
3787 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3789 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3790 properties, not needed at all.
3792 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3794 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3796 * src/hildon-note.c: (hildon_note_set_property),
3797 (hildon_note_get_property), (hildon_note_class_init),
3798 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3799 (hildon_note_new_confirmation_add_buttons): Remove icons.
3800 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3801 (hildon_note_new_information_with_icon_name): Deprecate.
3802 (hildon_note_new_confirmation): Act directly, without calling
3803 the deprecated constructor.
3804 (hildon_note_new_information): Act directly, without calling
3805 the deprecated constructor.
3806 * src/hildon-note.h: Mark deprecate methods as such.
3807 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3808 not run tests on the deprecated methods if built with deprecation
3811 Fixes: NB#91688 (Never show icons in information notes/confirmation
3814 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3816 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3817 (hildon_app_menu_key_press): Remove leftover usage of the
3818 private structure in HildonAppMenu struct.
3819 * src/hildon-app-menu.h: Remove leftover private structure
3820 from the HildonAppMenu struct.
3822 Fixes a crasher when using the HildonAppMenu.
3824 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3826 * src/hildon-picker-dialog.c: Use appropriate logical id
3827 for the default "Done" text.
3829 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3831 * configure.ac: post release version bump
3832 * debian/changelog: version bump
3834 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3836 Modified the way to scroll to the current selection just when the touch
3837 selector is shown on the screen, avoiding a g_idle. Added too a property
3838 to configure this behaviour. See hildon_pannable_area_jump_to_child
3839 documentation for more information.
3841 * src/hildon-touch-selector.c
3842 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3843 Added 'initial-scroll' property
3844 (hildon_touch_selector_set_property): Added
3845 (hildon_touch_selector_map): Removed as not required anymore
3846 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3847 only a concrete column, instead of iterate along all the columns
3849 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3854 * configure.ac: bump version
3855 * debian/changelog: updates
3857 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3859 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3860 compilation time warnings.
3862 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3864 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3865 the default value for HildonPannableArea::mov-mode to
3866 HILDON_PANNABLE_AREA_MODE_VERT.
3868 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3870 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3872 Reverting following commit:
3874 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3876 * src/hildon-app-menu-private.h
3877 * src/hildon-app-menu.[ch]
3878 * src/hildon-button.[ch]
3879 * src/hildon-check-button.[ch]
3880 * src/hildon-entry.[ch]
3881 * src/hildon-pannable-area.[ch]
3882 * src/hildon-text-view.[ch]:
3883 Added private field to the object's structure.
3885 because it causes an ABI breakage. We will need to introduce these
3886 changes later at some point. See NB#91636 for an extensive
3887 explanation and status.
3889 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3891 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3893 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3894 remove special cases that are no longer necessary.
3896 Fixes: NB#91016 (Change toolbar sizes, simplification)
3898 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3900 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3901 is shown in the cancel note.
3903 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3905 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3906 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3907 (hildon_seekbar_init): Remove steppers, remove expose event.
3908 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3910 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3912 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3914 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3915 label font to "SmallSystemFont" for vertically arranged buttons.
3917 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3920 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3922 * src/hildon-check-button.c
3923 (hildon_check_button_set_active, hildon_check_button_clicked):
3924 Don't access private parts directly, use getters instead.
3926 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3928 * src/hildon-check-button.c (hildon_check_button_new):
3929 Align the contents of the check button to the left.
3931 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3933 * src/hildon-pannable-area.c,
3934 (hildon_pannable_area_scroll_to),
3935 (hildon_pannable_area_jump_to),
3936 (hildon_pannable_area_scroll_to_child),
3937 (hildon_pannable_area_jump_to_child): Replace the mapped
3938 precondition of these functions with the realized, it is the
3939 correct state of the widget in this case. Changed the
3940 documentation according to this modification.
3942 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3944 Added a new EXTRA_CFLAGS option to add the deprecated define to
3945 the compilation command. This way we can avoid using the define in
3946 the documentation compilation.
3948 * configure.ac: Defined EXTRA_CFLAGS.
3950 * examples/Makefile.am:
3952 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3954 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3956 * src/hildon-picker-dialog.c:
3957 Defined a utility macro with the desired touch selector height
3958 Removed currently unused separator, and title_label variables from
3960 (hildon_picker_dialog_init): Removed code related to the creation
3961 of unused private variables title_label and separator.
3962 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3963 to ensure correct visualization of the touch selector inside the dialog.
3964 * src/hildon-touch-selector.c
3965 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3966 ensure a concrete height of the widget.
3968 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3971 * tests/Makefile.am:
3973 Remove spurious whitespaces.
3975 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3977 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3978 compilation warning after the cancel button removal.
3980 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3982 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3984 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3985 Makefile.am, that way we can choose not to compile some examples
3986 and tests of the deprecated widgets.
3988 * examples/Makefile.am: Divided the sources in deprecated and
3991 * src/Makefile.am: Added undef statement of the deprecated
3992 symbol to the enums file generation process.
3994 * src/hildon-color-chooser-dialog.c
3995 * src/hildon-color-chooser-dialog.h
3996 * src/hildon-color-button.c
3997 * src/hildon-color-button.h
3998 * src/hildon-color-chooser.c
3999 * src/hildon-color-chooser.h
4000 * src/hildon-controlbar.c
4001 * src/hildon-controlbar.h
4002 * src/hildon-date-editor.c
4003 * src/hildon-date-editor.h
4004 * src/hildon-hvolumebar.c
4005 * src/hildon-hvolumebar.h
4006 * src/hildon-private.c
4007 * src/hildon-private.h
4008 * src/hildon-range-editor.c
4009 * src/hildon-range-editor.h
4010 * src/hildon-seekbar.c
4011 * src/hildon-seekbar.h
4012 * src/hildon-time-editor.c
4013 * src/hildon-time-editor.h
4014 * src/hildon-time-picker.c
4015 * src/hildon-time-picker.h
4016 * src/hildon-volumebar.c
4017 * src/hildon-volumebar.h
4018 * src/hildon-vvolumebar.c
4019 * src/hildon-vvolumebar.h
4020 * src/hildon-bread-crumb-trail.h
4021 * src/hildon-bread-crumb-trail.c
4022 * src/hildon-calendar-popup.c
4023 * src/hildon-calendar-popup.h
4024 * src/hildon-weekday-picker.c:
4025 * src/hildon-weekday-picker.h:
4026 * src/hildon-bread-crumb-widget.c:
4027 * src/hildon-bread-crumb-widget.h:
4028 * src/hildon-bread-crumb.c:
4029 * src/hildon-bread-crumb.h:
4030 * src/hildon-calendar.c:
4031 * src/hildon-calendar.h:
4032 * src/hildon-caption.c:
4033 * src/hildon-code-dialog.c:
4034 * src/hildon-code-dialog.h:
4035 * src/hildon-font-selection-dialog.c:
4036 * src/hildon-font-selection-dialog.h:
4037 * src/hildon-get-password-dialog.c:
4038 * src/hildon-get-password-dialog.h:
4039 * src/hildon-login-dialog.c:
4040 * src/hildon-login-dialog.h:
4041 * src/hildon-number-editor.c:
4042 * src/hildon-number-editor.h:
4043 * src/hildon-set-password-dialog.c:
4044 * src/hildon-set-password-dialog.h:
4045 * src/hildon-sort-dialog.c:
4046 * src/hildon-sort-dialog.h: This is the list of deprecated
4049 * src/hildon-touch-selector.c:
4050 * src/hildon-window.c: Added undef statement to avoid compilation
4053 * tests/Makefile.am: Divided the sources in deprecated and
4056 * tests/check_test.c,
4057 (configure_tests): Marked the deprecated code that was adding
4058 suites with deprecated tests.
4060 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4062 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4064 * src/hildon-touch-selector.c: (_default_print_func): Do not
4065 duplicate a string returned by gtk_tree_model_get(), it is already
4068 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4071 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4073 * src/hildon-pannable-area.c
4074 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4075 method, it had problems when adding a widget with viewport the
4076 second time. Now checks if it already has a viewport and uses it.
4078 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4081 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4083 * src/hildon-pannable-area.c,
4084 (hildon_pannable_area_scroll_to),
4085 (hildon_pannable_area_jump_to),
4086 (hildon_pannable_area_scroll_to_child),
4087 (hildon_pannable_area_jump_to_child): Added a precondition to the
4088 scroll and jump to functions: the widget must be mapped before we
4089 can safely call these functions. We have also added documentation
4090 to the functions to explain how to use them in this situation.
4093 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4095 Reviewed the threading handling of the pannable widget, we have
4096 used the gdk_threads_add_timeout function instead of the usual
4097 glib handlers. This avoids some problems with the threads.
4099 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4100 (hildon_pannable_area_initial_effect),
4101 (hildon_pannable_area_scroll_indicator_fade),
4102 (hildon_pannable_area_button_press_cb),
4103 (hildon_pannable_area_timeout),
4104 (hildon_pannable_area_motion_notify_cb),
4105 (hildon_pannable_area_button_release_cb),
4106 (hildon_pannable_area_scroll_cb),
4107 (hildon_pannable_area_scroll_to): Removed the
4108 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4109 gdk_threads_add_timeout.
4111 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4113 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4118 * configure.ac: bump version
4119 * debian/changelog: updates
4121 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4123 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4124 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4125 * src/hildon-color-chooser-dialog.c:
4126 (hildon_color_chooser_dialog_init):
4127 * src/hildon-font-selection-dialog.c:
4128 (hildon_font_selection_dialog_init):
4129 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4131 Remove all cancel/close-like dialogs, as these are not going to be
4134 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4136 * src/hildon-note.c: (hildon_note_rebuild),
4137 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4140 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4142 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4144 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4145 sure all buttons are shown, even the Cancel/Close-like ones.
4147 Fixes: NB#90861 (Custom Confirmation dialogs should be
4148 protected from cancel button removal)
4150 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4152 * debian/control: Change libhildon1-examples dependency from libhildon1
4154 * debian/libhildon1-examples.install
4156 * Makefile.am: Modified the final install directory for the examples on
4157 package libhildon1-examples
4158 * Makefile.static: Update clean target in order to remove all the binary
4161 Changes suggested by Claudio after review new libhildon1-examples package
4163 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4165 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4166 * src/hildon-touch-selector.c: Ditto.
4168 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4170 * debian/control: Added new package libhildon1-examples, in order to pack
4171 the current hildon examples as documentation
4172 * debian/rules: Not to compress .c files, modify some includes on the
4173 examples (as normally are compiled locally, but when installed it will
4174 require to include the installed libhildon1 library), and rename
4176 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4177 install all the example files on the new example package
4178 * examples/Makefile.static: Added static makefile that can be used to
4179 compile the examples, once installed the new example package
4180 * examples: Most of the examples were modified in order to grant that
4181 all use only '#include "hildon.h"', in order to be easy to prepare
4182 it on the example package
4184 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4187 * debian/libhildon1-dev.install
4188 * debian/libhildon1-doc.install:
4189 Move all gtk-doc files to a separate libhildon1-doc package.
4191 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4193 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4195 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4197 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4199 * debian/rules: Fixed a error in order to avoid unnecessary calls
4200 to autogen.sh on package building
4202 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4204 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4206 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4208 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4211 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4213 * src/hildon-picker-button.c
4214 (hildon_picker_button_finalize):
4215 Free priv->done_button_text
4217 * src/hildon-time-button.c
4218 (hildon_time_button_set_time)
4219 * src/hildon-picker-button.c
4220 (hildon_picker_button_clicked)
4221 (hildon_picker_button_selector_selection_changed)
4222 (hildon_picker_button_set_selector)
4223 * src/hildon-date-button.c
4224 (hildon_date_button_set_date):
4225 Free strings returned by hildon_touch_selector_get_current_text()
4227 * src/hildon-button.c (hildon_button_construct_child):
4228 Fix leaks in priv->image and priv->label_box
4230 Fixes: NB#90535 (Memory leak in picker button)
4232 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4234 * src/hildon-button.c: (hildon_button_get_property): Do not access
4235 private elements directly, use getters instead.
4237 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4239 * src/hildon-app-menu-private.h
4240 * src/hildon-app-menu.c
4241 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4242 Store the menu's parent window.
4244 * src/hildon-stackable-window.c
4245 (hildon_stackable_window_toggle_menu)
4246 (hildon_stackable_window_finalize):
4247 Set the menu's parent window when the menu is shown, unset it when
4250 * src/hildon-app-menu.c
4251 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4252 (hildon_app_menu_class_init):
4253 Send unhandled keyboard accelerators to the parent window.
4255 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4257 * src/hildon-stackable-window.c
4258 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4260 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4262 * configure.ac: post release version bump
4264 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4267 * configure.ac: Bump version
4268 * debian/changelog: Updates
4269 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4272 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4274 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4277 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4278 GtkMenu with Hildon style.
4280 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4282 * src/hildon-picker-button.c:
4283 (hildon_picker_button_set_done_button_text): Set the dialog's
4284 done button text here as well.
4286 Fixes: NB#90232 (Picker button does not set the label on done button
4287 for the second time)
4289 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4291 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4294 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4296 * src/hildon-app-menu.c (hildon_app_menu_insert)
4297 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4298 the HildonAppMenu to be activatable using keyboard accelerators
4299 when the menu is not being shown.
4301 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4303 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4305 * src/hildon-stackable-window.c
4306 (hildon_stackable_window_show):
4307 Don't hide old windows automatically when new windows are shown:
4308 this is now a task for the window manager.
4309 (hildon_stackable_window_class_init)
4310 (hildon_stackable_window_hide):
4311 Remove windows from the stack everytime they're hidden.
4312 (hildon_stackable_window_realize):
4313 Don't change the _NET_WM_WINDOW_TYPE property. Use
4314 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4315 it as a stackable window.
4317 * src/hildon-program.c
4318 (hildon_program_pop_window_stack):
4319 Just hide the window to remove it from the stack.
4320 (hildon_program_go_to_root_window):
4321 Don't call gtk_widget_show(), this is now a task for the window
4324 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4326 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4328 * src/hildon-button.c
4329 (hildon_button_construct_child):
4330 Don't pack anything in the button until text or image are
4331 set. This allows adding a custom child after creating the button
4332 with hildon_button_new().
4333 (hildon_button_finalize, hildon_button_class_init)
4334 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4335 alignment and the label box even when they're not packed in the
4338 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4340 * src/hildon-touch-selector.h:
4341 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4342 currently the type definition was using GTK_TYPE_VBOX
4343 * src/hildon-touch-selector.c:
4344 Added some implementation notes in order to clarify that any other widget
4345 added without the column related API will not be included on the
4346 selection logic, and how the widget is freed, as some people ask about
4348 (hildon_touch_selector_remove): Reimplemented in order to free properly
4349 the column related data when you remove the private hbox.
4350 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4351 to get a proper HildonTouchSelectorColumn documentation
4353 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4355 * src/hildon-touch-selector-entry.c:
4356 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4357 text in the GtkEntry and there is no item selected. Fixes a
4360 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4362 * src/hildon-app-menu-private.h
4363 * src/hildon-app-menu.[ch]
4364 * src/hildon-button.[ch]
4365 * src/hildon-check-button.[ch]
4366 * src/hildon-entry.[ch]
4367 * src/hildon-pannable-area.[ch]
4368 * src/hildon-text-view.[ch]:
4369 Added private field to the object's structure.
4371 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4373 * configure.ac: post-release version bump
4375 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4379 * configure.ac: pre-release version bump
4381 * debian/changelog: updates.
4383 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4385 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4386 Disconnect the handler for HildonTouchSelector::changed.
4388 (hildon_picker_button_selector_selection_changed): Update the button
4389 value if the selection change was not triggered by the
4392 (hildon_picker_button_set_selector): connect to
4393 HildonTouchSelector::changed.
4395 Fixes: NB#89650 (Picker button is not updated, when selection in
4396 selector has changed)
4398 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4400 * src/hildon-picker-dialog.c
4401 (hildon_picker_dialog_realize): Removed as not required
4402 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4403 * src/hildon-picker-button.c
4404 (_current_selector_empty): New function, checks if the selector is empty
4405 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4406 if the current selector is empty, in order to avoid to show the dialog
4407 close the dialog in this case (and shows a g_warning).
4409 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4411 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4413 * src/hildon-pannable-area.c,
4414 (hildon_pannable_area_scroll): Added clause to stop movement when
4415 the child of pannable is smaller than one page.
4416 (hildon_pannable_area_scroll_to): Added conditions to avoid
4417 starting the scrolling movement if the child is smaller than one
4418 page, the complete child is in the screen, we do not have to move.
4420 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4422 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4424 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4425 this is managed automatically by the widget when the size of the
4428 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4430 * src/hildon-picker-button.c
4431 (hildon_picker_button_set_done_button_text): Make a copy of the
4432 text, and free the previous value.
4434 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4436 * src/hildon-touch-selector-entry.c:
4437 (hildon_touch_selector_entry_print_func): Return the selected row's
4438 text if the entry is empty.
4440 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4443 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4445 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4447 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4450 * src/hildon-check-button.h
4451 * src/hildon-check-button.c
4452 * examples/hildon-check-button-example.c:
4453 HildonCheckButton is now a new widget. 'toggled' signal added.
4455 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4457 * src/hildon-program-private.h
4458 * src/hildon-program.c (hildon_program_init)
4459 (hildon_program_finalize): Removed unused variables group_leader
4460 and name from HildonProgramPrivate.
4462 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4464 * src/hildon-check-button.c (hildon_check_button_set_active)
4465 (hildon_check_button_get_active, hildon_check_button_new): Use
4466 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4468 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4470 * src/hildon-touch-selector.h
4471 (hildon_touch_selector_set_column_attributes): added deprecation
4472 guard HILDON_DISABLE_DEPRECATED
4473 * src/hildon-time-selector.c
4474 (hildon_time_selector_set_time)
4475 (hildon_time_selector_get_time): Fixed a typo on documentation
4476 * src/hildon-touch-selector.c: update HildonTouchSelector and
4477 HildonTouchSelectorColumn documentation
4478 * src/hildon-touch-selector-entry.c: update "text-column" property
4480 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4481 to be added to the general documentation.
4483 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4485 * examples/hildon-pannable-area-example-4.c,
4487 * examples/hildon-pannable-area-example.c,
4488 (main): Modified the code in order to use the container add, with
4489 viewport treeviews could have problems if they are really big.
4491 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4493 * src/hildon-weekday-picker.c,
4494 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4495 the agreement regarding deprecation in the library.
4497 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4499 * examples/hildon-picker-button-multicolumn-example.c:
4500 (main): Use custom "done" button text.
4502 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4503 (hildon_picker_button_set_property),
4504 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4505 (hildon_picker_button_init),
4506 (+hildon_picker_button_get_done_button_text),
4507 (+hildon_picker_button_set_done_button_text): New methods to customize
4508 the "done" button label in the launched HildonPickerDialog. Also,
4511 * src/hildon-picker-button.h: add the public API.
4513 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4515 * src/hildon-date-selector.h:
4516 * src/hildon-picker-dialog.h:
4517 * src/hildon-time-selector.h:
4518 * src/hildon-touch-selector-column.h:
4519 * src/hildon-touch-selector.h:
4521 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4522 declarations. Fixes gtk-doc warnings.
4524 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4526 * src/hildon-picker-dialog.h
4527 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4528 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4530 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4531 long text is set as label for done button)
4533 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4535 * src/hildon-dialog.c (hildon_dialog_add_button):
4536 Set fixed width to all buttons in the HildonDialog.
4538 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4540 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4542 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4543 Set widget name using class name plus "-finger" or "-thumb".
4545 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4547 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4548 'clicked' when the state of the button is manually changed.
4550 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4552 * src/hildon-app-menu.c (hildon_app_menu_realize)
4553 (hildon_app_menu_unrealize, hildon_app_menu_init)
4554 (hildon_app_menu_class_init, item_visibility_changed):
4555 Change the menu layout when the size of the screen changes.
4556 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4557 Show warning only when changing the number of colums using the
4560 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4562 * debian/compat: Set to 5
4563 * debian/control: Update dependencies.
4564 * debian/libhildon1-dbg.install: Remove.
4565 * debian/libhildon1-dev.install: Update according to cdbs paths.
4566 * debian/libhildon1.install: Update according to cdbs paths.
4567 * debian/rules: Switch to cdbs.
4569 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4571 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4572 'item' variable renamed to 'filter'
4574 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4576 * src/hildon-app-menu.c (hildon_app_menu_insert)
4577 (hildon_app_menu_add_filter, remove_item_from_list)
4578 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4579 Don't leak hidden items when the menu is destroyed.
4581 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4583 * src/hildon-app-menu.c (hildon_app_menu_insert)
4584 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4585 (hildon_app_menu_set_columns, item_visibility_changed)
4586 (filter_visibility_changed, hildon_app_menu_repack_filters)
4587 (hildon_app_menu_repack_items):
4588 Repack items and filters separately.
4590 Don't repack all items, change only the ones that are needed to
4593 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4595 * src/Makefile.am: added hildon-touch-selector-column.h
4597 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4599 * src/hildon-touch-selector.c: added the property "text-column" to the
4600 class HildonTouchSelectorColumn, and related get/set functions
4601 (_default_printf_func): updated to use "text-column" property
4602 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4603 "text-column" in his documentation, as this is now included on
4604 HildonTouchSelectorColumn. The get/set_property can still be used,
4605 working as a wrapper to the concrete column "text-column" property
4606 (_text_column_modified): callback added in order to handle the signal
4607 "notify::text-column" of the concrete HildonTouchSelectorColumn
4608 (hildon_touch_selector_entry_get_text_column)
4609 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4610 modified in order to use the HildonTouchSelectorColumn "text-column"
4612 * src/hildon-time-selector.c:
4613 * src/hildon-date-selector.c:
4614 * examples/hildon-touch-selector-example.c
4615 * examples/hildon-touch-selector-multi-cells-example.c
4616 * examples/hildon-picker-button-multicolumn-example.c
4617 Set the right value to "text-column" property on the creation of a new
4618 column using hildon_touch_selector_append_column()
4620 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4622 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4624 * src/hildon-app-menu.c
4625 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4626 updating the layout of the menu, don't create all widgets again,
4627 just repack the items in their new places.
4629 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4631 * src/hildon-time-selector.c
4632 (hildon_time_selector_get_time)
4633 (hildon_time_selector_set_time)
4634 Added documentation of these public methods
4636 * src/hildon-date-button.h
4637 * src/hildon-touch-selector-column.h
4638 * src/hildon-time-button.h
4639 * src/hildon-picker-dialog.h
4640 * src/hildon-time-selector.h
4641 * src/hildon-picker-button.h
4642 * src/hildon-touch-selector.h
4643 * src/hildon-time-picker.h
4644 * src/hildon-date-selector.h
4645 * src/hildon-touch-selector-entry.h
4646 Modified in order to use hildon-widgets code style
4648 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4650 Added deprecated support to the compilation process using
4651 HILDON_DISABLE_DEPRECATED
4653 * configure.ac: Added the --disable-deprecated to the configure
4656 * src/hildon-weekday-picker.c:
4657 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4658 to use the deprecated support. We will update the other deprecated
4659 widgets status in a new patch.
4661 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4663 * configure.ac: Fixed typo with fatal warnings support, the
4664 variable name was not correct
4666 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4668 * src/hildon-app-menu.c
4669 * src/hildon-program.c: Update documentation.
4671 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4673 * configure.ac: Post-release version bump.
4675 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4680 * configure.ac: Pre-release version bump.
4681 * debian/changelog: Updates.
4683 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4685 * NEWS: Update news for previous releases.
4687 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4689 * examples/hildon-touch-selector-multi-cells-example.c:
4690 (create_selector): Update the example to use
4691 hildon_touch_selector_append_column() with a NULL renderer and set
4692 the renderers later.
4693 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4694 passed a NULL renderer. This is documented behavior now.
4696 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4697 This must be used if the developer wants full control on the layout of
4698 the renderers to be added to the column.
4700 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4702 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4704 * src/hildon-touch-selector.c: Documentation fixes.
4706 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4708 * src/hildon-wizard-dialog-private.h: Remove image and box.
4709 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4710 (hildon_wizard_dialog_set_property), (response): Completely remove
4711 image/icon support, and the containers required for the layout.
4713 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4715 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4717 * src/hildon-app-menu.c: Updated documentation.
4719 * src/hildon-stackable-window.c
4720 (hildon_stackable_window_set_main_menu): Unref the old menu after
4721 ref'ing the new one.
4723 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4725 * src/hildon-stackable-window.c
4726 (hildon_stackable_window_set_main_menu): Unref the previous menu
4727 instead of destroying it.
4729 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4730 floating reference and set has_user_ref_count to FALSE to make
4731 HildonAppMenu act like a normal ref-counted widget and not a
4734 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4737 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4739 * src/hildon-touch-selector-column.h: new file
4740 * src/hildon-touch-selector.h
4741 * src/hildon-touch-selector.c
4742 Implemented GtkCellLayout interface, in order to allow to configure
4743 the cell layout on each individual selector column
4744 (hildon_touch_selector_set_column_attributes): marked as deprecated
4745 * examples/hildon-touch-selector-multi-cells-example.c
4746 Example of how to use the GtkCellLayout interface on the selector
4748 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4750 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4752 * src/hildon-app-menu.h
4753 * src/hildon-app-menu.c
4754 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4755 (hildon_app_menu_append, hildon_app_menu_prepend):
4756 New methods to prepend, insert and move items in the menu.
4758 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4760 * src/hildon-wizard-dialog.c:
4762 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4764 (create_title): Update logical IDs and related code.
4765 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4767 * src/hildon-wizard-dialog.h: Note that
4768 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4769 point, as it is not used anymore.
4771 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4773 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4775 * src/hildon-note.c:
4776 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4777 shown. Do not display an icon in confirmation notes nor information
4779 (hildon_note_set_button_text): Update logical ID for cancel button.
4781 Fixes: NB#88850 (Update HildonNote button strings + signals)
4783 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4785 * src/hildon-stackable-window.c
4786 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4788 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4790 * src/hildon-app-menu-private.h
4791 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4792 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4793 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4794 temporary property 'columns' to change the number of columns.
4796 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4798 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4800 * examples/hildon-note-example.c: (on_information_clicked),
4801 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4802 debugging information.
4803 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4805 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4806 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4807 in order to close: this will be handled by the WM from now on.
4809 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4811 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4813 * src/hildon-app-menu-private.h
4814 * src/hildon-app-menu.c
4815 (hildon_app_menu_append, hildon_app_menu_add_filter)
4816 (button_visibility_changed, hildon_app_menu_apply_style)
4817 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4818 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4819 layout everytime a button (item or filter) is shown or hidden.
4821 * src/hildon-stackable-window.c
4822 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4825 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4827 * src/hildon-touch-selector.c:
4828 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4829 that the treeview inside the touch selector is in fremantle hildon mode
4830 * examples/hildon-date-button-example.c
4831 * examples/hildon-picker-button-multicolumn-example.c
4832 * examples/hildon-touch-selector-entry-example.c
4833 * examples/hildon-touch-selector-example.c
4834 * examples/hildon-time-button-example.c
4835 * examples/hildon-picker-button-example.c:
4836 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4838 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4840 * examples/hildon-text-view-example.c: (main): Remove the
4841 gtkrc bits, now handled by the theme.
4843 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4845 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4848 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4850 * po/Makefile.am: Install properly the mo files.
4851 * po/en_GB.po: Update translation, to ease testing purposes.
4853 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4855 * examples/hildon-picker-button-example.c: (main): Select an item
4856 in the selector before setting it to the button.
4858 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4860 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4861 Update button's value if the selector has an item active.
4863 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4864 'value' with the selector)
4866 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4868 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4869 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4870 (hildon_picker_button_class_init): Plug the finalize method.
4871 (hildon_picker_button_set_selector): If there's a previously set
4872 selector, unref'it before setting a new one.
4874 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4875 HildonTouchSelector)
4877 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4879 * src/hildon-touch-selector-entry.c:
4880 (hildon_touch_selector_entry_changed): Check if there is no text
4881 selected before setting the entry text.
4884 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4886 * src/hildon-touch-selector.h
4887 * src/hildon-touch-selector.c
4888 (hildon_touch_selector_get_active)
4889 (hildon_touch_selector_set_active): New methods to set/get the
4890 index of the selected item.
4892 * src/hildon-picker-button.h
4893 * src/hildon-picker-button.c
4894 (hildon_picker_button_get_active)
4895 (hildon_picker_button_set_active): New methods to set/get the
4896 index of the selected item.
4898 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4900 * configure.ac: post-release version bump.
4902 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4906 * configure.ac: Pre-release version bump.
4907 * debian/changelog: Updates.
4908 * debian/control: Add myself as maintainer and depend on l10n
4911 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4913 * src/hildon-window.c
4914 (hildon_window_set_main_menu)
4915 * src/hildon-stackable-window.c
4916 (hildon_stackable_window_set_main_menu):
4917 Updated documentation.
4919 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4921 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4922 Don't free selector->priv manually.
4925 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4928 (hildon_gtk_window_set_progress_indicator):
4929 * src/hildon-gtk.h: Added the new API
4930 hildon_gtk_window_set_progress_indicator, it changes the state of
4931 the window progress hint.
4933 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4935 * src/hildon-button.c
4936 * src/hildon-stackable-window.c: Minor documentation updates.
4938 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4940 * src/hildon-stackable-window.c: Updated documentation.
4942 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4944 * src/hildon-defines.h: Update margins definitions
4945 to the Fremantle sizes.
4948 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4950 * src/hildon-touch-selector.c,
4951 (_hildon_touch_selector_set_model): Cleaning the code after
4952 review, removed g_print and #if 0 from the code.
4954 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4956 * src/hildon-edit-toolbar.c: Update documentation.
4958 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4960 * src/hildon-check-button.h
4961 * src/hildon-check-button.c
4962 (hildon_check_button_set_label, hildon_check_button_get_label)
4963 * examples/hildon-check-button-example.c
4964 (button_clicked_cb):
4965 Removed deprecated methods.
4967 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4969 * src/hildon-text-view.c:
4970 Add sample code to the documentation.
4972 * src/hildon-entry.h
4973 * src/hildon-text-view.h:
4974 Minor cosmetic changes.
4976 * src/hildon-entry.c:
4977 Add sample code to the documentation.
4978 (hildon_entry_init, hildon_entry_refresh_contents):
4979 Don't allow NULL values in the placeholder.
4981 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4983 * doc/hildon-docs.sgml
4985 * examples/Makefile.am
4986 * examples/hildon-text-view-example.c
4988 * src/hildon-text-view.c
4989 * src/hildon-text-view.h
4991 New HildonTextView widget, with example.
4993 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4995 * po/POTFILES.in: Add missing files with translatable strings.
4996 Partially fixes NB#88287.
4998 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5000 * examples/hildon-pannable-area-example-2.c: (main): No need to
5001 set the cellrenderer height inside hildon touch lists, the theme does
5004 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5006 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5007 they are integrated in the theme.
5009 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5011 * examples/hildon-entry-example.c: Update the example adding
5012 widgets to modify the text and the placeholder of the HildonEntry.
5014 * src/hildon-entry.c: Show the placeholder everytime the widget
5015 is empty and loses the focus.
5017 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5019 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5021 * src/hildon-pannable-area.c,
5022 (hildon_pannable_area_size_request): Fixed bug in height
5023 requisition, avoid increasing size and add border twice.
5025 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5027 * configure.ac: postrelease version bump.
5029 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5033 * configure.ac: Prerelease version bump.
5034 * debian/changelog: update.
5035 * debian/rules: make -dbg package contain useful debugging symbols.
5037 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5039 * src/hildon-dialog.h
5040 * src/hildon-dialog.c
5041 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5042 New methods to add buttons with finger size.
5043 (hildon_dialog_new_with_buttons):
5044 Create buttons with finger size.
5046 * examples/hildon-dialog-example.c (main): Use HildonDialog
5047 methods to add buttons.
5049 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5051 * src/hildon-entry.c: Updated HildonButton documentation.
5053 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5055 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5056 button value label with (FALSE, FALSE) to prevent NB#88126 from
5059 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5061 * examples/hildon-pannable-area-example.c,
5062 (main): Removed examples panning a vbox inside a pannable
5063 area. Check bug NB#87965
5065 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5067 Patch contributed by Kris Rietveld (kris@imendio.com)
5069 * src/hildon-pannable-area.c,
5070 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5071 get_size and get_position, this saves an X server roundtrip.
5073 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5075 * doc/hildon-docs.sgml
5077 * examples/Makefile.am
5078 * examples/hildon-entry-example.c
5080 * src/hildon-entry.c
5081 * src/hildon-entry.h
5083 New HildonEntry widget, with example.
5085 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5087 * src/hildon-button.c (hildon_button_construct_child): Pack the
5088 image with expand == fill == FALSE. This is a workaround for a bug
5091 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5093 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5094 labels for the text column, to make it more look more dynamic.
5096 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5098 * src/hildon-time-selector.c
5099 Define gettext auxiliar macro N_
5100 (_create_minutes_model)
5101 (_create_hours_model)
5102 (_create_ampm_model): use of strftime in order to fill the model
5103 * src/hildon-date-selector.c
5104 (hildon_date_selector_finalize):
5105 (_locales_init): remove the logic related to get the name of the months
5106 using nl_langinfo, as it is not required anymore
5108 (_create_year_model)
5109 (_create_month_model)
5110 (_update_day_model): use of strftime in order to fill the model properly
5113 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5115 * src/hildon-button.h
5116 * src/hildon-button.c (hildon_button_get_image): New method to
5119 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5121 * src/hildon-touch-selector.c:
5122 (hildon_touch_selector_remove_column): Remove from the correct parent
5123 and also remove the list element and free it.
5126 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5128 * src/hildon-time-selector.c
5129 (_create_hours_model): change the range on 12h ampm format in order to use
5130 a 12-11 range instead of previous 01-12 range
5131 (hildon_time_selector_set_time): change the way to select the current time
5132 on 12h ampm format, due the change on the range
5133 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5136 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5138 * src/hildon-touch-selector.c
5139 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5140 in order to allow use this function on multiple row selection mode if
5141 the column is different that the first one
5144 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5146 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5147 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5149 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5151 * src/hildon-date-selector.h: clean some comments, now on the .c
5152 * src/hildon-date-selector.c
5153 (hildon_date_selector_select_month): first implementation
5154 (hildon_date_selector_select_day): added documentation, reimplemented
5155 using hildon_date_selector_select_current_date to avoid repeat code
5158 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5160 Reviewed interaction logic based on device experiences, refactored
5163 * src/hildon-pannable-area.c,
5164 (hildon_pannable_area_class_init): Updated default vmax speed.
5165 (hildon_pannable_area_calculate_velocity): Added this function, it
5166 avoids duplicate valocity calculation. Adjusted calculation to
5167 avoid problems with zero dist events.
5169 (hildon_pannable_area_motion_notify_cb): Now we use the
5170 calculate_velocity function.
5172 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5174 * src/hildon-date-selector.c
5175 (hildon_date_selector_select_current_date): fix the day range check
5176 as it failed using the last day of the current month
5179 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5181 * src/hildon-touch-selector.c
5182 (hildon_touch_selector_get_num_columns): added a parameter validation
5185 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5187 * examples/Makefile.am
5188 * examples/hildon-edit-toolbar-example.c: Example of the
5189 HildonEditToolbar widget.
5191 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5193 * configure.ac: postrelease version bump.
5195 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5199 * configure.ac: prerelease version bump.
5200 * debian/changelog: update.
5202 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5204 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5205 renderer to display stock icons in the touch list. Also, set the sizes
5206 to the recommended in the style guide.
5208 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5209 * src/hildon-touch-selector.h
5210 (hildon_touch_selector_set_active_iter): renamed, now is
5211 hildon_touch_selector_select_iter
5212 (hildon_touch_selector_get_active_iter): renamed, now is
5213 hildon_touch_selector_get_selected
5214 (hildon_touch_selector_unselect_iter): added
5215 * src/hildon-touch-selector.c
5216 Update after API modification (methods renamed)
5217 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5218 order to avoid problems selecting multiple elements on the column
5219 (hildon_touch_selector_unselect_iter): added the implementation
5220 * src/hildon-time-selector.c
5221 * src/hildon-date-selector.c
5222 * src/hildon-touch-selector-entry.c
5223 Update methods calls after hildon-touch-selector.h API modification (methods
5226 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5228 * src/hildon-stackable-window.c
5229 (hildon_stackable_window_finalize): Call the parent class's finalize.
5231 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5233 * examples/hildon-touch-selector-example.c: (create_selector): Use
5234 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5237 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5239 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5240 set a cell background color, to respect theming.
5242 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5244 * doc/hildon-docs.sgml
5247 * src/hildon-edit-toolbar.c
5248 * src/hildon-edit-toolbar.h
5249 * src/hildon.h: New HildonEditToolbar widget.
5251 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5253 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5256 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5257 * src/hildon-touch-selector.c
5258 (_create_new_column): use g_object_set instead of two g_object_set_property
5260 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5261 * src/hildon-touch-selector.c
5262 (_create_new_column): use of hildon_gtk_tree_view_new to create
5263 the treeview, instead of use directly g_object_new
5264 (_create_new_column): update the property name "vindicator-mode" for the
5265 new one "vscrollbar-policy"
5266 * examples/hildon-date-button-example.c
5267 * examples/hildon-picker-button-multicolumn-example.c
5268 * examples/hildon-touch-selector-entry-example.c
5269 * examples/hildon-touch-selector-example.c
5270 * examples/hildon-time-button-example.c
5271 * examples/hildon-picker-button-example.c
5272 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5273 to all the treeviews inside a pannable area.
5275 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5277 * src/hildon-button.h
5278 * src/hildon-button.c (hildon_button_init)
5279 (hildon_button_set_arrangement, hildon_button_set_alignment)
5280 (hildon_button_set_title_alignment)
5281 (hildon_button_set_value_alignment)
5282 (hildon_button_set_image_alignment)
5283 (hildon_button_construct_child): New methods to set the alignment
5284 of the individual components of the button (title, value,
5285 image). Also, new method to alter the xscale and yscale properties
5286 of the GtkAlignment inside the button, so more complex layouts can
5289 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5291 * src/hildon-button.c (hildon_button_style_set)
5292 (hildon_button_class_init, hildon_button_set_arrangement)
5293 (hildon_button_construct_child): Apply style properties
5294 correctly. Use the 'image-spacing' style property too.
5296 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5298 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5299 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5302 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5304 * src/hildon-pannable-area.c,
5305 (hildon_pannable_area_size_request): Fixed problem with
5306 pannable-area size_request.
5308 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5310 Added management for the grab-focus to a child widget, like a
5311 range, we need to fade out the scrollbar when releasing.
5313 * src/hildon-pannable-area.c,
5314 (hildon_pannable_area_init): Connected the grab-focus signal to
5316 (hildon_pannable_area_grab_notify): Added this function in order
5317 to manage the situation when the grab-focus ends. We have to
5318 fade-out the scrollbar.
5320 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5322 * src/hildon-app-menu.c: Minor documentation update.
5324 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5326 * src/hildon-app-menu.c
5327 * examples/hildon-app-menu-example.c (create_menu): Update
5328 examples and documentation to explain how to connect callbacks.
5330 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5332 * examples/hildon-button-example.c
5333 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5334 hildon_stackable_window_new instead of gtk_window_new
5336 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5338 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5339 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5340 (hildon_pannable_area_set_property),
5341 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5342 (hildon_pannable_area_unrealize),
5343 (hildon_pannable_area_size_request),
5344 (hildon_pannable_area_size_allocate),
5345 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5346 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5347 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5348 (hildon_pannable_area_initial_effect),
5349 (hildon_pannable_area_redraw),
5350 (hildon_pannable_area_scroll_indicator_fade),
5351 (hildon_pannable_area_expose_event),
5352 (hildon_pannable_area_get_topmost), (synth_crossing),
5353 (hildon_pannable_area_button_press_cb),
5354 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5355 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5356 (hildon_pannable_area_motion_notify_cb),
5357 (hildon_pannable_area_button_release_cb),
5358 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5359 (hildon_pannable_area_remove),
5360 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5361 chage the code layout to a more GtkWidget like. Review the use of
5364 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5366 * examples/hildon-pannable-area-example-4.c,
5367 (main): Modified the name of the hindicator_mode to
5370 * src/hildon-pannable-area.c,
5371 (hildon_pannable_area_class_init),
5372 (hildon_pannable_area_motion_notify_cb),
5373 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5374 we have reduced the amount of signals and managed reviewed its
5375 rationale. Changed the default decelerate value.
5377 (hildon_pannable_area_add),
5378 (hildon_pannable_area_redraw): Refactored functions.
5380 (hildon_pannable_area_init),
5381 (hildon_pannable_area_get_property),
5382 (hildon_pannable_area_set_property):
5383 (hildon_pannable_draw_vscroll),
5384 (hildon_pannable_draw_hscroll),
5385 (hildon_pannable_area_initial_effect),
5386 (hildon_pannable_area_expose_event),
5387 (hildon_pannable_area_scroll),
5388 (hildon_pannable_area_button_press_cb),
5389 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5390 and vindicator_mode with hscrollbar_policy and
5391 vscrollbar_policy. Replaced hscroll and vscroll with
5392 hscroll_visible and vscroll_visible.
5394 (hildon_pannable_area_refresh): Refactor the function, remove
5395 variables and check the calls to this function, added resize
5396 conditions in case the children change their layout.
5398 (hildon_pannable_area_size_request): Added more detailed
5399 size_request calculation.
5402 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5404 * src/hildon-color-chooser.c
5405 (init_borders): use the correct gtk_border_free instead of g_free, to
5406 avoid a crash when this widget is used (ie: the three color selection
5409 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5411 * src/hildon-check-button.c,
5412 (hildon_check_button_set_active): Fixed problem when setting the
5413 active value, the widget was not redrawn.
5415 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5417 * src/hildon-pannable-area.c,
5418 (hildon_pannable_area_refresh),
5419 (hildon_pannable_area_scroll),
5420 (hildon_pannable_area_motion_notify_cb): Small code style change.
5422 (hildon_pannable_area_class_init): Default initial_hint set to
5423 FALSE, it is not in the specs.
5425 (hildon_pannable_area_initial_effect),
5426 (hildon_pannable_area_expose_event),
5427 (hildon_pannable_area_map),
5428 (hildon_pannable_area_init): Moved the launching point of the
5429 initial effect, it was in map but the sizes where not correct in
5430 that method so we do not know if we have the reproduce it. Now it
5431 is placed in the expose_event method and uses a variable to
5432 reproduce it just once.
5434 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5436 * src/hildon-pannable-area.c,
5437 (hildon_pannable_draw_vscroll),
5438 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5439 position allowed for the scrollbars.
5441 (hildon_pannable_area_size_allocate): Small style change.
5443 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5445 * src/hildon-pannable-area.c,
5446 (hildon_pannable_area_scroll_indicator_fade),
5447 (hildon_pannable_area_button_press_cb),
5448 (hildon_pannable_area_button_release_cb),
5449 (hildon_pannable_area_scroll_cb),
5450 (hildon_pannable_area_expose_event),
5451 (hildon_pannable_area_init): Added the define parameter
5452 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5453 and refactor the fade variable.
5455 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5457 * src/hildon-pannable-area.c,
5458 (hildon_pannable_area_redraw),
5459 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5460 lines, we were reimplemeting the redraw code.
5462 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5464 * src/hildon-pannable-area.c,
5465 (hildon_pannable_area_scroll_cb),
5466 (hildon_pannable_area_realize),
5467 (hildon_pannable_area_class_init): Added scroll_event management
5468 for pannable area, now we can scroll the usual desktop method.
5470 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5471 initialization of the parameters should depend on idle_id.
5473 (hildon_pannable_area_init),
5474 (hildon_pannable_area_map): Small code style modifications
5476 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5478 * src/hildon-pannable-area.c
5479 (hildon_pannable_area_button_press_cb),
5480 (hildon_pannable_area_motion_notify_cb),
5481 (hildon_pannable_area_button_release_cb),
5482 (hildon_pannable_area_size_allocate),
5483 (hildon_pannable_area_scroll_to): Improved the timeouts
5484 management, we avoid creating them each time.
5486 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5488 * src/hildon-pannable-area.c:
5489 (hildon_pannable_area_refresh),
5490 (hildon_pannable_area_motion_notify_cb),
5491 (hildon_pannable_area_class_init):
5492 * src/hildon-pannable-area.h:
5493 * src/hildon-touch-selector.c
5494 (_create_new_column):
5495 * examples/hildon-pannable-area-example-4.c:
5496 (horizontal_movement),
5497 (vertical_movement),
5499 Replaced the names of enums in the HildonPannableArea:
5500 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5501 HILDON_MOVEMENT_MODE_*
5502 - HILDON_PANNABLE_AREA_MOV_* ->
5504 - Removed HildonPannableAreaIndicatorMode, now we
5507 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5509 * examples/hildon-pannable-area-touch-grid-example.c
5510 * examples/hildon-pannable-area-touch-list-example.c: Fix
5511 compilation warnings.
5513 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5515 * src/hildon-gtk.c (hildon_gtk_button_new)
5516 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5517 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5518 images overriding the value of the "gtk-button-images" setting.
5520 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5522 * src/hildon-check-button.c (hildon_check_button_new):
5523 Instead of using a custom container, display the label and the
5524 checkbox using the standard GtkButton API.
5526 * examples/hildon-check-button-example.c (main): Don't use
5527 hildon_check_button_set_label() anymore
5529 * src/hildon-check-button.h
5530 * src/hildon-check-button.c
5531 (hildon_check_button_set_label, hildon_check_button_get_label):
5532 Set as deprecated, now we're using gtk_button_{get,set}_label()
5534 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5536 * src/hildon-pannable-area.c,
5537 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5538 GtkTreeview first line we detected it after the inclusion of the
5539 GtkWindowImpl in gtk+. We now check if the window is visible, not
5540 just if the pointer is over the window.
5541 (hildon_pannable_axis_scroll),
5542 (hildon_pannable_area_expose_event): Small style changes.
5544 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5546 * src/hildon-button.c: Update documentation.
5548 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5550 * examples/hildon-button-example.c: Add a switch to show images in
5553 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5555 * doc/hildon-docs.sgml: Some docs reorganization.
5557 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5559 * examples/hildon-pannable-area-touch-list-example.c
5561 * examples/hildon-pannable-area-touch-grid-example.c
5562 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5563 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5564 Fix memory leak when setting the tree model.
5566 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5570 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5572 * doc/hildon.types: Remove duplicated hildon_window_get_type
5573 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5574 documentation comment.
5576 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5578 * doc/Makefile.am: Complete list of private headers.
5580 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5582 * doc/hildon-docs.sgml
5583 * src/hildon-app-menu.c
5584 * src/hildon-bread-crumb.c
5585 * src/hildon-button.c
5587 * src/hildon-program.c
5588 * src/hildon-stackable-window.c
5589 * src/hildon-window.c: Lots of documentation updates.
5591 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5593 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5595 * configure.ac: Require Gtk+ 2.12.9 at least
5597 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5599 * src/hildon-pannable-area.c
5600 (hildon_pannable_area_scroll_indicator_fade),
5601 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5602 to protect the return of this timeout callbacks, avoiding deadlocks.
5604 2008-08-12 Christian Dywan <christian@imendio.com>
5607 * src/hildon-*.h: Ensure a consistent include order,
5608 include <gtk/gtk.h> instead of particular files and
5609 only include the topmost header in the gtk stack. See NB #39857
5611 2008-08-12 Christian Dywan <christian@imendio.com>
5613 * src/hildon-picker-dialog.c
5614 * src/hildon-touch-selector.c: Fix warnings about unused and
5615 uninitialized variables.
5617 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5619 * examples/Makefile.am
5620 * examples/hildon-check-button-example.c: Example of the hildon
5623 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5625 * src/hildon-window.h
5626 * src/hildon-window.c (hildon_window_class_init)
5627 (hildon_window_unset_program): Don't make
5628 hildon_window_unset_program a virtual function anymore.
5630 * src/hildon-stackable-window.c: Update documentation
5632 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5635 * doc/hildon-docs.sgml
5636 * doc/visual_index.xml
5637 * src/hildon-defines.c
5639 * src/hildon-helper.c
5640 * src/hildon-range-editor.c: Lots of documentation fixes.
5642 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5644 * examples/hildon-picker-button-multicolumn-example.c
5645 (create_touch_selector): Fix compilation warning.
5647 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5649 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5650 (hildon_pannable_area_button_release_cb)
5651 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5653 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5655 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5658 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5660 * src/hildon-bread-crumb-trail.h
5661 * src/hildon-date-editor.c
5662 * src/hildon-date-selector.c
5663 * src/hildon-pannable-area.c
5664 * src/hildon-picker-dialog.c
5665 * src/hildon-time-selector.c
5666 * src/hildon-touch-selector-entry.c
5667 * src/hildon-touch-selector.c
5668 * src/hildon-touch-selector.h: Misc documentation fixes
5670 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5672 * examples/hildon-date-editor-example.c (main): Updated date
5675 * examples/hildon-note-example.c (on_confirmation_clicked):
5676 Updated confirmation note example.
5678 * src/hildon-date-editor.c
5679 * src/hildon-note.c: Updated sample programs in documentation.
5682 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5684 * src/hildon-date-button.h:
5685 * src/hildon-picker-button.h:
5686 * src/hildon-time-button.c:
5687 * src/hildon-time-button.h:
5689 Some declarations changes to allow gtk-doc to document the widgets
5692 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5694 * src/hildon-date-button.c: Document the widget.
5695 * src/hildon-time-button.c: Document the widget.
5697 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5699 * src/hildon-picker-button.c: Document the widget.
5700 * src/hildon-touch-selector-entry.c: Document the widget.
5702 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5704 * doc/hildon-docs.sgml
5707 * src/hildon-check-button.h
5708 * src/hildon-check-button.c: New functions to create the Hildon
5712 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5714 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5716 * src/hildon-button.h
5717 * src/hildon-button.c
5718 (hildon_button_add_title_size_group)
5719 (hildon_button_add_value_size_group)
5720 (hildon_button_add_image_size_group)
5721 (hildon_button_add_size_groups): New functions to set size groups
5722 for the button labels and image.
5723 (hildon_button_new_full): Removed
5725 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5727 * src/hildon-time-selector.c
5728 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5729 in order to avoid a crash if gconf is not available
5731 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5733 * src/hildon-button.c (hildon_button_set_arrangement)
5734 (hildon_button_construct_child): Don't construct the button child
5735 before setting the arrangement.
5737 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5739 * src/hildon-program-private.h
5740 * src/hildon-program.c
5741 * src/hildon-program.h
5742 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5743 (hildon_program_peek_window_stack)
5744 (hildon_program_pop_window_stack)
5745 (hildon_program_go_to_root_window): HildonProgram now has a
5746 separate list for stackable windows. Functions are provided to
5747 manage that list with a stack-like API.
5749 * src/hildon-stackable-window.c: Stackable window management is
5750 now much simpler with the new HildonProgram API. Windows no
5751 longer need to be manually added to the program, they're
5752 automatically pushed to the top of the stack when shown.
5754 * examples/hildon-stackable-window-example.c: Updated example to
5755 reflect the API changes.
5757 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5759 * src/hildon-touch-selector.c: Comment out unimplemented
5760 hildon_touch_selector_insert_column() to avoid a compile warning.
5762 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5764 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5765 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5766 (hildon_touch_selector_set_column_selection_mode),
5767 (_hildon_touch_selector_set_model),
5768 (hildon_touch_selector_set_model):
5770 Complete review of HildonTouchSelector documentation.
5772 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5774 * doc/hildon-docs.sgml
5778 * src/hildon-gtk.c: Convenience functions for standard Gtk
5779 widgets, used to easily perform frequent operations.
5781 * src/hildon-button-helpers.h
5782 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5784 * src/hildon-helper.h
5785 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5786 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5788 * src/hildon-button.h
5789 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5791 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5793 * src/hildon-button.c (hildon_button_init)
5794 (hildon_button_set_arrangement, hildon_button_construct_child):
5795 Pack the image and the labels inside the same GtkAlignment so
5796 gtk_button_set_alignment() can be used
5798 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5800 * src/hildon-button.h
5801 * src/hildon-button.c
5802 (hildon_button_init, hildon_button_set_image)
5803 (hildon_button_set_image_position)
5804 (hildon_button_construct_child): New functions to add an image to
5807 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5809 * src/hildon-date-button.c
5810 * src/hildon-picker-button.c
5811 * src/hildon-time-button.c
5812 * src/hildon-button.c:
5813 (hildon_button_class_init): "size-flags" renamed to "size"
5814 (hildon_button_set_title): Hide the title label if set to NULL.
5816 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5818 HildonButtonFlags split into HildonButtonArrangement (to set the
5819 button layout) and HildonSizeType (which can be used for any
5822 * src/hildon-button.h
5823 * src/hildon-button.c
5824 (hildon_button_class_init)
5825 (hildon_button_set_arrangement)
5826 (hildon_button_set_property): New "size-flags"
5827 property. "arrangement-flags" renamed to "arrangement".
5828 (hildon_button_new, hildon_button_new_with_text)
5829 (hildon_button_new_full): Constructors updated to reflect type changes.
5831 * src/hildon-helper.h
5832 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5833 to set the size of a widget.
5837 * src/hildon-button-helpers.c
5838 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5840 * src/hildon-date-button.c
5841 * src/hildon-date-button.h
5842 * src/hildon-picker-button.c
5843 * src/hildon-picker-button.h
5844 * src/hildon-time-button.c
5845 * src/hildon-time-button.h: Updated widgets to reflect
5846 HildonButton API changes.
5848 * examples/hildon-button-example.c
5849 * examples/hildon-date-button-example.c
5850 * examples/hildon-picker-button-example.c
5851 * examples/hildon-picker-button-multicolumn-example.c
5852 * examples/hildon-time-button-example.c
5853 * examples/hildon-touch-selector-entry-example.c
5854 * examples/hildon-touch-selector-example.c: Updated examples to
5855 reflect HildonButton API changes.
5857 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5859 * doc/hildon-docs.sgml:
5861 * examples/Makefile.am:
5862 * examples/hildon-touch-selector-entry-example.c:
5864 * src/hildon-touch-selector-entry.c:
5865 * src/hildon-touch-selector-entry.h:
5868 Moved HildonTouchSelectorEntry from sandbox. Added its
5869 documentation and examples.
5871 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5873 * src/hildon-touch-selector.h:
5874 * examples/hildon-picker-button-multicolumn-example.c:
5875 (hildon_touch_selector_append_text_column): Add a gboolean
5876 parameter to determine if text must be centered in the column.
5878 * src/hildon-date-selector.c: (hildon_date_selector_init):
5879 * src/hildon-time-selector.c: (hildon_time_selector_init):
5880 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5881 (create_touch_selector): Update widgets and example to reflect
5884 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5886 * src/hildon-touch-selector.c:
5887 (hildon_touch_selector_set_active_iter): Set also the cursor in
5890 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5892 * doc/hildon-docs.sgml
5895 * src/hildon-toggle-button.c
5896 * src/hildon-toggle-button.h
5897 * src/hildon.h: Removed HildonToggleButton widget, a derived
5898 class is not necessary for this.
5900 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5902 * src/hildon-pannable-area.c,
5903 (hildon_pannable_area_realize),
5904 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5907 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5909 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5910 "done" button the default widget for the dialog.
5912 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5914 * src/hildon-touch-selector.c:
5915 (hildon_touch_selector_class_init),
5916 (hildon_touch_selector_get_property),
5917 (_hildon_touch_selector_set_model),
5918 (_hildon_touch_selector_has_multiple_selection),
5919 (hildon_touch_selector_has_multiple_selection):
5920 Add a "has-multiple-selection" property with a virtual
5921 has_multiple_selection() method to allow derived classes to
5922 override the default value for it. See the method and property
5923 documentation for details.
5925 * src/hildon-touch-selector.h: Add the new API.
5927 * src/hildon-picker-dialog.c: (requires_done_button): Call
5928 hildon_touch_selector_has_multiple_selection() instead of
5929 determining the need for a button itself.
5931 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5933 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5934 (_hildon_touch_selector_set_model),
5935 (hildon_touch_selector_set_model): Move working code to
5936 _hildon_touch_selector_set_mode(). Call the class method instead.
5938 * src/hildon-touch-selector.h: Add (*set_model) to
5939 HildonTouchSelectorClass.
5941 Make hildon_touch_selector_set_model() a virtual method, so that
5942 derived classes can extend it and do fancy stuff with the model.
5944 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5946 * configure.ac: Set back the tarname in AC_INIT to hildon.
5948 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5952 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5953 instead of libesd (NB#86876). Volume handling is still an open issue.
5955 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5958 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5960 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5961 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5962 derived class to ease placement of an entry widget in
5963 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5964 end, where the selector columns are packed now.
5966 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5968 * src/hildon-picker-button.c: Removed the simple _text() API.
5969 * src/hildon-picker-button.h: Likewise.
5971 * src/hildon-touch-selector.h:
5972 * src/hildon-touch-selector.c:
5973 (hildon_touch_selector_new_text),
5974 (hildon_touch_selector_append_text),
5975 (hildon_touch_selector_prepend_text),
5976 (hildon_touch_selector_insert_text):
5978 Moved the simple _text() API from HildonPickerButton to
5979 HildonTouchPicker, to provide better escalability and not to tie
5980 that API to HildonPickerButton.
5982 * examples/hildon-picker-button-example.c: (main): Example updated.
5984 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5986 * src/hildon-button.c: Updated documentation.
5988 * examples/hildon-button-example.c: Add the posibility to create
5989 the buttons using horizontal layout for title and value.
5991 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5993 * src/hildon-app-menu-private.h
5994 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5995 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5996 GtkSizeGroup for the filters, use the 'homogeneous' property of
5999 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6001 * examples/hildon-button-example.c: Updated example.
6003 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6005 * doc/hildon-docs.sgml:
6008 Update documentation.
6010 * examples/Makefile.am: Update renamed examples.
6012 * examples/hildon-picker-button-multicolumn-example.c:
6013 (create_touch_selector), (main): Update after the rename.
6015 * examples/hildon-touch-picker-example.c: Removed.
6016 * examples/hildon-touch-selector-example.c: (value_changed),
6017 (create_selector), (get_visible_content), (main): Renamed from
6018 hildon-touch-picker-example.c
6020 * src/Makefile.am: Updated renamed files.
6022 * src/hildon-date-button.c: (hildon_date_button_init),
6023 (hildon_date_button_get_date), (hildon_date_button_set_date):
6024 * src/hildon-date-selector.c: (hildon_date_selector_init),
6025 (_custom_print_func), (_update_day_model),
6026 (_manage_selector_change_cb),
6027 (hildon_date_selector_select_current_date),
6028 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6029 * src/hildon-date-selector.h:
6030 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6031 (hildon_picker_button_set_property),
6032 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6033 (hildon_picker_button_init), (hildon_picker_button_new_text),
6034 (hildon_picker_button_append_text),
6035 (hildon_picker_button_prepend_text),
6036 (hildon_picker_button_insert_text),
6037 (hildon_picker_button_set_selector),
6038 (hildon_picker_button_get_selector):
6039 * src/hildon-picker-button.h:
6040 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6041 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6042 (_update_title_on_selector_changed_cb), (requires_done_button),
6043 (_hildon_picker_dialog_set_selector),
6044 (hildon_picker_dialog_set_selector),
6045 (hildon_picker_dialog_get_selector):
6046 * src/hildon-picker-dialog.h:
6047 * src/hildon-time-button.c: (hildon_time_button_init),
6048 (hildon_time_button_get_time), (hildon_time_button_set_time):
6049 * src/hildon-time-selector.c: (hildon_time_selector_init),
6050 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6051 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6052 * src/hildon-time-selector.h:
6055 Massive code updates after the rename.
6057 * src/hildon-touch-picker.c: Removed.
6058 * src/hildon-touch-picker.h: Removed.
6060 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6061 (hildon_touch_selector_init), (hildon_touch_selector_map),
6062 (hildon_touch_selector_remove), (_default_print_func),
6063 (_selection_changed_cb), (_create_new_column),
6064 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6065 (hildon_touch_selector_append_text_column),
6066 (hildon_touch_selector_remove_column),
6067 (hildon_touch_selector_set_column_attributes),
6068 (hildon_touch_selector_insert_column),
6069 (hildon_touch_selector_get_num_columns),
6070 (hildon_touch_selector_get_column_selection_mode),
6071 (hildon_touch_selector_set_column_selection_mode),
6072 (hildon_touch_selector_set_print_func),
6073 (hildon_touch_selector_get_print_func),
6074 (hildon_touch_selector_get_active_iter),
6075 (hildon_touch_selector_set_active_iter),
6076 (hildon_touch_selector_get_selected_rows),
6077 (hildon_touch_selector_get_model),
6078 (hildon_touch_selector_set_model),
6079 (hildon_touch_selector_get_current_text),
6080 (_hildon_touch_selector_center_on_selected_items):
6081 * src/hildon-touch-selector.h: Renamed from
6082 hildon-touch-picker.[ch]
6084 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6085 references, code examples, and related documentation.
6087 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6089 * doc/hildon-docs.sgml
6092 * src/hildon-toggle-button.c
6093 * src/hildon-toggle-button.h
6094 * src/hildon.h: New HildonToggleButton widget.
6096 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6098 * src/hildon-button.c: Add API documentation.
6099 (hildon_button_set_size_groups): Check input parameters
6101 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6103 * src/hildon-pannable-area.c
6104 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6105 effect after reaching the movement thredshold. This way we start
6106 using the distance after passing the thredshold.
6108 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6110 * src/hildon-button.c: (hildon_button_set_property): Use the
6111 appropriate g_value_get_flags() method.
6113 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6115 * doc/hildon-docs.sgml:
6118 Add the touch pickers, picker dialogs, and picker button widgets
6119 to the documentation.
6121 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6123 * src/hildon-button.c: (hildon_button_set_property),
6124 (hildon_button_class_init): Make "arrangement-flags" a proper
6125 G_TYPE_FLAGS derived property.
6127 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6129 * examples/Makefile.am: Add below examples.
6130 * examples/hildon-date-button-example.c:
6131 * examples/hildon-picker-button-example.c:
6132 * examples/hildon-picker-button-multicolumn-example.c:
6133 * examples/hildon-time-button-example.c:
6134 * examples/hildon-touch-picker-example.c:
6136 Add examples for the recently added touch pickers,
6137 picker dialogs, and picker button widgets.
6139 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6141 * src/hildon-button.c: Add some API documentation
6143 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6145 * src/hildon-button.h
6146 * src/hildon-button.c
6148 (hildon_button_new_with_text): New constructor to create a button
6149 with no text at all.
6150 (hildon_button_init, hildon_button_set_arrangement)
6151 (hildon_button_set_title, hildon_button_set_value)
6152 (hildon_button_set_text)
6153 (hildon_button_construct_child): Hide the value when it's not used
6154 so the rest of the text is properly aligned.
6155 Allow creating buttons with arbitrary widgets inside (not just
6156 title/value labels).
6158 * examples/hildon-button-example.c (vertical_buttons_window)
6159 (horizontal_buttons_window): Update example to use new API.
6161 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6163 * src/Makefile.am: Added HildonTimeButton.
6164 * src/hildon-time-button.c: Added missing LGPL header.
6165 * src/hildon-time-button.h: Added missing LGPL header.
6166 * src/hildon.h: Add hildon-time-button.h
6168 Copied HildonTimeButton from sandbox to trunk. Future work on this
6169 widget must take place in trunk.
6171 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6173 * src/Makefile.am: Added HildonDateButton.
6174 * src/hildon-date-button.c: Update includes.
6175 * src/hildon.h: Add hildon-date-button.h
6177 Copied HildonDateButton from sandbox to trunk. Future work on this
6178 widget must take place in trunk.
6180 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6182 * src/Makefile.am: Added HildonPickerButton.
6183 * src/hildon-picker-button.h: Update includes.
6184 * src/hildon.h: Add hildon-picker-button.h
6186 Copied HildonPickerButton from sandbox to trunk. Future work on
6187 this widget must take place in trunk.
6189 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6191 * src/Makefile.am: Added HildonPickerDialog.
6192 * src/hildon-picker-dialog.c: Update includes.
6193 * src/hildon.h: Add hildon-picker-dialog.h
6195 Copied HildonPickerDialog from sandbox to trunk. Future work
6196 on this widget must take place in trunk.
6198 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6200 * src/Makefile.am: Added HildonTimeSelector.
6201 * src/hildon.h: Add hildon-time-selector.h
6203 Copied HildonTimeSelector widget from sandbox to trunk. Future
6204 work on this widget must happen in trunk.
6206 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6208 * src/Makefile.am: Added HildonDateSelector.
6209 * src/hildon.h: Add hildon-date-selector.h
6211 Copied HildonDateSelector widget from sandbox to trunk. Future
6212 work on this widget must happen in trunk.
6214 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6216 * src/Makefile.am: Added HildonTouchPicker.
6217 * src/hildon-touch-picker.c: Update includes.
6218 * src/hildon.h: Add hildon-touch-picker.h
6220 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6221 on this widget must happen in trunk.
6223 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6225 * src/hildon-pannable-area.c:
6226 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6228 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6230 * examples/hildon-app-menu-example.c (main): Let the window
6233 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6235 * src/hildon-pannable-area.c
6236 (hildon_pannable_area_class_init): Set the min value of the
6237 overshoot properties to zero, which points out that not
6238 overshooting allowed.
6240 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6242 Modified the procedure to get the widget at a point inside the
6243 pannable area when using the movement type signals. Now the user
6244 has to call a function to get the child, that way we just
6245 calculate the child in case the user really want to use it and not
6248 * src/hildon-marshalers.list: Modified the marshallers, now we do
6249 not have the widget as a parameter.
6251 * src/hildon-pannable-area.c
6252 (hildon_pannable_area_motion_notify_cb),
6253 (hildon_pannable_area_class_init),
6254 (hildon_pannable_get_child_widget_at): Removed the widget
6255 parameter from the signal callback. We have also refactored the
6256 emission of the signals.
6258 * src/hildon-pannable-area.h: Added a new method to the API to
6259 calculate a widget at a point inside the pannable area,
6260 hildon_pannable_get_child_widget_at.
6262 * examples/hildon-pannable-area-example-4.c
6263 (horizontal_movement): Modified the example to use the new API,
6264 added condition to control which widget is under the event. This
6265 way we can avoid scrolling laterally over other widgets.
6267 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6269 * src/hildon-pannable-area.c
6270 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6271 modes, we stop getting the pointer events due to returning the
6272 callback without properly calling the get pointer again. Fixed
6273 also an error using the hscroll and vscroll.
6275 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6277 * src/hildon-app-menu-private.h
6278 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6279 (hildon_app_menu_button_release, hildon_app_menu_init)
6280 (hildon_app_menu_class_init): Don't hide the menu on button
6281 release if the user didn't press outside first.
6283 * src/hildon-window.h
6284 * src/hildon-window.c (hildon_window_toggle_menu)
6285 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6286 hildon_window_toggle_menu a virtual function for the stackable
6287 window to override it.
6289 * src/hildon-stackable-window.h
6290 * src/hildon-stackable-window-private.h
6291 * src/hildon-stackable-window.c
6292 (hildon_stackable_window_realize)
6293 (hildon_stackable_window_finalize)
6294 (hildon_stackable_window_class_init)
6295 (hildon_stackable_window_init)
6296 (hildon_stackable_window_set_main_menu): New function to set the
6297 app menu of a HildonStackableWindow.
6299 * examples/hildon-app-menu-example.c: Remove the button to show
6300 the app menu, now it'll be shown when clicking on the title bar
6303 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6305 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6306 set the widget name if the arrangement flags do not specify
6309 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6311 * src/hildon-button.c: (hildon_button_set_property),
6312 (hildon_button_class_init), (hildon_button_new_full),
6313 (hildon_button_set_arrangement): Added "arrangement-flags"
6316 Make the HildonButtonFlags a construction-only property, to allow
6317 subclasses to set them properly.
6319 2008-07-21 Tim Janik <timj@imendio.com>
6321 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6322 insertion position after backspace, so additional digits are appended,
6325 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6327 * src/hildon-pannable-area.c,
6328 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6329 TODO list, it was complete and removed the g_debug and g_print
6332 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6334 Added the movement modes to the hildon-pannable-area, with this
6335 modes the developers can control in which directions the widget
6336 can scroll. They can also connect to signals in order to do
6337 something when that happens, allowing applications scroll. There
6338 is an example uploaded showing how to use it.
6340 * examples/Makefile.am:
6341 * examples/hildon-pannable-area-example-4.c: Added this example of
6342 an application using the modes.
6344 * src/hildon-marshalers.list: Added a new marshaller for the new
6347 * src/hildon-pannable-area.h: Added new enumerations and flags in
6348 order to control the movement modes and the new signals to warn
6349 about the movements in the area.
6351 * src/hildon-pannable-area.c:
6352 (hildon_pannable_axis_scroll),
6353 (hildon_pannable_area_scroll),
6354 (hildon_pannable_area_motion_notify_cb),
6355 (hildon_pannable_area_get_property),
6356 (hildon_pannable_area_set_property),
6357 (hildon_pannable_area_map),
6358 (hildon_pannable_area_class_init),
6359 (hildon_pannable_area_init),
6360 (hildon_pannable_area_jump_to): Added the modes to control the
6361 movement in the widget. We have added properties to control it,
6362 signals to warn about the movements and refactored some code.
6364 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6366 Changes required in order to allow vfast_factor set to zero to
6369 * src/hildon-pannable-area.c:
6370 (hildon_pannable_area_button_press_cb): Changed the condition, it
6371 is required for not allowing click when vfast_factor is zero.
6372 (hildon_pannable_area_timeout): Initialized velocity variables
6373 when we stop moving, it was less than 1 but not zero and we need
6374 to check zero in some situations.
6375 (hildon_pannable_area_class_init): Changed the default value of
6376 the speed factor, now the button_press is just sent in case the
6377 speed is 2 per cent of the max speed.
6378 (hildon_pannable_area_init): Initialization with 0.
6380 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6382 * src/hildon-pannable-area.c,
6383 (hildon_pannable_area_get_topmost): replaced
6384 gdk_window_get_children with gdk_window_peek_children, this way we
6385 do not have to free the list because it is not a copy.
6387 (hildon_pannable_axis_scroll),
6388 (hildon_pannable_area_scroll),
6389 (hildon_pannable_area_timeout),
6390 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6391 two parameters that were only used inside the
6392 hildon_pannable_area_scroll function.
6394 * examples/hildon-pannable-area-example.c,
6395 (get_sawtooth_label): Fixed small memory leak.
6397 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6399 More checks for the case where the overshoot is bigger than the
6402 * src/hildon-pannable-area.c:
6403 (hildon_pannable_draw_vscroll),
6404 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6405 to draw the slider of the scrollbar under the other scrollbar.
6406 (hildon_pannable_area_expose_event): added new checks to control
6407 the drawing of the overshooting area rectangle, in case it is too
6408 big for the area of the widget.
6409 (hildon_pannable_area_size_allocate): add more checks to avoid
6410 setting a position to the child widget outside the area.
6412 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6414 * src/hildon-pannable-area.c
6415 (hildon_pannable_area_size_allocate): Added conditions to control
6416 when overshooting is bigger than the allocated space for the
6417 children, this avoids negative allocations.
6419 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6421 * doc/hildon-docs.sgml
6423 * examples/Makefile.am
6424 * examples/hildon-button-example.c
6426 * src/hildon-button.c
6427 * src/hildon-button.h
6428 * src/hildon.h: Initial version of the new HildonButton widget,
6431 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6433 * src/hildon-pannable-area.c:
6434 (hildon_pannable_area_button_press_cb),
6435 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6436 (hildon_pannable_area_motion_notify_cb),
6437 (hildon_pannable_area_button_release_cb),
6438 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6439 (hildon_pannable_area_jump_to_child):
6441 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6443 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6445 * examples/Makefile.am
6446 * examples/hildon-pannable-area-touch-grid-example.c
6447 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6448 the Hildon Touch List and Hildon Touch Grid using the
6449 HildonPannableArea widget.
6451 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6453 * src/hildon-pannable-area.c,
6454 (hildon_pannable_area_button_press_cb),
6455 (hildon_pannable_area_refresh),
6456 (hildon_pannable_area_scroll),
6457 (hildon_pannable_area_motion_notify_cb),
6458 (hildon_pannable_area_button_release_cb),
6459 (hildon_pannable_area_expose_event),
6460 (hildon_pannable_area_add),
6461 (hildon_pannable_area_remove),
6462 (hildon_pannable_area_realize),
6463 (hildon_pannable_area_size_allocate),
6464 (hildon_pannable_area_class_init),
6465 (hildon_pannable_area_init),
6466 (hildon_pannable_area_scroll_to_child),
6467 (hildon_pannable_area_jump_to_child): Fixed the problem of
6468 removing the child from the GtkBin, we have rearranged the widget
6469 hierarchy, now there is no GtkAlignment which was not doing
6470 anything interesting but breaking some of the assumptions of
6471 GtkContainer. Now developers if they want to add a GtkAlignment
6472 they could, but it is not inside the area.
6474 We had to review the whole allocation/expose process, now it is
6475 improved and we save at least three signals which would be saving
6476 some time when rendering the widget. The allocation of the
6477 scrollbars is now made in the allocate method as usual.
6479 We have also added some conditions in order to control when there
6480 is no child of the pannable area. Maybe we will need more work
6483 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6485 * src/hildon-pannable-area.c,
6486 (hildon_pannable_area_dispose): Released the fade-out timeout when
6487 disposing the widget.
6489 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6491 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6492 zero, we are going to use that property in order to deactivate the
6494 (hildon_pannable_axis_scroll),
6495 (hildon_pannable_area_size_allocate): Added conditions to control
6496 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6497 call, now it is called in all situations and we can remove calls
6498 in the allocate method.
6499 (hildon_pannable_area_map): Control the situation when
6500 overshoot_max is zero, we do not need the timeout.
6501 (hildon_pannable_area_class_init): Added documentation in order to
6502 point out that setting zero to overshoot_max means deactivate
6505 NOTE: removed trailing whitespaces from my previous comments of
6508 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6510 * src/hildon-pannable-area.c
6511 (hildon_pannable_area_get_property),
6512 (hildon_pannable_area_set_property),
6513 (hildon_pannable_area_map),
6514 (hildon_pannable_area_class_init),
6515 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6516 to cause the widget give a hint about its panning abilities upon
6519 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6521 * src/hildon-pannable-area.c: Several documentation improvements.
6523 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6525 * src/hildon-program.c
6526 * src/hildon-stackable-window.c: Update documentation.
6528 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6530 * src/hildon-stackable-window.c (get_previous_window_if_last):
6531 Renamed get_last_window()
6532 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6533 (hildon_stackable_window_unset_program):
6535 (get_previous_window_if_last):
6536 Detect if the window hasn't been added to a HildonProgram.
6538 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6540 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6542 * src/hildon-pannable-area.c
6543 (hildon_pannable_area_button_press_cb),
6544 (hildon_pannable_axis_scroll),
6545 (hildon_pannable_area_scroll),
6546 (hildon_pannable_area_timeout),
6547 (hildon_pannable_calculate_vel_factor),
6548 (hildon_pannable_area_get_property),
6549 (hildon_pannable_area_set_property),
6550 (hildon_pannable_area_class_init),
6551 (hildon_pannable_area_init),
6552 (hildon_pannable_area_scroll_to),
6553 (hildon_pannable_area_jump_to),
6554 (hildon_pannable_area_scroll_to_child),
6555 (hildon_pannable_area_jump_to_child):
6556 * src/hildon-pannable-area.h: Added the new API functions:
6557 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6558 hildon_pannable_area_scroll_to_child,
6559 hildon_pannable_area_jump_to_child
6562 * examples/Makefile.am
6563 * examples/hildon-pannable-area-example-2.c
6564 * examples/hildon-pannable-area-example-3.c: Added these two new
6565 examples in order to test and show how the new APIs work.
6567 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6569 * examples/hildon-stackable-window-example.c (new_window):
6570 * src/Makefile.am (noinst_HEADERS):
6571 * src/hildon-program.c (hildon_program_go_to_root_window):
6572 * src/hildon-program.h:
6573 * src/hildon-stackable-window-private.h:
6574 * src/hildon-stackable-window.c:
6575 * src/hildon-stackable-window.h:
6576 Create hildon-stackable-window-private.h
6577 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6579 * examples/hildon-app-menu-example.c (create_menu):
6580 * examples/hildon-hvolumebar-insensitive-example.c (main):
6581 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6582 * examples/hildon-toolbar-seekbar-example.c (main):
6583 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6584 * src/hildon-banner.c (hildon_banner_set_property):
6585 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6586 Fix compilation warnings
6588 * src/hildon-window.c:
6591 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6593 * src/hildon-stackable-window.c
6594 (hildon_stackable_window_unset_program):
6595 Calculate correctly whether to show the previous window if the
6596 last one is removed from the stack.
6597 (hildon_stackable_window_go_to_root_window):
6598 Send delete events starting from the topmost window.
6599 Stop if one of the windows is not destroyed.
6601 (hildon_stackable_window_delete_event)
6602 (hildon_stackable_window_class_init):
6603 Ignore the delete event if the window is not the topmost one.
6605 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6607 * src/hildon-pannable-area.c
6608 (hildon_pannable_area_expose_event): Fixed a problem when
6609 selecting the background color of the scrollbars.
6611 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6613 * examples/hildon-stackable-window-example.c
6614 * src/hildon-stackable-window.c
6615 * src/hildon-stackable-window.h
6616 hildon_stackable_window_go_home() renamed to
6617 hildon_stackable_window_go_to_root_window()
6618 Send delete events to windows rather than closing them with
6619 gtk_widget_destroy()
6621 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6623 * src/hildon-pannable-area.c
6624 (hildon_pannable_area_button_release_cb): Fix overshooting in
6627 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6629 * src/hildon-pannable-area.c
6630 (hildon_pannable_area_init): Initially show the scroll indicators.
6631 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6633 Add initial effect showing the widget is pannable.
6635 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6637 * src/hildon-pannable-area.c
6638 (hildon_pannable_area_class_init)
6639 (hildon_pannable_area_set_property)
6640 (hildon_pannable_area_get_property)
6641 (hildon_pannable_area_button_press_cb):
6642 New 'velocity_fast_factor' property to decide which velocity is
6645 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6647 * src/hildon-pannable-area.c
6648 (hildon_pannable_draw_hscroll)
6649 (hildon_pannable_draw_vscroll):
6650 Use float variables to calculate the size of the scrollbars to
6651 avoid error propagation and resizing during scrolling.
6653 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6655 * src/hildon-pannable-area.c
6656 (hildon_pannable_draw_vscroll)
6657 (hildon_pannable_draw_hscroll):
6658 Define a minimum size for the scroll bars
6660 * src/hildon-stackable-window.c
6661 (hildon_stackable_window_go_home): Fix compilation warning
6662 (get_last_window): Minor optimizations
6663 (hildon_stackable_window_class_init): Fix initialization of
6666 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6668 * src/hildon-stackable-window.c: Fixed typos in doc
6670 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6672 * src/hildon-pannable-area.c
6673 (hildon_pannable_area_scroll):
6674 Calculate here whether we need to scroll instead of using the booleans
6675 that tell us whether to /draw/ the scrolling bars.
6677 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6679 * src/hildon-app-menu.h
6681 * src/hildon-app-menu.c
6682 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6683 multiple filter groups related code and API. Now we support only
6685 * examples/hildon-app-menu-example.c:
6687 Update to reflect API changes.
6689 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6691 * src/hildon-stackable-window.c
6692 (hildon_stackable_window_class_init):
6693 Add hildon_stackable_window_realize.
6694 (hildon_stackable_window_realize):
6695 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6696 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6697 to apply theming and behavior specific to HildonStackableWindow
6700 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6702 * src/hildon-note.c (hildon_note_button_release):
6703 Close information notes also when tapping on them
6705 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6707 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6708 ELASTICITY, refactor and review, fix some issues with drawing
6711 * src/hildon-pannable-area.c:
6712 (hildon_pannable_area_button_press_cb): removed the conditions to
6713 avoid clicks when overshooting. It is not required
6715 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6716 define. Refatored and reviewed the code, now we do not need to
6717 manage velocity in motion_notify.
6719 (hildon_pannable_area_motion_notify_cb): We have moved the code
6720 that controls the area_scroll to the axis_scroll function and get
6721 rid of duplicated code.
6723 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6725 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6727 (hildon_pannable_draw_vscroll),
6728 (hildon_pannable_draw_hscroll): Fixed the problems with the
6729 scrollbar drawing, now we do not use two surfaces, it is easier
6730 and saves resources.
6732 (hildon_pannable_area_get_property): Style modification.
6734 (hildon_pannable_area_class_init): Changed some default values.
6736 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6738 * src/hildon-stackable-window.c: Fix some typos in the
6741 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6743 * src/hildon-dialog.c:
6744 Change indentation style
6747 (hildon_note_button_release):
6748 Use root coordinates to check if the release event happened
6751 * src/hildon-app-menu.c
6752 (hildon_app_menu_button_release):
6753 Remove unnecessary check
6755 * examples/hildon-app-menu-example.c
6757 Add cast to fix warning
6759 * src/hildon-app-menu.c
6760 (hildon_app_menu_class_init):
6761 New inner-border style property.
6762 Set all default spacings to 16
6763 (hildon_app_menu_init):
6764 Use vertical-spacing to set the space between filter buttons and
6765 regular menu buttons.
6766 Set the default container border using the inner-border value.
6768 * examples/hildon-app-menu-example.c
6770 Don't set the menu border explicitly, now we have the inner-border
6771 style property for that.
6773 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6775 * src/hildon-app-menu.c (hildon_app_menu_init):
6776 Make the window modal
6778 * src/hildon-note.c (hildon_note_map)
6779 * src/hildon-app-menu.c (hildon_app_menu_map):
6780 Destroy the grab window if we're unable to grab the pointer
6782 * src/hildon-app-menu-private.h
6783 * src/hildon-app-menu.c
6784 (hildon_app_menu_init, hildon_app_menu_finalize)
6785 (hildon_app_menu_map, hildon_app_menu_unmap)
6786 (hildon_app_menu_button_release)
6787 (grab_transfer_window_get):
6788 Bring back the grab window
6789 (hildon_app_menu_realize):
6790 Decorate the window, set WM hint for Matchbox
6792 * src/hildon-note.c (hildon_note_realize):
6793 * src/hildon-banner.c (hildon_banner_realize):
6794 Add WM hints for Matchbox
6796 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6798 * src/hildon-app-menu-private.h
6799 * src/hildon-app-menu.c
6800 (hildon_app_menu_init, hildon_app_menu_finalize)
6801 (hildon_app_menu_map, hildon_app_menu_unmap)
6802 (hildon_app_menu_button_release):
6803 Remove the grab window, it's not needed anymore
6805 * src/hildon-program.c
6806 Fixed typo in documentation
6808 * src/hildon-app-menu.h
6809 * src/hildon-app-menu.c
6810 * examples/hildon-app-menu-example.c
6811 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6813 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6816 Added new transfer_window and close_if_pressed_outside private
6818 (hildon_note_rebuild):
6819 Don't add a cancel button to the information note. It will be
6820 closed when tapping outside
6821 Remove the comment about the OK button in the documentation
6822 (hildon_note_realize):
6823 Set the notification type hint
6824 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6825 Grab/ungrab pointer and keyboard if the note has to be closed when
6827 (hildon_note_button_release):
6828 Close the note when tapping outside (if applicable)
6830 * src/hildon-app-menu.c
6831 Grab/ungrab pointer and keyboard on map/unmap
6832 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6833 Close the menu on button release, not button press
6835 * src/hildon-banner.c
6836 (hildon_banner_set_property)
6837 (hildon_banner_check_position):
6838 Make the banner use the full width of the screen
6839 (hildon_banner_show_information)
6840 (hildon_banner_show_information_with_markup):
6841 Don't display an icon by default
6843 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6845 Added fading scrollbars and adapted all the overshooting code to
6846 horizontal scrolling. We have also fixed bugs with overshooting
6847 and current fading implementation.
6849 * src/hildon-pannable-area.c
6850 (hildon_pannable_area_scroll_indicator_fade): Time out function
6851 used to change the transparency of the scrollbars.
6853 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6854 control and fixed a problem with fading, we now remove the fade
6855 timeout before adding a new one.
6857 (hildon_pannable_axis_scroll):
6858 (hildon_pannable_area_scroll):
6859 (hildon_pannable_area_timeout): Added this functions so we can use
6860 the scroll code both for vertical and horizontal.
6862 (hildon_pannable_area_motion_notify_cb):
6863 (hildon_pannable_area_button_release_cb): Added the horizontal
6864 scrolling control, fixed a problem with the overshooting timeout.
6866 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6867 painting of the scrolls.
6869 (hildon_pannable_draw_vscroll):
6870 (hildon_pannable_draw_hscroll):
6871 (hildon_pannable_area_expose_event):
6872 Draw both scrollbars and rectangles in the overshooting area.
6874 (hildon_pannable_area_get_property):
6875 (hildon_pannable_area_set_property):
6876 Modified the overshoot property to overshoot_max
6878 (hildon_pannable_area_map):
6879 Replaced the comments symbols.
6881 (hildon_pannable_area_size_allocate):
6882 (hildon_pannable_area_class_init):
6883 (hildon_pannable_area_init): Added horizontal scroll, fading
6884 effect properties, fixed a problem when overshooting in the bottom
6887 * examples/hildon-pannable-area-example.c:
6888 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6889 looks better in the example.
6891 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6893 * src/hildon-window.c
6894 * src/hildon-window.h
6895 (hildon_window_class_init)
6896 (hildon_window_unset_program)
6897 (hildon_window_unset_program_real):
6898 Make unset_program a virtual function
6900 * src/hildon-stackable-window.c
6901 * src/hildon-stackable-window.h
6902 Added hildon_stackable_window_go_home()
6904 * examples/Makefile.am
6905 * examples/hildon-stackable-window-example.c
6906 HildonStackableWindow example
6908 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6910 * hildon-pannable-area.c: Added the overshoot property and removed
6911 the OVERSHOOT define. Fixed an indent style error.
6912 (hildon_pannable_area_motion_notify_cb):
6913 (hildon_pannable_area_get_property):
6914 (hildon_pannable_area_set_property): Add overshoot property.
6916 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6919 (hildon_pannable_area_class_init): Installed the new property.
6921 * hildon-pannable-area-example.c: Added a sawtooth function, this
6922 way it is easier to check the movement in the pannable.
6923 (get_sawtooth_label): Added this function.
6924 (main): Now we get the labels from the new get_sawtooth_label
6927 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6929 * src/hildon-app-menu.h
6930 * src/hildon-app-menu.c
6931 Renamed API variables for consistency
6933 (hildon_app_menu_popup): Use also the default window size to
6934 decide where to place the menu
6936 (hildon_app_menu_init, hildon_app_menu_class_init): New
6937 external-border style property
6939 2008-05-26 Michael Natterer <mitch@imendio.com>
6941 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6942 widget_class->tap_and_hold_setup signal slot doesn't exist any
6943 longer, stop overriding it.
6945 (hildon_time_editor_init): g_signal_connect() to the
6946 tap-and-hold-setup signal instead.
6948 (hildon_time_editor_entry_keypress): add cast to fix warning.
6950 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6952 * doc/hildon-docs.sgml
6954 * examples/Makefile.am
6955 * examples/hildon-app-menu-example.c
6957 * src/hildon-app-menu-private.h
6958 * src/hildon-app-menu.c
6959 * src/hildon-app-menu.h
6961 New HildonAppMenu widget
6963 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6965 Rearranged the inheritance of the pannable area, now it inherits
6966 from GtkBin. This will allow us to control the event_window and
6967 the allocation process of the widget, required for some effects.
6969 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6970 GtkBin structures. * src/hildon-pannable-area.c: Added the
6971 event_window variable.
6972 (hildon_pannable_area_button_press_cb):
6973 (hildon_pannable_area_button_release_cb):
6974 (hildon_pannable_area_motion_notify_cb):
6975 Changed the signature of the method, now we override the event
6976 callback instead of connecting to the signal.
6978 (hildon_pannable_area_realize):
6979 (hildon_pannable_area_unrealize):
6980 (hildon_pannable_area_map):
6981 (hildon_pannable_area_unmap):
6982 (hildon_pannable_area_size_allocate):
6983 Added functions to control the widget construction. We add a
6984 INPUT_ONLY window and we put it over the widgets inside the
6985 container, this event_window handles the events.
6987 (hildon_pannable_area_class_init):
6988 Replaced the signal connections with overrides of the event
6991 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6993 Bouncing effect added when touching the borders, you can change
6994 the elasticity of the border changing the ELASTICITY define.
6996 * src/hildon-pannable-area.c: Added ELASTICITY define.
6997 (hildon_pannable_area_timeout): Added inverse velocity when
6998 touching the border of the child widget, that causes a bounce.
7000 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7002 Improved performance, we now do not go to the X server in order to
7003 get the list of window children. Apparently the effect is the
7004 same, we have to be careful and check if this breaks something in
7007 * src/hildon-pannable-area.c:
7008 (get_ordered_children): Removed this function.
7009 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7010 the children windows function with gdk_window_get_children.
7012 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7014 * src/hildon-pannable-area.c:
7015 (hildon_pannable_area_dispose): Fixed a crash when closing the
7016 window and kinetics is activated.
7018 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7020 * src/hildon-pannable-area.h
7021 * src/hildon-pannable-area.c
7022 Changed indentation style to meet the one used in Hildon
7024 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7026 Reviewed the interaction of the AUTO mode, now we use the time
7027 attribute of the events and calculate the velocity in the motion,
7028 doing a gimp like calculation. The velocity is calculated in each
7029 motion event using the last velocity and the current one, the
7030 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7032 * src/hildon-pannable-area.c: Replaced the time based algorithm
7034 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7035 timeout for the AUTO mode when we are still moving the cursor. We
7036 added also the velocity calculation in this function.
7037 (hildon_pannable_area_button_release_cb): launch the timeout in
7038 case we are in AUTO mode. There are still some constants here that
7039 come from the old implementation that should be reviewed and
7042 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7044 * doc/hildon-docs.sgml
7047 * src/hildon-stackable-window.c
7048 * src/hildon-stackable-window.h
7050 New HildonStackableWindow widget
7052 * examples/hildon-dialog-example.c
7053 * examples/hildon-pannable-area-example.c
7056 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7058 * src/hildon-dialog.c
7059 (hildon_dialog_new_with_buttons): New constructor.
7061 * examples/hildon-dialog-example.c
7062 (main): Update the example to use the new
7063 hildon_dialog_new_with_buttons().
7065 * examples/hildon-pannable-area-example.c
7066 (main): Update example.
7068 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7070 * doc/hildon-docs.sgml
7072 Added HildonPannableArea to the documentation.
7074 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7076 * doc/visual_index.xml
7077 Fix reference to HildonLoginDialog in documentation
7079 * doc/hildon-docs.sgml
7081 * examples/Makefile.am
7082 * examples/hildon-dialog-example.c
7084 * src/hildon-dialog.c
7085 * src/hildon-dialog.h
7087 New HildonDialog widget.
7089 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7091 * src/hildon-pannable-area.c
7092 Merge latest changes (r4318, r4342) from libmokoui trunk
7094 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7096 * examples/Makefile.am
7097 * examples/hildon-pannable-area-example.c
7099 * src/hildon-pannable-area.c
7100 * src/hildon-pannable-area.h
7102 New HildonPannableArea widget.
7104 2008-04-15 18:05:19 <timj@imendio.com>
7106 * src/hildon-banner.c: revert the recent change, that introduced
7107 gtk_window_present() calls. this reopens:
7108 Bug 78481 - [freetest] information banners are hidden under browser menu
7109 But resolves another variant of:
7110 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7112 2008-04-15 13:21:13 <timj@imendio.com>
7114 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7115 recreated its layout, spotted by Kris. this fixes all remaining
7116 artefacts and stability issues with the banner code. in particular:
7117 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7119 2008-04-14 16:52:59 <timj@imendio.com>
7121 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7122 operating on unrealized widgets, fixes:
7123 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7125 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7127 2008-04-09 Kristian Rietveld <kris@imendio.com>
7129 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7130 makes banner disappear.
7131 Fixes: NB#79182: info banner flickering with certain message lengts.
7133 * src/hildon-banner.c (hildon_banner_constructor),
7134 (hildon_banner_init), (hildon_banner_set_text),
7135 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7136 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7137 FALSE, reset size requests of label and banner,
7138 (force_to_wrap_truncated): when the text is too wide, always enforce
7139 the maximum possible width instead of recalculating it from the
7140 layout; enforce the maximum banner height of 3 lines,
7141 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7142 nicer wrapping and no truncated chars if space gets tight.
7144 * src/hildon-banner-private.h: add has_been_wrapped and
7145 has_been_truncated fields.
7147 2008-04-07 Sven Herzberg <sven@imendio.com>
7149 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7150 local values in hildon_date_editor_size_allocate
7152 * src/hildon-date-editor.c: moved the real allocation code into the
7155 2008-04-07 Sven Herzberg <sven@imendio.com>
7157 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7158 local values in hildon_date_editor_size_allocate
7160 * src/hildon-date-editor.c: merged the two if() branches together
7162 2008-04-07 Sven Herzberg <sven@imendio.com>
7164 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7165 local values in hildon_date_editor_size_allocate
7167 * src/hildon-date-editor.c: changed the arguments of the if()
7170 2008-04-07 Sven Herzberg <sven@imendio.com>
7172 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7173 local values in hildon_date_editor_size_allocate
7175 * src/hildon-date-editor.c: split the calculation of the allocation
7176 from the real allocation
7178 2008-03-27 Michael Natterer <mitch@imendio.com>
7180 Fixes: NB#81696: The passcode is not overwritten even after
7183 * src/hildon-code-dialog.c
7184 (hildon_code_dialog_button_clicked)
7185 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7186 because that doesn't overwrite selected text. Instead, emit the
7187 "commit" signal on the entry's im_context so the entry's normal
7188 insert logic is triggered. Set the cursor to the end of the entry
7189 after each insert operation so that we *only* insert in the middle
7190 of the text if something was selected.
7192 2008-03-27 Michael Natterer <mitch@imendio.com>
7194 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7195 selector cannot be opened
7197 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7198 when the popup color selector is created. Please connect to this
7199 signal in order to set the dialog's help ID.
7201 2008-03-25 Sven Herzberg <sven@imendio.com>
7203 Fixes: MB#1212: Hide info banners (infoprints) on click
7205 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7206 extracted the close event simulation into an extra function
7207 (hildon_banner_button_press_event): simulate a close event and destroy
7208 the widget if the event wasn't handled
7209 (hildon_banner_class_init): added the button_press_event handler
7210 (hildon_banner_init): added button-press events to the widget
7212 2008-03-25 Sven Herzberg <sven@imendio.com>
7214 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7215 Patch from: Mohammad Anwari <mdamt@maemo.org>
7217 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7218 instead of the right in RTL mode
7219 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7220 breadcrumb button list in RTL mode
7221 * src/hildon-caption.c: mirror the appearance of the caption widget in
7223 * src/hildon-date-editor.c: mirror appearance of the date editor in
7225 * src/hildon-time-editor.c: mirror appearance of the time editor in
7227 * src/hildon-window.c: fix the position of the popup in RTL mode
7229 2008-03-25 Sven Herzberg <sven@imendio.com>
7231 Amendment to the fix of NB#22072. Fix compilation.
7233 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7235 2008-03-19 Sven Herzberg <sven@imendio.com>
7237 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7240 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7241 timeout id properly when the timeout will disappear this leaves no
7242 artifacts around in the destroy(); there will only be the timeout
7243 created by hildon_banner_ensure_timeout() and adding a new timeout
7244 will also work if the timeout gets removed because the timeout_handler
7247 2008-03-19 Michael Natterer <mitch@imendio.com>
7249 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7251 * src/hildon-volumebar.c
7252 * src/hildon-vvolumebar.c
7253 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7254 the widget becomes focussable at all.
7256 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7257 set the focus to wither the mute button or the volumebar.
7259 Remove own "can-focus" property and instead listen to
7260 notify::can-focus in order to update the widget's state.
7262 Implement GtkWidget::focus() and make sure we can also *leave* the
7263 widget, not only enter it, depending on volumebar orientation and
7264 requested focus direction.
7266 Clean up set_mute() to cooperate nicely with all the above.
7268 2008-03-04 Michael Natterer <mitch@imendio.com>
7270 Fixes: NB#78481: information banners are hidden under browser menu
7272 * src/hildon-banner.c: call gtk_window_present() on the banners so
7273 they are risen if they are already visible.
7275 2008-03-03 Sven Herzberg <sven@imendio.com>
7277 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7279 * examples/hildon-window-menu-example.c: (main): extended the window
7280 menu example to serve as a testcase for automatically added
7281 accelerator groups, too
7282 * src/hildon-window.c: (hildon_window_add_accel_group),
7283 (hildon_window_set_menu): added patch by Tommi Komulainen
7285 2008-03-03 Sven Herzberg <sven@imendio.com>
7287 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7289 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7290 knowledge about the border allocators used within GTK+
7292 2008-02-26 Sven Herzberg <sven@imendio.com>
7294 Fixes: MB#2981: Build with asserts broken
7296 * src/hildon-date-editor.c,
7297 * src/hildon-number-editor.c,
7298 * src/hildon-time-editor.c,
7299 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7300 the proper GType instance check
7302 2008-02-25 Sven Herzberg <sven@imendio.com>
7304 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7306 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7307 * examples/hildon-window-menu-example.c: (main): explicitly show
7309 * src/hildon-window.c:
7310 (hildon_window_set_main_menu): moved most of the code from set_menu()
7311 to this place; skipped the call to gtk_widget_show_all(); also didn't
7312 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7313 (hildon_window_set_menu): removed most of the code, just keep the
7314 questionable gtk_widget_show_all()
7315 * src/hildon-window.h: added the new function and deprecate the old
7318 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7324 * debian/changelog: Updating.
7326 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7329 * pkgconfig/Makefile.am:
7330 * pkgconfig/hildon.pc.in:
7333 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7334 use newly created API_MAJOR_VERSION.
7336 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7342 * debian/changelog: Updating.
7344 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7346 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7348 Add outer_border style property, we use it but don't define it (!).
7352 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7354 * examples/hildon-bread-crumb-trail-example.c (main):
7358 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7360 Fix logic for the bread crumb trail node removal.
7364 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7370 * debian/changelog: Updating.
7372 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7374 Patch by Alejandro to get/set passwords dialogs accesibility.
7376 * hildon-1/src/hildon-get-password-dialog.c:
7377 * hildon-1/src/hildon-set-password-dialog.c:
7378 Set atk_set_name to the passwd entries in order to allow
7379 accessibility by name on this entries.
7381 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7386 * debian/control: Updating gtk dep.
7388 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7390 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7391 USE_MAEMO_GTK is enabled.
7393 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7395 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7396 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7398 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7404 * debian/changelog: Updating.
7406 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7408 * examples/Makefile.am:
7409 * examples/hildon-logical-color-example.c:
7410 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7411 applied + adding a test case. Fixes: NB#71660.
7413 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7415 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7416 to be visible, fixes warning on map for windows without toolbars.
7418 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7420 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7421 2.11.0, add a check for that besides the MAEMO_GTK check.
7423 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7429 * debian/changelog: Updating.
7431 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7433 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7434 visibility. Fixes: NB#70842 and MB#615.
7436 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7438 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7439 set the separator as no-show-all so it doesn't unintentionally appear when
7440 someone does a show_all.
7442 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7444 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7445 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7446 toplevel item. Fixes: NB#62031
7448 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7450 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7451 fix the name of the function in the docs.
7453 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7459 * debian/changelog: Updating.
7461 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7463 * examples/hildon-banner-long-example.c: Adding a test-case for long
7466 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7468 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7470 * src/hildon-color-chooser-dialog.c:
7471 * src/hildon-color-chooser.c:
7472 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7473 memory leaks in font selector and color selector. Fixes: NB#70499 and
7476 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7478 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7480 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7482 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7483 little bit bigger. Fixes: #NB63694.
7485 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7491 * debian/changelog: Updating.
7493 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7496 * doc/hildon-docs.sgml:
7497 * doc/images/bread-crumb-trail.png:
7498 * doc/images/calendar-popup.png:
7499 * doc/images/caption.png:
7500 * doc/images/code-dialog.png:
7501 * doc/images/color-button.png:
7502 * doc/images/color-chooser-dialog.png:
7503 * doc/images/color-chooser.png:
7504 * doc/images/controlbar.png:
7505 * doc/images/date-editor.png:
7506 * doc/images/font-selection-dialog.png:
7507 * doc/images/get-password-dialog.png:
7508 * doc/images/hvolumebar.png:
7509 * doc/images/login-dialog.png:
7510 * doc/images/note.png:
7511 * doc/images/number-editor.png:
7512 * doc/images/range-editor.png:
7513 * doc/images/seekbar.png:
7514 * doc/images/set-password-dialog.png:
7515 * doc/images/sort-dialog.png:
7516 * doc/images/time-editor.png:
7517 * doc/images/time-picker.png:
7518 * doc/images/vvolumebar.png:
7519 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7520 Adding the bread-crumb-trial and helpers to the documentation.
7522 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7524 * examples/hildon-find-toolbar-example.c:
7525 * src/hildon-find-toolbar.c:
7526 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7527 actually continue firing the other handlers if connected. Adding a new
7529 hildon_find_toolbar_get_last_index that gets the index of the most
7530 recently added (last) item. Fixes: NB#52301.
7532 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7534 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7535 behaviour. Fixes: NB#68610.
7537 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7539 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7542 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7544 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7545 when realizing the banner. Should make the infonbanner effect a bit more
7548 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7550 * src/hildon-volumebar.c:
7551 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7552 hildon_volumebar_set_range_insensitive_message and
7553 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7555 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7557 * src/hildon-window.c: Fixing the border freeing on destroy.
7559 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7561 * src/hildon-code-dialog-private.h:
7562 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7563 kw keyboard support in HildonCodeDialog.
7565 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7571 * debian/changelog: Updating.
7573 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7575 * src/hildon-date-editor.c:
7576 * src/hildon-number-editor.c:
7577 * src/hildon-private.c:
7578 * src/hildon-private.h:
7579 * src/hildon-time-editor.c:
7580 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7581 handling in subclassed composite widgets. Fixes: NB#66628.
7583 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7585 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7586 from destroy_ callback as it introduces problems in async dbus signal
7587 handlers. Fixes NB#66673.
7589 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7591 * examples/hildon-hvolumebar-example.c:
7592 * src/hildon-volumebar.c: Improving the focus handling in the
7593 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7594 set_property accessor so that "mute" property can be actually set. I'm
7595 scared that nobody noticed it's totally broken.
7597 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7599 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7602 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7604 * src/hildon-calendar.c:
7605 * src/hildon-number-editor.c:
7606 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7607 matches the spec of 6 chars per second. Fixes: NB#60489.
7609 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7611 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7612 gtk_style_lookup_color sometime returns FALSE even though color was
7613 found and values were filled properly. Weird. Removing the warning for the
7616 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7618 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7619 expand vertically. Adding some extra space to the find toolbar buttons to
7620 make them thumbable. Fixes NB#66060.
7622 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7624 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7625 popup with "Ok" and "Cancel". Fixes NB#59299.
7627 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7629 * src/hildon-calendar.c: Process all window updates before executing next
7630 timeout. Fixes: NB#54146.
7632 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7638 * debian/changelog: Updating.
7640 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7642 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7643 the client event and ignore it, since we use the delete event to close
7646 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7648 * src/hildon-helper.c: Remove the bogus warning about color not being
7649 found. Fixes NB#58352.
7651 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7653 * examples/Makefile.am:
7654 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7655 HildonSeekbar widget inside a toolbar.
7657 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7659 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7660 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7661 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7662 don't want to be closed by non-temporary windows on map.
7664 Also use G_DEFINE_TYPE instead of manually typed code.
7666 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7673 * debian/rules: Updating.
7675 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7677 * examples/Makefile.am:
7678 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7679 bug NB#61128. Strangely it works.
7681 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7683 * src/hildon-date-editor.c: When the date editor entry has been changed
7684 but the numbers of characters < max, turn off the skip validation flag.
7685 Prevents a situation when we enter first a valid year and later re-write
7686 it with an invalid one. Fixes NB#60154.
7688 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7690 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7691 code dialog. Fixes NB#64355.
7693 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7695 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7696 switching the page. Fixes NB#49374.
7698 * examples/Makefile.am:
7699 * examples/hildon-wizard-dialog-example.c: Adding an example for
7700 HildonWizardDialog that shows how to handle manual sensitivity setting on
7703 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7707 * src/hildon-version.h.in:
7708 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7710 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7712 * src/hildon-volumebar.c: Updating the docs.
7714 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7720 * debian/changelog: Updating.
7722 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7724 * src/hildon-find-toolbar.c:
7725 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7726 selected item: hildon_find_toolbar_set_active,
7727 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7728 hildon_find_toolbar_get_active_iter . They correspond to respective
7729 GtkComboBox functions.
7731 * examples/Makefile.am:
7732 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7735 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7737 * examples/Makefile.am:
7738 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7741 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7742 when font size > 32 and we pack a focusable widget inside. Actually using
7743 the default response would work too, but since we don't show default
7744 response state in any way (no theming) it would not be visible to the
7745 user. Fixes NB#63430.
7747 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7749 * src/hildon-date-editor.c: Adding the missing variable setter in the
7750 set_property handler. Fixes NB#54182.
7752 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7754 * src/hildon-window.h: Changing the long key press time from 1500ms to
7755 800ms as requested in NB#63700. I have a bad feeling about this, let's
7756 see... Fixes NB#63700.
7758 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7760 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7761 hildon_time_picker_map, hildon_time_picker_realize,
7762 hildon_time_picker_style_set): Split the contents of map to more
7763 appropriate functions; set window decorations on realize and update
7764 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7766 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7771 * debian/changelog: Updating.
7773 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7775 * src/Makefile.am: fixed installation of the header files
7777 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7783 * debian/changelog: Updating.
7785 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7787 * configure.ac: Removing some remaining of --enable-xan.
7789 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7791 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7792 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7794 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7795 2.10.12-osso6 because the move-focus signal needs to be available in
7798 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7800 * examples/Makefile.am:
7801 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7802 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7803 fine. Prolly NB#61128 is fixed now.
7805 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7807 * src/hildon-volumebar.c:
7808 * src/hildon-volumebar.h: Adding the
7809 hildon_volumebar_set_range_insensitive_message and
7810 hildon_volumebar_set_range_insensitive_messagef functions to set
7811 insensitive message on the slider of the volumebar. Fixes NB#61129.
7813 * examples/Makefile.am:
7814 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7815 test the new insensitive messsage functionality on HildonVolumebar.
7817 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7819 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7822 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7824 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7825 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7826 button on after clearing the trail.
7828 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7830 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7832 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7834 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7835 by splitting the installed headers in generated and non-generated groups. Use
7836 only the non-generated headers to create the hildon-enum-types.h file.
7838 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7840 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7842 * src/hildon-window.c: Hide the window before performing the destroy.
7843 Should make the app closing a little tiny bit more snappy.
7845 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7847 * src/hildon-seekbar.c: add gtkrange.h header
7848 * src/hildon-caption.c: remove unused variable
7850 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7852 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7855 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7861 * debian/changelog: Updating.
7863 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7865 * src/hildon-window.c (hildon_window_window_state_event,
7866 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7867 escape timeout on focus-out-event rather than notify::is-topmost; the
7868 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7870 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7872 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7873 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7875 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7877 * src/hildon-window: actually, you need to use the macro always, there's
7878 no private pointer in the instance structure. We should have cleaned this up
7879 when we had the chance...
7881 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7883 * src/hildon-window.c: do not get the private date from HildonWindow before
7884 it passes the g_return_if_fail check. Once it's passed the test, there's no
7885 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7886 if you are only going to access the data once. Whitespace cleanups.
7888 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7890 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7891 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7893 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7899 * debian/changelog: Updating.
7901 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7903 * src/hildon-window.c: When destroying the window, remove (if exists) the
7904 escape timeout handler. Fixes #NB59276.
7906 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7908 * src/hildon-banner.c: When realizing the widget, set the window
7909 transiency. Setting the transiency in the gobject constructor is not
7910 good, as the widget is not realized at that point. Fixes: #NB56624.
7912 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7914 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7915 Add padding for future expansions.
7917 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7919 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7920 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7921 will fake an activation on the previous to the last item of the trail, so
7922 the effect can be overrided by the developer as usual.
7923 Also change the callback for the back button to do the same thing, so its
7924 effect can be overrided too. Fixes: NB#58982
7926 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7928 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7929 HildonCaption. Fixes NB#52379.
7931 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7933 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7934 the internal state of the trail after the user has had the chance of executing
7935 his handler for the signal. Specifically, it may happen that the activated button
7936 is removed and the user still lets the default handler run. This would segfault
7939 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7941 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7942 scrollbar to the preview dialog. Fixes NB#54147.
7944 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7946 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7947 max/min year properties can be altered, so the client can modify it
7948 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7950 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7952 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7953 hildonlike by default. Fixing a problem with disappearing arrows when
7954 scrolling through months and years. Fixes NB#54127.
7956 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7958 * examples/hildon-date-editor-example.c: Adding error callback to the date
7961 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7967 * configure.ac: Updating.
7969 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7971 * configure.ac: Adding a special '--enable-xan' configure option that
7972 turns off the -Werror compilation setting. Usefull for development.
7974 * src/hildon-calendar.c:
7975 * src/hildon-number-editor.c:
7976 * src/hildon-time-picker.c: Adding the 5* multiplier to
7979 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7981 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7982 instead of g_object_ref + gtk_object_sink.
7984 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7990 * debian/changelog: Updating.
7992 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7994 * src/hildon-color-chooser-dialog.c:
7995 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7996 straight from Tommi labs.
7998 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8000 * examples/hildon-finger-example.c: Correcting the header file path.
8002 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8003 the changed signal. Fixes a small memory leak.
8005 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8009 * src/hildon-banner.c: Importing several usefull fixes from the
8010 ubuntu-mobile branch.
8012 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8014 * examples/Makefile.am:
8015 * examples/hildon-finger-example.c: Adding a finger-checking code
8018 * src/hildon-font-selection-dialog.c: Do not allocate the color
8019 structure using the g_new. Fixes NB#54061.
8021 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8023 * src/hildon-helper.c: Correcting tabs in file.
8025 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8027 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8028 control the visibility of the children.
8030 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8032 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8038 * debian/changelog: Updating.
8040 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8042 * src/hildon-bread-crumb-trail.c:
8043 (hildon_bread_crumb_trail_size_allocate):
8045 Make the back button always a square.
8047 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8049 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8050 from the .c file as it's a private file.
8052 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8054 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8055 uses slightly bigger height.
8057 * src/hildon-font-selection-dialog.c: Adding some checks before
8058 freeing memory in the font selection dialog.
8060 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8062 * src/hildon-font-selection-dialog.c: Adding a small check when
8065 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8066 buttons sensitivity on page switching.
8068 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8070 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8071 internal details of adding a bread crumb to the trail.
8073 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8079 * debian/changelog: Updating.
8081 * src/hildon-bread-crumb-trail.h:
8082 * src/hildon-bread-crumb.h: Changing the API guard to
8083 HILDON_ENABLE_UNSTABLE_API.
8085 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8093 * src/hildon-helper.h: Updating.
8095 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8103 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8107 * src/hildon-helper.h: Small fix to make the package actually compile.
8109 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8111 * src/hildon-bread-crumb-trail.h:
8112 * src/hildon-bread-crumb.h:
8114 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8115 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8117 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8119 * examples/hildon-bread-crumb-trail-example.c:
8121 * src/hildon-bread-crumb-trail.c:
8122 * src/hildon-bread-crumb-trail.h:
8123 * src/hildon-bread-crumb.c:
8124 * src/hildon-bread-crumb.h:
8125 * src/hildon-marshalers.list:
8126 * src/hildon-bread-crumb-widget.c:
8127 * src/hildon-bread-crumb-widget.h:
8129 Slight change in the widget design. The bread crumb trail API is
8130 unchanged, but HildonBreadCrumb is now an interface. A *private*
8131 implementation, hildon-bread-crumb-widget, is provided and used
8132 internally by the trail for the push_text/push_icon functions.
8134 The generic push API is still available, so anyone can implement
8135 and use its own bread crumb widget.
8137 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8139 * debian/rules: Fixing the shlibs.
8141 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8143 * src/hildon-banner.c: Fixing a problem with timed banners having
8144 their parrent destroyed before they are.
8146 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8148 * src/hildon-bread-crumb.c:
8149 * src/hildon-bread-crumb.h:
8151 Make the get_natural_size function a vfunc.
8153 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8155 * src/hildon-bread-crumb.c:
8156 * src/hildon-bread-crumb-trail.c:
8160 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8167 * debian/changelog: Updating for release.
8169 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8171 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8172 don't leak the pango layout.
8174 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8177 * examples/hildon-bread-crumb-trail-example.c:
8181 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8183 * debian/changelog: Removing the bug-fixed entries that were actually
8184 resolved as WONTFIX.
8186 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8189 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8191 * src/hildon-bread-crumb-trail.c:
8192 * src/hildon-bread-crumb-trail.h:
8193 * src/hildon-bread-crumb.c:
8194 * src/hildon-bread-crumb.h:
8198 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8200 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8201 until it's passed the type check.
8203 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8205 * examples/hildon-bread-crumb-trail-example.c
8209 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8211 * examples/Makefile.am
8212 * examples/hildon-bread-crumb-trail-example.c
8214 * src/hildon-bread-crumb-trail.c
8215 * src/hildon-bread-crumb-trail.h
8216 * src/hildon-bread-crumb.c
8217 * src/hildon-bread-crumb.h
8219 New HildonBreadCrumbTrail widget.
8221 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8223 * src/hildon-range-editor.c (hildon_range_editor_init),
8224 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8225 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8226 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8227 hildon_time_editor_class_init, hildon_time_editor_init),
8228 src/hildon-get-password-dialog.c (invalid_input,
8229 hildon_get_password_set_property, hildon_get_password_get_property,
8230 create_contents, hildon_get_password_dialog_set_max_characters),
8231 src/hildon-set-password-dialog.c (create_contents),
8232 src/hildon-date-editor.c (hildon_date_editor_init),
8233 src/hildon-login-dialog.c (hildon_login_dialog_init),
8234 src/hildon-number-editor.c (hildon_number_editor_init),
8235 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8236 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8237 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8238 configure option and adding the respective checks in the code.
8239 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8240 hildon_calendar_drag_data_received): fixed some build warnings.
8242 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8244 * debian/changelog: A 1.0.0 release notes.