1 2009-05-21 Alejandro Pinheiro <apinheiro@igalia.com>
3 * hildon/hildon-banner.[ch]:
4 (hildon_banner_show_information_override_dnd): remove icon_name from the
5 method definition as it is ignored.
6 * examples/hildon-banner-dnd-example.c: updated with the change on
9 2009-05-21 Alejandro Pinheiro <apinheiro@igalia.com>
11 * hildon/hildon-banner-private.h: new require_override_dnd and
12 overrides_dnd variables
13 * hildon/hildon-banner.h:
14 (hildon_banner_show_information_override_dnd): new method, that shows
15 the information but sets the override flag, in order to show important
17 * hildon/hildon-banner.c
18 (hildon_banner_show_information_override_dnd): new method
19 (hildon_banner_set_override_flag): new utility function
20 (hildon_banner_real_show_information): new utility function, in order to
21 generalize the current hildon_banner_show_information_override_dnd and
22 hildon_banner_show_information_override_dnd
23 * examples/Makefile.am
24 * examples/hildon-banner-dnd-example.c: New example that show how to
25 use the new hildon_banner_show_information_override_dnd
27 Fixes: NB#114874 (There is no possibility to show hildon banners with
30 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
32 * hildon/hildon-pannable-area.c: Add a comment explaining the math
33 behind hildon_pannable_calculate_vel_factor().
35 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
37 * hildon/hildon-pannable-area.c
38 (hildon_pannable_calculate_vel_factor): Correct the sum of the
41 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
43 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
44 Reduce the default value for 'scroll_time' to 1 second, since the
45 current initial scrolling takes too much time.
47 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
49 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
50 calculate velocity factor during initialization, since the properties
53 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
55 * hildon/hildon-pannable-area.c
56 (hildon_pannable_area_set_property): Calculate the velocity factor
57 after setting the deceleration property and not after.
59 2009-05-20 Alberto Garcia <agarcia@igalia.com>
61 * hildon/hildon-entry.c
62 (hildon_entry_class_init, +set_property, hildon_entry_new)
63 * hildon/hildon-check-button.c
64 (hildon_check_button_class_init)
65 (+set_property, hildon_check_button_new):
66 Make the theme size a property.
68 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
69 others) do too much in the _new function)
71 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
73 * configure.ac: post release version bump
74 * debian/changelog: post release version bump
76 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
81 * configure.ac: Bump version.
82 * debian/changelog: Updates.
84 2009-05-15 Alberto Garcia <agarcia@igalia.com>
87 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
88 New API function to take a screenshot of a window
90 Fixes: NB#106374 (Need API to take a loading screenshot)
92 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
94 * hildon/hildon-time-selector.c
95 (update_format_policy): prevent to use hours and minutes unitialized
97 2009-05-15 Alberto Garcia <agarcia@igalia.com>
99 * hildon/hildon-window.c (hildon_window_size_request):
100 Always request the full size of the screen (minus the title bar if
101 not in fullscreen mode).
103 Fixes: NB#107486 (HildonWindow should size itself properly)
105 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
107 * hildon/hildon-note-private.h: Add idle_handler to the private data.
108 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
109 (on_show_cb), (sound_handling): Disconnect the idle handler for
110 the sound when the note is finalized to avoid possible crashes.
112 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
115 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
117 * src/hildon-animation-actor.c,
118 * src/hildon-remote-texture.c:
119 Added proper object cleanup to remove signal handler and object
120 references as HildonAnimationActor and HildonRemoteTexture
121 objects get destroyed.
123 Fixes: NB#116682 (Destroying parented animation actors when
124 parent in unmapped leads to crash)
126 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
128 Based on a patch by Christian Dywan (christian@imendio.com)
130 * doc/hildon-sections.txt:
131 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
132 * hildon/hildon-helper.h: New file size formatting method.
134 * debian/control: Depend on osso-filemanager l10n package for
135 proper localization strings.
137 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
139 * tests/Makefile.am: Include top_srcdir to make possible to build
140 tests in a different builddir.
141 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
142 on a different builddir.
144 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
146 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
147 (hildon_touch_selector_remove): Disconnect model's signal handler
150 Fixes: NB#116289 (Hildon home crashes while adding task
153 2009-05-11 Alberto Garcia <agarcia@igalia.com>
155 * hildon/hildon-button.c
156 (hildon_button_set_title, hildon_button_set_value):
157 Hide labels containing an empty string.
159 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
161 * configure.ac: post release version bump
162 * debian/changelog: post release version bump
164 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
169 * configure.ac: Bump version.
170 * debian/changelog: Updates.
172 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
174 * hildon/hildon-note-private.h: Removed sound_signal_handler
175 * hildon/hildon-note.c
176 (on_show_cb): new callback on note "show" event, this simply adds
177 a idle, with the function sound_handling
178 (sound_handling): removed the sound_signal_handler management
179 (hildon_note_init): connect note "show" event to on_show_cb
180 (hildon_note_realize): remove the connection to "expose-event"
182 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
183 device?' confirmation note)
185 2009-05-08 Alberto Garcia <agarcia@igalia.com>
187 * hildon/hildon-note.c
188 (hildon_note_new_information_with_icon_name)
189 (hildon_note_new_confirmation_with_icon_name):
190 Terminate the list of parameters in g_object_set() calls
192 Fixes: NB#115166 (Formatting memory card is not taking place)
194 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
196 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
197 "dialog-information" role for the sound being played.
199 2009-05-06 Alberto Garcia <agarcia@igalia.com>
201 * hildon/hildon-app-menu.c (hildon_app_menu_init):
202 Don't make the menu a modal window, it causes strange interactions
203 with the pointer grab and it's not really needed.
205 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
207 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
209 * hildon/hildon-touch-selector.[ch]
210 (hildon_touch_selector_optimal_size_request): function added to get a
211 optimal size request from the touch selector, when you want a dialog to
212 show as much of the selector
213 * hildon/hildon-picker-dialog.c:
214 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
215 (hildon_app_menu_class_init):
216 New "max-height-landscape" and "max-height-portrait" style properties
217 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
218 (hildon_picker_dialog_get_max_height): returns the maximum height using
219 the style properties defined and checking the current portrait/landscape
221 (_hildon_picker_dialog_set_selector): removed the set_size_request
223 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
225 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
227 * hildon/hildon-bread-crumb-trail.c:
228 * hildon/hildon-bread-crumb.c:
229 * hildon/hildon-seekbar.c:
230 Add reference to replacements for these deprecated widgets.
232 Fixes: MB#4461 (Documentation: All deprecations should mention
235 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
237 * examples/hildon-remote-texture-example.c
239 Change the include to the hildon-remote-texture in order to compile
240 properly the examples on the installed libhildon1-examples package
242 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
244 * tests/Makefile.am: Add check for HildonPickerButton.
245 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
246 (START_TEST), (create_hildon_picker_button_suite): Add three simple
247 checks for the HildonPickerButton.
248 * tests/check_test.c (configure_tests): Add the test suite.
249 * tests/test_suites.h: likewise.
251 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
253 * hildon/hildon-touch-selector.c
254 (+on_row_changed): Emit HildonTouchSelector:changed when the
255 contents of a selected row change.
256 (_create_new_column), (_hildon_touch_selector_set_model): connect
257 to GtkTreeModel:row-changed on a newly set model.
259 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
261 2009-05-05 Alberto Garcia <agarcia@igalia.com>
263 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
265 * hildon/hildon-banner.c (hildon_banner_destroy)
266 (hildon_banner_show_progress, hildon_banner_set_fraction):
267 Remove the progress bar from HildonBanner and use a progress
270 Fixes: NB#113761 (Update progress banner to use progress
273 2009-05-04 Alberto Garcia <agarcia@igalia.com>
275 * hildon/hildon-banner.c:
276 Calculate size of the banner label using the actual screen width
277 rather than using a fixed value.
279 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
282 2009-05-04 Alejandro G. Castro <alex@igalia.com>
284 * hildon/hildon-pannable-area.c,
285 (hildon_pannable_area_class_init): Fixed signals documentation
288 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
290 * configure.ac: post release version bump
291 * debian/changelog: post release version bump
293 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
298 * configure.ac: Bump version.
299 * debian/changelog: Updates.
301 2009-05-01 Alberto Garcia <agarcia@igalia.com>
303 * hildon/hildon-edit-toolbar.c
304 (hildon_edit_toolbar_init):
305 Don't let buttons in HildonEditToolbar receive focus.
307 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
308 typing on an HW arrows key)
310 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
312 * doc/Makefile.am: Fix build.
314 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
316 * doc/Makefile.am: Do not redefine content_files.
318 2009-04-30 Alberto Garcia <agarcia@igalia.com>
326 Renamed src/ to hildon/
331 Include <hildon/hildon.h> directly in all examples.
333 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
335 * src/hildon-sort-dialog.c
336 (hildon_sort_dialog_add_sort_key_with_sorting)
340 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
342 * src/Makefile.am: Move generated sources to CLEANFILES, so that
343 make distcheck passes.
345 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
347 * Makefile.am: Enable gtk-doc during distcheck.
349 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
351 * Makefile.am: Do not distribute the debian/ directory.
353 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
355 * doc/Makefile.am: Add the extra SGML files to content_files,
356 so that they are distributed properly.
358 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
360 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
363 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
365 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
366 (hildon_note_new_information_with_icon_name): Set the "icon" property
367 to preserve soundness.
369 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
371 * src/hildon-font-selection-dialog.c
372 (hildon_font_selection_dialog_set_property): Fail when the "family"
373 property is set to NULL.
375 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
377 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
380 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
382 * src/hildon-time-selector.h:
383 Added HildonTimeSelectorFormatPolicy
384 * src/hildon-time-selector.c:
385 Added PROP_TIME_FORMAT_POLICY
386 (_check_ampm_format): renamed to check_automatic_ampm_format
387 (update_format_policy), (update_format_dependant_columns): new functions
388 (hildon_time_selector_class_init)
389 (hildon_time_selector_contructor)
390 (hildon_time_selector_init)
391 (hildon_time_selector_get_property)
392 (hildon_time_selector_set_property)
393 (hildon_time_selector_get_time)
394 (hildon_time_selector_set_time)
395 * src/hildon-touch-selector.h: new file
396 * src/hildon-touch-selector.c
397 (hildon_touch_selector_emit_changed)
398 (hildon_touch_selector_block_changed)
399 (hildon_touch_selector_unblock_changed)
400 Added functions to allow to block the emission of the "changed" signal
401 * src/hildon-picker-dialog.c
402 (hildon_picker_dialog_show): call the parent show before the custom code
403 * examples/hildon-time-button-example.c
404 Modified, so now you can configure the time format using the new property
406 Added a new property "time-format-policy" that allow to choose the time
407 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
408 case it uses gconf in order to check if the time selector must use
411 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
414 2009-04-28 Alberto Garcia <agarcia@igalia.com>
416 * src/hildon-note.c (hildon_note_init):
417 Label in HildonNote must be left aligned, not centered. This
418 reverts the last commit in HildonNote.
420 Fixes: NB#112933 (text is not left aligned in confirmation dialog
421 is connectivity dialog)
423 2009-04-27 Alberto Garcia <agarcia@igalia.com>
428 * doc/hildon-sections.txt:
429 Added hildon_gtk_window_set_do_not_disturb()
431 2009-04-27 Alberto Garcia <agarcia@igalia.com>
433 * src/hildon-note.c (hildon_note_init): Center label.
435 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
438 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
443 * configure.ac: Bump version.
444 * debian/changelog: Updates.
446 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
448 * src/hildon-note-private.h: Add button-width to the private data.
449 * src/hildon-note.c (+resize_button),
450 (+hildon_note_orientation_update): methods to repack widgets on orientation
452 (screen_size_changed): Call above method for confirmation notes.
453 (hildon_note_realize): Always connect to the "screen-size" changed signal.
454 (hildon_note_rebuild): Store the original width request from buttons.
456 Fixes: NB#109635 (Confirmation notes do not support portrait)
458 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
460 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
461 when it is a progress note.
463 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
465 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
466 in the note, since there are no horizontally arranged contents.
468 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
470 * src/hildon-gtk.c (+set_flag): new generic method to
471 set/delay a flag setting in a window.
472 (hildon_gtk_window_set_progress_indicator):
473 (hildon_gtk_window_set_do_not_disturb),
474 (hildon_gtk_window_set_portrait_flags): use set_flag() to
475 avoid code redundance.
477 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
479 Based on a patch by Alberto Garcia (agarcia@igalia.com)
481 * src/hildon-gtk.c (set_clear_window_flag),
482 (do_set_progress_indicator), (do_set_do_not_disturb),
483 (do_set_portrait_flags),
484 (hildon_gtk_window_set_progress_indicator),
485 (hildon_gtk_window_set_do_not_disturb),
486 (hildon_gtk_window_set_portrait_flags):
487 Allow setting dnd-flag, progress indicator, and portrait flags
488 when the window is not realized.
490 2009-04-24 Alejandro G. Castro <alex@igalia.com>
492 * src/hildon-pannable-area.c,
493 * src/hildon-pannable-area.h: Add the hildon deprecated define to
494 the size request policy function and defines.
496 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
498 * doc/hildon-sections.txt: Add the new API.
499 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
500 method to set the portrait flags.
501 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
503 Fixes: NB#112328 (Adding helpers for setting portrait properties)
505 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
507 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
508 to allow using this method with other flags.
509 (hildon_gtk_window_set_progress_indicator): Update accordingly.
510 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
512 2009-04-22 Alberto Garcia <agarcia@igalia.com>
514 * src/hildon-touch-selector.c
515 (hildon_touch_selector_append_text_column):
516 Make the cell renderer use the smallest width possible.
518 Fixes: NB#108470 (Selected items in multiple selection are either
519 having a tick that is cut or not visible at all.)
521 2009-04-22 Alberto Garcia <agarcia@igalia.com>
523 * src/hildon-touch-selector.c
524 (hildon_touch_selector_append_text_column):
527 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
529 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
530 Use g_strdup_printf() instead of a fixed size buffer.
532 2009-04-21 Alberto Garcia <agarcia@igalia.com>
534 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
535 Close banners when a HildonAppMenu is popped up.
537 Fixes: NB#111027 (Title menu closed immediately if activated when
538 "Invalid e-mail address" banner is shown)
540 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
545 * configure.ac: Bump version.
546 * debian/changelog: Updates.
548 2009-04-20 Alberto Garcia <agarcia@igalia.com>
550 * src/hildon-banner.c (hildon_banner_realize):
551 Mark HildonBanner as supporting portrait mode.
552 Use GDK to set window properties insetad of direct Xlib calls.
554 Fixes: NB#111830 (HildonBanner should be marked as supporting
557 2009-04-20 Alberto Garcia <agarcia@igalia.com>
559 * src/hildon-note.c (hildon_note_rebuild):
560 Hide action area in information notes. Prevents text from being
561 slightly aligned to the left.
563 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
566 2009-04-20 Alberto Garcia <agarcia@igalia.com>
568 Patch by Mox Soini (ext-mox.soini@nokia.com)
570 * src/hildon-banner.c (hildon_banner_create_animation):
571 Use stylus-sized icons in animation banner.
573 Fixes: NB#111206 (stylus sized icon for animation banner)
575 2009-04-20 Alberto Garcia <agarcia@igalia.com>
579 (+hildon_gtk_window_set_do_not_disturb):
580 New API to set the do-not-disturb flag.
582 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
584 2009-04-20 Alberto Garcia <agarcia@igalia.com>
586 * examples/hildon-progress-indicator-example.c: Fix example
588 * src/hildon-gtk.c (set_clear_window_flag)
589 (hildon_gtk_window_set_progress_indicator):
590 Create a generic function for setting flags to a window.
591 Use GDK instead of direct Xlib calls.
593 2009-04-14 Alberto Garcia <agarcia@igalia.com>
595 * src/hildon-button.c (hildon_button_set_arrangement):
596 Due to NB#88126, if one of the labels is too long it will be
597 painted outside the button. The 'value' label is more likely to be
598 the longest one, so we change its packing options in order to
599 truncate it if necessary. As a side effect, the 'title' label will
600 no longer be truncated.
602 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
604 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
609 * configure.ac: Bump version.
610 * debian/changelog: Updates.
612 2009-04-13 Alejandro G. Castro <alex@igalia.com>
614 Deprecation of the hildon_pannable_area_set_size_request_policy
615 API, the only policy properly supported in gtk+ nowadays is the
618 * src/hildon-pannable-area.c,
619 (hildon_pannable_area_size_request): Added a workaround for the
620 size_request to avoid the problems of huge pixmaps in case someone
621 is still using the function.
622 * src/hildon-pannable-area.h: Deprecated the enum with the
625 Fixes: NB#110244 (Problems with the
626 hildon_pannable_area_set_size_request_policy API)
628 2009-04-08 Alejandro G. Castro <alex@igalia.com>
630 * src/hildon-pannable-area.c,
631 (hildon_pannable_area_init),
632 (hildon_pannable_area_size_request),
633 (hildon_pannable_area_style_set),
634 (hildon_pannable_draw_vscroll),
635 (hildon_pannable_draw_hscroll),
636 (hildon_pannable_area_check_scrollbars): Replaced area_width with
637 indicator_width to clarify the use of the attribute.
639 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
644 * configure.ac: Bump version.
645 * debian/changelog: Updates.
647 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
649 * src/hildon-picker-dialog.c
650 * src/hildon-touch-selector.c
651 Reverting the change that tried to avoid the hardcoded height on
652 the picker dialog, as causes problems on the hildon-touch-selector
655 Fixes: NB#110029 (selectors not scrolling to selected value)
657 2009-04-07 Alberto Garcia <agarcia@igalia.com>
659 * src/hildon-touch-selector.c: Fix typos
661 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
663 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
664 Use the event coordinates instead of gdk_window_get_pointer(). Also,
665 request more motions after using it.
667 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
669 * src/hildon-calendar.c (hildon_calendar_expose),
670 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
671 Remove unused variables.
673 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
675 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
678 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
680 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
681 Check the return value of gtk_tree_selection_get_selected()
684 2009-04-06 Alberto Garcia <agarcia@igalia.com>
686 * src/hildon-animation-actor.c
687 * src/hildon-button.c
689 * src/hildon-pannable-area.c
690 * src/hildon-picker-button.c
691 * src/hildon-program.c
692 * src/hildon-remote-texture.c
693 * src/hildon-text-view.c
694 * src/hildon-touch-selector.c
695 * src/hildon-window-stack.c
696 * src/hildon-window.c:
697 Add missing 'Since: 2.2' tags.
699 * doc/hildon-sections.txt:
700 Add some missing symbols.
702 * doc/hildon-docs.sgml:
703 New 'Other' section for HildonAnimationActor and
706 2009-04-06 Alberto Garcia <agarcia@igalia.com>
708 Patch by Iván Gómez (igomez@igalia.com)
712 * doc/hildon-docs.sgml
713 * doc/hildon-sections.txt
717 New chapters on using the Hildon library.
718 Updated the general structure of the reference manual.
719 Other minor documentation fixes.
721 * src/hildon-calendar-popup.c
722 * src/hildon-calendar.c
723 * src/hildon-controlbar.c
724 * src/hildon-date-editor.c
725 * src/hildon-dialog.c
726 * src/hildon-hvolumebar.c
727 * src/hildon-number-editor.c
728 * src/hildon-range-editor.c
729 * src/hildon-sort-dialog.c
730 * src/hildon-time-editor.c
731 * src/hildon-time-picker.c
732 * src/hildon-volumebar-range.c
733 * src/hildon-volumebar.c
734 * src/hildon-vvolumebar.c
735 * src/hildon-weekday-picker.c:
736 Add deprecation notes
738 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
739 Document 'horizontal-movement' and 'vertical-movement' signals.
741 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
746 * configure.ac: Bump version.
747 * debian/changelog: Updates.
749 2009-04-06 Alejandro G. Castro <alex@igalia.com>
751 * src/hildon-pannable-area.c,
752 (hildon_pannable_area_class_init): increased the minimum velocity.
753 (hildon_pannable_area_button_release_cb): Updated the
754 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
755 setup. Review the code to control that last event.
757 Fixes: NB#109790 (Releasing finger in pannable area easily causes
760 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
762 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
764 * src/hildon-get-password-dialog.c
765 (hildon_get_password_set_property),
766 (hildon_get_password_get_property), (create_contents):
767 * src/hildon-login-dialog-private.h:
768 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
769 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
770 (hildon_login_dialog_get_password):
771 * src/hildon-set-password-dialog-private.h:
772 * src/hildon-set-password-dialog.c
773 (hildon_set_password_set_property),
774 (hildon_set_password_get_property), (create_contents),
775 (hildon_set_password_response_change),
776 (hildon_set_password_response_set), (hildon_checkbox_toggled):
778 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
779 instead and look more Fremantle style.
781 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
783 2009-04-03 Alberto Garcia <agarcia@igalia.com>
785 * doc/hildon-sections.txt
786 * src/hildon-window-stack.h
787 * src/hildon-window-stack.c
788 (+hildon_window_stack_get_windows):
789 New API to obtain the list of windows on a stack.
791 2009-04-02 Alberto Garcia <agarcia@igalia.com>
793 * src/hildon-app-menu.c (hildon_app_menu_popup)
794 (hildon_app_menu_class_init, -hildon_app_menu_show):
795 Remove hildon_app_menu_show() and move all its checks to
796 hildon_app_menu_popup()
798 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
800 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
801 (_hildon_picker_dialog_set_selector): removed call to
802 gtk_widget_set_size_request
803 * src/hildon-touch-selector.c
804 (_create_new_column): change the pannable size request policy
806 Avoid to use a hardcoded height for the hildon picker dialog. In order
807 to get that, we needed to change the hildon pannable size request
809 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
811 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
813 * src/hildon-window.c (hildon_window_map): Check for vbox to be
814 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
817 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
819 * debian/control: Depend on osso-system-lock localization package.
820 * src/hildon-code-dialog.c: Obtain the secu_application_title
821 translation from osso-system-lock.
822 * src/hildon-get-password-dialog.c (create_contents): Do not mark
823 for translation the atk related strings, that's not necessary.
824 * src/hildon-set-password-dialog.c (create_contents): Ditto.
825 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
826 cancel button, it is not required.
828 2009-04-02 Alejandro G. Castro <alex@igalia.com>
830 * src/hildon-pannable-area.c,
831 (hildon_pannable_area_class_init): Modified the default value of
832 the overshooting max speed, we have reduced it.
834 2009-04-02 Alberto Garcia <agarcia@igalia.com>
836 * doc/hildon-sections.txt
837 * src/hildon-window-private.h
838 * src/hildon-window.h
839 * src/hildon-window.c (hildon_window_class_init)
840 (hildon_window_init, hildon_window_finalize)
841 (hildon_window_realize, hildon_window_get_property)
842 (hildon_window_set_property, hildon_window_update_markup)
843 (hildon_window_get_markup, hildon_window_set_markup):
844 New "markup" property and hildon_window_{get,set}_markup() methods.
846 * examples/hildon-stackable-window-example.c (new_window):
847 Update example to use hildon_window_set_markup()
849 Fixes: NB#106375 (Need API to retitle a window with a title
852 2009-04-01 Alejandro G. Castro <alex@igalia.com>
854 * src/hildon-pannable-area.c,
855 (hildon_pannable_area_class_init): Changed the default value of
856 the initial_hint to TRUE.
857 (hildon_pannable_area_initial_effect): Changed the initial effect,
858 not the effect is just the fade-out of the scrollbars.
860 Fixes: NB#107775 (No scrollbars can be seen when several items are
861 available in a dialog)
863 2009-04-01 Alberto Garcia <agarcia@igalia.com>
865 * src/hildon-program.c (hildon_program_update_top_most):
868 Fixes: NB#109179 (Memory leak in Hildon program)
870 2009-04-01 Alberto Garcia <agarcia@igalia.com>
872 * src/hildon-banner.c (-get_current_app_window):
873 Remove unused function.
875 2009-04-01 Alejandro G. Castro <alex@igalia.com>
877 * src/hildon-pannable-area.c: Modified the documentation of the
878 get adjustments functions to explain the problem of using the
880 (hildon_pannable_area_class_init): Improved the explanation about
883 2009-04-01 Alberto Garcia <agarcia@igalia.com>
885 * src/hildon-app-menu-private.h
886 * src/hildon-app-menu.c
887 (hildon_app_menu_class_init):
888 Bring back the 'external-border' style property
889 (hildon_app_menu_class_init, hildon_app_menu_init)
890 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
891 Set a fixed width-request for the menu, independent of the number
894 Fixes: NB#94957 (Smoothly opened application menu)
896 2009-03-30 Alberto Garcia <agarcia@igalia.com>
898 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
900 * src/hildon-banner.c
901 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
903 Make sure that the banner is correctly placed the first time it's
905 (hildon_banner_check_position, -check_fullscreen_state):
906 Show the banner in the same place no matter if the window is in
907 fullscreen mode or not.
909 Fixes: NB#107386 (Odd stacking behaviour for information banners)
911 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
913 * src/hildon-touch-selector.c (_default_print_func): reorder
914 concatenation for clarity.
916 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
918 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
919 for multicolumn selectors.
921 Fixes: NB#109099 (Memory leak in Hildon touch selector)
923 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
928 * configure.ac: Bump version.
929 * debian/changelog: Updates.
931 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
933 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
936 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
938 * configure.ac: removed libcangerra-gtk dependency
939 * debian/control: removed libcanberra-gtk dependency
940 * src/Makefile.am: removed libcanberra gtk related flags
941 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
942 context, and manage a global canberra context instead
944 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
946 2009-03-26 Alberto Garcia <agarcia@igalia.com>
948 Patch by Daniel Borgmann (danielb@openismus.com)
950 * src/hildon-edit-toolbar.c:
951 Adjust the left padding.
952 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
953 Paint background of the edit toolbar.
955 Fixes: NB#107897 (Patch to make editmodetoolbar background
956 themeable and adjust margin)
958 2009-03-25 Alberto Garcia <agarcia@igalia.com>
960 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
962 * src/hildon-program.c (hildon_program_update_top_most):
963 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
965 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
966 change when the user tasks in/out of an application)
968 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
970 * configure.ac: added libcangerra-gtk dependency
971 * debian/control: added libcanberra-gtk dependency
972 * src/Makefile.am: added libcanberra gtk related flags
973 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
976 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
978 2009-03-25 Alberto Garcia <agarcia@igalia.com>
980 * src/hildon-program.c (hildon_program_remove_window)
981 (hildon_program_add_window): Add checks for the window
982 parameter. Don't decrease the window counter if the window is not
985 2009-03-24 Alejandro G. Castro <alex@igalia.com>
987 * src/hildon-pannable-area.c,
988 (hildon_pannable_area_realize): Fixed position of the event_window
989 in the realize method.
991 2009-03-24 Alberto Garcia <agarcia@igalia.com>
993 * src/hildon-app-menu-private.h
994 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
995 (hildon_app_menu_map, hildon_app_menu_hide_idle)
996 (hildon_app_menu_key_press, hildon_app_menu_init)
997 (hildon_app_menu_finalize):
998 Make sure that all idle functions are removed when the widget is
1001 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1003 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1008 * configure.ac: Bump version.
1009 * debian/changelog: Updates.
1011 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1013 * src/hildon-entry.c
1014 (+hildon_entry_show_placeholder),
1015 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1016 that replace hildon_entry_update_contents().
1017 (hildon_entry_set_text),
1018 (hildon_entry_set_placeholder),
1019 (hildon_entry_focus_in_event),
1020 (hildon_entry_focus_out_event): Determine when it is needed
1021 either to show or hide the placeholder and call the above methods.
1023 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1024 when the placeholder text is already set)
1026 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1028 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1029 simple GdkPixbufAnim using the new icons for the banner.
1030 (hildon_banner_show_animation): Use the above mentioned method to
1031 create the animation widget.
1033 Fixes: NB#103564 (Make hildon animation banner use individual
1034 image files as the animation)
1036 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1038 * src/hildon-pannable-area.c,
1039 (hildon_pannable_leave_notify_event): Check if the child is NULL
1040 to avoid sending the leave.
1042 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1044 * src/hildon-pannable-area.c,
1045 (hildon_pannable_area_class_init),
1046 (hildon_pannable_leave_notify_event): Added a handler of the
1047 leave-notify-signal to consider when no motion notify before
1050 Fixes: NB#107494 (Items stay selected when clicking and moving
1051 away when inside pannable area)
1053 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1058 * configure.ac: Bump version.
1059 * debian/changelog: Updates.
1061 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1063 Patch by Alberto Garcia (agarcia@igalia.com)
1065 * src/hildon-date-button.c,
1066 (hildon_date_button_class_init),
1067 (hildon_date_button_init): Removed the construct property handling
1068 and created a default selector in the init method.
1069 * src/hildon-picker-button.c,
1070 (hildon_picker_button_class_init): Removed the construct flag of the
1073 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1075 * src/hildon-main.c (hildon_init):
1076 Don't allow hildon_init() to be called more than once.
1078 Fixes: NB#106607 (hildon_init should issue error message upon
1081 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1083 * examples/hildon-pannable-area-touch-list-example.c
1084 * examples/hildon-pannagle-area-touch-grid-example.c
1085 * examples/hildon-edit-toolbar-example.c
1086 * examples/hildon-touch-selector-multi-cells-example.c
1087 Removed the call to gtk_rc_parse_string, as it is not required since
1090 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1092 * src/hildon-pannable-area.c,
1093 (hildon_pannable_area_class_init): Modified the default panning
1094 threshold of the widget to 6px.
1096 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1097 than the threshold value ) within the button is not sending the
1100 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1102 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1103 for the treeview in the new column. This way, the touch list will never
1106 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1107 be selected manually for the HW keys to work)
1109 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1111 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1112 comparison instead of using strcmp(). Fixes a compiler warning as well.
1114 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1116 * doc/hildon-docs.sgml: Do not set the library version in the
1117 document title, use the releaseinfo tag for that purpose instead.
1119 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1121 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1122 Do not jump to the first item if the text in the entry is removed.
1124 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1129 * configure.ac: Bump version.
1130 * debian/changelog: Updates.
1132 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1134 * src/hildon-entry.c (hildon_entry_refresh_contents):
1135 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1136 Use "ReversedSecondaryTextColor" for the placeholder text.
1138 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1140 * src/hildon-text-view.c: Fix compilation warning.
1142 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1144 * src/hildon-button.c (hildon_button_class_init): Don't make
1145 "title" and "value" construction properties, to prevent them from
1146 overwriting labels set from derived classes.
1148 * src/hildon-picker-button.c
1149 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1150 (hildon_picker_button_class_init): Make touch-selector a
1151 construction property.
1153 * src/hildon-date-button.c (hildon_date_button_class_init)
1154 (+hildon_date_button_constructed): Add a default date selector if
1157 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1159 * src/hildon-touch-selector.c: Small documentation fixes.
1161 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1163 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1165 * src/hildon-entry.c (hildon_entry_refresh_contents),
1166 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1167 widget name, set the logical color directly instead and a boolean
1168 showing_placeholder instead.
1169 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1170 use the widget name here either.
1172 Fixes: NB#105678 (HildonTextView should use logical colours
1173 instead of setting widget name)
1175 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1177 Patch by Daniel Elster (danielk@openismus.com)
1179 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1180 Add user_data parameter.
1181 (hildon_touch_selector_set_print_func_full): New function akin
1182 hildon_touch_selector_set_print_func() but with support for user
1183 data and a destroy callback.
1184 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1185 to clean up the print function user data.
1186 (hildon_touch_selector_class_init): Install dispose function.
1187 (HildonTouchSelectorPrivate::print_user_data),
1188 (HildonTouchSelectorPrivate::print_destroy_func): New private
1190 (hildon_touch_selector_init): Initialize new private members.
1191 (hildon_touch_selector_get_current_text): Pass along user data
1192 to the print function.
1193 (_default_print_func): Add dummy user_data to parameter list.
1194 * hildon-date-selector.c (_custom_print_func): ditto,
1195 * hildon-time-selector.c (_custom_print_func): ditto,
1196 * hildon-touch-selector-entry.c
1197 (hildon_touch_selector_entry_print_func): ditto.
1199 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1201 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1203 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1205 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1207 * src/hildon-pannable-area.c,
1208 (hildon_pannable_area_init),
1209 (hildon_pannable_area_button_press_cb),
1210 (hildon_pannable_area_motion_notify_cb): We have added code to
1211 handle the leave and enter events when using the motion events.
1213 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1215 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1217 * src/hildon-date-button.c (hildon_date_button_get_date)
1218 (hildon_date_button_set_date): Make sure that the button has a
1221 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1223 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1225 * src/hildon-pannable-area.c,
1226 (hildon_pannable_area_class_init),
1227 (hildon_pannable_area_calculate_velocity): Modify the use of the
1228 force and adapt the value.
1230 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1232 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1233 (hildon_app_menu_class_init): Hide the menu if it receives a
1234 delete-event, but don't destroy it
1236 Fixes: NB#104485 (Not able to address the call when application
1237 menu is opened at background)
1239 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1241 * src/hildon-app-menu.c
1242 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1243 Remove the "external-border" style property, let the menu take its
1244 natural size (or the one set by the window manager)
1245 (hildon_app_menu_repack_items):
1246 Don't reshow the menu, avoid flickers.
1248 Partially fixes NB#94957 (Smoothly opened application menu)
1250 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1255 * configure.ac: Bump version.
1256 * debian/changelog: Updates.
1258 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1260 * src/hildon-pannable-area.c,
1261 (hildon_pannable_area_motion_notify_cb): We control that the
1262 direction error margin is used just in case the movement is
1263 allowed in the other direction.
1265 Fixes: NB#105012 (buttons inside a pannable area not getting
1266 release event when dragging/releasing)
1268 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1270 * src/hildon-pannable-area.c,
1271 (hildon_pannable_area_class_init),
1272 (hildon_pannable_area_get_property),
1273 (hildon_pannable_area_set_property),
1274 (hildon_pannable_area_initial_effect),
1275 (hildon_pannable_axis_scroll),
1276 (hildon_pannable_area_button_release_cb): Reviewed the
1277 overshooting effect, now it has its own max
1278 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1279 speed when bouncing.
1281 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1286 * configure.ac: Bump version.
1287 * debian/changelog: Updates.
1289 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1291 * src/hildon-pannable-area.c,
1292 (hildon_pannable_area_class_init): Changed the max speed, now
1293 users can launch the widget very fast. Reduced the default force,
1294 that way it is easier to control the launch speed.
1296 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1298 * src/hildon-pannable-area.c,
1299 (hildon_pannable_area_button_release_cb): Removed this check
1300 because it causes problems when the device is overloaded.
1302 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1304 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1305 add a current_text field to store the text entered in the
1306 touch selector entry.
1307 (_clean_current_selection): clean up the current text as well.
1308 (_save_current_selection), (_restore_current_selection):
1309 Save/restore the text in the entry if the selector is a
1310 HildonTouchSelectorEntry.
1312 Fixes: NB#102541 (value entered in the touch selector entry is not
1313 shown when opened for second time)
1315 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1317 * doc/hildon-sections.txt:
1318 * src/hildon-touch-selector-entry.c
1319 (+hildon_touch_selector_entry_get_entry):
1320 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1322 Fixes: NB#104815 (I need accessor to the entry inside
1323 HildonTouchSelectorEntry)
1325 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1327 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1328 (hildon_app_menu_class_init):
1329 New "filter-vertical-spacing" style property.
1331 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1333 * src/hildon-find-toolbar.c
1334 (hildon_find_toolbar_emit_close)
1335 (hildon_find_toolbar_emit_invalid_input)
1336 (hildon_find_toolbar_entry_activate):
1337 Use g_signal_emit() instead of g_signal_emit_by_name()
1339 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1341 Patch by Mox Soini (ext-mox.soini@nokia.com)
1343 * tests/TEST-CASES.txt
1344 * tests/check-hildon-banner.c
1345 * tests/check-hildon-note.c
1346 * src/hildon-banner.c
1347 * src/hildon-code-dialog.c
1348 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1349 * src/hildon-time-editor.c
1350 * examples/hildon-lookup-example.c (main):
1351 Replace obsolete icon names with new ones.
1353 * src/hildon-find-toolbar-private.h:
1354 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1355 (-hildon_find_toolbar_emit_search):
1356 Remove find button and change icon of close button.
1358 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1360 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1362 * src/hildon-time-button.c (hildon_time_button_new_step):
1363 Use the "touch-selector" property to set the selector directly
1364 when creating the object.
1366 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1368 Added a new example application that allows tuning the pannable
1369 area and replaced defines with properties in order to simplify the
1370 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1371 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1372 PROP_DIRECTION_ERROR_MARGIN.
1374 * examples/hildon-pannable-area-tuning-example.c: New example
1376 * src/hildon-pannable-area.c,
1377 (hildon_pannable_area_class_init),
1378 (hildon_pannable_area_init),
1379 (hildon_pannable_area_get_property),
1380 (hildon_pannable_area_set_property),
1381 (hildon_pannable_area_launch_fade_timeout),
1382 (hildon_pannable_area_adjust_value_changed),
1383 (hildon_pannable_axis_scroll),
1384 (hildon_pannable_area_motion_notify_cb),
1385 (hildon_pannable_area_scroll_cb),
1386 (hildon_pannable_area_button_release_cb): We have converted some
1387 of the defines that control the widget to properties to simplify
1390 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1392 * src/hildon-app-menu.c (hildon_app_menu_map)
1393 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1394 so it's closed if a new window appears.
1396 Fixes: NB#104485 (Not able to address the call when application
1397 menu is opened at background)
1399 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1401 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1402 missing 'break' statement in in 'case' construct to avoid
1405 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1407 * src/hildon-touch-selector-entry.c
1408 (hildon_touch_selector_entry_get_property),
1409 (hildon_touch_selector_entry_set_property): Add missing 'break'
1410 statements in in 'case' constructs to avoid incorrect warnings.
1412 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1414 * src/hildon-time-editor.c
1415 (hildon_time_editor_get_time_separators): Do not crash if
1416 the first label is NULL.
1418 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1420 * src/hildon-date-selector.c (_month_days): Check for month to be
1421 strictly less than 12, since otherwise we may overrun the array.
1423 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1425 * src/hildon-date-button.c (+hildon_date_button_new_full)
1426 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1427 (hildon_date_button_init): Set the date selector using a
1428 construction property, to make it happen after HildonButton's
1429 "value" property is set.
1431 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1432 current date by default)
1434 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1436 * doc/hildon-sections.txt
1437 * src/hildon-program.c
1438 * src/hildon-stackable-window.c
1439 * src/hildon-window.c:
1440 Documentation updates
1442 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1444 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1445 (hildon_window_stack_new, +hildon_window_stack_set_property)
1446 (+hildon_window_stack_get_property)
1447 (hildon_window_stack_class_init)
1448 (+hildon_window_stack_set_window_group)
1449 (+hildon_window_stack_get_window_group):
1450 Make the window group a construction property.
1452 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1454 * doc/hildon-sections.txt
1455 * src/hildon-stackable-window-private.h
1456 * src/hildon-stackable-window.h
1457 * src/hildon-stackable-window.c
1458 (-hildon_stackable_window_set_app_menu)
1459 (-hildon_stackable_window_get_app_menu)
1460 (-hildon_stackable_window_toggle_menu)
1461 (-hildon_stackable_window_finalize)
1462 (hildon_stackable_window_class_init)
1463 (hildon_stackable_window_init)
1464 * src/hildon-window-private.h
1465 * src/hildon-window.h
1466 * src/hildon-window.c (hildon_window_init)
1467 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1468 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1469 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1470 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1471 Moved all HildonAppMenu code to HildonWindow. The menu does not
1472 require a HildonStackableWindow anymore.
1474 * src/hildon-app-menu.c
1475 * src/hildon-program.c
1476 * examples/hildon-app-menu-example.c (main):
1477 Update examples and documentation to reflect HildonAppMenu
1480 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1482 * src/hildon-remote-texture.c
1483 * src/hildon-animation-actor.c:
1484 Don't include unused private headers.
1486 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1488 * src/hildon-program-private.h
1489 * src/hildon-program.c
1490 (hildon_program_set_common_menu)
1491 (hildon_program_get_common_menu)
1492 (hildon_program_set_common_app_menu)
1493 (hildon_program_get_common_app_menu):
1494 Change common menu pointers from GtkWidget* to GtkMenu* and
1495 HildonAppMenu* to avoid unnecessary casts.
1497 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1499 * src/hildon-window.c (hildon_window_set_main_menu):
1500 Removed incorrect 'Since:' tag
1502 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1504 * src/hildon-pannable-area.c,
1505 (hildon_pannable_area_calculate_velocity): We use now the
1506 RATIO_TOLERANCE here to check the distance, fixed typo in the
1508 (hildon_pannable_area_motion_notify_cb): We have to set the type
1509 and time even if we are not sending the motion.
1511 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1513 * doc/hildon-sections.txt
1514 * src/hildon-app-menu.h
1515 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1516 (+hildon_app_menu_get_filters): New methods to get the contents of
1519 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1522 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1524 * src/hildon-app-menu.c (hildon_app_menu_popup):
1527 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1529 * src/hildon-window.h
1530 * src/hildon-window.c (+hildon_window_get_main_menu)
1531 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1532 and deprecated hildon_window_get_menu().
1534 * src/hildon-stackable-window.h
1535 * src/hildon-stackable-window.c
1536 (+hildon_stackable_window_set_app_menu)
1537 (+hildon_stackable_window_get_app_menu)
1538 (hildon_stackable_window_set_main_menu): Created
1539 hildon_stackable_window_{get,set}_app_menu() and deprecated
1540 hildon_stackable_window_set_main_menu().
1542 * doc/hildon-sections.txt
1543 * examples/hildon-app-menu-example.c (main)
1544 * src/hildon-app-menu.c
1545 * src/hildon-program.c:
1546 Updated examples and documentation.
1548 Fixes: NB#103758 (No way to obtain a menu from a
1549 HildonStackableWindow)
1551 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1556 * configure.ac: Bump version.
1557 * debian/changelog: Updates.
1559 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1561 * examples/hildon-remote-texture-example.c: Include
1562 hildon-remote-texture.h explicitely.
1563 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1564 applications not defining _XOPEN_SOURCE which don't require this header.
1566 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1568 * doc/hildon-sections.txt
1569 * src/hildon-app-menu.h
1570 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1571 New function to pop up a HildonAppMenu
1573 * src/hildon-stackable-window.c
1574 (hildon_stackable_window_toggle_menu):
1575 Use hildon_app_menu_popup() to show the menu.
1577 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1579 * src/hildon-app-menu.c (hildon_app_menu_show)
1580 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1581 menu if there's another window between it and its parent window.
1583 Fixes: NB#100468 (Application menu window is launched even when a
1584 new secondary-window/dialog is pending to be shown/realized)
1586 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1588 * src/hildon-window-stack.c (hildon_window_stack_push)
1589 (hildon_window_stack_pop_and_push):
1590 Don't forget to push/pop the first window.
1591 Reverse the window list before calling _push_list()
1593 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1595 * src/hildon-picker-button.h
1596 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1597 Remove "value_changed" slot to avoid ABI breakage
1599 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1601 * src/hildon-pannable-area.c,
1602 (hildon_pannable_area_realize),
1603 (hildon_pannable_area_unrealize),
1604 (hildon_pannable_draw_vscroll),
1605 (hildon_pannable_draw_hscroll): Changed the method to handle the
1606 GC used to draw the transparent scrollbar, this way we avoid
1607 creating the GC all the time when drawing the scrollbars.
1609 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1611 * src/hildon-pannable-area.c,
1612 (hildon_pannable_area_init),
1613 (hildon_pannable_area_remove): Removed some unnecessary casts.
1614 (hildon_pannable_area_dispose): Disconnected some signals before
1615 releasing the adjustments.
1617 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1619 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1620 Make sure that all widgets contained in the toolbar are shown.
1622 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1624 * doc/hildon-sections.txt
1625 * src/hildon-picker-button.h
1626 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1627 (_selection_changed, hildon_picker_button_on_dialog_response)
1628 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1629 New hildon_picker_button_value_changed() method.
1632 * src/hildon-picker-button-private.h
1633 * src/hildon-picker-button.c (hildon_picker_button_init)
1634 (+hildon_picker_button_disable_value_changed): Add protected
1635 function for disabling the "value-changed" signal.
1637 * src/hildon-date-button.c (hildon_date_button_set_date):
1638 Don't emit "value-changed" for each one of the three columns.
1640 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1641 before actual change of values)
1643 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1645 * src/hildon-pannable-area.c,
1646 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1647 for the treeview overshooting.
1649 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1651 * src/hildon-banner.c (+hildon_banner_bind_style):
1652 Renamed from hildon_banner_bind_label_style(), now naming the
1653 banner itself as well.
1654 (hildon_banner_show_information),
1655 (hildon_banner_show_information_with_markup),
1656 (hildon_banner_show_animation), (hildon_banner_show_progress):
1657 Name the widgets and labels, based on their type.
1659 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1662 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1664 * src/hildon-note.c (hildon_note_set_property): call
1665 hildon_note_rename() on HildonNote:note-type set.
1666 (hildon_note_rename): Name the note and its label, based on the
1667 HildonNote:note-type property.
1669 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1672 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1674 * src/hildon-pannable-area.c,
1675 (hildon_pannable_area_class_init),
1676 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1677 panning parameters, increased SPS and deceleration factor. Added
1678 also a margin to control fake directions.
1680 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1682 Patch by Sven Herzberg (sven@imendio.com)
1684 * configure.ac: Add missing AM_PROG_CC_C_0
1685 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1687 See NB#101420 (Update unit tests and fix make check)
1689 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1691 This patch was applied before but reverted because it caused
1692 problems, we have changed the main condition and tested the
1693 regressions we detected before and they work ok. We have done a
1694 complete review of the topmost algorithm in order to get a more
1697 * src/hildon-pannable-area.c,
1698 (hildon_pannable_area_get_topmost): Added a new parameter to
1699 filter the the windows that do not include those events.
1700 (hildon_pannable_area_button_press_cb),
1701 (hildon_pannable_area_button_release_cb),
1702 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1703 topmost function, we have added the new parameter.
1705 Fixes: NB#97458 (Pannable area prevents propagation of button
1708 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1710 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1711 if all columns in the selector have an item selected.
1712 (_on_dialog_response): Stop "response" signal emission if there is
1713 any selector column without selected items.
1715 Fixes: NB#101889 (Picker dialog should not close when nothing is
1716 selected in multiple selection list)
1718 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1720 * src/hildon-font-selection-dialog.c
1721 (hildon_font_selection_dialog_class_init),
1722 (hildon_font_selection_dialog_init): Remove the preview
1723 button and dialog, since previewing with default theming is likely
1724 to be overcomplicated. The :preview property has now no effect.
1725 Update documentation blurbs to inform about this.
1727 Fixes: NB#92297 (Preview content is not clearly visible for
1728 default colour text)
1730 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1732 Reviewed the geometry that handles the children size and
1733 scrollbar, now it tries a size and reviews the results depending
1734 on the scrollbars visibility.
1736 * src/hildon-pannable-area.c,
1737 (hildon_pannable_area_realize): Fixed a typo.
1738 (hildon_pannable_area_child_allocate_calculate): Added this
1739 function to calculate the child allocation.
1740 (hildon_pannable_area_size_allocate): Reviewed the allocation
1742 (hildon_pannable_area_check_scrollbars),
1743 (hildon_pannable_area_refresh): Refactored refresh function, this
1744 way we can call the code handling the scrollbars without causing a
1745 size_request, it is interesting in the allocate.
1746 (hildon_pannable_area_init): Replace the callbacks of the
1747 value_changed and changed signals to propertly deal with the
1749 (hildon_pannable_area_grab_notify),
1750 (hildon_pannable_area_initial_effect),
1751 (hildon_pannable_area_launch_fade_timeout),
1752 (hildon_pannable_area_adjust_changed),
1753 (hildon_pannable_area_adjust_value_changed),
1754 (hildon_pannable_area_redraw),
1755 (hildon_pannable_area_button_press_cb),
1756 (hildon_pannable_area_button_release_cb),
1757 (hildon_pannable_area_scroll_cb),
1758 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1759 code and use the new functions adjust_changed and
1760 adjust_value_changed.
1762 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1763 Contact editor dialog)
1765 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1770 * configure.ac: Bump version.
1771 * debian/changelog: Updates.
1773 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1775 * src/hildon-pannable-area.c,
1776 (hildon_pannable_area_get_topmost),
1777 (hildon_pannable_area_button_press_cb),
1778 (hildon_pannable_area_button_release_cb),
1779 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1780 topmost function adding the event mask. We have to try a
1781 differente approach because it is still causing problems (NB#9745,
1784 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1786 * src/hildon-banner.c:
1787 Update the maximum width of timed banners.
1788 (force_to_wrap_truncated): Enforce the maximum text width if the
1791 Fixes: NB#102413 (The text margins (wrapping) in information
1792 banner should be HILDON_MARGIN_TRIPLE)
1794 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1796 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1798 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1799 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1800 bound when calculating the scroll indicator position.
1802 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1803 treat ->lower correctly)
1805 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1807 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1808 expose event handling, since it is not necessary to draw the focus
1811 Fixes: NB#102467 (Do not show highlight on the text in
1814 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1816 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1817 full height of the toolbar for the button and the label.
1819 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1821 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1822 padding before the label and after the button.
1824 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1826 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1828 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1829 Add a GtkVSeparator between the button and the back arrow.
1830 Let the button have automatic size.
1831 Set a name to the widget for theming handling.
1833 Fixes: NB#101793 (Make edit toolbar the same height as window
1834 title bar (use title area theming))
1836 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1838 * src/hildon-helper.c (attach_new_color_element): Fix memory
1841 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1843 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1845 * examples/hildon-button-example.c (common_buttons_window): Don't
1848 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1850 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1851 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1853 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1855 * src/hildon-gtk.c: Check that the window is realized.
1857 Fixes: NB#102225 (Crash setting the progress indicator to a non
1860 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1862 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1863 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1864 instead of modifying the one in the widget style.
1866 Fixes: NB#101043 (Second row of all the command button are
1867 displayed in transparent mode.)
1869 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1871 * src/hildon-date-button.c
1872 * src/hildon-time-button.c: Add gettext macros
1874 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1876 * src/hildon-date-button.c (hildon_date_button_new):
1877 * src/hildon-time-button.c (hildon_time_button_new_step):
1878 Use new logical strings to set the button default title.
1880 Fixes: NB#99915 (Date and Time options are not localised in Date
1883 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1885 * src/hildon-pannable-area.c
1886 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1887 the PANNING_THRESHOLD.
1889 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1891 * src/hildon-pannable-area.c,
1892 (hildon_pannable_area_class_init): Increased the maximum speed.
1893 (hildon_pannable_area_get_property),
1894 (hildon_pannable_area_set_property),
1895 (hildon_pannable_area_timeout): Added a new low friction mode, it
1896 allows the user avoid friction when launching the widget fast
1897 enough. It is interesting to traverse long lists.
1899 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1901 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1902 (+hildon_stackable_window_delete_event): Ignore delete events if
1903 the window is not the topmost one.
1905 Fixes: NB#101698 (Back button long press and delete-event handling)
1907 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1909 * src/hildon-pannable-area.c,
1910 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1911 gtk-dnd-drag-threshold, it was too big. We have defined our own
1912 dnd define and set a smaller value: PANNIG_THRESHOLD.
1914 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1916 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1917 user-defined icons, use always the default one.
1919 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1921 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1923 This patch was applied before but reverted because it caused
1924 problems, we have changed the main condition and tested the
1925 regressions we detected before and they work ok.
1927 * src/hildon-pannable-area.c,
1928 (hildon_pannable_area_get_topmost): Added a new parameter to
1929 filter the the windows that do not include those events. Added
1930 also a condition when finding the window to filter windows that do
1931 not ask for those events.
1932 (hildon_pannable_area_button_press_cb),
1933 (hildon_pannable_area_button_release_cb),
1934 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1935 topmost function, we have added the new parameter.
1937 Fixes: NB#97458 (Pannable area prevents propagation of button
1940 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1942 * tests/check-hildon-color-button.c (START_TEST): do not leak
1945 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1947 * src/hildon-font-selection-dialog.c
1948 (hildon_font_selection_dialog_get_preview_text): Return NULL
1949 instead of FALSE on the g_return_val_if_fail().
1951 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1954 * src/hildon-date-selector.c
1955 (hildon_date_selector_select_current_date):
1956 Do not compare unsigned integers to be greater than or equal 0,
1957 because it's always TRUE.
1959 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1961 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1962 (hildon_date_selector_constructor): Do not select the current
1963 date until we are handle the "changed" signal, to avoid having bogus
1964 elements in the days model.
1966 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1968 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1969 for num_days, since _month_days() can return a negative value.
1971 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1973 * src/hildon-caption.c (hildon_caption_size_allocate):
1974 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1975 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1977 Initialize allocation variables to 0, to avoid eventually using
1978 unitialized variables.
1980 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1982 * src/hildon-bread-crumb-trail.c
1983 (hildon_bread_crumb_trail_size_allocate):
1984 * src/hildon-calendar.c (hildon_calendar_set_background):
1985 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1986 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1987 * src/hildon-seekbar.c (hildon_seekbar_init):
1988 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1989 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1990 * src/hildon-touch-selector-entry.c
1991 (hildon_touch_selector_get_text_from_model):
1992 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1993 * src/hildon-window.c (hildon_window_finalize):
1995 Remove many unused variables.
1997 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1999 * src/hildon-seekbar.c: (hildon_seekbar_init),
2000 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2002 Remove unnecessary g_assert() calls.
2004 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2006 * src/hildon-caption.c: (hildon_caption_expose),
2007 (hildon_caption_set_property), (hildon_caption_init),
2008 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2009 (hildon_caption_size_request), (hildon_caption_size_allocate),
2010 (hildon_caption_forall), (hildon_caption_set_separator),
2011 (hildon_caption_activate), (hildon_caption_set_child_expand),
2012 (hildon_caption_set_label_text),
2013 (hildon_caption_get_label_alignment):
2015 Remove unnecessary g_assert() calls.
2017 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2019 * src/hildon-banner.c
2020 (hildon_banner_map, hildon_banner_init): Make banner temporary
2021 before mapping it to avoid closing other temporary windows, but
2022 make it non-temporary afterwards to avoid being closed by other
2023 non-temporary windows.
2024 (-hildon_banner_client_event, hildon_banner_init):
2025 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2027 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2030 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2032 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2035 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2037 * src/hildon-remote-texture.c
2038 * src/hildon-remote-texture.h
2039 * src/hildon-remote-texture-private.h
2040 * examples/hildon-remote-texture-example.c:
2041 Updates/fixes to remote-texture and its example.
2043 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2045 Patch by Mox Soini (ext-mox.soini@nokia.com)
2047 * src/hildon-code-dialog.c: Update logical id.
2048 * src/hildon-set-password-dialog.c: Update logical id.
2050 Fixes: NB#100646 (Logical strings is shown for ok in set
2051 password,Password needed dialogs)
2053 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2056 * src/hildon-remote-texture.c
2057 * src/hildon-remote-texture.h
2058 * src/hildon-remote-texture-private.h
2060 Added remote texture widget (for Clutter shared memory textures)
2062 * examples/hildon-remote-texture-example.c
2063 * examples/Makefile.am
2064 Added example file for remote texture usage
2066 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2068 * configure.ac: post release version bump.
2069 * debian/changelog: version bump.
2071 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2076 * configure.ac: Bump version.
2077 * debian/changelog: Updates.
2079 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2081 * src/hildon-date-selector.c (hildon_date_selector_init)
2082 (hildon_date_selector_constructor): Don't connect to the "changed"
2083 signal until the selector is completely constructed.
2085 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2087 * src/hildon-touch-selector.c: (_create_new_column),
2088 (hildon_touch_selector_append_column),
2089 (hildon_touch_selector_set_column_selection_mode),
2090 (hildon_touch_selector_set_active),
2091 (hildon_touch_selector_select_iter):
2092 Emit the HildonTouchSelector::changed signal every time selection
2093 is changed in any of the methods above. This behavior was already
2094 documented but not fully functional.
2096 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2097 selection is programmatically changed)
2099 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2101 * doc/hildon-sections.txt: Remove obsolete icon
2102 sizes from here as well.
2104 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2106 * examples/hildon-stackable-window-example.c (add_window): Remove
2109 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2111 * src/hildon-app-menu.c
2112 (hildon_app_menu_show): Check whether the parent window of a menu
2113 is topmost before popping it up.
2115 Fixes: NB#100468 (Application menu window is launched even when a
2116 new secondary-window/dialog is pending to be shown/realized.)
2118 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2120 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2123 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2125 Patch by Mox Soini (ext-mox.soini@nokia.com)
2127 * src/hildon-banner.c: (hildon_banner_show_animation):
2128 use stylus size instead of obsolete note size.
2129 * src/hildon-defines.h: Update icon sizes.
2131 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2133 * src/hildon-touch-selector-entry.c:
2134 (hildon_touch_selector_entry_init): Disable unsupported
2136 (hildon_touch_selector_entry_get_text_column): Emit a warning
2137 if an unsupported input modes is used and explicitile state
2138 these modes in the documentation.
2140 Fixes: NB#99802 (Hildon touch selector entry not working properly
2141 for some of the input modes)
2143 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2145 * src/hildon-pannable-area.c,
2146 (hildon_pannable_area_init): Added the changed signal handlers of
2149 Fixes: NB#100320 (HildonPannableArea does not listen to
2150 GtkAdjustment "change" signals)
2152 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2154 * doc/hildon-sections.txt
2155 * src/hildon-window-private.h
2156 * src/hildon-window.h
2157 * src/hildon-window.c (hildon_window_init)
2158 (hildon_window_realize, hildon_window_unrealize)
2159 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2160 (hildon_window_size_request, hildon_window_size_allocate)
2161 (hildon_window_forall, hildon_window_show_all)
2162 (hildon_window_destroy, +paint_edit_toolbar)
2163 (+hildon_window_set_edit_toolbar):
2164 New hildon_window_set_edit_toolbar() method, to add a
2165 HildonEditToolbar to a window without having to pack it manually.
2167 Reorganize hildon_window_size_allocate()
2169 * src/hildon-edit-toolbar.c: Update documentation.
2171 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2172 example to use the new API.
2174 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2176 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2178 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2179 Remove from stack before calling parent's hide.
2181 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2183 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2184 window is removed from the middle of the stack, update the
2185 transiency of the previous one.
2187 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2190 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2192 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2193 block/unblock the signal handler if it's not actually being used.
2194 Fixes some critical warnings.
2196 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2198 Based on a patch by Iván Gómez (igomez@igalia.com)
2200 * src/hildon-banner.c
2204 * src/hildon-pannable-area.c
2205 * src/hildon-picker-dialog.c
2206 * src/hildon-wizard-dialog.h
2207 * src/hildon-wizard-dialog.c: Documentation updates.
2209 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2210 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2212 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2214 * configure.ac: post release version bump.
2215 * debian/changelog: version bump.
2217 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2222 * configure.ac: Bump version.
2223 * debian/changelog: Updates.
2225 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2227 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2228 a stock icon nor change the relief of the back arrow.
2230 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2231 graphics from theme)
2233 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2235 * src/hildon-button.c (hildon_button_set_alignment): Use
2236 priv->alignment if the button has no child yet.
2238 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2240 * src/hildon-button.c: (hildon_button_init): Set the
2241 button style during initialization to give it the proper
2244 Fixes: NB#99713 (HildonButton value label color is wrong)
2246 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2248 * src/hildon-touch-selector.c: Document
2249 hildon_touch_selector_center_on_selected()
2251 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2253 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2254 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2255 all menu items, but not the menu itself.
2256 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2257 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2258 items after adding them to the menu so keyboard accelerators work.
2259 (hildon_app_menu_show): Don't show the menu if it contains items
2260 but none of them are visible.
2262 * examples/hildon-app-menu-example.c (create_menu): Use
2263 gtk_widget_show_all() to show all menu items.
2265 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2267 * src/hildon-picker-dialog.c:
2268 (-_update_title_on_selector_changed_cb),
2269 (-_dialog_update_title): Removed.
2270 (_select_on_selector_changed_cb), (_on_dialog_response),
2271 (on_selector_columns_changed): Do not update the dialog title.
2272 (setup_interaction_mode): Do not connect to
2273 HildonTouchSelector::changed signal if there's a "done" button, as
2274 the dialog title doesn't need to be updated.
2276 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2279 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2281 Patch by Kristian Rietveld (kris@imendio.com)
2283 * src/hildon-touch-selector.c: (_create_new_column): Use new
2284 GtkTreeView::hildon-row-tapped signal to react to user interactions
2285 instead of ::changed.
2287 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2288 with some dynamic tree model)
2290 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2292 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2293 (+screen_size_changed, +label_size_request)
2294 (hildon_note_class_init): Make the Hildon information note have a
2295 minimum height, and make its text hvae a maximum width.
2297 Fixes: NB#98614 (Hildon information note (background) should have
2298 minimum height and maximum text width)
2300 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2302 * src/hildon-banner.h
2303 * src/hildon-banner.c (hildon_banner_show_information)
2304 (hildon_banner_show_informationf)
2305 (hildon_banner_show_information_with_markup): Update documentation
2306 to reflect that the icon_name parameter is not used anymore.
2307 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2308 Remove all code from these functions and mark them as deprecated.
2309 (hildon_banner_show_progress): Mark as deprecated.
2311 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2313 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2315 * src/hildon-pannable-area.c,
2316 (hildon_pannable_area_class_init),
2317 (tranparency_color),
2318 (hildon_pannable_draw_vscroll),
2319 (hildon_pannable_draw_hscroll),
2320 (hildon_pannable_area_expose_event): Added a new way to render the
2321 scrollbars of the pannable area avoiding using cairo at all. This
2322 way we improve the performance of the pannable area rendering. The
2323 cairo rendering procedure is still in the code, we can control
2324 which one to use changing the value of the define
2325 USE_CAIRO_SCROLLBARS.
2327 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2329 * configure.ac: post release version bump.
2330 * debian/changelog: version bump.
2332 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2337 * configure.ac: Bump version.
2338 * debian/changelog: Updates.
2340 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2342 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2343 banners instead of destroying them when they receive a button
2346 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2348 Reverted commit 34028, it was causing regressions, probably the
2349 topmost condition is not correct, we have to check it in more
2350 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2351 propagation of button press events)
2353 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2355 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2356 that the selection is not empty before attempting to retrieve the
2357 current ampm selection.
2359 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2361 * src/hildon-picker-button.c:
2362 (hildon_picker_button_on_dialog_response): Directly update the
2363 button contents when required instead of calling _selection_changed.
2365 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-program.c (hildon_program_update_top_most): Update
2368 'is-topmost' property also when wm_hints is not set.
2370 Fixes: NB#98383 (is-topmost signal is not emitted when task
2371 switcher is clicked.)
2373 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2375 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2379 * src/hildon-animation-actor.c,
2380 * src/hildon-animation-actor.h: Added the animation actor class,
2381 this widget represents an animation actor for WM-assisted
2382 animation effects in the Hildon framework.
2384 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2386 * src/hildon-window-stack-private.h
2387 * src/hildon-window-stack.c
2388 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2389 Avoid calling gtk_widget_show() again indirectly from
2390 hildon_stackable_window_show()
2392 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2394 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2397 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2399 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2400 (hildon_time_selector_init): Move the construction of the hours and
2401 ampm columns to the constructor to preserve the order the columns
2404 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2406 * src/hildon-picker-dialog.c:
2407 (hildon_picker_dialog_class_init): Connect a realize method.
2408 (+hildon_picker_dialog_realize): Setup the interaction mode here
2410 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2411 yet, do it during the realize instead.
2412 (_on_dialog_response):
2413 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2414 if the widget is not realized, to avoid the dialog response before it
2417 Avoid premature responses in the HildonPickerDialog that can cause it
2418 to be hidden before it's even shown.
2420 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2422 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2423 (on_selector_columns_changed), (requires_done_button),
2424 (+prepare_action_area), (setup_interaction_mode),
2425 (_hildon_picker_dialog_set_selector):
2427 Split the interaction mode setup into preparation of the
2428 action area (prepare_action_area()) and the connection of
2429 the signals in setup_interaction_mode() and update the code to
2432 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2434 * src/hildon-pannable-area.c,
2435 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2436 per second to 15, we will check if this is ok regarding
2439 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2441 * src/hildon-pannable-area.c,
2442 (hildon_pannable_axis_scroll): Avoid resize if we already have
2443 reached overshoot_max.
2445 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2447 * src/hildon-pannable-area.c,
2448 (hildon_pannable_area_init),
2449 (hildon_pannable_area_realize),
2450 (hildon_pannable_area_size_allocate),
2451 (hildon_pannable_area_map),
2452 (hildon_pannable_area_unmap),
2453 (hildon_pannable_draw_vscroll),
2454 (hildon_pannable_draw_hscroll),
2455 (hildon_pannable_area_expose_event),
2456 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2457 pannable are to avoid the expose events go to the window and
2458 redraw the window. We save this way that part of the stack and the
2459 paint_boxes. We had to change the positions of the elements when
2462 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2464 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2465 * src/hildon-color-chooser-dialog.c:
2466 (hildon_color_chooser_dialog_init):
2467 * src/hildon-font-selection-dialog.c:
2468 (hildon_font_selection_dialog_init),
2469 (hildon_font_selection_dialog_show_preview):
2470 * src/hildon-get-password-dialog.c:
2471 * src/hildon-login-dialog.c:
2472 * src/hildon-set-password-dialog.c:
2473 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2474 * src/hildon-time-picker.c: (hildon_time_picker_init):
2476 Remove obsolete logical string IDs and update to the appropriate ones.
2478 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2480 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2482 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2483 that happens if the window hasn't been realized yet.
2485 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2486 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2488 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2490 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2491 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2494 Fixes: NB#98537 (Device hangs in account settings dialog)
2496 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2498 * configure.ac: post release version bump.
2499 * debian/changelog: version bump
2501 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2506 * configure.ac: Bump version.
2507 * debian/changelog: Updates.
2509 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2511 Added a new function to the HildonTimeButton widget that allows to
2512 change the step of the minutes in the selector associated with the
2513 button: hildon_time_button_new_step
2515 * src/hildon-time-button.c,
2516 (hildon_time_button_init),
2517 (hildon_time_button_new),
2518 (hildon_time_button_new_step):
2519 * src/hildon-time-button.h: Added the new function and refactored
2521 * examples/hildon-time-button-example.c,
2522 (main): We have replaced the function without parameters with the
2523 function with the steps set to 5
2525 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2527 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2529 * src/hildon-time-selector.c,
2530 (hildon_time_selector_class_init),
2531 (hildon_time_selector_constructor),
2532 (hildon_time_selector_get_property),
2533 (hildon_time_selector_set_property),
2534 (_create_minutes_model),
2535 (hildon_time_selector_new_step),
2536 (hildon_time_selector_set_time),
2537 * src/hildon-time-selector.h: Added a new property to the
2538 HildonTimeSelector (minutes-step), we use that property to control
2539 the steps between the minutes in the list of the selector. We have
2540 added a new function to the API to create a widget changing the
2541 step: hildon_time_selector_new_step.
2543 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2545 * src/hildon-time-selector.c,
2546 (hildon_time_selector_class_init),
2547 (hildon_time_selector_constructor),
2548 (hildon_time_selector_init): Overrided the construct function when
2549 creating the time selector object. We have moved the minutes model
2550 handling code from the init to the new construction function:
2551 hildon_time_selector_constructor.
2553 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2555 * examples/hildon-date-button-example.c: (main): Use the new
2556 hildon_date_button_new_with_year_range() method in the example.
2557 * src/hildon-date-button.c:
2558 (+hildon_date_button_new_with_year_range): New public method
2559 to conveniently create a HildonDateButton with a custom year range
2560 in its HildonDateSelector.
2561 * src/hildon-date-button.h: Add the new public method definition.
2563 Fixes: NB#97908 (Not possible to change the year range in
2564 HildonDateSelector/HildonDateButton)
2566 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2568 * src/hildon-date-selector.c:
2569 (+hildon_date_selector_set_property),
2570 (+hildon_date_selector_get_property),
2571 (hildon_date_selector_class_init): Install new properties "min-year"
2572 and "max-year" to define boundaries for the year column.
2573 (_create_year_model): Use the boundary properties to populate the model.
2574 (+hildon_date_selector_new_with_year_range): New public method to
2575 create a HildonDateSelector with a user defined year range.
2576 (hildon_date_selector_select_current_date): Use the new boundaries to
2577 calculate the iterator of current year.
2578 * src/hildon-date-selector.h: Add the new public method definition.
2580 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2582 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2583 Install a constructor method.
2584 (+hildon_date_selector_construct_ui): construct the widget.
2585 (+hildon_date_selector_constructor): new constructor.
2586 (+hildon_date_selector_init): move out widget construction code to
2587 the new constructor.
2589 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2591 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2592 that there's actually a month or year selected before obtaining them.
2593 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2594 of the HildonTouchSelector::changed signal, as it was emitted on every
2595 single item selection.
2597 Fix some warnings and possible crashers due to the selection restoring.
2599 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2601 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2602 the signal handlers only after creating the dialog instead of on every
2605 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2607 * src/hildon-button.c (hildon_button_init)
2608 * src/hildon-check-button.c (hildon_check_button_init)
2609 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2610 focus when clicked by default.
2612 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2614 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2617 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2619 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2620 Alejandro G. Castro (alex@igalia.com)
2622 * src/hildon-picker-dialog.c:
2623 (hildon_picker_dialog_class_init): install new "center-on-show"
2625 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2626 (hildon_picker_dialog_set_property): add setter code for the new
2628 (hildon_picker_dialog_get_property): add getter code for the new
2630 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2631 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2634 Fixes: NB#92849 (Selected item is not always visible when
2635 HildonTouchSelector is shown)
2637 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2639 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2640 Alejandro G. Castro (alex@igalia.com)
2642 * src/hildon-touch-selector.c:
2643 (_create_new_column): Do not connect to the "realize" signal of the
2645 (hildon_touch_selector_append_column): center on the selected items
2646 when a new column is appended.
2647 (hildon_touch_selector_select_iter): Factor out the code to select a
2648 column to hildon_touch_selector_scroll_to().
2649 (+search_nearest_element): Method to retrieve the nearest selected
2650 element to the visible area of the pannable area in a column.
2651 (+on_realize_cb): scroll to the initially selected item.
2652 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2653 the pannable area is realized, otherwise delay this until it is.
2654 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2655 selected items of a given column.
2656 (+hildon_touch_selector_center_on_selected): Public method to center
2657 all columns on the nearest selected item.
2658 * src/hildon-touch-selector.h: Add definition for
2659 hildon_touch_selector_center_on_selected().
2661 Implement public API to ensure visibility of all selected items in
2662 a HildonTouchSelector.
2664 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2666 Fixed a problem in the fading when calling the scroll_to API, and
2667 improve scrollbar fading handling.
2669 * src/hildon-pannable-area.c,
2670 (hildon_pannable_area_grab_notify): avoid the timeout when the
2672 (hildon_pannable_area_button_press_cb),
2673 (hildon_pannable_area_motion_notify_cb): Code style changes.
2674 (hildon_pannable_area_button_release_cb): Review the conditions
2675 when releasing the mouse button to avoid unrequired fading
2677 (hildon_pannable_area_scroll_to): Do not calculate and set the
2678 velocity if the scroll is not required.
2680 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2682 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2683 Don't check whether the new selector is NULL: it cannot be.
2684 Hold a reference to the selector while doing the replacement.
2686 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2688 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2689 unnecessary size_request in a removed widget.
2691 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2693 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2694 an unnecessary reference tracking that was leaking.
2696 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2698 Added delayed motion notify event handling, this way we can
2699 discard redrawing if more than 25 events arrive per second.
2701 * src/hildon-pannable-area.c,
2702 (hildon_pannable_area_init): Initialized the new private atributes
2703 controlling this timeout
2704 (hildon_pannable_area_dispose): Remove the timeout that controls
2705 the motion notify events.
2706 (hildon_pannable_area_scroll): Added a condition to control the
2707 use of the acceleration.
2708 (hildon_pannable_area_motion_event_scroll_timeout),
2709 (hildon_pannable_area_motion_event_scroll): Added this two
2710 functions, they handle the motion notify events inside the
2712 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2713 to the scroll method with the new function.
2714 (hildon_pannable_area_button_release_cb): We have to remove the
2715 timeout handler and move to the last position if the last motion
2716 events were not handled.
2718 Fixes: NB#97028 (Pannable area updates on every motion event)
2720 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2722 * src/hildon-pannable-area.c,
2723 (hildon_pannable_area_get_topmost): Added a new parameter to
2724 filter the the windows that do not include those events. Added
2725 also a condition when finding the window to filter windows that do
2726 not ask for those events.
2727 (hildon_pannable_area_button_press_cb),
2728 (hildon_pannable_area_button_release_cb),
2729 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2730 topmost function, we have added the new parameter.
2732 Fixes: NB#97458 (Pannable area prevents propagation of button
2735 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2737 * src/hildon-pannable-area.c,
2738 (hildon_pannable_area_initial_effect): Added controls before
2739 launching the timeout and the idle functions.
2740 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2741 of the method, in some situations it can return with TRUE and 0 in
2743 (hildon_pannable_area_button_press_cb): We do not need to set
2744 DELAY for fading out here.
2746 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2748 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2750 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2751 post-cleaning if the selection is not NULL.
2753 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2755 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2756 all items before restoring the selection.
2758 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2760 * src/hildon-touch-selector.c:
2761 (+hildon_touch_selector_unselect_all):
2762 * src/hildon-touch-selector.h: New API to unselect all items in a
2763 column of the touch selector.
2765 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2767 * src/hildon-pannable-area.c,
2768 (hildon_pannable_area_redraw): Added a call to the refresh
2769 function inside the redraw because apparently in some cases the
2770 change in the adjustment does not imply a size allocate.
2772 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2773 despite the view not being scrollable)
2775 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2777 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2778 leak. Check for NULL before attempting to set the window title.
2780 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2782 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2783 whether to show or not the 'Done' button each time the dialog is
2784 shown, as it depends on the HildonTouchSelector selection mode.
2786 Fixes: NB#96226 (In multiple selection mode Done button is shown
2787 sometimes in listpicker)
2789 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2791 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2792 for the number of columns in the HildonTouchSelector more than once.
2794 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2796 * src/hildon-touch-selector.c: Minor documentation fixes.
2798 * src/hildon-picker-dialog.c (+_dialog_update_title)
2799 (_select_on_selector_changed_cb)
2800 (_update_title_on_selector_changed_cb)
2801 (on_selector_columns_changed): Update dialog title when there's no
2802 'Done' button and also when the number of columns in the selector
2806 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2807 (+_selection_changed, hildon_picker_button_on_dialog_response)
2808 (hildon_picker_button_selector_selection_changed)
2809 (+hildon_picker_button_selector_columns_changed)
2810 (hildon_picker_button_set_selector): Update button value and emit
2811 'value-changed' when the number of columns in the selector
2815 Fixes: NB#96225 (Dialog titles are not shown according to the
2816 values selected in the list picker)
2818 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2820 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2821 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2822 New "arrow-width" and "arrow-height" style properties to set the
2823 size of the arrow button.
2824 Set name of arrow button ("hildon-edit-toolbar-arrow").
2826 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2827 graphics from theme)
2829 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2831 * src/hildon-picker-button.c:
2832 (hildon_picker_button_selector_selection_changed): Use
2833 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2834 the dialog is present.
2836 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2837 the selection is accepted in the dialog)
2839 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2841 * src/hildon-color-chooser.h
2842 * src/hildon-color-chooser-dialog.h:
2843 Added G_BEGIN_DECLS and G_END_DECLS
2845 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2847 (_clean_current_selection): plug a leak in the list.
2849 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2851 * src/hildon-picker-dialog.c:
2852 (+free_path_list): Method to free a GList of GtkTreePaths.
2853 (_clean_current_selection), (_save_current_selection),
2854 (_restore_current_selection): Save the current selection in
2855 as a list of lists, to support multiple selection properly.
2857 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2859 patch by Claudio Saavedra (csaavedra@igalia.com)
2861 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2862 Store the press position.
2863 (+hildon_text_view_button_release_event): If the release position is
2864 close enough to the press position, move the cursor here. Otherwise,
2866 (hildon_text_view_class_init): Override GtkTextView press, release, and
2867 motion event handlers, disabling this way text selection through
2868 pointer interaction, and allowing the container widget to handle the
2871 Fixes: NB#95828 (HildonTextView functionality)
2873 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2875 Based on a patch by Iván Gómez (igomez@igalia.com)
2877 * src/hildon-button.[ch]
2878 * src/hildon-calendar.c
2879 * src/hildon-check-button.c
2880 * src/hildon-date-editor.c
2881 * src/hildon-date-selector.c
2882 * src/hildon-picker-button.c
2883 * src/hildon-time-editor.c
2884 * src/hildon-time-selector.c
2885 * src/hildon-touch-selector.[ch]:
2886 Documentation updates
2888 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2890 * src/hildon-pannable-area.c,
2891 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2892 threshold, it was required due to X events handling.
2894 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2896 * src/hildon-pannable-area.c,
2897 (hildon_pannable_area_grab_notify),
2898 (hildon_pannable_area_initial_effect),
2899 (hildon_pannable_area_button_press_cb),
2900 (hildon_pannable_area_button_release_cb),
2901 (hildon_pannable_area_scroll_cb),
2902 (hildon_pannable_area_scroll_to): Review the timeout management of
2903 the scrollbar, the frecuency was incorrectly set.
2905 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2907 * src/hildon-picker-button.c:
2908 (+hildon_picker_button_on_dialog_response),
2909 (hildon_picker_button_clicked): Present the dialog instead of
2910 running it with gtk_dialog_run().
2912 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2915 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2917 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2918 (hildon_app_menu_finalize): When a window is hidden it doesn't
2919 emit notify::is-topmost, so make sure than the menu also
2920 disappears in that case.
2921 (parent_window_topmost_notify): Renamed from parent_window_hidden
2923 Fixes: NB#94460 (stackable window's menu is not closed when its
2926 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2928 * src/hildon-touch-selector-entry.c:
2929 (+hildon_touch_selector_entry_set_input_mode),
2930 (+hildon_touch_selector_entry_get_input_mode):
2931 * src/hildon-touch-selector-entry.h: New methods to access the input
2932 mode in the selector's entry.
2934 Fixes: NB#93410 (API required for setting IM mode in
2935 HildonTouchSelectorEntry)
2937 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2939 * configure.ac: post release version bump.
2940 * debian/changelog: version bump
2942 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2947 * configure.ac: Bump version.
2948 * debian/changelog: Updates.
2950 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2952 * src/hildon-touch-selector.c:
2953 (_hildon_touch_selector_has_multiple_selection): No need
2954 to initialize the variables here.
2956 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2958 * src/hildon-note-private.h
2959 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2960 (hildon_note_finalize, hildon_note_rebuild): Close information
2961 notes when they receive a button press.
2963 Fixes: NB#89890 (Information notes does not get disappeared after
2966 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2968 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2969 mark from the wizard title, as it's not really necessary. Also,
2970 do not display the page title if not set.
2972 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2974 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2975 (parent_window_hidden): Use the window's "is-topmost" property to
2976 detect when to hide the menu.
2978 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2980 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2981 (hildon_app_menu_finalize): If the parent window of the menu is
2982 hidden, hide the menu too.
2984 Fixes: NB#94460 (stackable window's menu is not closed when its
2987 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2990 * debian/libhildon1-examples.install
2992 * examples/Makefile.am:
2993 Use dh_install to install all examples.
2994 Use DEB_SRCDIR instead of defining SOURCE_DIR
2996 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2998 * configure.ac: post release version bump.
2999 * debian/changelog: version bump
3001 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3006 * configure.ac: bump version
3007 * debian/changelog: updates
3008 * debian/control: bump gtk+ dependency
3010 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3012 patch by Christian Dywan (christian@imendio.com)
3014 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3015 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3017 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3019 * src/hildon-check-button.c (hildon_check_button_init)
3020 (hildon_check_button_class_init, hildon_check_button_style_set)
3021 (hildon_check_button_apply_style):
3022 New "checkbox-size" style property.
3024 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3025 larger / configurable size)
3027 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3029 * configure.ac: post release version bump.
3030 * debian/changelog: version bump
3032 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3037 * configure.ac: bump version
3038 * debian/changelog: updates
3040 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3042 * doc/hildon-sections.txt
3043 * src/hildon-pannable-area.c
3044 * src/hildon-program.c
3045 * src/hildon-time-editor.c
3046 * src/hildon-touch-selector-entry.c:
3048 More documentation updates.
3050 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3052 * doc/hildon-sections.txt
3053 * src/hildon-caption.c
3054 * src/hildon-code-dialog.c
3055 * src/hildon-color-button.c
3056 * src/hildon-controlbar.c
3057 * src/hildon-date-editor.c
3058 * src/hildon-date-selector.c
3059 * src/hildon-edit-toolbar.c
3060 * src/hildon-find-toolbar.c
3061 * src/hildon-font-selection-dialog.c
3063 * src/hildon-program.c
3064 * src/hildon-range-editor.c
3065 * src/hildon-seekbar.c
3066 * src/hildon-time-editor.c
3067 * src/hildon-time-selector.c
3068 * src/hildon-volumebar-range.c
3069 * src/hildon-volumebar.c
3070 * src/hildon-vvolumebar.c
3071 * src/hildon-weekday-picker.c
3072 * src/hildon-window.c
3073 * src/hildon-wizard-dialog.c:
3075 Lots of documentation fixes.
3077 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3079 Patch contributed by Iván Gómez (igomez@igalia.com)
3081 * src/hildon-check-button.c:
3082 * src/hildon-date-button.c:
3083 * src/hildon-date-selector.c:
3084 * src/hildon-dialog.c:
3085 * src/hildon-edit-toolbar.c:
3086 * src/hildon-entry.c:
3087 * src/hildon-picker-button.c:
3088 * src/hildon-program.c:
3089 * src/hildon-text-view.c:
3090 * src/hildon-time-button.c:
3091 * src/hildon-touch-selector-entry.c:
3092 * src/hildon-window-stack.c:
3094 Add more "since" tags to the new API.
3096 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3098 * doc/hildon-sections.txt: Add below method.
3099 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3100 version for the hildonized scale.
3101 * src/hildon-gtk.h: Add the definition.
3103 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3105 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3107 * doc/hildon-sections.txt: Add missing entries for new methods.
3109 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3111 Added API to pannable are in order to get its adjustments. We
3112 added two properties to manage the values we had in the private
3115 * src/hildon-pannable-area.c:
3116 (hildon_pannable_area_class_init): Added hadjustment and
3117 vadjustment properties in order to expose horizontal and vertical
3119 (hildon_pannable_area_get_property),
3120 (hildon_pannable_area_set_property): Added code to handle the new
3122 (hildon_pannable_area_get_hadjustment),
3123 (hildon_pannable_area_get_vadjustment): API functions to get the
3125 * src/hildon-pannable-area.h:
3126 (hildon_pannable_area_get_hadjustment),
3127 (hildon_pannable_area_get_vadjustment): API functions to get the
3130 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3132 Fixed some leaks, after valgrinding.
3134 * src/hildon-touch-selector.c:
3135 (_default_print_func): Fixed a leak.
3136 (hildon_touch_selector_append_column): Fixed a leak.
3137 * src/hildon-date-button.c:
3138 (hildon_date_button_init): Fixed a leak.
3139 * src/hildon-date-selector.c
3140 (hildon_date_selector_finalize): Fixed a leak.
3142 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3144 Based on a patch by Christian Dywan (christian@imendio.com)
3146 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3148 * src/hildon-gtk.h: Add definition.
3150 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3152 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3154 * src/hildon-picker-button.c: (hildon_picker_button_init),
3155 (hildon_picker_button_new): Set the HildonButton::style property
3156 in the init method, to propagate the value to the derived classes.
3158 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3160 * src/hildon-button.c: (hildon_button_class_init): Do not make
3161 the "style" property a construct property.
3163 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3165 * src/hildon-wizard-dialog.h
3166 * src/hildon-wizard-dialog.c
3167 (hildon_wizard_dialog_set_forward_page_func)
3168 * src/hildon-pannable-area.h
3169 * src/hildon-pannable-area.c
3170 (hildon_pannable_area_set_size_request_policy):
3171 Documentation fixes.
3173 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3175 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3177 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3179 * doc/hildon-sections.txt: Added sections file.
3181 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3184 * src/*.[ch]: Updates.
3186 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3188 * examples/hildon-progress-indicator-example.c: new file
3189 * examples/Makefile.am: include the new example program
3191 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3193 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3195 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3197 * configure.ac: post release version bump
3198 * debian/changelog: version bump
3200 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3205 * configure.ac: bump version
3206 * debian/changelog: updates
3207 * debian/control: bump gtk+ dependency
3209 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3211 * src/hildon-dialog.c: Mark as deprecated.
3212 * src/hildon-dialog.h: Mark as deprecated.
3213 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3214 from HildonDialog and still work, even if
3215 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3216 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3218 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3219 maemo changes) instead)
3221 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3223 * src/hildon-pannable_area.h:
3224 * src/hildon-pannable_area.c:
3225 (hildon_pannable_area_class_init),
3226 (hildon_pannable_area_set_property),
3227 (hildon_pannable_area_get_property),
3228 (hildon_pannable_area_size_request),
3229 (hildon_pannable_area_get_size_request_policy),
3230 (hildon_pannable_area_set_size_request_policy): Added new API
3231 allowing applications to control the request policy. Now they can
3232 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3233 children allocation (HILDON_MOVEMENT_CHILDREN).
3235 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3239 (hildon_gtk_tree_view_set_ui_mode)
3240 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3241 mode of treeviews and iconviews.
3243 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3245 * src/hildon-touch-selector-entry.c:
3246 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3247 of a GtkEntry to get proper theming.
3249 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3250 widget, not GtkEntry)
3252 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3254 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3255 no HildonWizardDialogPageFunc.
3257 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3259 Patch contributed by Iván Gómez (igomez@igalia.com)
3261 * src/hildon-app-menu.c:
3262 * src/hildon-button.c:
3263 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3264 * src/hildon-stackable-window.c:
3265 * src/hildon-time-selector.c:
3266 * src/hildon-touch-selector.c:
3267 * src/hildon-window.c:
3269 Add more "since" tags to the new API in hildon 2.2.
3271 2008-12-05 Tim Janik <timj@imendio.com>
3273 Patch contributed by Christian Dywan (christian@imendio.com)
3275 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3276 HildonSizeType, which are supplied by Gtk+ now.
3278 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3280 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3281 (with maemo changes) instead)
3283 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3285 Patch contributed by Iván Gómez (igomez@igalia.com)
3287 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3290 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3292 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3293 (some_page_func), (main): Update the example to use a
3294 HildonWizardDialogPageFunc function.
3296 * src/hildon-wizard-dialog-private.h: Add private data for
3297 the HildonWizardDialogPageFunc function usage.
3299 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3300 (destroy), (hildon_wizard_dialog_init), (response),
3301 (hildon_wizard_dialog_set_forward_page_func):
3302 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3303 that applications can use to stop a HildonWizardDialog to jump to
3306 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3309 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3311 * src/hildon-program.h
3312 * src/hildon-program-private.h
3313 * src/hildon-program.c (hildon_program_init)
3314 (hildon_program_set_common_app_menu)
3315 (hildon_program_get_common_app_menu):
3316 New API for setting a common HildonAppMenu for all
3317 HildonStackableWindows registered with the HildonProgram.
3319 * src/hildon-stackable-window.c
3320 (hildon_stackable_window_toggle_menu):
3321 Use the common HildonAppMenu if a window doesn't have a specific
3324 * src/hildon-app-menu-private.h
3325 * src/hildon-app-menu.c
3326 (hildon_app_menu_get_parent_window):
3327 Function to obtain the window a HildonAppMenu is attached to.
3328 (hildon_app_menu_set_parent_window):
3329 Hide the menu if the parent window is set to NULL.
3331 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3333 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3334 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3335 search widget to popup.
3337 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3339 * configure.ac: post release version bump
3340 * debian/changelog: version bump
3342 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3347 * configure.ac: bump version
3348 * debian/changelog: updates
3350 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3352 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3354 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3355 (hildon_window_stack_window_realized)
3356 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3357 Set the leader GdkWindow when a window is stacked and realized,
3358 unset it when it's unstacked.
3359 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3361 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3363 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3365 * src/hildon-stackable-window.h
3366 * src/hildon-window-stack.h:
3367 Protect definition of HildonWindowStack using the preprocessor.
3369 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3371 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3372 Fix warning if all menu items are hidden.
3374 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3376 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3378 * src/hildon-controlbar.c:
3379 * src/hildon-hvolumebar.c:
3380 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3381 Multiple scale size defines updates.
3383 Fixes: NB#94322 (Scale Updates)
3385 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3387 * examples/hildon-app-menu-example.c (create_menu)
3388 Show items after adding them to the menu, as in the future the
3389 menu will no longer call gtk_widget_show() on the added items.
3391 * src/hildon-app-menu.c:
3392 Update example as explained above.
3394 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3396 * src/hildon-app-menu.c
3397 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3398 Make sure that all menu items have finger height.
3400 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3402 * src/hildon-picker-dialog.c:
3403 (_on_dialog_response), (_save_current_selection),
3404 (_restore_current_selection), (_clean_current_selection),
3405 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3406 Defined new functions in order to save the current internal selector
3407 selection previous open the dialog, in case that the use cancel the
3408 interaction, so the widget restores the previous selection.
3410 Fixes: NB#92032 (In calendar application, date values in 'new event'
3413 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3415 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3417 * src/hildon-button.c: Add a reference to the button examples in
3418 hildon-button-example.c
3420 * examples/hildon-button-example.c: Added examples of the most
3421 common button layouts.
3423 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3425 * src/hildon-app-menu.c (hildon_app_menu_show)
3426 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3428 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3430 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3432 * src/hildon-picker-dialog.c:
3433 (hildon_picker_dialog_init): Initialize the signal id for
3434 HildonTouchSelector::columns-changed.
3435 (+on_selector_columns_changed): Set up the interaction mode everytime a
3436 column is added or removed from the HildonTouchSelector.
3437 (_hildon_picker_dialog_set_selector): Connect to
3438 HildonTouchSelector::columns-changed and keep track of it.
3440 Make sure to update the interaction mode of the dialog everytime a
3441 column is added or removed in the HildonTouchSelector.
3443 Fixes: NB#93228 (Done button is not shown always in listpicker)
3445 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3447 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3448 a new ::columns-changed signal.
3449 (hildon_touch_selector_append_column): Emit ::columns-changed.
3450 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3452 Add a ::columns-changed signal, emitted when the number of columns in a
3453 HildonTouchSelector changes.
3455 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3457 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3458 (_hildon_picker_dialog_set_selector): Factor out the code
3459 to set up the dialog interaction mode.
3461 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3463 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3464 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3465 to signal_changed_id.
3467 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3469 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3472 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3474 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3475 Updated the logical ids related to ampm format, as now it is required to
3476 show it correctly localized even on languages with no default
3477 abbreviations for am or pm
3478 (_check_am_pm_format): check correctly the 24h format gconf property
3480 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3482 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3484 * src/hildon-button.c: Documentation updates.
3486 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3488 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3489 * src/hildon-caption.c: (hildon_caption_class_init):
3490 * src/hildon-color-button.c: (hildon_color_button_class_init):
3491 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3492 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3493 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3494 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3496 Remove deprecated GTK+ marshalers and replace them with the ones
3497 provided by GLib, for those available, add a marshaler for
3498 BOOLEAN:VOID, which is not available in GLib, and use it.
3500 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3502 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3503 the text from the previous column if there is no
3504 HildonTouchSelectorColumn::text-property set.
3506 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3508 * src/hildon-button.h
3509 * src/hildon-button.c (hildon_button_set_property)
3510 (hildon_button_get_property, hildon_button_class_init)
3511 (hildon_button_set_style, hildon_button_get_style):
3512 New "style" property to change the visual appearance of the
3515 * src/hildon-picker-button.c (hildon_picker_button_new):
3516 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3518 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3519 HildonButton look like PickerButton)
3521 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3523 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3524 column while building the default string.
3526 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3528 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3529 scroll indicator by default.
3531 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3533 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3535 * src/hildon-main.c: Fix the documentation for hildon_init()
3537 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3539 * doc/hildon-docs.sgml
3543 * src/hildon-window-stack-private.h
3544 * src/hildon-window-stack.h
3545 * src/hildon-window-stack.c:
3546 New HildonWindowStack object, that adds support for multiple
3547 stacks of windows per process.
3549 * src/hildon-stackable-window-private.h
3550 * src/hildon-stackable-window.h
3551 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3552 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3553 (hildon_stackable_window_show, hildon_stackable_window_hide)
3554 (hildon_stackable_window_class_init)
3555 (hildon_stackable_window_init):
3556 Use HildonWindowStack for stack management.
3558 * src/hildon-program.c (hildon_program_pop_window_stack)
3559 (hildon_program_peek_window_stack)
3560 (hildon_program_go_to_root_window):
3561 Add a fallback implementation to the deprecated functions using
3564 * examples/hildon-stackable-window-example.c:
3565 Use the new HildonWindowStack API.
3567 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3569 * src/hildon-stackable-window-private.h
3570 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3571 (hildon_stackable_window_hide, hildon_stackable_window_init):
3572 Remove all window stack management.
3574 * src/hildon-program-private.h
3575 * src/hildon-program.h
3576 * src/hildon-program.c (hildon_program_init)
3577 (hildon_program_pop_window_stack)
3578 (hildon_program_peek_window_stack)
3579 (hildon_program_go_to_root_window):
3580 Remove all window stack management and mark functions as
3583 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3585 * src/hildon-app-menu.c (hildon_app_menu_realize):
3586 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3588 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3590 * configure.ac: post release version bump
3591 * debian/changelog: version bump
3593 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3598 * configure.ac: bump version
3599 * debian/changelog: updates
3601 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3603 Based on initial code by Christian Dywan (christian@imendio.com)
3605 * doc/hildon-docs.sgml: Add section for hildon-main.
3606 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3607 * src/Makefile.am: Add new hildon-main.[ch]
3608 * src/hildon-defines.h: Update the icon sizes.
3609 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3610 new library initialization files and register icon sizes.
3611 * src/hildon-main.h: New declarations.
3612 * src/hildon.h: Include hildon-main.h
3614 Add new initialization functions to the library. These methods
3615 will register the hildon specific icon sizes and can be used in the
3616 future for other hildon specific bits.
3618 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3620 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3622 * src/hildon-window.c: (hildon_window_realize),
3623 (hildon_window_notify), (-hildon_window_update_title): Do not set
3624 the application name in the window title.
3626 Fixes: NB#89754 (Applications shouldn't display their names in the
3629 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3631 * src/hildon-note-private.h:
3632 * src/hildon-note.c: (hildon_note_set_property),
3633 (hildon_note_get_property), (hildon_note_class_init),
3634 (hildon_note_init), (hildon_note_finalize),
3635 (hildon_note_new_confirmation_with_icon_name),
3636 (hildon_note_new_information_with_icon_name):
3638 No need to mark as deprecated the actual code. Revert
3639 to avoid missing symbols in widgets using deprecated API.
3641 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3643 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3645 * src/hildon-volumebar.h
3646 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3647 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3649 * src/hildon-helper.h
3650 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3651 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3653 * examples/Makefile.am:
3654 Deprecate hildon-insensitive-example
3656 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3658 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3660 * examples/hildon-pannable-area-buttons-scroll-example.c:
3661 Make all buttons finger height
3663 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3665 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3667 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3668 update the day model only if it is really required, and to avoid the
3669 full-reconstruction aproach. Now it only add or remove the required days.
3671 The purpose of this is avoid superfluous HildonTouchSelector::changed
3674 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3675 with strange parameters)
3677 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3679 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3681 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3682 the WINDOW_TYPE property.
3684 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3686 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3689 Fix dependency to allow parallel compilation with make -jX
3691 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3693 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3694 color frame and some minor tweaks to make it more consistent with
3697 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3698 highlighted but not visible)
3700 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3702 * examples/Makefile.am: Fixed typo in the Makefile.am.
3704 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3706 Reviewed the use of MAEMO_GTK define, now we add the define in the
3707 compilation line, and we also add it to the pc file.
3709 * configure.ac: Added MAEMO_GTK define to the compilation command
3710 and removed it from the config.h.
3712 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3713 do not have to take care about this define if the library was
3717 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3719 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3721 * examples/Makefile.am,
3722 * examples/hildon-pannable-area-buttons-scroll-example.c,
3723 * examples/hildon-pannable-area-gesture-signals-example.c,
3724 * examples/hildon-pannable-area-scroll-jump-example.c,
3725 * examples/hildon-pannable-area-tree-view-example.c:
3726 Renamed the pannable area examples, now they have more meaningful
3729 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3731 * src/hildon-touch-selector.c:
3732 (hildon_touch_selector_set_column_selection_mode): Used of
3733 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3734 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3735 to avoid re-seting the same selection mode.
3737 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3738 breaks HildonPickerDialog)
3740 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3742 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3743 conditional in the Makefile.am
3745 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3747 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3748 Remove unused methods.
3750 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3752 * src/hildon-button.c (hildon_button_init):
3753 Make button images center-aligned by default
3755 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3758 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3759 activated, we have to think about how to deal with both defines
3760 MAEMO_GTK and MAEMO_CHANGES.
3762 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3764 * examples/hildon-app-menu-example.c (create_menu): Make all
3765 buttons finger size.
3767 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3769 Fixed the compilation without maemo gtk adding ifdefs with
3770 MAEMO_GTK define to the code, we have to check this version more
3773 * examples/Makefile.am: Added control to avoid some examples that
3774 just make sense with maemo gtk.
3777 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3778 hildon modes with the define.
3780 * examples/hildon-edit-toolbar-example.c,
3781 (create_icon_view): Create the icon view without hildon-gtk
3782 helpers if we are not using maemo gtk.
3784 * src/hildon-touch-selector.c,
3785 (_create_new_column): Create the treeview without hildon-gtk
3786 helpers if we are not using maemo gtk.
3788 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3790 * src/hildon-pnnable-area.c,
3791 (hildon_pannable_area_dispose),
3792 (hildon_pannable_area_button_press_cb),
3793 (hildon_pannable_area_child_mapped),
3794 (hildon_pannable_area_add),
3795 (hildon_pannable_area_remove): Added code to control the position
3796 of the event_window when adding and removing children from the
3797 pannable. We have to raise the event window when the child is
3800 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3801 selection mode using custom widget inside pannable)
3803 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3805 * configure.ac: post release version bump
3806 * debian/changelog: version bump
3808 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3813 * configure.ac: bump version
3814 * debian/changelog: updates
3816 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3818 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3819 search mode, in order to avoid lose the focus on the treeview when
3820 a hw key (like enter) is pressed.
3822 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3823 in HildonDateSelector dialog)
3825 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3827 * debian/rules: Added --enable-maintainer-mode
3828 * Makefile.am: Added ACLOCAL_AMFLAGS
3830 This allows to properly regenerate the Makefiles if you modify the
3831 configure.ac or any Makefile.am.
3833 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3835 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3836 properties, not needed at all.
3838 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3840 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3842 * src/hildon-note.c: (hildon_note_set_property),
3843 (hildon_note_get_property), (hildon_note_class_init),
3844 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3845 (hildon_note_new_confirmation_add_buttons): Remove icons.
3846 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3847 (hildon_note_new_information_with_icon_name): Deprecate.
3848 (hildon_note_new_confirmation): Act directly, without calling
3849 the deprecated constructor.
3850 (hildon_note_new_information): Act directly, without calling
3851 the deprecated constructor.
3852 * src/hildon-note.h: Mark deprecate methods as such.
3853 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3854 not run tests on the deprecated methods if built with deprecation
3857 Fixes: NB#91688 (Never show icons in information notes/confirmation
3860 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3862 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3863 (hildon_app_menu_key_press): Remove leftover usage of the
3864 private structure in HildonAppMenu struct.
3865 * src/hildon-app-menu.h: Remove leftover private structure
3866 from the HildonAppMenu struct.
3868 Fixes a crasher when using the HildonAppMenu.
3870 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3872 * src/hildon-picker-dialog.c: Use appropriate logical id
3873 for the default "Done" text.
3875 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3877 * configure.ac: post release version bump
3878 * debian/changelog: version bump
3880 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3882 Modified the way to scroll to the current selection just when the touch
3883 selector is shown on the screen, avoiding a g_idle. Added too a property
3884 to configure this behaviour. See hildon_pannable_area_jump_to_child
3885 documentation for more information.
3887 * src/hildon-touch-selector.c
3888 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3889 Added 'initial-scroll' property
3890 (hildon_touch_selector_set_property): Added
3891 (hildon_touch_selector_map): Removed as not required anymore
3892 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3893 only a concrete column, instead of iterate along all the columns
3895 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3900 * configure.ac: bump version
3901 * debian/changelog: updates
3903 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3905 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3906 compilation time warnings.
3908 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3910 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3911 the default value for HildonPannableArea::mov-mode to
3912 HILDON_PANNABLE_AREA_MODE_VERT.
3914 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3916 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3918 Reverting following commit:
3920 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3922 * src/hildon-app-menu-private.h
3923 * src/hildon-app-menu.[ch]
3924 * src/hildon-button.[ch]
3925 * src/hildon-check-button.[ch]
3926 * src/hildon-entry.[ch]
3927 * src/hildon-pannable-area.[ch]
3928 * src/hildon-text-view.[ch]:
3929 Added private field to the object's structure.
3931 because it causes an ABI breakage. We will need to introduce these
3932 changes later at some point. See NB#91636 for an extensive
3933 explanation and status.
3935 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3937 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3939 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3940 remove special cases that are no longer necessary.
3942 Fixes: NB#91016 (Change toolbar sizes, simplification)
3944 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3946 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3947 is shown in the cancel note.
3949 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3951 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3952 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3953 (hildon_seekbar_init): Remove steppers, remove expose event.
3954 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3956 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3958 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3960 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3961 label font to "SmallSystemFont" for vertically arranged buttons.
3963 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3966 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3968 * src/hildon-check-button.c
3969 (hildon_check_button_set_active, hildon_check_button_clicked):
3970 Don't access private parts directly, use getters instead.
3972 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3974 * src/hildon-check-button.c (hildon_check_button_new):
3975 Align the contents of the check button to the left.
3977 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3979 * src/hildon-pannable-area.c,
3980 (hildon_pannable_area_scroll_to),
3981 (hildon_pannable_area_jump_to),
3982 (hildon_pannable_area_scroll_to_child),
3983 (hildon_pannable_area_jump_to_child): Replace the mapped
3984 precondition of these functions with the realized, it is the
3985 correct state of the widget in this case. Changed the
3986 documentation according to this modification.
3988 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3990 Added a new EXTRA_CFLAGS option to add the deprecated define to
3991 the compilation command. This way we can avoid using the define in
3992 the documentation compilation.
3994 * configure.ac: Defined EXTRA_CFLAGS.
3996 * examples/Makefile.am:
3998 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4000 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4002 * src/hildon-picker-dialog.c:
4003 Defined a utility macro with the desired touch selector height
4004 Removed currently unused separator, and title_label variables from
4006 (hildon_picker_dialog_init): Removed code related to the creation
4007 of unused private variables title_label and separator.
4008 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4009 to ensure correct visualization of the touch selector inside the dialog.
4010 * src/hildon-touch-selector.c
4011 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4012 ensure a concrete height of the widget.
4014 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4017 * tests/Makefile.am:
4019 Remove spurious whitespaces.
4021 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4023 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4024 compilation warning after the cancel button removal.
4026 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4028 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4030 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4031 Makefile.am, that way we can choose not to compile some examples
4032 and tests of the deprecated widgets.
4034 * examples/Makefile.am: Divided the sources in deprecated and
4037 * src/Makefile.am: Added undef statement of the deprecated
4038 symbol to the enums file generation process.
4040 * src/hildon-color-chooser-dialog.c
4041 * src/hildon-color-chooser-dialog.h
4042 * src/hildon-color-button.c
4043 * src/hildon-color-button.h
4044 * src/hildon-color-chooser.c
4045 * src/hildon-color-chooser.h
4046 * src/hildon-controlbar.c
4047 * src/hildon-controlbar.h
4048 * src/hildon-date-editor.c
4049 * src/hildon-date-editor.h
4050 * src/hildon-hvolumebar.c
4051 * src/hildon-hvolumebar.h
4052 * src/hildon-private.c
4053 * src/hildon-private.h
4054 * src/hildon-range-editor.c
4055 * src/hildon-range-editor.h
4056 * src/hildon-seekbar.c
4057 * src/hildon-seekbar.h
4058 * src/hildon-time-editor.c
4059 * src/hildon-time-editor.h
4060 * src/hildon-time-picker.c
4061 * src/hildon-time-picker.h
4062 * src/hildon-volumebar.c
4063 * src/hildon-volumebar.h
4064 * src/hildon-vvolumebar.c
4065 * src/hildon-vvolumebar.h
4066 * src/hildon-bread-crumb-trail.h
4067 * src/hildon-bread-crumb-trail.c
4068 * src/hildon-calendar-popup.c
4069 * src/hildon-calendar-popup.h
4070 * src/hildon-weekday-picker.c:
4071 * src/hildon-weekday-picker.h:
4072 * src/hildon-bread-crumb-widget.c:
4073 * src/hildon-bread-crumb-widget.h:
4074 * src/hildon-bread-crumb.c:
4075 * src/hildon-bread-crumb.h:
4076 * src/hildon-calendar.c:
4077 * src/hildon-calendar.h:
4078 * src/hildon-caption.c:
4079 * src/hildon-code-dialog.c:
4080 * src/hildon-code-dialog.h:
4081 * src/hildon-font-selection-dialog.c:
4082 * src/hildon-font-selection-dialog.h:
4083 * src/hildon-get-password-dialog.c:
4084 * src/hildon-get-password-dialog.h:
4085 * src/hildon-login-dialog.c:
4086 * src/hildon-login-dialog.h:
4087 * src/hildon-number-editor.c:
4088 * src/hildon-number-editor.h:
4089 * src/hildon-set-password-dialog.c:
4090 * src/hildon-set-password-dialog.h:
4091 * src/hildon-sort-dialog.c:
4092 * src/hildon-sort-dialog.h: This is the list of deprecated
4095 * src/hildon-touch-selector.c:
4096 * src/hildon-window.c: Added undef statement to avoid compilation
4099 * tests/Makefile.am: Divided the sources in deprecated and
4102 * tests/check_test.c,
4103 (configure_tests): Marked the deprecated code that was adding
4104 suites with deprecated tests.
4106 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4108 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4110 * src/hildon-touch-selector.c: (_default_print_func): Do not
4111 duplicate a string returned by gtk_tree_model_get(), it is already
4114 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4117 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4119 * src/hildon-pannable-area.c
4120 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4121 method, it had problems when adding a widget with viewport the
4122 second time. Now checks if it already has a viewport and uses it.
4124 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4127 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4129 * src/hildon-pannable-area.c,
4130 (hildon_pannable_area_scroll_to),
4131 (hildon_pannable_area_jump_to),
4132 (hildon_pannable_area_scroll_to_child),
4133 (hildon_pannable_area_jump_to_child): Added a precondition to the
4134 scroll and jump to functions: the widget must be mapped before we
4135 can safely call these functions. We have also added documentation
4136 to the functions to explain how to use them in this situation.
4139 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4141 Reviewed the threading handling of the pannable widget, we have
4142 used the gdk_threads_add_timeout function instead of the usual
4143 glib handlers. This avoids some problems with the threads.
4145 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4146 (hildon_pannable_area_initial_effect),
4147 (hildon_pannable_area_scroll_indicator_fade),
4148 (hildon_pannable_area_button_press_cb),
4149 (hildon_pannable_area_timeout),
4150 (hildon_pannable_area_motion_notify_cb),
4151 (hildon_pannable_area_button_release_cb),
4152 (hildon_pannable_area_scroll_cb),
4153 (hildon_pannable_area_scroll_to): Removed the
4154 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4155 gdk_threads_add_timeout.
4157 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4159 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4164 * configure.ac: bump version
4165 * debian/changelog: updates
4167 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4169 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4170 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4171 * src/hildon-color-chooser-dialog.c:
4172 (hildon_color_chooser_dialog_init):
4173 * src/hildon-font-selection-dialog.c:
4174 (hildon_font_selection_dialog_init):
4175 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4177 Remove all cancel/close-like dialogs, as these are not going to be
4180 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4182 * src/hildon-note.c: (hildon_note_rebuild),
4183 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4186 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4188 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4190 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4191 sure all buttons are shown, even the Cancel/Close-like ones.
4193 Fixes: NB#90861 (Custom Confirmation dialogs should be
4194 protected from cancel button removal)
4196 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4198 * debian/control: Change libhildon1-examples dependency from libhildon1
4200 * debian/libhildon1-examples.install
4202 * Makefile.am: Modified the final install directory for the examples on
4203 package libhildon1-examples
4204 * Makefile.static: Update clean target in order to remove all the binary
4207 Changes suggested by Claudio after review new libhildon1-examples package
4209 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4211 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4212 * src/hildon-touch-selector.c: Ditto.
4214 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4216 * debian/control: Added new package libhildon1-examples, in order to pack
4217 the current hildon examples as documentation
4218 * debian/rules: Not to compress .c files, modify some includes on the
4219 examples (as normally are compiled locally, but when installed it will
4220 require to include the installed libhildon1 library), and rename
4222 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4223 install all the example files on the new example package
4224 * examples/Makefile.static: Added static makefile that can be used to
4225 compile the examples, once installed the new example package
4226 * examples: Most of the examples were modified in order to grant that
4227 all use only '#include "hildon.h"', in order to be easy to prepare
4228 it on the example package
4230 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4233 * debian/libhildon1-dev.install
4234 * debian/libhildon1-doc.install:
4235 Move all gtk-doc files to a separate libhildon1-doc package.
4237 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4239 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4241 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4243 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4245 * debian/rules: Fixed a error in order to avoid unnecessary calls
4246 to autogen.sh on package building
4248 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4250 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4252 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4254 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4257 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4259 * src/hildon-picker-button.c
4260 (hildon_picker_button_finalize):
4261 Free priv->done_button_text
4263 * src/hildon-time-button.c
4264 (hildon_time_button_set_time)
4265 * src/hildon-picker-button.c
4266 (hildon_picker_button_clicked)
4267 (hildon_picker_button_selector_selection_changed)
4268 (hildon_picker_button_set_selector)
4269 * src/hildon-date-button.c
4270 (hildon_date_button_set_date):
4271 Free strings returned by hildon_touch_selector_get_current_text()
4273 * src/hildon-button.c (hildon_button_construct_child):
4274 Fix leaks in priv->image and priv->label_box
4276 Fixes: NB#90535 (Memory leak in picker button)
4278 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4280 * src/hildon-button.c: (hildon_button_get_property): Do not access
4281 private elements directly, use getters instead.
4283 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4285 * src/hildon-app-menu-private.h
4286 * src/hildon-app-menu.c
4287 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4288 Store the menu's parent window.
4290 * src/hildon-stackable-window.c
4291 (hildon_stackable_window_toggle_menu)
4292 (hildon_stackable_window_finalize):
4293 Set the menu's parent window when the menu is shown, unset it when
4296 * src/hildon-app-menu.c
4297 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4298 (hildon_app_menu_class_init):
4299 Send unhandled keyboard accelerators to the parent window.
4301 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4303 * src/hildon-stackable-window.c
4304 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4306 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4308 * configure.ac: post release version bump
4310 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4313 * configure.ac: Bump version
4314 * debian/changelog: Updates
4315 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4318 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4320 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4323 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4324 GtkMenu with Hildon style.
4326 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4328 * src/hildon-picker-button.c:
4329 (hildon_picker_button_set_done_button_text): Set the dialog's
4330 done button text here as well.
4332 Fixes: NB#90232 (Picker button does not set the label on done button
4333 for the second time)
4335 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4337 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4340 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4342 * src/hildon-app-menu.c (hildon_app_menu_insert)
4343 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4344 the HildonAppMenu to be activatable using keyboard accelerators
4345 when the menu is not being shown.
4347 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4349 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4351 * src/hildon-stackable-window.c
4352 (hildon_stackable_window_show):
4353 Don't hide old windows automatically when new windows are shown:
4354 this is now a task for the window manager.
4355 (hildon_stackable_window_class_init)
4356 (hildon_stackable_window_hide):
4357 Remove windows from the stack everytime they're hidden.
4358 (hildon_stackable_window_realize):
4359 Don't change the _NET_WM_WINDOW_TYPE property. Use
4360 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4361 it as a stackable window.
4363 * src/hildon-program.c
4364 (hildon_program_pop_window_stack):
4365 Just hide the window to remove it from the stack.
4366 (hildon_program_go_to_root_window):
4367 Don't call gtk_widget_show(), this is now a task for the window
4370 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4372 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4374 * src/hildon-button.c
4375 (hildon_button_construct_child):
4376 Don't pack anything in the button until text or image are
4377 set. This allows adding a custom child after creating the button
4378 with hildon_button_new().
4379 (hildon_button_finalize, hildon_button_class_init)
4380 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4381 alignment and the label box even when they're not packed in the
4384 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4386 * src/hildon-touch-selector.h:
4387 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4388 currently the type definition was using GTK_TYPE_VBOX
4389 * src/hildon-touch-selector.c:
4390 Added some implementation notes in order to clarify that any other widget
4391 added without the column related API will not be included on the
4392 selection logic, and how the widget is freed, as some people ask about
4394 (hildon_touch_selector_remove): Reimplemented in order to free properly
4395 the column related data when you remove the private hbox.
4396 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4397 to get a proper HildonTouchSelectorColumn documentation
4399 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4401 * src/hildon-touch-selector-entry.c:
4402 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4403 text in the GtkEntry and there is no item selected. Fixes a
4406 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4408 * src/hildon-app-menu-private.h
4409 * src/hildon-app-menu.[ch]
4410 * src/hildon-button.[ch]
4411 * src/hildon-check-button.[ch]
4412 * src/hildon-entry.[ch]
4413 * src/hildon-pannable-area.[ch]
4414 * src/hildon-text-view.[ch]:
4415 Added private field to the object's structure.
4417 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4419 * configure.ac: post-release version bump
4421 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4425 * configure.ac: pre-release version bump
4427 * debian/changelog: updates.
4429 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4431 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4432 Disconnect the handler for HildonTouchSelector::changed.
4434 (hildon_picker_button_selector_selection_changed): Update the button
4435 value if the selection change was not triggered by the
4438 (hildon_picker_button_set_selector): connect to
4439 HildonTouchSelector::changed.
4441 Fixes: NB#89650 (Picker button is not updated, when selection in
4442 selector has changed)
4444 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4446 * src/hildon-picker-dialog.c
4447 (hildon_picker_dialog_realize): Removed as not required
4448 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4449 * src/hildon-picker-button.c
4450 (_current_selector_empty): New function, checks if the selector is empty
4451 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4452 if the current selector is empty, in order to avoid to show the dialog
4453 close the dialog in this case (and shows a g_warning).
4455 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4457 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4459 * src/hildon-pannable-area.c,
4460 (hildon_pannable_area_scroll): Added clause to stop movement when
4461 the child of pannable is smaller than one page.
4462 (hildon_pannable_area_scroll_to): Added conditions to avoid
4463 starting the scrolling movement if the child is smaller than one
4464 page, the complete child is in the screen, we do not have to move.
4466 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4468 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4470 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4471 this is managed automatically by the widget when the size of the
4474 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4476 * src/hildon-picker-button.c
4477 (hildon_picker_button_set_done_button_text): Make a copy of the
4478 text, and free the previous value.
4480 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4482 * src/hildon-touch-selector-entry.c:
4483 (hildon_touch_selector_entry_print_func): Return the selected row's
4484 text if the entry is empty.
4486 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4489 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4491 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4493 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4496 * src/hildon-check-button.h
4497 * src/hildon-check-button.c
4498 * examples/hildon-check-button-example.c:
4499 HildonCheckButton is now a new widget. 'toggled' signal added.
4501 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4503 * src/hildon-program-private.h
4504 * src/hildon-program.c (hildon_program_init)
4505 (hildon_program_finalize): Removed unused variables group_leader
4506 and name from HildonProgramPrivate.
4508 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4510 * src/hildon-check-button.c (hildon_check_button_set_active)
4511 (hildon_check_button_get_active, hildon_check_button_new): Use
4512 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4514 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4516 * src/hildon-touch-selector.h
4517 (hildon_touch_selector_set_column_attributes): added deprecation
4518 guard HILDON_DISABLE_DEPRECATED
4519 * src/hildon-time-selector.c
4520 (hildon_time_selector_set_time)
4521 (hildon_time_selector_get_time): Fixed a typo on documentation
4522 * src/hildon-touch-selector.c: update HildonTouchSelector and
4523 HildonTouchSelectorColumn documentation
4524 * src/hildon-touch-selector-entry.c: update "text-column" property
4526 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4527 to be added to the general documentation.
4529 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4531 * examples/hildon-pannable-area-example-4.c,
4533 * examples/hildon-pannable-area-example.c,
4534 (main): Modified the code in order to use the container add, with
4535 viewport treeviews could have problems if they are really big.
4537 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4539 * src/hildon-weekday-picker.c,
4540 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4541 the agreement regarding deprecation in the library.
4543 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4545 * examples/hildon-picker-button-multicolumn-example.c:
4546 (main): Use custom "done" button text.
4548 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4549 (hildon_picker_button_set_property),
4550 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4551 (hildon_picker_button_init),
4552 (+hildon_picker_button_get_done_button_text),
4553 (+hildon_picker_button_set_done_button_text): New methods to customize
4554 the "done" button label in the launched HildonPickerDialog. Also,
4557 * src/hildon-picker-button.h: add the public API.
4559 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4561 * src/hildon-date-selector.h:
4562 * src/hildon-picker-dialog.h:
4563 * src/hildon-time-selector.h:
4564 * src/hildon-touch-selector-column.h:
4565 * src/hildon-touch-selector.h:
4567 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4568 declarations. Fixes gtk-doc warnings.
4570 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4572 * src/hildon-picker-dialog.h
4573 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4574 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4576 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4577 long text is set as label for done button)
4579 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4581 * src/hildon-dialog.c (hildon_dialog_add_button):
4582 Set fixed width to all buttons in the HildonDialog.
4584 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4586 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4588 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4589 Set widget name using class name plus "-finger" or "-thumb".
4591 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4593 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4594 'clicked' when the state of the button is manually changed.
4596 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4598 * src/hildon-app-menu.c (hildon_app_menu_realize)
4599 (hildon_app_menu_unrealize, hildon_app_menu_init)
4600 (hildon_app_menu_class_init, item_visibility_changed):
4601 Change the menu layout when the size of the screen changes.
4602 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4603 Show warning only when changing the number of colums using the
4606 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4608 * debian/compat: Set to 5
4609 * debian/control: Update dependencies.
4610 * debian/libhildon1-dbg.install: Remove.
4611 * debian/libhildon1-dev.install: Update according to cdbs paths.
4612 * debian/libhildon1.install: Update according to cdbs paths.
4613 * debian/rules: Switch to cdbs.
4615 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4617 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4618 'item' variable renamed to 'filter'
4620 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4622 * src/hildon-app-menu.c (hildon_app_menu_insert)
4623 (hildon_app_menu_add_filter, remove_item_from_list)
4624 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4625 Don't leak hidden items when the menu is destroyed.
4627 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4629 * src/hildon-app-menu.c (hildon_app_menu_insert)
4630 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4631 (hildon_app_menu_set_columns, item_visibility_changed)
4632 (filter_visibility_changed, hildon_app_menu_repack_filters)
4633 (hildon_app_menu_repack_items):
4634 Repack items and filters separately.
4636 Don't repack all items, change only the ones that are needed to
4639 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4641 * src/Makefile.am: added hildon-touch-selector-column.h
4643 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4645 * src/hildon-touch-selector.c: added the property "text-column" to the
4646 class HildonTouchSelectorColumn, and related get/set functions
4647 (_default_printf_func): updated to use "text-column" property
4648 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4649 "text-column" in his documentation, as this is now included on
4650 HildonTouchSelectorColumn. The get/set_property can still be used,
4651 working as a wrapper to the concrete column "text-column" property
4652 (_text_column_modified): callback added in order to handle the signal
4653 "notify::text-column" of the concrete HildonTouchSelectorColumn
4654 (hildon_touch_selector_entry_get_text_column)
4655 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4656 modified in order to use the HildonTouchSelectorColumn "text-column"
4658 * src/hildon-time-selector.c:
4659 * src/hildon-date-selector.c:
4660 * examples/hildon-touch-selector-example.c
4661 * examples/hildon-touch-selector-multi-cells-example.c
4662 * examples/hildon-picker-button-multicolumn-example.c
4663 Set the right value to "text-column" property on the creation of a new
4664 column using hildon_touch_selector_append_column()
4666 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4668 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4670 * src/hildon-app-menu.c
4671 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4672 updating the layout of the menu, don't create all widgets again,
4673 just repack the items in their new places.
4675 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4677 * src/hildon-time-selector.c
4678 (hildon_time_selector_get_time)
4679 (hildon_time_selector_set_time)
4680 Added documentation of these public methods
4682 * src/hildon-date-button.h
4683 * src/hildon-touch-selector-column.h
4684 * src/hildon-time-button.h
4685 * src/hildon-picker-dialog.h
4686 * src/hildon-time-selector.h
4687 * src/hildon-picker-button.h
4688 * src/hildon-touch-selector.h
4689 * src/hildon-time-picker.h
4690 * src/hildon-date-selector.h
4691 * src/hildon-touch-selector-entry.h
4692 Modified in order to use hildon-widgets code style
4694 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4696 Added deprecated support to the compilation process using
4697 HILDON_DISABLE_DEPRECATED
4699 * configure.ac: Added the --disable-deprecated to the configure
4702 * src/hildon-weekday-picker.c:
4703 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4704 to use the deprecated support. We will update the other deprecated
4705 widgets status in a new patch.
4707 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4709 * configure.ac: Fixed typo with fatal warnings support, the
4710 variable name was not correct
4712 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4714 * src/hildon-app-menu.c
4715 * src/hildon-program.c: Update documentation.
4717 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4719 * configure.ac: Post-release version bump.
4721 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4726 * configure.ac: Pre-release version bump.
4727 * debian/changelog: Updates.
4729 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4731 * NEWS: Update news for previous releases.
4733 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4735 * examples/hildon-touch-selector-multi-cells-example.c:
4736 (create_selector): Update the example to use
4737 hildon_touch_selector_append_column() with a NULL renderer and set
4738 the renderers later.
4739 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4740 passed a NULL renderer. This is documented behavior now.
4742 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4743 This must be used if the developer wants full control on the layout of
4744 the renderers to be added to the column.
4746 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4748 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4750 * src/hildon-touch-selector.c: Documentation fixes.
4752 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4754 * src/hildon-wizard-dialog-private.h: Remove image and box.
4755 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4756 (hildon_wizard_dialog_set_property), (response): Completely remove
4757 image/icon support, and the containers required for the layout.
4759 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4761 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4763 * src/hildon-app-menu.c: Updated documentation.
4765 * src/hildon-stackable-window.c
4766 (hildon_stackable_window_set_main_menu): Unref the old menu after
4767 ref'ing the new one.
4769 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4771 * src/hildon-stackable-window.c
4772 (hildon_stackable_window_set_main_menu): Unref the previous menu
4773 instead of destroying it.
4775 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4776 floating reference and set has_user_ref_count to FALSE to make
4777 HildonAppMenu act like a normal ref-counted widget and not a
4780 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4783 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4785 * src/hildon-touch-selector-column.h: new file
4786 * src/hildon-touch-selector.h
4787 * src/hildon-touch-selector.c
4788 Implemented GtkCellLayout interface, in order to allow to configure
4789 the cell layout on each individual selector column
4790 (hildon_touch_selector_set_column_attributes): marked as deprecated
4791 * examples/hildon-touch-selector-multi-cells-example.c
4792 Example of how to use the GtkCellLayout interface on the selector
4794 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4796 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4798 * src/hildon-app-menu.h
4799 * src/hildon-app-menu.c
4800 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4801 (hildon_app_menu_append, hildon_app_menu_prepend):
4802 New methods to prepend, insert and move items in the menu.
4804 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4806 * src/hildon-wizard-dialog.c:
4808 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4810 (create_title): Update logical IDs and related code.
4811 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4813 * src/hildon-wizard-dialog.h: Note that
4814 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4815 point, as it is not used anymore.
4817 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4819 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4821 * src/hildon-note.c:
4822 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4823 shown. Do not display an icon in confirmation notes nor information
4825 (hildon_note_set_button_text): Update logical ID for cancel button.
4827 Fixes: NB#88850 (Update HildonNote button strings + signals)
4829 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4831 * src/hildon-stackable-window.c
4832 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4834 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4836 * src/hildon-app-menu-private.h
4837 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4838 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4839 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4840 temporary property 'columns' to change the number of columns.
4842 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4844 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4846 * examples/hildon-note-example.c: (on_information_clicked),
4847 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4848 debugging information.
4849 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4851 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4852 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4853 in order to close: this will be handled by the WM from now on.
4855 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4857 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4859 * src/hildon-app-menu-private.h
4860 * src/hildon-app-menu.c
4861 (hildon_app_menu_append, hildon_app_menu_add_filter)
4862 (button_visibility_changed, hildon_app_menu_apply_style)
4863 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4864 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4865 layout everytime a button (item or filter) is shown or hidden.
4867 * src/hildon-stackable-window.c
4868 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4871 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4873 * src/hildon-touch-selector.c:
4874 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4875 that the treeview inside the touch selector is in fremantle hildon mode
4876 * examples/hildon-date-button-example.c
4877 * examples/hildon-picker-button-multicolumn-example.c
4878 * examples/hildon-touch-selector-entry-example.c
4879 * examples/hildon-touch-selector-example.c
4880 * examples/hildon-time-button-example.c
4881 * examples/hildon-picker-button-example.c:
4882 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4884 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4886 * examples/hildon-text-view-example.c: (main): Remove the
4887 gtkrc bits, now handled by the theme.
4889 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4891 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4894 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4896 * po/Makefile.am: Install properly the mo files.
4897 * po/en_GB.po: Update translation, to ease testing purposes.
4899 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4901 * examples/hildon-picker-button-example.c: (main): Select an item
4902 in the selector before setting it to the button.
4904 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4906 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4907 Update button's value if the selector has an item active.
4909 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4910 'value' with the selector)
4912 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4914 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4915 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4916 (hildon_picker_button_class_init): Plug the finalize method.
4917 (hildon_picker_button_set_selector): If there's a previously set
4918 selector, unref'it before setting a new one.
4920 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4921 HildonTouchSelector)
4923 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4925 * src/hildon-touch-selector-entry.c:
4926 (hildon_touch_selector_entry_changed): Check if there is no text
4927 selected before setting the entry text.
4930 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4932 * src/hildon-touch-selector.h
4933 * src/hildon-touch-selector.c
4934 (hildon_touch_selector_get_active)
4935 (hildon_touch_selector_set_active): New methods to set/get the
4936 index of the selected item.
4938 * src/hildon-picker-button.h
4939 * src/hildon-picker-button.c
4940 (hildon_picker_button_get_active)
4941 (hildon_picker_button_set_active): New methods to set/get the
4942 index of the selected item.
4944 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4946 * configure.ac: post-release version bump.
4948 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4952 * configure.ac: Pre-release version bump.
4953 * debian/changelog: Updates.
4954 * debian/control: Add myself as maintainer and depend on l10n
4957 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4959 * src/hildon-window.c
4960 (hildon_window_set_main_menu)
4961 * src/hildon-stackable-window.c
4962 (hildon_stackable_window_set_main_menu):
4963 Updated documentation.
4965 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4967 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4968 Don't free selector->priv manually.
4971 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4974 (hildon_gtk_window_set_progress_indicator):
4975 * src/hildon-gtk.h: Added the new API
4976 hildon_gtk_window_set_progress_indicator, it changes the state of
4977 the window progress hint.
4979 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4981 * src/hildon-button.c
4982 * src/hildon-stackable-window.c: Minor documentation updates.
4984 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4986 * src/hildon-stackable-window.c: Updated documentation.
4988 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4990 * src/hildon-defines.h: Update margins definitions
4991 to the Fremantle sizes.
4994 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4996 * src/hildon-touch-selector.c,
4997 (_hildon_touch_selector_set_model): Cleaning the code after
4998 review, removed g_print and #if 0 from the code.
5000 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5002 * src/hildon-edit-toolbar.c: Update documentation.
5004 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5006 * src/hildon-check-button.h
5007 * src/hildon-check-button.c
5008 (hildon_check_button_set_label, hildon_check_button_get_label)
5009 * examples/hildon-check-button-example.c
5010 (button_clicked_cb):
5011 Removed deprecated methods.
5013 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5015 * src/hildon-text-view.c:
5016 Add sample code to the documentation.
5018 * src/hildon-entry.h
5019 * src/hildon-text-view.h:
5020 Minor cosmetic changes.
5022 * src/hildon-entry.c:
5023 Add sample code to the documentation.
5024 (hildon_entry_init, hildon_entry_refresh_contents):
5025 Don't allow NULL values in the placeholder.
5027 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5029 * doc/hildon-docs.sgml
5031 * examples/Makefile.am
5032 * examples/hildon-text-view-example.c
5034 * src/hildon-text-view.c
5035 * src/hildon-text-view.h
5037 New HildonTextView widget, with example.
5039 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5041 * po/POTFILES.in: Add missing files with translatable strings.
5042 Partially fixes NB#88287.
5044 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5046 * examples/hildon-pannable-area-example-2.c: (main): No need to
5047 set the cellrenderer height inside hildon touch lists, the theme does
5050 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5052 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5053 they are integrated in the theme.
5055 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5057 * examples/hildon-entry-example.c: Update the example adding
5058 widgets to modify the text and the placeholder of the HildonEntry.
5060 * src/hildon-entry.c: Show the placeholder everytime the widget
5061 is empty and loses the focus.
5063 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5065 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5067 * src/hildon-pannable-area.c,
5068 (hildon_pannable_area_size_request): Fixed bug in height
5069 requisition, avoid increasing size and add border twice.
5071 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5073 * configure.ac: postrelease version bump.
5075 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5079 * configure.ac: Prerelease version bump.
5080 * debian/changelog: update.
5081 * debian/rules: make -dbg package contain useful debugging symbols.
5083 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5085 * src/hildon-dialog.h
5086 * src/hildon-dialog.c
5087 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5088 New methods to add buttons with finger size.
5089 (hildon_dialog_new_with_buttons):
5090 Create buttons with finger size.
5092 * examples/hildon-dialog-example.c (main): Use HildonDialog
5093 methods to add buttons.
5095 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5097 * src/hildon-entry.c: Updated HildonButton documentation.
5099 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5101 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5102 button value label with (FALSE, FALSE) to prevent NB#88126 from
5105 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5107 * examples/hildon-pannable-area-example.c,
5108 (main): Removed examples panning a vbox inside a pannable
5109 area. Check bug NB#87965
5111 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5113 Patch contributed by Kris Rietveld (kris@imendio.com)
5115 * src/hildon-pannable-area.c,
5116 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5117 get_size and get_position, this saves an X server roundtrip.
5119 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5121 * doc/hildon-docs.sgml
5123 * examples/Makefile.am
5124 * examples/hildon-entry-example.c
5126 * src/hildon-entry.c
5127 * src/hildon-entry.h
5129 New HildonEntry widget, with example.
5131 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5133 * src/hildon-button.c (hildon_button_construct_child): Pack the
5134 image with expand == fill == FALSE. This is a workaround for a bug
5137 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5139 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5140 labels for the text column, to make it more look more dynamic.
5142 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5144 * src/hildon-time-selector.c
5145 Define gettext auxiliar macro N_
5146 (_create_minutes_model)
5147 (_create_hours_model)
5148 (_create_ampm_model): use of strftime in order to fill the model
5149 * src/hildon-date-selector.c
5150 (hildon_date_selector_finalize):
5151 (_locales_init): remove the logic related to get the name of the months
5152 using nl_langinfo, as it is not required anymore
5154 (_create_year_model)
5155 (_create_month_model)
5156 (_update_day_model): use of strftime in order to fill the model properly
5159 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5161 * src/hildon-button.h
5162 * src/hildon-button.c (hildon_button_get_image): New method to
5165 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5167 * src/hildon-touch-selector.c:
5168 (hildon_touch_selector_remove_column): Remove from the correct parent
5169 and also remove the list element and free it.
5172 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5174 * src/hildon-time-selector.c
5175 (_create_hours_model): change the range on 12h ampm format in order to use
5176 a 12-11 range instead of previous 01-12 range
5177 (hildon_time_selector_set_time): change the way to select the current time
5178 on 12h ampm format, due the change on the range
5179 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5182 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5184 * src/hildon-touch-selector.c
5185 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5186 in order to allow use this function on multiple row selection mode if
5187 the column is different that the first one
5190 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5192 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5193 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5195 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5197 * src/hildon-date-selector.h: clean some comments, now on the .c
5198 * src/hildon-date-selector.c
5199 (hildon_date_selector_select_month): first implementation
5200 (hildon_date_selector_select_day): added documentation, reimplemented
5201 using hildon_date_selector_select_current_date to avoid repeat code
5204 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5206 Reviewed interaction logic based on device experiences, refactored
5209 * src/hildon-pannable-area.c,
5210 (hildon_pannable_area_class_init): Updated default vmax speed.
5211 (hildon_pannable_area_calculate_velocity): Added this function, it
5212 avoids duplicate valocity calculation. Adjusted calculation to
5213 avoid problems with zero dist events.
5215 (hildon_pannable_area_motion_notify_cb): Now we use the
5216 calculate_velocity function.
5218 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5220 * src/hildon-date-selector.c
5221 (hildon_date_selector_select_current_date): fix the day range check
5222 as it failed using the last day of the current month
5225 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5227 * src/hildon-touch-selector.c
5228 (hildon_touch_selector_get_num_columns): added a parameter validation
5231 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5233 * examples/Makefile.am
5234 * examples/hildon-edit-toolbar-example.c: Example of the
5235 HildonEditToolbar widget.
5237 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5239 * configure.ac: postrelease version bump.
5241 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5245 * configure.ac: prerelease version bump.
5246 * debian/changelog: update.
5248 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5250 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5251 renderer to display stock icons in the touch list. Also, set the sizes
5252 to the recommended in the style guide.
5254 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5255 * src/hildon-touch-selector.h
5256 (hildon_touch_selector_set_active_iter): renamed, now is
5257 hildon_touch_selector_select_iter
5258 (hildon_touch_selector_get_active_iter): renamed, now is
5259 hildon_touch_selector_get_selected
5260 (hildon_touch_selector_unselect_iter): added
5261 * src/hildon-touch-selector.c
5262 Update after API modification (methods renamed)
5263 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5264 order to avoid problems selecting multiple elements on the column
5265 (hildon_touch_selector_unselect_iter): added the implementation
5266 * src/hildon-time-selector.c
5267 * src/hildon-date-selector.c
5268 * src/hildon-touch-selector-entry.c
5269 Update methods calls after hildon-touch-selector.h API modification (methods
5272 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5274 * src/hildon-stackable-window.c
5275 (hildon_stackable_window_finalize): Call the parent class's finalize.
5277 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5279 * examples/hildon-touch-selector-example.c: (create_selector): Use
5280 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5283 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5285 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5286 set a cell background color, to respect theming.
5288 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5290 * doc/hildon-docs.sgml
5293 * src/hildon-edit-toolbar.c
5294 * src/hildon-edit-toolbar.h
5295 * src/hildon.h: New HildonEditToolbar widget.
5297 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5299 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5302 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5303 * src/hildon-touch-selector.c
5304 (_create_new_column): use g_object_set instead of two g_object_set_property
5306 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5307 * src/hildon-touch-selector.c
5308 (_create_new_column): use of hildon_gtk_tree_view_new to create
5309 the treeview, instead of use directly g_object_new
5310 (_create_new_column): update the property name "vindicator-mode" for the
5311 new one "vscrollbar-policy"
5312 * examples/hildon-date-button-example.c
5313 * examples/hildon-picker-button-multicolumn-example.c
5314 * examples/hildon-touch-selector-entry-example.c
5315 * examples/hildon-touch-selector-example.c
5316 * examples/hildon-time-button-example.c
5317 * examples/hildon-picker-button-example.c
5318 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5319 to all the treeviews inside a pannable area.
5321 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5323 * src/hildon-button.h
5324 * src/hildon-button.c (hildon_button_init)
5325 (hildon_button_set_arrangement, hildon_button_set_alignment)
5326 (hildon_button_set_title_alignment)
5327 (hildon_button_set_value_alignment)
5328 (hildon_button_set_image_alignment)
5329 (hildon_button_construct_child): New methods to set the alignment
5330 of the individual components of the button (title, value,
5331 image). Also, new method to alter the xscale and yscale properties
5332 of the GtkAlignment inside the button, so more complex layouts can
5335 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5337 * src/hildon-button.c (hildon_button_style_set)
5338 (hildon_button_class_init, hildon_button_set_arrangement)
5339 (hildon_button_construct_child): Apply style properties
5340 correctly. Use the 'image-spacing' style property too.
5342 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5344 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5345 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5348 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5350 * src/hildon-pannable-area.c,
5351 (hildon_pannable_area_size_request): Fixed problem with
5352 pannable-area size_request.
5354 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5356 Added management for the grab-focus to a child widget, like a
5357 range, we need to fade out the scrollbar when releasing.
5359 * src/hildon-pannable-area.c,
5360 (hildon_pannable_area_init): Connected the grab-focus signal to
5362 (hildon_pannable_area_grab_notify): Added this function in order
5363 to manage the situation when the grab-focus ends. We have to
5364 fade-out the scrollbar.
5366 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5368 * src/hildon-app-menu.c: Minor documentation update.
5370 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5372 * src/hildon-app-menu.c
5373 * examples/hildon-app-menu-example.c (create_menu): Update
5374 examples and documentation to explain how to connect callbacks.
5376 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5378 * examples/hildon-button-example.c
5379 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5380 hildon_stackable_window_new instead of gtk_window_new
5382 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5384 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5385 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5386 (hildon_pannable_area_set_property),
5387 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5388 (hildon_pannable_area_unrealize),
5389 (hildon_pannable_area_size_request),
5390 (hildon_pannable_area_size_allocate),
5391 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5392 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5393 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5394 (hildon_pannable_area_initial_effect),
5395 (hildon_pannable_area_redraw),
5396 (hildon_pannable_area_scroll_indicator_fade),
5397 (hildon_pannable_area_expose_event),
5398 (hildon_pannable_area_get_topmost), (synth_crossing),
5399 (hildon_pannable_area_button_press_cb),
5400 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5401 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5402 (hildon_pannable_area_motion_notify_cb),
5403 (hildon_pannable_area_button_release_cb),
5404 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5405 (hildon_pannable_area_remove),
5406 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5407 chage the code layout to a more GtkWidget like. Review the use of
5410 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5412 * examples/hildon-pannable-area-example-4.c,
5413 (main): Modified the name of the hindicator_mode to
5416 * src/hildon-pannable-area.c,
5417 (hildon_pannable_area_class_init),
5418 (hildon_pannable_area_motion_notify_cb),
5419 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5420 we have reduced the amount of signals and managed reviewed its
5421 rationale. Changed the default decelerate value.
5423 (hildon_pannable_area_add),
5424 (hildon_pannable_area_redraw): Refactored functions.
5426 (hildon_pannable_area_init),
5427 (hildon_pannable_area_get_property),
5428 (hildon_pannable_area_set_property):
5429 (hildon_pannable_draw_vscroll),
5430 (hildon_pannable_draw_hscroll),
5431 (hildon_pannable_area_initial_effect),
5432 (hildon_pannable_area_expose_event),
5433 (hildon_pannable_area_scroll),
5434 (hildon_pannable_area_button_press_cb),
5435 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5436 and vindicator_mode with hscrollbar_policy and
5437 vscrollbar_policy. Replaced hscroll and vscroll with
5438 hscroll_visible and vscroll_visible.
5440 (hildon_pannable_area_refresh): Refactor the function, remove
5441 variables and check the calls to this function, added resize
5442 conditions in case the children change their layout.
5444 (hildon_pannable_area_size_request): Added more detailed
5445 size_request calculation.
5448 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5450 * src/hildon-color-chooser.c
5451 (init_borders): use the correct gtk_border_free instead of g_free, to
5452 avoid a crash when this widget is used (ie: the three color selection
5455 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5457 * src/hildon-check-button.c,
5458 (hildon_check_button_set_active): Fixed problem when setting the
5459 active value, the widget was not redrawn.
5461 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5463 * src/hildon-pannable-area.c,
5464 (hildon_pannable_area_refresh),
5465 (hildon_pannable_area_scroll),
5466 (hildon_pannable_area_motion_notify_cb): Small code style change.
5468 (hildon_pannable_area_class_init): Default initial_hint set to
5469 FALSE, it is not in the specs.
5471 (hildon_pannable_area_initial_effect),
5472 (hildon_pannable_area_expose_event),
5473 (hildon_pannable_area_map),
5474 (hildon_pannable_area_init): Moved the launching point of the
5475 initial effect, it was in map but the sizes where not correct in
5476 that method so we do not know if we have the reproduce it. Now it
5477 is placed in the expose_event method and uses a variable to
5478 reproduce it just once.
5480 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5482 * src/hildon-pannable-area.c,
5483 (hildon_pannable_draw_vscroll),
5484 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5485 position allowed for the scrollbars.
5487 (hildon_pannable_area_size_allocate): Small style change.
5489 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5491 * src/hildon-pannable-area.c,
5492 (hildon_pannable_area_scroll_indicator_fade),
5493 (hildon_pannable_area_button_press_cb),
5494 (hildon_pannable_area_button_release_cb),
5495 (hildon_pannable_area_scroll_cb),
5496 (hildon_pannable_area_expose_event),
5497 (hildon_pannable_area_init): Added the define parameter
5498 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5499 and refactor the fade variable.
5501 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5503 * src/hildon-pannable-area.c,
5504 (hildon_pannable_area_redraw),
5505 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5506 lines, we were reimplemeting the redraw code.
5508 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5510 * src/hildon-pannable-area.c,
5511 (hildon_pannable_area_scroll_cb),
5512 (hildon_pannable_area_realize),
5513 (hildon_pannable_area_class_init): Added scroll_event management
5514 for pannable area, now we can scroll the usual desktop method.
5516 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5517 initialization of the parameters should depend on idle_id.
5519 (hildon_pannable_area_init),
5520 (hildon_pannable_area_map): Small code style modifications
5522 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5524 * src/hildon-pannable-area.c
5525 (hildon_pannable_area_button_press_cb),
5526 (hildon_pannable_area_motion_notify_cb),
5527 (hildon_pannable_area_button_release_cb),
5528 (hildon_pannable_area_size_allocate),
5529 (hildon_pannable_area_scroll_to): Improved the timeouts
5530 management, we avoid creating them each time.
5532 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5534 * src/hildon-pannable-area.c:
5535 (hildon_pannable_area_refresh),
5536 (hildon_pannable_area_motion_notify_cb),
5537 (hildon_pannable_area_class_init):
5538 * src/hildon-pannable-area.h:
5539 * src/hildon-touch-selector.c
5540 (_create_new_column):
5541 * examples/hildon-pannable-area-example-4.c:
5542 (horizontal_movement),
5543 (vertical_movement),
5545 Replaced the names of enums in the HildonPannableArea:
5546 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5547 HILDON_MOVEMENT_MODE_*
5548 - HILDON_PANNABLE_AREA_MOV_* ->
5550 - Removed HildonPannableAreaIndicatorMode, now we
5553 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5555 * examples/hildon-pannable-area-touch-grid-example.c
5556 * examples/hildon-pannable-area-touch-list-example.c: Fix
5557 compilation warnings.
5559 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5561 * src/hildon-gtk.c (hildon_gtk_button_new)
5562 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5563 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5564 images overriding the value of the "gtk-button-images" setting.
5566 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5568 * src/hildon-check-button.c (hildon_check_button_new):
5569 Instead of using a custom container, display the label and the
5570 checkbox using the standard GtkButton API.
5572 * examples/hildon-check-button-example.c (main): Don't use
5573 hildon_check_button_set_label() anymore
5575 * src/hildon-check-button.h
5576 * src/hildon-check-button.c
5577 (hildon_check_button_set_label, hildon_check_button_get_label):
5578 Set as deprecated, now we're using gtk_button_{get,set}_label()
5580 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5582 * src/hildon-pannable-area.c,
5583 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5584 GtkTreeview first line we detected it after the inclusion of the
5585 GtkWindowImpl in gtk+. We now check if the window is visible, not
5586 just if the pointer is over the window.
5587 (hildon_pannable_axis_scroll),
5588 (hildon_pannable_area_expose_event): Small style changes.
5590 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5592 * src/hildon-button.c: Update documentation.
5594 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5596 * examples/hildon-button-example.c: Add a switch to show images in
5599 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5601 * doc/hildon-docs.sgml: Some docs reorganization.
5603 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5605 * examples/hildon-pannable-area-touch-list-example.c
5607 * examples/hildon-pannable-area-touch-grid-example.c
5608 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5609 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5610 Fix memory leak when setting the tree model.
5612 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5616 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5618 * doc/hildon.types: Remove duplicated hildon_window_get_type
5619 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5620 documentation comment.
5622 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5624 * doc/Makefile.am: Complete list of private headers.
5626 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5628 * doc/hildon-docs.sgml
5629 * src/hildon-app-menu.c
5630 * src/hildon-bread-crumb.c
5631 * src/hildon-button.c
5633 * src/hildon-program.c
5634 * src/hildon-stackable-window.c
5635 * src/hildon-window.c: Lots of documentation updates.
5637 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5639 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5641 * configure.ac: Require Gtk+ 2.12.9 at least
5643 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5645 * src/hildon-pannable-area.c
5646 (hildon_pannable_area_scroll_indicator_fade),
5647 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5648 to protect the return of this timeout callbacks, avoiding deadlocks.
5650 2008-08-12 Christian Dywan <christian@imendio.com>
5653 * src/hildon-*.h: Ensure a consistent include order,
5654 include <gtk/gtk.h> instead of particular files and
5655 only include the topmost header in the gtk stack. See NB #39857
5657 2008-08-12 Christian Dywan <christian@imendio.com>
5659 * src/hildon-picker-dialog.c
5660 * src/hildon-touch-selector.c: Fix warnings about unused and
5661 uninitialized variables.
5663 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5665 * examples/Makefile.am
5666 * examples/hildon-check-button-example.c: Example of the hildon
5669 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5671 * src/hildon-window.h
5672 * src/hildon-window.c (hildon_window_class_init)
5673 (hildon_window_unset_program): Don't make
5674 hildon_window_unset_program a virtual function anymore.
5676 * src/hildon-stackable-window.c: Update documentation
5678 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5681 * doc/hildon-docs.sgml
5682 * doc/visual_index.xml
5683 * src/hildon-defines.c
5685 * src/hildon-helper.c
5686 * src/hildon-range-editor.c: Lots of documentation fixes.
5688 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5690 * examples/hildon-picker-button-multicolumn-example.c
5691 (create_touch_selector): Fix compilation warning.
5693 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5695 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5696 (hildon_pannable_area_button_release_cb)
5697 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5699 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5701 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5704 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5706 * src/hildon-bread-crumb-trail.h
5707 * src/hildon-date-editor.c
5708 * src/hildon-date-selector.c
5709 * src/hildon-pannable-area.c
5710 * src/hildon-picker-dialog.c
5711 * src/hildon-time-selector.c
5712 * src/hildon-touch-selector-entry.c
5713 * src/hildon-touch-selector.c
5714 * src/hildon-touch-selector.h: Misc documentation fixes
5716 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5718 * examples/hildon-date-editor-example.c (main): Updated date
5721 * examples/hildon-note-example.c (on_confirmation_clicked):
5722 Updated confirmation note example.
5724 * src/hildon-date-editor.c
5725 * src/hildon-note.c: Updated sample programs in documentation.
5728 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5730 * src/hildon-date-button.h:
5731 * src/hildon-picker-button.h:
5732 * src/hildon-time-button.c:
5733 * src/hildon-time-button.h:
5735 Some declarations changes to allow gtk-doc to document the widgets
5738 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5740 * src/hildon-date-button.c: Document the widget.
5741 * src/hildon-time-button.c: Document the widget.
5743 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5745 * src/hildon-picker-button.c: Document the widget.
5746 * src/hildon-touch-selector-entry.c: Document the widget.
5748 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5750 * doc/hildon-docs.sgml
5753 * src/hildon-check-button.h
5754 * src/hildon-check-button.c: New functions to create the Hildon
5758 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5760 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5762 * src/hildon-button.h
5763 * src/hildon-button.c
5764 (hildon_button_add_title_size_group)
5765 (hildon_button_add_value_size_group)
5766 (hildon_button_add_image_size_group)
5767 (hildon_button_add_size_groups): New functions to set size groups
5768 for the button labels and image.
5769 (hildon_button_new_full): Removed
5771 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5773 * src/hildon-time-selector.c
5774 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5775 in order to avoid a crash if gconf is not available
5777 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5779 * src/hildon-button.c (hildon_button_set_arrangement)
5780 (hildon_button_construct_child): Don't construct the button child
5781 before setting the arrangement.
5783 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5785 * src/hildon-program-private.h
5786 * src/hildon-program.c
5787 * src/hildon-program.h
5788 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5789 (hildon_program_peek_window_stack)
5790 (hildon_program_pop_window_stack)
5791 (hildon_program_go_to_root_window): HildonProgram now has a
5792 separate list for stackable windows. Functions are provided to
5793 manage that list with a stack-like API.
5795 * src/hildon-stackable-window.c: Stackable window management is
5796 now much simpler with the new HildonProgram API. Windows no
5797 longer need to be manually added to the program, they're
5798 automatically pushed to the top of the stack when shown.
5800 * examples/hildon-stackable-window-example.c: Updated example to
5801 reflect the API changes.
5803 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5805 * src/hildon-touch-selector.c: Comment out unimplemented
5806 hildon_touch_selector_insert_column() to avoid a compile warning.
5808 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5810 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5811 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5812 (hildon_touch_selector_set_column_selection_mode),
5813 (_hildon_touch_selector_set_model),
5814 (hildon_touch_selector_set_model):
5816 Complete review of HildonTouchSelector documentation.
5818 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5820 * doc/hildon-docs.sgml
5824 * src/hildon-gtk.c: Convenience functions for standard Gtk
5825 widgets, used to easily perform frequent operations.
5827 * src/hildon-button-helpers.h
5828 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5830 * src/hildon-helper.h
5831 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5832 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5834 * src/hildon-button.h
5835 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5837 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5839 * src/hildon-button.c (hildon_button_init)
5840 (hildon_button_set_arrangement, hildon_button_construct_child):
5841 Pack the image and the labels inside the same GtkAlignment so
5842 gtk_button_set_alignment() can be used
5844 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5846 * src/hildon-button.h
5847 * src/hildon-button.c
5848 (hildon_button_init, hildon_button_set_image)
5849 (hildon_button_set_image_position)
5850 (hildon_button_construct_child): New functions to add an image to
5853 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5855 * src/hildon-date-button.c
5856 * src/hildon-picker-button.c
5857 * src/hildon-time-button.c
5858 * src/hildon-button.c:
5859 (hildon_button_class_init): "size-flags" renamed to "size"
5860 (hildon_button_set_title): Hide the title label if set to NULL.
5862 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5864 HildonButtonFlags split into HildonButtonArrangement (to set the
5865 button layout) and HildonSizeType (which can be used for any
5868 * src/hildon-button.h
5869 * src/hildon-button.c
5870 (hildon_button_class_init)
5871 (hildon_button_set_arrangement)
5872 (hildon_button_set_property): New "size-flags"
5873 property. "arrangement-flags" renamed to "arrangement".
5874 (hildon_button_new, hildon_button_new_with_text)
5875 (hildon_button_new_full): Constructors updated to reflect type changes.
5877 * src/hildon-helper.h
5878 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5879 to set the size of a widget.
5883 * src/hildon-button-helpers.c
5884 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5886 * src/hildon-date-button.c
5887 * src/hildon-date-button.h
5888 * src/hildon-picker-button.c
5889 * src/hildon-picker-button.h
5890 * src/hildon-time-button.c
5891 * src/hildon-time-button.h: Updated widgets to reflect
5892 HildonButton API changes.
5894 * examples/hildon-button-example.c
5895 * examples/hildon-date-button-example.c
5896 * examples/hildon-picker-button-example.c
5897 * examples/hildon-picker-button-multicolumn-example.c
5898 * examples/hildon-time-button-example.c
5899 * examples/hildon-touch-selector-entry-example.c
5900 * examples/hildon-touch-selector-example.c: Updated examples to
5901 reflect HildonButton API changes.
5903 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5905 * doc/hildon-docs.sgml:
5907 * examples/Makefile.am:
5908 * examples/hildon-touch-selector-entry-example.c:
5910 * src/hildon-touch-selector-entry.c:
5911 * src/hildon-touch-selector-entry.h:
5914 Moved HildonTouchSelectorEntry from sandbox. Added its
5915 documentation and examples.
5917 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5919 * src/hildon-touch-selector.h:
5920 * examples/hildon-picker-button-multicolumn-example.c:
5921 (hildon_touch_selector_append_text_column): Add a gboolean
5922 parameter to determine if text must be centered in the column.
5924 * src/hildon-date-selector.c: (hildon_date_selector_init):
5925 * src/hildon-time-selector.c: (hildon_time_selector_init):
5926 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5927 (create_touch_selector): Update widgets and example to reflect
5930 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5932 * src/hildon-touch-selector.c:
5933 (hildon_touch_selector_set_active_iter): Set also the cursor in
5936 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5938 * doc/hildon-docs.sgml
5941 * src/hildon-toggle-button.c
5942 * src/hildon-toggle-button.h
5943 * src/hildon.h: Removed HildonToggleButton widget, a derived
5944 class is not necessary for this.
5946 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5948 * src/hildon-pannable-area.c,
5949 (hildon_pannable_area_realize),
5950 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5953 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5955 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5956 "done" button the default widget for the dialog.
5958 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5960 * src/hildon-touch-selector.c:
5961 (hildon_touch_selector_class_init),
5962 (hildon_touch_selector_get_property),
5963 (_hildon_touch_selector_set_model),
5964 (_hildon_touch_selector_has_multiple_selection),
5965 (hildon_touch_selector_has_multiple_selection):
5966 Add a "has-multiple-selection" property with a virtual
5967 has_multiple_selection() method to allow derived classes to
5968 override the default value for it. See the method and property
5969 documentation for details.
5971 * src/hildon-touch-selector.h: Add the new API.
5973 * src/hildon-picker-dialog.c: (requires_done_button): Call
5974 hildon_touch_selector_has_multiple_selection() instead of
5975 determining the need for a button itself.
5977 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5979 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5980 (_hildon_touch_selector_set_model),
5981 (hildon_touch_selector_set_model): Move working code to
5982 _hildon_touch_selector_set_mode(). Call the class method instead.
5984 * src/hildon-touch-selector.h: Add (*set_model) to
5985 HildonTouchSelectorClass.
5987 Make hildon_touch_selector_set_model() a virtual method, so that
5988 derived classes can extend it and do fancy stuff with the model.
5990 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5992 * configure.ac: Set back the tarname in AC_INIT to hildon.
5994 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5998 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5999 instead of libesd (NB#86876). Volume handling is still an open issue.
6001 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6004 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6006 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6007 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6008 derived class to ease placement of an entry widget in
6009 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6010 end, where the selector columns are packed now.
6012 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6014 * src/hildon-picker-button.c: Removed the simple _text() API.
6015 * src/hildon-picker-button.h: Likewise.
6017 * src/hildon-touch-selector.h:
6018 * src/hildon-touch-selector.c:
6019 (hildon_touch_selector_new_text),
6020 (hildon_touch_selector_append_text),
6021 (hildon_touch_selector_prepend_text),
6022 (hildon_touch_selector_insert_text):
6024 Moved the simple _text() API from HildonPickerButton to
6025 HildonTouchPicker, to provide better escalability and not to tie
6026 that API to HildonPickerButton.
6028 * examples/hildon-picker-button-example.c: (main): Example updated.
6030 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6032 * src/hildon-button.c: Updated documentation.
6034 * examples/hildon-button-example.c: Add the posibility to create
6035 the buttons using horizontal layout for title and value.
6037 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6039 * src/hildon-app-menu-private.h
6040 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6041 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6042 GtkSizeGroup for the filters, use the 'homogeneous' property of
6045 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6047 * examples/hildon-button-example.c: Updated example.
6049 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6051 * doc/hildon-docs.sgml:
6054 Update documentation.
6056 * examples/Makefile.am: Update renamed examples.
6058 * examples/hildon-picker-button-multicolumn-example.c:
6059 (create_touch_selector), (main): Update after the rename.
6061 * examples/hildon-touch-picker-example.c: Removed.
6062 * examples/hildon-touch-selector-example.c: (value_changed),
6063 (create_selector), (get_visible_content), (main): Renamed from
6064 hildon-touch-picker-example.c
6066 * src/Makefile.am: Updated renamed files.
6068 * src/hildon-date-button.c: (hildon_date_button_init),
6069 (hildon_date_button_get_date), (hildon_date_button_set_date):
6070 * src/hildon-date-selector.c: (hildon_date_selector_init),
6071 (_custom_print_func), (_update_day_model),
6072 (_manage_selector_change_cb),
6073 (hildon_date_selector_select_current_date),
6074 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6075 * src/hildon-date-selector.h:
6076 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6077 (hildon_picker_button_set_property),
6078 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6079 (hildon_picker_button_init), (hildon_picker_button_new_text),
6080 (hildon_picker_button_append_text),
6081 (hildon_picker_button_prepend_text),
6082 (hildon_picker_button_insert_text),
6083 (hildon_picker_button_set_selector),
6084 (hildon_picker_button_get_selector):
6085 * src/hildon-picker-button.h:
6086 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6087 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6088 (_update_title_on_selector_changed_cb), (requires_done_button),
6089 (_hildon_picker_dialog_set_selector),
6090 (hildon_picker_dialog_set_selector),
6091 (hildon_picker_dialog_get_selector):
6092 * src/hildon-picker-dialog.h:
6093 * src/hildon-time-button.c: (hildon_time_button_init),
6094 (hildon_time_button_get_time), (hildon_time_button_set_time):
6095 * src/hildon-time-selector.c: (hildon_time_selector_init),
6096 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6097 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6098 * src/hildon-time-selector.h:
6101 Massive code updates after the rename.
6103 * src/hildon-touch-picker.c: Removed.
6104 * src/hildon-touch-picker.h: Removed.
6106 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6107 (hildon_touch_selector_init), (hildon_touch_selector_map),
6108 (hildon_touch_selector_remove), (_default_print_func),
6109 (_selection_changed_cb), (_create_new_column),
6110 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6111 (hildon_touch_selector_append_text_column),
6112 (hildon_touch_selector_remove_column),
6113 (hildon_touch_selector_set_column_attributes),
6114 (hildon_touch_selector_insert_column),
6115 (hildon_touch_selector_get_num_columns),
6116 (hildon_touch_selector_get_column_selection_mode),
6117 (hildon_touch_selector_set_column_selection_mode),
6118 (hildon_touch_selector_set_print_func),
6119 (hildon_touch_selector_get_print_func),
6120 (hildon_touch_selector_get_active_iter),
6121 (hildon_touch_selector_set_active_iter),
6122 (hildon_touch_selector_get_selected_rows),
6123 (hildon_touch_selector_get_model),
6124 (hildon_touch_selector_set_model),
6125 (hildon_touch_selector_get_current_text),
6126 (_hildon_touch_selector_center_on_selected_items):
6127 * src/hildon-touch-selector.h: Renamed from
6128 hildon-touch-picker.[ch]
6130 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6131 references, code examples, and related documentation.
6133 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6135 * doc/hildon-docs.sgml
6138 * src/hildon-toggle-button.c
6139 * src/hildon-toggle-button.h
6140 * src/hildon.h: New HildonToggleButton widget.
6142 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6144 * src/hildon-button.c: Add API documentation.
6145 (hildon_button_set_size_groups): Check input parameters
6147 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6149 * src/hildon-pannable-area.c
6150 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6151 effect after reaching the movement thredshold. This way we start
6152 using the distance after passing the thredshold.
6154 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6156 * src/hildon-button.c: (hildon_button_set_property): Use the
6157 appropriate g_value_get_flags() method.
6159 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6161 * doc/hildon-docs.sgml:
6164 Add the touch pickers, picker dialogs, and picker button widgets
6165 to the documentation.
6167 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6169 * src/hildon-button.c: (hildon_button_set_property),
6170 (hildon_button_class_init): Make "arrangement-flags" a proper
6171 G_TYPE_FLAGS derived property.
6173 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6175 * examples/Makefile.am: Add below examples.
6176 * examples/hildon-date-button-example.c:
6177 * examples/hildon-picker-button-example.c:
6178 * examples/hildon-picker-button-multicolumn-example.c:
6179 * examples/hildon-time-button-example.c:
6180 * examples/hildon-touch-picker-example.c:
6182 Add examples for the recently added touch pickers,
6183 picker dialogs, and picker button widgets.
6185 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6187 * src/hildon-button.c: Add some API documentation
6189 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6191 * src/hildon-button.h
6192 * src/hildon-button.c
6194 (hildon_button_new_with_text): New constructor to create a button
6195 with no text at all.
6196 (hildon_button_init, hildon_button_set_arrangement)
6197 (hildon_button_set_title, hildon_button_set_value)
6198 (hildon_button_set_text)
6199 (hildon_button_construct_child): Hide the value when it's not used
6200 so the rest of the text is properly aligned.
6201 Allow creating buttons with arbitrary widgets inside (not just
6202 title/value labels).
6204 * examples/hildon-button-example.c (vertical_buttons_window)
6205 (horizontal_buttons_window): Update example to use new API.
6207 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6209 * src/Makefile.am: Added HildonTimeButton.
6210 * src/hildon-time-button.c: Added missing LGPL header.
6211 * src/hildon-time-button.h: Added missing LGPL header.
6212 * src/hildon.h: Add hildon-time-button.h
6214 Copied HildonTimeButton from sandbox to trunk. Future work on this
6215 widget must take place in trunk.
6217 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6219 * src/Makefile.am: Added HildonDateButton.
6220 * src/hildon-date-button.c: Update includes.
6221 * src/hildon.h: Add hildon-date-button.h
6223 Copied HildonDateButton from sandbox to trunk. Future work on this
6224 widget must take place in trunk.
6226 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6228 * src/Makefile.am: Added HildonPickerButton.
6229 * src/hildon-picker-button.h: Update includes.
6230 * src/hildon.h: Add hildon-picker-button.h
6232 Copied HildonPickerButton from sandbox to trunk. Future work on
6233 this widget must take place in trunk.
6235 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6237 * src/Makefile.am: Added HildonPickerDialog.
6238 * src/hildon-picker-dialog.c: Update includes.
6239 * src/hildon.h: Add hildon-picker-dialog.h
6241 Copied HildonPickerDialog from sandbox to trunk. Future work
6242 on this widget must take place in trunk.
6244 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6246 * src/Makefile.am: Added HildonTimeSelector.
6247 * src/hildon.h: Add hildon-time-selector.h
6249 Copied HildonTimeSelector widget from sandbox to trunk. Future
6250 work on this widget must happen in trunk.
6252 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6254 * src/Makefile.am: Added HildonDateSelector.
6255 * src/hildon.h: Add hildon-date-selector.h
6257 Copied HildonDateSelector widget from sandbox to trunk. Future
6258 work on this widget must happen in trunk.
6260 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6262 * src/Makefile.am: Added HildonTouchPicker.
6263 * src/hildon-touch-picker.c: Update includes.
6264 * src/hildon.h: Add hildon-touch-picker.h
6266 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6267 on this widget must happen in trunk.
6269 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6271 * src/hildon-pannable-area.c:
6272 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6274 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6276 * examples/hildon-app-menu-example.c (main): Let the window
6279 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6281 * src/hildon-pannable-area.c
6282 (hildon_pannable_area_class_init): Set the min value of the
6283 overshoot properties to zero, which points out that not
6284 overshooting allowed.
6286 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6288 Modified the procedure to get the widget at a point inside the
6289 pannable area when using the movement type signals. Now the user
6290 has to call a function to get the child, that way we just
6291 calculate the child in case the user really want to use it and not
6294 * src/hildon-marshalers.list: Modified the marshallers, now we do
6295 not have the widget as a parameter.
6297 * src/hildon-pannable-area.c
6298 (hildon_pannable_area_motion_notify_cb),
6299 (hildon_pannable_area_class_init),
6300 (hildon_pannable_get_child_widget_at): Removed the widget
6301 parameter from the signal callback. We have also refactored the
6302 emission of the signals.
6304 * src/hildon-pannable-area.h: Added a new method to the API to
6305 calculate a widget at a point inside the pannable area,
6306 hildon_pannable_get_child_widget_at.
6308 * examples/hildon-pannable-area-example-4.c
6309 (horizontal_movement): Modified the example to use the new API,
6310 added condition to control which widget is under the event. This
6311 way we can avoid scrolling laterally over other widgets.
6313 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6315 * src/hildon-pannable-area.c
6316 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6317 modes, we stop getting the pointer events due to returning the
6318 callback without properly calling the get pointer again. Fixed
6319 also an error using the hscroll and vscroll.
6321 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6323 * src/hildon-app-menu-private.h
6324 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6325 (hildon_app_menu_button_release, hildon_app_menu_init)
6326 (hildon_app_menu_class_init): Don't hide the menu on button
6327 release if the user didn't press outside first.
6329 * src/hildon-window.h
6330 * src/hildon-window.c (hildon_window_toggle_menu)
6331 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6332 hildon_window_toggle_menu a virtual function for the stackable
6333 window to override it.
6335 * src/hildon-stackable-window.h
6336 * src/hildon-stackable-window-private.h
6337 * src/hildon-stackable-window.c
6338 (hildon_stackable_window_realize)
6339 (hildon_stackable_window_finalize)
6340 (hildon_stackable_window_class_init)
6341 (hildon_stackable_window_init)
6342 (hildon_stackable_window_set_main_menu): New function to set the
6343 app menu of a HildonStackableWindow.
6345 * examples/hildon-app-menu-example.c: Remove the button to show
6346 the app menu, now it'll be shown when clicking on the title bar
6349 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6351 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6352 set the widget name if the arrangement flags do not specify
6355 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6357 * src/hildon-button.c: (hildon_button_set_property),
6358 (hildon_button_class_init), (hildon_button_new_full),
6359 (hildon_button_set_arrangement): Added "arrangement-flags"
6362 Make the HildonButtonFlags a construction-only property, to allow
6363 subclasses to set them properly.
6365 2008-07-21 Tim Janik <timj@imendio.com>
6367 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6368 insertion position after backspace, so additional digits are appended,
6371 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6373 * src/hildon-pannable-area.c,
6374 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6375 TODO list, it was complete and removed the g_debug and g_print
6378 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6380 Added the movement modes to the hildon-pannable-area, with this
6381 modes the developers can control in which directions the widget
6382 can scroll. They can also connect to signals in order to do
6383 something when that happens, allowing applications scroll. There
6384 is an example uploaded showing how to use it.
6386 * examples/Makefile.am:
6387 * examples/hildon-pannable-area-example-4.c: Added this example of
6388 an application using the modes.
6390 * src/hildon-marshalers.list: Added a new marshaller for the new
6393 * src/hildon-pannable-area.h: Added new enumerations and flags in
6394 order to control the movement modes and the new signals to warn
6395 about the movements in the area.
6397 * src/hildon-pannable-area.c:
6398 (hildon_pannable_axis_scroll),
6399 (hildon_pannable_area_scroll),
6400 (hildon_pannable_area_motion_notify_cb),
6401 (hildon_pannable_area_get_property),
6402 (hildon_pannable_area_set_property),
6403 (hildon_pannable_area_map),
6404 (hildon_pannable_area_class_init),
6405 (hildon_pannable_area_init),
6406 (hildon_pannable_area_jump_to): Added the modes to control the
6407 movement in the widget. We have added properties to control it,
6408 signals to warn about the movements and refactored some code.
6410 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6412 Changes required in order to allow vfast_factor set to zero to
6415 * src/hildon-pannable-area.c:
6416 (hildon_pannable_area_button_press_cb): Changed the condition, it
6417 is required for not allowing click when vfast_factor is zero.
6418 (hildon_pannable_area_timeout): Initialized velocity variables
6419 when we stop moving, it was less than 1 but not zero and we need
6420 to check zero in some situations.
6421 (hildon_pannable_area_class_init): Changed the default value of
6422 the speed factor, now the button_press is just sent in case the
6423 speed is 2 per cent of the max speed.
6424 (hildon_pannable_area_init): Initialization with 0.
6426 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6428 * src/hildon-pannable-area.c,
6429 (hildon_pannable_area_get_topmost): replaced
6430 gdk_window_get_children with gdk_window_peek_children, this way we
6431 do not have to free the list because it is not a copy.
6433 (hildon_pannable_axis_scroll),
6434 (hildon_pannable_area_scroll),
6435 (hildon_pannable_area_timeout),
6436 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6437 two parameters that were only used inside the
6438 hildon_pannable_area_scroll function.
6440 * examples/hildon-pannable-area-example.c,
6441 (get_sawtooth_label): Fixed small memory leak.
6443 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6445 More checks for the case where the overshoot is bigger than the
6448 * src/hildon-pannable-area.c:
6449 (hildon_pannable_draw_vscroll),
6450 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6451 to draw the slider of the scrollbar under the other scrollbar.
6452 (hildon_pannable_area_expose_event): added new checks to control
6453 the drawing of the overshooting area rectangle, in case it is too
6454 big for the area of the widget.
6455 (hildon_pannable_area_size_allocate): add more checks to avoid
6456 setting a position to the child widget outside the area.
6458 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6460 * src/hildon-pannable-area.c
6461 (hildon_pannable_area_size_allocate): Added conditions to control
6462 when overshooting is bigger than the allocated space for the
6463 children, this avoids negative allocations.
6465 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6467 * doc/hildon-docs.sgml
6469 * examples/Makefile.am
6470 * examples/hildon-button-example.c
6472 * src/hildon-button.c
6473 * src/hildon-button.h
6474 * src/hildon.h: Initial version of the new HildonButton widget,
6477 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6479 * src/hildon-pannable-area.c:
6480 (hildon_pannable_area_button_press_cb),
6481 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6482 (hildon_pannable_area_motion_notify_cb),
6483 (hildon_pannable_area_button_release_cb),
6484 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6485 (hildon_pannable_area_jump_to_child):
6487 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6489 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6491 * examples/Makefile.am
6492 * examples/hildon-pannable-area-touch-grid-example.c
6493 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6494 the Hildon Touch List and Hildon Touch Grid using the
6495 HildonPannableArea widget.
6497 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6499 * src/hildon-pannable-area.c,
6500 (hildon_pannable_area_button_press_cb),
6501 (hildon_pannable_area_refresh),
6502 (hildon_pannable_area_scroll),
6503 (hildon_pannable_area_motion_notify_cb),
6504 (hildon_pannable_area_button_release_cb),
6505 (hildon_pannable_area_expose_event),
6506 (hildon_pannable_area_add),
6507 (hildon_pannable_area_remove),
6508 (hildon_pannable_area_realize),
6509 (hildon_pannable_area_size_allocate),
6510 (hildon_pannable_area_class_init),
6511 (hildon_pannable_area_init),
6512 (hildon_pannable_area_scroll_to_child),
6513 (hildon_pannable_area_jump_to_child): Fixed the problem of
6514 removing the child from the GtkBin, we have rearranged the widget
6515 hierarchy, now there is no GtkAlignment which was not doing
6516 anything interesting but breaking some of the assumptions of
6517 GtkContainer. Now developers if they want to add a GtkAlignment
6518 they could, but it is not inside the area.
6520 We had to review the whole allocation/expose process, now it is
6521 improved and we save at least three signals which would be saving
6522 some time when rendering the widget. The allocation of the
6523 scrollbars is now made in the allocate method as usual.
6525 We have also added some conditions in order to control when there
6526 is no child of the pannable area. Maybe we will need more work
6529 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6531 * src/hildon-pannable-area.c,
6532 (hildon_pannable_area_dispose): Released the fade-out timeout when
6533 disposing the widget.
6535 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6537 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6538 zero, we are going to use that property in order to deactivate the
6540 (hildon_pannable_axis_scroll),
6541 (hildon_pannable_area_size_allocate): Added conditions to control
6542 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6543 call, now it is called in all situations and we can remove calls
6544 in the allocate method.
6545 (hildon_pannable_area_map): Control the situation when
6546 overshoot_max is zero, we do not need the timeout.
6547 (hildon_pannable_area_class_init): Added documentation in order to
6548 point out that setting zero to overshoot_max means deactivate
6551 NOTE: removed trailing whitespaces from my previous comments of
6554 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6556 * src/hildon-pannable-area.c
6557 (hildon_pannable_area_get_property),
6558 (hildon_pannable_area_set_property),
6559 (hildon_pannable_area_map),
6560 (hildon_pannable_area_class_init),
6561 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6562 to cause the widget give a hint about its panning abilities upon
6565 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6567 * src/hildon-pannable-area.c: Several documentation improvements.
6569 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6571 * src/hildon-program.c
6572 * src/hildon-stackable-window.c: Update documentation.
6574 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6576 * src/hildon-stackable-window.c (get_previous_window_if_last):
6577 Renamed get_last_window()
6578 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6579 (hildon_stackable_window_unset_program):
6581 (get_previous_window_if_last):
6582 Detect if the window hasn't been added to a HildonProgram.
6584 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6586 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6588 * src/hildon-pannable-area.c
6589 (hildon_pannable_area_button_press_cb),
6590 (hildon_pannable_axis_scroll),
6591 (hildon_pannable_area_scroll),
6592 (hildon_pannable_area_timeout),
6593 (hildon_pannable_calculate_vel_factor),
6594 (hildon_pannable_area_get_property),
6595 (hildon_pannable_area_set_property),
6596 (hildon_pannable_area_class_init),
6597 (hildon_pannable_area_init),
6598 (hildon_pannable_area_scroll_to),
6599 (hildon_pannable_area_jump_to),
6600 (hildon_pannable_area_scroll_to_child),
6601 (hildon_pannable_area_jump_to_child):
6602 * src/hildon-pannable-area.h: Added the new API functions:
6603 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6604 hildon_pannable_area_scroll_to_child,
6605 hildon_pannable_area_jump_to_child
6608 * examples/Makefile.am
6609 * examples/hildon-pannable-area-example-2.c
6610 * examples/hildon-pannable-area-example-3.c: Added these two new
6611 examples in order to test and show how the new APIs work.
6613 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6615 * examples/hildon-stackable-window-example.c (new_window):
6616 * src/Makefile.am (noinst_HEADERS):
6617 * src/hildon-program.c (hildon_program_go_to_root_window):
6618 * src/hildon-program.h:
6619 * src/hildon-stackable-window-private.h:
6620 * src/hildon-stackable-window.c:
6621 * src/hildon-stackable-window.h:
6622 Create hildon-stackable-window-private.h
6623 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6625 * examples/hildon-app-menu-example.c (create_menu):
6626 * examples/hildon-hvolumebar-insensitive-example.c (main):
6627 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6628 * examples/hildon-toolbar-seekbar-example.c (main):
6629 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6630 * src/hildon-banner.c (hildon_banner_set_property):
6631 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6632 Fix compilation warnings
6634 * src/hildon-window.c:
6637 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6639 * src/hildon-stackable-window.c
6640 (hildon_stackable_window_unset_program):
6641 Calculate correctly whether to show the previous window if the
6642 last one is removed from the stack.
6643 (hildon_stackable_window_go_to_root_window):
6644 Send delete events starting from the topmost window.
6645 Stop if one of the windows is not destroyed.
6647 (hildon_stackable_window_delete_event)
6648 (hildon_stackable_window_class_init):
6649 Ignore the delete event if the window is not the topmost one.
6651 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6653 * src/hildon-pannable-area.c
6654 (hildon_pannable_area_expose_event): Fixed a problem when
6655 selecting the background color of the scrollbars.
6657 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6659 * examples/hildon-stackable-window-example.c
6660 * src/hildon-stackable-window.c
6661 * src/hildon-stackable-window.h
6662 hildon_stackable_window_go_home() renamed to
6663 hildon_stackable_window_go_to_root_window()
6664 Send delete events to windows rather than closing them with
6665 gtk_widget_destroy()
6667 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6669 * src/hildon-pannable-area.c
6670 (hildon_pannable_area_button_release_cb): Fix overshooting in
6673 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6675 * src/hildon-pannable-area.c
6676 (hildon_pannable_area_init): Initially show the scroll indicators.
6677 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6679 Add initial effect showing the widget is pannable.
6681 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6683 * src/hildon-pannable-area.c
6684 (hildon_pannable_area_class_init)
6685 (hildon_pannable_area_set_property)
6686 (hildon_pannable_area_get_property)
6687 (hildon_pannable_area_button_press_cb):
6688 New 'velocity_fast_factor' property to decide which velocity is
6691 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6693 * src/hildon-pannable-area.c
6694 (hildon_pannable_draw_hscroll)
6695 (hildon_pannable_draw_vscroll):
6696 Use float variables to calculate the size of the scrollbars to
6697 avoid error propagation and resizing during scrolling.
6699 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6701 * src/hildon-pannable-area.c
6702 (hildon_pannable_draw_vscroll)
6703 (hildon_pannable_draw_hscroll):
6704 Define a minimum size for the scroll bars
6706 * src/hildon-stackable-window.c
6707 (hildon_stackable_window_go_home): Fix compilation warning
6708 (get_last_window): Minor optimizations
6709 (hildon_stackable_window_class_init): Fix initialization of
6712 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6714 * src/hildon-stackable-window.c: Fixed typos in doc
6716 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6718 * src/hildon-pannable-area.c
6719 (hildon_pannable_area_scroll):
6720 Calculate here whether we need to scroll instead of using the booleans
6721 that tell us whether to /draw/ the scrolling bars.
6723 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6725 * src/hildon-app-menu.h
6727 * src/hildon-app-menu.c
6728 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6729 multiple filter groups related code and API. Now we support only
6731 * examples/hildon-app-menu-example.c:
6733 Update to reflect API changes.
6735 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6737 * src/hildon-stackable-window.c
6738 (hildon_stackable_window_class_init):
6739 Add hildon_stackable_window_realize.
6740 (hildon_stackable_window_realize):
6741 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6742 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6743 to apply theming and behavior specific to HildonStackableWindow
6746 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6748 * src/hildon-note.c (hildon_note_button_release):
6749 Close information notes also when tapping on them
6751 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6753 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6754 ELASTICITY, refactor and review, fix some issues with drawing
6757 * src/hildon-pannable-area.c:
6758 (hildon_pannable_area_button_press_cb): removed the conditions to
6759 avoid clicks when overshooting. It is not required
6761 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6762 define. Refatored and reviewed the code, now we do not need to
6763 manage velocity in motion_notify.
6765 (hildon_pannable_area_motion_notify_cb): We have moved the code
6766 that controls the area_scroll to the axis_scroll function and get
6767 rid of duplicated code.
6769 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6771 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6773 (hildon_pannable_draw_vscroll),
6774 (hildon_pannable_draw_hscroll): Fixed the problems with the
6775 scrollbar drawing, now we do not use two surfaces, it is easier
6776 and saves resources.
6778 (hildon_pannable_area_get_property): Style modification.
6780 (hildon_pannable_area_class_init): Changed some default values.
6782 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6784 * src/hildon-stackable-window.c: Fix some typos in the
6787 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6789 * src/hildon-dialog.c:
6790 Change indentation style
6793 (hildon_note_button_release):
6794 Use root coordinates to check if the release event happened
6797 * src/hildon-app-menu.c
6798 (hildon_app_menu_button_release):
6799 Remove unnecessary check
6801 * examples/hildon-app-menu-example.c
6803 Add cast to fix warning
6805 * src/hildon-app-menu.c
6806 (hildon_app_menu_class_init):
6807 New inner-border style property.
6808 Set all default spacings to 16
6809 (hildon_app_menu_init):
6810 Use vertical-spacing to set the space between filter buttons and
6811 regular menu buttons.
6812 Set the default container border using the inner-border value.
6814 * examples/hildon-app-menu-example.c
6816 Don't set the menu border explicitly, now we have the inner-border
6817 style property for that.
6819 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6821 * src/hildon-app-menu.c (hildon_app_menu_init):
6822 Make the window modal
6824 * src/hildon-note.c (hildon_note_map)
6825 * src/hildon-app-menu.c (hildon_app_menu_map):
6826 Destroy the grab window if we're unable to grab the pointer
6828 * src/hildon-app-menu-private.h
6829 * src/hildon-app-menu.c
6830 (hildon_app_menu_init, hildon_app_menu_finalize)
6831 (hildon_app_menu_map, hildon_app_menu_unmap)
6832 (hildon_app_menu_button_release)
6833 (grab_transfer_window_get):
6834 Bring back the grab window
6835 (hildon_app_menu_realize):
6836 Decorate the window, set WM hint for Matchbox
6838 * src/hildon-note.c (hildon_note_realize):
6839 * src/hildon-banner.c (hildon_banner_realize):
6840 Add WM hints for Matchbox
6842 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6844 * src/hildon-app-menu-private.h
6845 * src/hildon-app-menu.c
6846 (hildon_app_menu_init, hildon_app_menu_finalize)
6847 (hildon_app_menu_map, hildon_app_menu_unmap)
6848 (hildon_app_menu_button_release):
6849 Remove the grab window, it's not needed anymore
6851 * src/hildon-program.c
6852 Fixed typo in documentation
6854 * src/hildon-app-menu.h
6855 * src/hildon-app-menu.c
6856 * examples/hildon-app-menu-example.c
6857 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6859 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6862 Added new transfer_window and close_if_pressed_outside private
6864 (hildon_note_rebuild):
6865 Don't add a cancel button to the information note. It will be
6866 closed when tapping outside
6867 Remove the comment about the OK button in the documentation
6868 (hildon_note_realize):
6869 Set the notification type hint
6870 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6871 Grab/ungrab pointer and keyboard if the note has to be closed when
6873 (hildon_note_button_release):
6874 Close the note when tapping outside (if applicable)
6876 * src/hildon-app-menu.c
6877 Grab/ungrab pointer and keyboard on map/unmap
6878 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6879 Close the menu on button release, not button press
6881 * src/hildon-banner.c
6882 (hildon_banner_set_property)
6883 (hildon_banner_check_position):
6884 Make the banner use the full width of the screen
6885 (hildon_banner_show_information)
6886 (hildon_banner_show_information_with_markup):
6887 Don't display an icon by default
6889 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6891 Added fading scrollbars and adapted all the overshooting code to
6892 horizontal scrolling. We have also fixed bugs with overshooting
6893 and current fading implementation.
6895 * src/hildon-pannable-area.c
6896 (hildon_pannable_area_scroll_indicator_fade): Time out function
6897 used to change the transparency of the scrollbars.
6899 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6900 control and fixed a problem with fading, we now remove the fade
6901 timeout before adding a new one.
6903 (hildon_pannable_axis_scroll):
6904 (hildon_pannable_area_scroll):
6905 (hildon_pannable_area_timeout): Added this functions so we can use
6906 the scroll code both for vertical and horizontal.
6908 (hildon_pannable_area_motion_notify_cb):
6909 (hildon_pannable_area_button_release_cb): Added the horizontal
6910 scrolling control, fixed a problem with the overshooting timeout.
6912 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6913 painting of the scrolls.
6915 (hildon_pannable_draw_vscroll):
6916 (hildon_pannable_draw_hscroll):
6917 (hildon_pannable_area_expose_event):
6918 Draw both scrollbars and rectangles in the overshooting area.
6920 (hildon_pannable_area_get_property):
6921 (hildon_pannable_area_set_property):
6922 Modified the overshoot property to overshoot_max
6924 (hildon_pannable_area_map):
6925 Replaced the comments symbols.
6927 (hildon_pannable_area_size_allocate):
6928 (hildon_pannable_area_class_init):
6929 (hildon_pannable_area_init): Added horizontal scroll, fading
6930 effect properties, fixed a problem when overshooting in the bottom
6933 * examples/hildon-pannable-area-example.c:
6934 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6935 looks better in the example.
6937 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6939 * src/hildon-window.c
6940 * src/hildon-window.h
6941 (hildon_window_class_init)
6942 (hildon_window_unset_program)
6943 (hildon_window_unset_program_real):
6944 Make unset_program a virtual function
6946 * src/hildon-stackable-window.c
6947 * src/hildon-stackable-window.h
6948 Added hildon_stackable_window_go_home()
6950 * examples/Makefile.am
6951 * examples/hildon-stackable-window-example.c
6952 HildonStackableWindow example
6954 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6956 * hildon-pannable-area.c: Added the overshoot property and removed
6957 the OVERSHOOT define. Fixed an indent style error.
6958 (hildon_pannable_area_motion_notify_cb):
6959 (hildon_pannable_area_get_property):
6960 (hildon_pannable_area_set_property): Add overshoot property.
6962 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6965 (hildon_pannable_area_class_init): Installed the new property.
6967 * hildon-pannable-area-example.c: Added a sawtooth function, this
6968 way it is easier to check the movement in the pannable.
6969 (get_sawtooth_label): Added this function.
6970 (main): Now we get the labels from the new get_sawtooth_label
6973 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6975 * src/hildon-app-menu.h
6976 * src/hildon-app-menu.c
6977 Renamed API variables for consistency
6979 (hildon_app_menu_popup): Use also the default window size to
6980 decide where to place the menu
6982 (hildon_app_menu_init, hildon_app_menu_class_init): New
6983 external-border style property
6985 2008-05-26 Michael Natterer <mitch@imendio.com>
6987 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6988 widget_class->tap_and_hold_setup signal slot doesn't exist any
6989 longer, stop overriding it.
6991 (hildon_time_editor_init): g_signal_connect() to the
6992 tap-and-hold-setup signal instead.
6994 (hildon_time_editor_entry_keypress): add cast to fix warning.
6996 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6998 * doc/hildon-docs.sgml
7000 * examples/Makefile.am
7001 * examples/hildon-app-menu-example.c
7003 * src/hildon-app-menu-private.h
7004 * src/hildon-app-menu.c
7005 * src/hildon-app-menu.h
7007 New HildonAppMenu widget
7009 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7011 Rearranged the inheritance of the pannable area, now it inherits
7012 from GtkBin. This will allow us to control the event_window and
7013 the allocation process of the widget, required for some effects.
7015 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7016 GtkBin structures. * src/hildon-pannable-area.c: Added the
7017 event_window variable.
7018 (hildon_pannable_area_button_press_cb):
7019 (hildon_pannable_area_button_release_cb):
7020 (hildon_pannable_area_motion_notify_cb):
7021 Changed the signature of the method, now we override the event
7022 callback instead of connecting to the signal.
7024 (hildon_pannable_area_realize):
7025 (hildon_pannable_area_unrealize):
7026 (hildon_pannable_area_map):
7027 (hildon_pannable_area_unmap):
7028 (hildon_pannable_area_size_allocate):
7029 Added functions to control the widget construction. We add a
7030 INPUT_ONLY window and we put it over the widgets inside the
7031 container, this event_window handles the events.
7033 (hildon_pannable_area_class_init):
7034 Replaced the signal connections with overrides of the event
7037 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7039 Bouncing effect added when touching the borders, you can change
7040 the elasticity of the border changing the ELASTICITY define.
7042 * src/hildon-pannable-area.c: Added ELASTICITY define.
7043 (hildon_pannable_area_timeout): Added inverse velocity when
7044 touching the border of the child widget, that causes a bounce.
7046 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7048 Improved performance, we now do not go to the X server in order to
7049 get the list of window children. Apparently the effect is the
7050 same, we have to be careful and check if this breaks something in
7053 * src/hildon-pannable-area.c:
7054 (get_ordered_children): Removed this function.
7055 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7056 the children windows function with gdk_window_get_children.
7058 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7060 * src/hildon-pannable-area.c:
7061 (hildon_pannable_area_dispose): Fixed a crash when closing the
7062 window and kinetics is activated.
7064 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7066 * src/hildon-pannable-area.h
7067 * src/hildon-pannable-area.c
7068 Changed indentation style to meet the one used in Hildon
7070 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7072 Reviewed the interaction of the AUTO mode, now we use the time
7073 attribute of the events and calculate the velocity in the motion,
7074 doing a gimp like calculation. The velocity is calculated in each
7075 motion event using the last velocity and the current one, the
7076 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7078 * src/hildon-pannable-area.c: Replaced the time based algorithm
7080 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7081 timeout for the AUTO mode when we are still moving the cursor. We
7082 added also the velocity calculation in this function.
7083 (hildon_pannable_area_button_release_cb): launch the timeout in
7084 case we are in AUTO mode. There are still some constants here that
7085 come from the old implementation that should be reviewed and
7088 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7090 * doc/hildon-docs.sgml
7093 * src/hildon-stackable-window.c
7094 * src/hildon-stackable-window.h
7096 New HildonStackableWindow widget
7098 * examples/hildon-dialog-example.c
7099 * examples/hildon-pannable-area-example.c
7102 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7104 * src/hildon-dialog.c
7105 (hildon_dialog_new_with_buttons): New constructor.
7107 * examples/hildon-dialog-example.c
7108 (main): Update the example to use the new
7109 hildon_dialog_new_with_buttons().
7111 * examples/hildon-pannable-area-example.c
7112 (main): Update example.
7114 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7116 * doc/hildon-docs.sgml
7118 Added HildonPannableArea to the documentation.
7120 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7122 * doc/visual_index.xml
7123 Fix reference to HildonLoginDialog in documentation
7125 * doc/hildon-docs.sgml
7127 * examples/Makefile.am
7128 * examples/hildon-dialog-example.c
7130 * src/hildon-dialog.c
7131 * src/hildon-dialog.h
7133 New HildonDialog widget.
7135 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7137 * src/hildon-pannable-area.c
7138 Merge latest changes (r4318, r4342) from libmokoui trunk
7140 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7142 * examples/Makefile.am
7143 * examples/hildon-pannable-area-example.c
7145 * src/hildon-pannable-area.c
7146 * src/hildon-pannable-area.h
7148 New HildonPannableArea widget.
7150 2008-04-15 18:05:19 <timj@imendio.com>
7152 * src/hildon-banner.c: revert the recent change, that introduced
7153 gtk_window_present() calls. this reopens:
7154 Bug 78481 - [freetest] information banners are hidden under browser menu
7155 But resolves another variant of:
7156 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7158 2008-04-15 13:21:13 <timj@imendio.com>
7160 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7161 recreated its layout, spotted by Kris. this fixes all remaining
7162 artefacts and stability issues with the banner code. in particular:
7163 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7165 2008-04-14 16:52:59 <timj@imendio.com>
7167 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7168 operating on unrealized widgets, fixes:
7169 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7171 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7173 2008-04-09 Kristian Rietveld <kris@imendio.com>
7175 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7176 makes banner disappear.
7177 Fixes: NB#79182: info banner flickering with certain message lengts.
7179 * src/hildon-banner.c (hildon_banner_constructor),
7180 (hildon_banner_init), (hildon_banner_set_text),
7181 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7182 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7183 FALSE, reset size requests of label and banner,
7184 (force_to_wrap_truncated): when the text is too wide, always enforce
7185 the maximum possible width instead of recalculating it from the
7186 layout; enforce the maximum banner height of 3 lines,
7187 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7188 nicer wrapping and no truncated chars if space gets tight.
7190 * src/hildon-banner-private.h: add has_been_wrapped and
7191 has_been_truncated fields.
7193 2008-04-07 Sven Herzberg <sven@imendio.com>
7195 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7196 local values in hildon_date_editor_size_allocate
7198 * src/hildon-date-editor.c: moved the real allocation code into the
7201 2008-04-07 Sven Herzberg <sven@imendio.com>
7203 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7204 local values in hildon_date_editor_size_allocate
7206 * src/hildon-date-editor.c: merged the two if() branches together
7208 2008-04-07 Sven Herzberg <sven@imendio.com>
7210 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7211 local values in hildon_date_editor_size_allocate
7213 * src/hildon-date-editor.c: changed the arguments of the if()
7216 2008-04-07 Sven Herzberg <sven@imendio.com>
7218 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7219 local values in hildon_date_editor_size_allocate
7221 * src/hildon-date-editor.c: split the calculation of the allocation
7222 from the real allocation
7224 2008-03-27 Michael Natterer <mitch@imendio.com>
7226 Fixes: NB#81696: The passcode is not overwritten even after
7229 * src/hildon-code-dialog.c
7230 (hildon_code_dialog_button_clicked)
7231 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7232 because that doesn't overwrite selected text. Instead, emit the
7233 "commit" signal on the entry's im_context so the entry's normal
7234 insert logic is triggered. Set the cursor to the end of the entry
7235 after each insert operation so that we *only* insert in the middle
7236 of the text if something was selected.
7238 2008-03-27 Michael Natterer <mitch@imendio.com>
7240 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7241 selector cannot be opened
7243 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7244 when the popup color selector is created. Please connect to this
7245 signal in order to set the dialog's help ID.
7247 2008-03-25 Sven Herzberg <sven@imendio.com>
7249 Fixes: MB#1212: Hide info banners (infoprints) on click
7251 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7252 extracted the close event simulation into an extra function
7253 (hildon_banner_button_press_event): simulate a close event and destroy
7254 the widget if the event wasn't handled
7255 (hildon_banner_class_init): added the button_press_event handler
7256 (hildon_banner_init): added button-press events to the widget
7258 2008-03-25 Sven Herzberg <sven@imendio.com>
7260 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7261 Patch from: Mohammad Anwari <mdamt@maemo.org>
7263 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7264 instead of the right in RTL mode
7265 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7266 breadcrumb button list in RTL mode
7267 * src/hildon-caption.c: mirror the appearance of the caption widget in
7269 * src/hildon-date-editor.c: mirror appearance of the date editor in
7271 * src/hildon-time-editor.c: mirror appearance of the time editor in
7273 * src/hildon-window.c: fix the position of the popup in RTL mode
7275 2008-03-25 Sven Herzberg <sven@imendio.com>
7277 Amendment to the fix of NB#22072. Fix compilation.
7279 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7281 2008-03-19 Sven Herzberg <sven@imendio.com>
7283 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7286 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7287 timeout id properly when the timeout will disappear this leaves no
7288 artifacts around in the destroy(); there will only be the timeout
7289 created by hildon_banner_ensure_timeout() and adding a new timeout
7290 will also work if the timeout gets removed because the timeout_handler
7293 2008-03-19 Michael Natterer <mitch@imendio.com>
7295 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7297 * src/hildon-volumebar.c
7298 * src/hildon-vvolumebar.c
7299 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7300 the widget becomes focussable at all.
7302 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7303 set the focus to wither the mute button or the volumebar.
7305 Remove own "can-focus" property and instead listen to
7306 notify::can-focus in order to update the widget's state.
7308 Implement GtkWidget::focus() and make sure we can also *leave* the
7309 widget, not only enter it, depending on volumebar orientation and
7310 requested focus direction.
7312 Clean up set_mute() to cooperate nicely with all the above.
7314 2008-03-04 Michael Natterer <mitch@imendio.com>
7316 Fixes: NB#78481: information banners are hidden under browser menu
7318 * src/hildon-banner.c: call gtk_window_present() on the banners so
7319 they are risen if they are already visible.
7321 2008-03-03 Sven Herzberg <sven@imendio.com>
7323 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7325 * examples/hildon-window-menu-example.c: (main): extended the window
7326 menu example to serve as a testcase for automatically added
7327 accelerator groups, too
7328 * src/hildon-window.c: (hildon_window_add_accel_group),
7329 (hildon_window_set_menu): added patch by Tommi Komulainen
7331 2008-03-03 Sven Herzberg <sven@imendio.com>
7333 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7335 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7336 knowledge about the border allocators used within GTK+
7338 2008-02-26 Sven Herzberg <sven@imendio.com>
7340 Fixes: MB#2981: Build with asserts broken
7342 * src/hildon-date-editor.c,
7343 * src/hildon-number-editor.c,
7344 * src/hildon-time-editor.c,
7345 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7346 the proper GType instance check
7348 2008-02-25 Sven Herzberg <sven@imendio.com>
7350 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7352 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7353 * examples/hildon-window-menu-example.c: (main): explicitly show
7355 * src/hildon-window.c:
7356 (hildon_window_set_main_menu): moved most of the code from set_menu()
7357 to this place; skipped the call to gtk_widget_show_all(); also didn't
7358 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7359 (hildon_window_set_menu): removed most of the code, just keep the
7360 questionable gtk_widget_show_all()
7361 * src/hildon-window.h: added the new function and deprecate the old
7364 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7370 * debian/changelog: Updating.
7372 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7375 * pkgconfig/Makefile.am:
7376 * pkgconfig/hildon.pc.in:
7379 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7380 use newly created API_MAJOR_VERSION.
7382 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7388 * debian/changelog: Updating.
7390 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7392 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7394 Add outer_border style property, we use it but don't define it (!).
7398 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7400 * examples/hildon-bread-crumb-trail-example.c (main):
7404 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7406 Fix logic for the bread crumb trail node removal.
7410 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7416 * debian/changelog: Updating.
7418 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7420 Patch by Alejandro to get/set passwords dialogs accesibility.
7422 * hildon-1/src/hildon-get-password-dialog.c:
7423 * hildon-1/src/hildon-set-password-dialog.c:
7424 Set atk_set_name to the passwd entries in order to allow
7425 accessibility by name on this entries.
7427 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7432 * debian/control: Updating gtk dep.
7434 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7436 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7437 USE_MAEMO_GTK is enabled.
7439 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7441 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7442 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7444 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7450 * debian/changelog: Updating.
7452 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7454 * examples/Makefile.am:
7455 * examples/hildon-logical-color-example.c:
7456 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7457 applied + adding a test case. Fixes: NB#71660.
7459 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7461 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7462 to be visible, fixes warning on map for windows without toolbars.
7464 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7466 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7467 2.11.0, add a check for that besides the MAEMO_GTK check.
7469 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7475 * debian/changelog: Updating.
7477 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7479 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7480 visibility. Fixes: NB#70842 and MB#615.
7482 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7484 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7485 set the separator as no-show-all so it doesn't unintentionally appear when
7486 someone does a show_all.
7488 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7490 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7491 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7492 toplevel item. Fixes: NB#62031
7494 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7496 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7497 fix the name of the function in the docs.
7499 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7505 * debian/changelog: Updating.
7507 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7509 * examples/hildon-banner-long-example.c: Adding a test-case for long
7512 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7514 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7516 * src/hildon-color-chooser-dialog.c:
7517 * src/hildon-color-chooser.c:
7518 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7519 memory leaks in font selector and color selector. Fixes: NB#70499 and
7522 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7524 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7526 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7528 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7529 little bit bigger. Fixes: #NB63694.
7531 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7537 * debian/changelog: Updating.
7539 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7542 * doc/hildon-docs.sgml:
7543 * doc/images/bread-crumb-trail.png:
7544 * doc/images/calendar-popup.png:
7545 * doc/images/caption.png:
7546 * doc/images/code-dialog.png:
7547 * doc/images/color-button.png:
7548 * doc/images/color-chooser-dialog.png:
7549 * doc/images/color-chooser.png:
7550 * doc/images/controlbar.png:
7551 * doc/images/date-editor.png:
7552 * doc/images/font-selection-dialog.png:
7553 * doc/images/get-password-dialog.png:
7554 * doc/images/hvolumebar.png:
7555 * doc/images/login-dialog.png:
7556 * doc/images/note.png:
7557 * doc/images/number-editor.png:
7558 * doc/images/range-editor.png:
7559 * doc/images/seekbar.png:
7560 * doc/images/set-password-dialog.png:
7561 * doc/images/sort-dialog.png:
7562 * doc/images/time-editor.png:
7563 * doc/images/time-picker.png:
7564 * doc/images/vvolumebar.png:
7565 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7566 Adding the bread-crumb-trial and helpers to the documentation.
7568 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7570 * examples/hildon-find-toolbar-example.c:
7571 * src/hildon-find-toolbar.c:
7572 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7573 actually continue firing the other handlers if connected. Adding a new
7575 hildon_find_toolbar_get_last_index that gets the index of the most
7576 recently added (last) item. Fixes: NB#52301.
7578 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7580 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7581 behaviour. Fixes: NB#68610.
7583 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7585 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7588 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7590 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7591 when realizing the banner. Should make the infonbanner effect a bit more
7594 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7596 * src/hildon-volumebar.c:
7597 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7598 hildon_volumebar_set_range_insensitive_message and
7599 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7601 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7603 * src/hildon-window.c: Fixing the border freeing on destroy.
7605 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7607 * src/hildon-code-dialog-private.h:
7608 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7609 kw keyboard support in HildonCodeDialog.
7611 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7617 * debian/changelog: Updating.
7619 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7621 * src/hildon-date-editor.c:
7622 * src/hildon-number-editor.c:
7623 * src/hildon-private.c:
7624 * src/hildon-private.h:
7625 * src/hildon-time-editor.c:
7626 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7627 handling in subclassed composite widgets. Fixes: NB#66628.
7629 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7631 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7632 from destroy_ callback as it introduces problems in async dbus signal
7633 handlers. Fixes NB#66673.
7635 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7637 * examples/hildon-hvolumebar-example.c:
7638 * src/hildon-volumebar.c: Improving the focus handling in the
7639 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7640 set_property accessor so that "mute" property can be actually set. I'm
7641 scared that nobody noticed it's totally broken.
7643 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7645 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7648 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7650 * src/hildon-calendar.c:
7651 * src/hildon-number-editor.c:
7652 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7653 matches the spec of 6 chars per second. Fixes: NB#60489.
7655 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7657 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7658 gtk_style_lookup_color sometime returns FALSE even though color was
7659 found and values were filled properly. Weird. Removing the warning for the
7662 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7664 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7665 expand vertically. Adding some extra space to the find toolbar buttons to
7666 make them thumbable. Fixes NB#66060.
7668 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7670 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7671 popup with "Ok" and "Cancel". Fixes NB#59299.
7673 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7675 * src/hildon-calendar.c: Process all window updates before executing next
7676 timeout. Fixes: NB#54146.
7678 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7684 * debian/changelog: Updating.
7686 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7688 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7689 the client event and ignore it, since we use the delete event to close
7692 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7694 * src/hildon-helper.c: Remove the bogus warning about color not being
7695 found. Fixes NB#58352.
7697 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7699 * examples/Makefile.am:
7700 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7701 HildonSeekbar widget inside a toolbar.
7703 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7705 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7706 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7707 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7708 don't want to be closed by non-temporary windows on map.
7710 Also use G_DEFINE_TYPE instead of manually typed code.
7712 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7719 * debian/rules: Updating.
7721 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7723 * examples/Makefile.am:
7724 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7725 bug NB#61128. Strangely it works.
7727 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7729 * src/hildon-date-editor.c: When the date editor entry has been changed
7730 but the numbers of characters < max, turn off the skip validation flag.
7731 Prevents a situation when we enter first a valid year and later re-write
7732 it with an invalid one. Fixes NB#60154.
7734 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7736 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7737 code dialog. Fixes NB#64355.
7739 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7741 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7742 switching the page. Fixes NB#49374.
7744 * examples/Makefile.am:
7745 * examples/hildon-wizard-dialog-example.c: Adding an example for
7746 HildonWizardDialog that shows how to handle manual sensitivity setting on
7749 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7753 * src/hildon-version.h.in:
7754 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7756 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7758 * src/hildon-volumebar.c: Updating the docs.
7760 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7766 * debian/changelog: Updating.
7768 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7770 * src/hildon-find-toolbar.c:
7771 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7772 selected item: hildon_find_toolbar_set_active,
7773 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7774 hildon_find_toolbar_get_active_iter . They correspond to respective
7775 GtkComboBox functions.
7777 * examples/Makefile.am:
7778 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7781 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7783 * examples/Makefile.am:
7784 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7787 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7788 when font size > 32 and we pack a focusable widget inside. Actually using
7789 the default response would work too, but since we don't show default
7790 response state in any way (no theming) it would not be visible to the
7791 user. Fixes NB#63430.
7793 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7795 * src/hildon-date-editor.c: Adding the missing variable setter in the
7796 set_property handler. Fixes NB#54182.
7798 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7800 * src/hildon-window.h: Changing the long key press time from 1500ms to
7801 800ms as requested in NB#63700. I have a bad feeling about this, let's
7802 see... Fixes NB#63700.
7804 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7806 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7807 hildon_time_picker_map, hildon_time_picker_realize,
7808 hildon_time_picker_style_set): Split the contents of map to more
7809 appropriate functions; set window decorations on realize and update
7810 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7812 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7817 * debian/changelog: Updating.
7819 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7821 * src/Makefile.am: fixed installation of the header files
7823 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7829 * debian/changelog: Updating.
7831 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7833 * configure.ac: Removing some remaining of --enable-xan.
7835 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7837 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7838 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7840 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7841 2.10.12-osso6 because the move-focus signal needs to be available in
7844 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7846 * examples/Makefile.am:
7847 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7848 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7849 fine. Prolly NB#61128 is fixed now.
7851 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7853 * src/hildon-volumebar.c:
7854 * src/hildon-volumebar.h: Adding the
7855 hildon_volumebar_set_range_insensitive_message and
7856 hildon_volumebar_set_range_insensitive_messagef functions to set
7857 insensitive message on the slider of the volumebar. Fixes NB#61129.
7859 * examples/Makefile.am:
7860 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7861 test the new insensitive messsage functionality on HildonVolumebar.
7863 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7865 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7868 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7870 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7871 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7872 button on after clearing the trail.
7874 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7876 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7878 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7880 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7881 by splitting the installed headers in generated and non-generated groups. Use
7882 only the non-generated headers to create the hildon-enum-types.h file.
7884 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7886 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7888 * src/hildon-window.c: Hide the window before performing the destroy.
7889 Should make the app closing a little tiny bit more snappy.
7891 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7893 * src/hildon-seekbar.c: add gtkrange.h header
7894 * src/hildon-caption.c: remove unused variable
7896 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7898 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7901 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7907 * debian/changelog: Updating.
7909 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7911 * src/hildon-window.c (hildon_window_window_state_event,
7912 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7913 escape timeout on focus-out-event rather than notify::is-topmost; the
7914 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7916 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7918 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7919 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7921 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7923 * src/hildon-window: actually, you need to use the macro always, there's
7924 no private pointer in the instance structure. We should have cleaned this up
7925 when we had the chance...
7927 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7929 * src/hildon-window.c: do not get the private date from HildonWindow before
7930 it passes the g_return_if_fail check. Once it's passed the test, there's no
7931 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7932 if you are only going to access the data once. Whitespace cleanups.
7934 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7936 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7937 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7939 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7945 * debian/changelog: Updating.
7947 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7949 * src/hildon-window.c: When destroying the window, remove (if exists) the
7950 escape timeout handler. Fixes #NB59276.
7952 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7954 * src/hildon-banner.c: When realizing the widget, set the window
7955 transiency. Setting the transiency in the gobject constructor is not
7956 good, as the widget is not realized at that point. Fixes: #NB56624.
7958 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7960 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7961 Add padding for future expansions.
7963 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7965 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7966 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7967 will fake an activation on the previous to the last item of the trail, so
7968 the effect can be overrided by the developer as usual.
7969 Also change the callback for the back button to do the same thing, so its
7970 effect can be overrided too. Fixes: NB#58982
7972 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7974 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7975 HildonCaption. Fixes NB#52379.
7977 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7979 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7980 the internal state of the trail after the user has had the chance of executing
7981 his handler for the signal. Specifically, it may happen that the activated button
7982 is removed and the user still lets the default handler run. This would segfault
7985 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7987 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7988 scrollbar to the preview dialog. Fixes NB#54147.
7990 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7992 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7993 max/min year properties can be altered, so the client can modify it
7994 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7996 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7998 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7999 hildonlike by default. Fixing a problem with disappearing arrows when
8000 scrolling through months and years. Fixes NB#54127.
8002 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8004 * examples/hildon-date-editor-example.c: Adding error callback to the date
8007 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8013 * configure.ac: Updating.
8015 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8017 * configure.ac: Adding a special '--enable-xan' configure option that
8018 turns off the -Werror compilation setting. Usefull for development.
8020 * src/hildon-calendar.c:
8021 * src/hildon-number-editor.c:
8022 * src/hildon-time-picker.c: Adding the 5* multiplier to
8025 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8027 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8028 instead of g_object_ref + gtk_object_sink.
8030 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8036 * debian/changelog: Updating.
8038 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8040 * src/hildon-color-chooser-dialog.c:
8041 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8042 straight from Tommi labs.
8044 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8046 * examples/hildon-finger-example.c: Correcting the header file path.
8048 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8049 the changed signal. Fixes a small memory leak.
8051 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8055 * src/hildon-banner.c: Importing several usefull fixes from the
8056 ubuntu-mobile branch.
8058 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8060 * examples/Makefile.am:
8061 * examples/hildon-finger-example.c: Adding a finger-checking code
8064 * src/hildon-font-selection-dialog.c: Do not allocate the color
8065 structure using the g_new. Fixes NB#54061.
8067 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8069 * src/hildon-helper.c: Correcting tabs in file.
8071 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8073 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8074 control the visibility of the children.
8076 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8078 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8084 * debian/changelog: Updating.
8086 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8088 * src/hildon-bread-crumb-trail.c:
8089 (hildon_bread_crumb_trail_size_allocate):
8091 Make the back button always a square.
8093 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8095 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8096 from the .c file as it's a private file.
8098 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8100 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8101 uses slightly bigger height.
8103 * src/hildon-font-selection-dialog.c: Adding some checks before
8104 freeing memory in the font selection dialog.
8106 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8108 * src/hildon-font-selection-dialog.c: Adding a small check when
8111 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8112 buttons sensitivity on page switching.
8114 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8116 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8117 internal details of adding a bread crumb to the trail.
8119 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8125 * debian/changelog: Updating.
8127 * src/hildon-bread-crumb-trail.h:
8128 * src/hildon-bread-crumb.h: Changing the API guard to
8129 HILDON_ENABLE_UNSTABLE_API.
8131 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8139 * src/hildon-helper.h: Updating.
8141 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8149 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8153 * src/hildon-helper.h: Small fix to make the package actually compile.
8155 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8157 * src/hildon-bread-crumb-trail.h:
8158 * src/hildon-bread-crumb.h:
8160 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8161 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8163 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8165 * examples/hildon-bread-crumb-trail-example.c:
8167 * src/hildon-bread-crumb-trail.c:
8168 * src/hildon-bread-crumb-trail.h:
8169 * src/hildon-bread-crumb.c:
8170 * src/hildon-bread-crumb.h:
8171 * src/hildon-marshalers.list:
8172 * src/hildon-bread-crumb-widget.c:
8173 * src/hildon-bread-crumb-widget.h:
8175 Slight change in the widget design. The bread crumb trail API is
8176 unchanged, but HildonBreadCrumb is now an interface. A *private*
8177 implementation, hildon-bread-crumb-widget, is provided and used
8178 internally by the trail for the push_text/push_icon functions.
8180 The generic push API is still available, so anyone can implement
8181 and use its own bread crumb widget.
8183 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8185 * debian/rules: Fixing the shlibs.
8187 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8189 * src/hildon-banner.c: Fixing a problem with timed banners having
8190 their parrent destroyed before they are.
8192 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8194 * src/hildon-bread-crumb.c:
8195 * src/hildon-bread-crumb.h:
8197 Make the get_natural_size function a vfunc.
8199 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8201 * src/hildon-bread-crumb.c:
8202 * src/hildon-bread-crumb-trail.c:
8206 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8213 * debian/changelog: Updating for release.
8215 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8217 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8218 don't leak the pango layout.
8220 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8223 * examples/hildon-bread-crumb-trail-example.c:
8227 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8229 * debian/changelog: Removing the bug-fixed entries that were actually
8230 resolved as WONTFIX.
8232 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8235 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8237 * src/hildon-bread-crumb-trail.c:
8238 * src/hildon-bread-crumb-trail.h:
8239 * src/hildon-bread-crumb.c:
8240 * src/hildon-bread-crumb.h:
8244 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8246 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8247 until it's passed the type check.
8249 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8251 * examples/hildon-bread-crumb-trail-example.c
8255 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8257 * examples/Makefile.am
8258 * examples/hildon-bread-crumb-trail-example.c
8260 * src/hildon-bread-crumb-trail.c
8261 * src/hildon-bread-crumb-trail.h
8262 * src/hildon-bread-crumb.c
8263 * src/hildon-bread-crumb.h
8265 New HildonBreadCrumbTrail widget.
8267 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8269 * src/hildon-range-editor.c (hildon_range_editor_init),
8270 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8271 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8272 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8273 hildon_time_editor_class_init, hildon_time_editor_init),
8274 src/hildon-get-password-dialog.c (invalid_input,
8275 hildon_get_password_set_property, hildon_get_password_get_property,
8276 create_contents, hildon_get_password_dialog_set_max_characters),
8277 src/hildon-set-password-dialog.c (create_contents),
8278 src/hildon-date-editor.c (hildon_date_editor_init),
8279 src/hildon-login-dialog.c (hildon_login_dialog_init),
8280 src/hildon-number-editor.c (hildon_number_editor_init),
8281 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8282 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8283 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8284 configure option and adding the respective checks in the code.
8285 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8286 hildon_calendar_drag_data_received): fixed some build warnings.
8288 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8290 * debian/changelog: A 1.0.0 release notes.