1 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-pannable-area.c
4 (hildon_pannable_area_set_property): Calculate the velocity factor
5 after setting the deceleration property and not after.
7 2009-05-20 Alberto Garcia <agarcia@igalia.com>
9 * hildon/hildon-entry.c
10 (hildon_entry_class_init, +set_property, hildon_entry_new)
11 * hildon/hildon-check-button.c
12 (hildon_check_button_class_init)
13 (+set_property, hildon_check_button_new):
14 Make the theme size a property.
16 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
17 others) do too much in the _new function)
19 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
21 * configure.ac: post release version bump
22 * debian/changelog: post release version bump
24 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
29 * configure.ac: Bump version.
30 * debian/changelog: Updates.
32 2009-05-15 Alberto Garcia <agarcia@igalia.com>
35 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
36 New API function to take a screenshot of a window
38 Fixes: NB#106374 (Need API to take a loading screenshot)
40 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
42 * hildon/hildon-time-selector.c
43 (update_format_policy): prevent to use hours and minutes unitialized
45 2009-05-15 Alberto Garcia <agarcia@igalia.com>
47 * hildon/hildon-window.c (hildon_window_size_request):
48 Always request the full size of the screen (minus the title bar if
49 not in fullscreen mode).
51 Fixes: NB#107486 (HildonWindow should size itself properly)
53 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
55 * hildon/hildon-note-private.h: Add idle_handler to the private data.
56 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
57 (on_show_cb), (sound_handling): Disconnect the idle handler for
58 the sound when the note is finalized to avoid possible crashes.
60 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
63 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
65 * src/hildon-animation-actor.c,
66 * src/hildon-remote-texture.c:
67 Added proper object cleanup to remove signal handler and object
68 references as HildonAnimationActor and HildonRemoteTexture
69 objects get destroyed.
71 Fixes: NB#116682 (Destroying parented animation actors when
72 parent in unmapped leads to crash)
74 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
76 Based on a patch by Christian Dywan (christian@imendio.com)
78 * doc/hildon-sections.txt:
79 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
80 * hildon/hildon-helper.h: New file size formatting method.
82 * debian/control: Depend on osso-filemanager l10n package for
83 proper localization strings.
85 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
87 * tests/Makefile.am: Include top_srcdir to make possible to build
88 tests in a different builddir.
89 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
90 on a different builddir.
92 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
94 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
95 (hildon_touch_selector_remove): Disconnect model's signal handler
98 Fixes: NB#116289 (Hildon home crashes while adding task
101 2009-05-11 Alberto Garcia <agarcia@igalia.com>
103 * hildon/hildon-button.c
104 (hildon_button_set_title, hildon_button_set_value):
105 Hide labels containing an empty string.
107 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
109 * configure.ac: post release version bump
110 * debian/changelog: post release version bump
112 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
117 * configure.ac: Bump version.
118 * debian/changelog: Updates.
120 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
122 * hildon/hildon-note-private.h: Removed sound_signal_handler
123 * hildon/hildon-note.c
124 (on_show_cb): new callback on note "show" event, this simply adds
125 a idle, with the function sound_handling
126 (sound_handling): removed the sound_signal_handler management
127 (hildon_note_init): connect note "show" event to on_show_cb
128 (hildon_note_realize): remove the connection to "expose-event"
130 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
131 device?' confirmation note)
133 2009-05-08 Alberto Garcia <agarcia@igalia.com>
135 * hildon/hildon-note.c
136 (hildon_note_new_information_with_icon_name)
137 (hildon_note_new_confirmation_with_icon_name):
138 Terminate the list of parameters in g_object_set() calls
140 Fixes: NB#115166 (Formatting memory card is not taking place)
142 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
144 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
145 "dialog-information" role for the sound being played.
147 2009-05-06 Alberto Garcia <agarcia@igalia.com>
149 * hildon/hildon-app-menu.c (hildon_app_menu_init):
150 Don't make the menu a modal window, it causes strange interactions
151 with the pointer grab and it's not really needed.
153 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
155 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
157 * hildon/hildon-touch-selector.[ch]
158 (hildon_touch_selector_optimal_size_request): function added to get a
159 optimal size request from the touch selector, when you want a dialog to
160 show as much of the selector
161 * hildon/hildon-picker-dialog.c:
162 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
163 (hildon_app_menu_class_init):
164 New "max-height-landscape" and "max-height-portrait" style properties
165 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
166 (hildon_picker_dialog_get_max_height): returns the maximum height using
167 the style properties defined and checking the current portrait/landscape
169 (_hildon_picker_dialog_set_selector): removed the set_size_request
171 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
173 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
175 * hildon/hildon-bread-crumb-trail.c:
176 * hildon/hildon-bread-crumb.c:
177 * hildon/hildon-seekbar.c:
178 Add reference to replacements for these deprecated widgets.
180 Fixes: MB#4461 (Documentation: All deprecations should mention
183 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
185 * examples/hildon-remote-texture-example.c
187 Change the include to the hildon-remote-texture in order to compile
188 properly the examples on the installed libhildon1-examples package
190 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
192 * tests/Makefile.am: Add check for HildonPickerButton.
193 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
194 (START_TEST), (create_hildon_picker_button_suite): Add three simple
195 checks for the HildonPickerButton.
196 * tests/check_test.c (configure_tests): Add the test suite.
197 * tests/test_suites.h: likewise.
199 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
201 * hildon/hildon-touch-selector.c
202 (+on_row_changed): Emit HildonTouchSelector:changed when the
203 contents of a selected row change.
204 (_create_new_column), (_hildon_touch_selector_set_model): connect
205 to GtkTreeModel:row-changed on a newly set model.
207 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
209 2009-05-05 Alberto Garcia <agarcia@igalia.com>
211 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
213 * hildon/hildon-banner.c (hildon_banner_destroy)
214 (hildon_banner_show_progress, hildon_banner_set_fraction):
215 Remove the progress bar from HildonBanner and use a progress
218 Fixes: NB#113761 (Update progress banner to use progress
221 2009-05-04 Alberto Garcia <agarcia@igalia.com>
223 * hildon/hildon-banner.c:
224 Calculate size of the banner label using the actual screen width
225 rather than using a fixed value.
227 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
230 2009-05-04 Alejandro G. Castro <alex@igalia.com>
232 * hildon/hildon-pannable-area.c,
233 (hildon_pannable_area_class_init): Fixed signals documentation
236 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
238 * configure.ac: post release version bump
239 * debian/changelog: post release version bump
241 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
246 * configure.ac: Bump version.
247 * debian/changelog: Updates.
249 2009-05-01 Alberto Garcia <agarcia@igalia.com>
251 * hildon/hildon-edit-toolbar.c
252 (hildon_edit_toolbar_init):
253 Don't let buttons in HildonEditToolbar receive focus.
255 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
256 typing on an HW arrows key)
258 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
260 * doc/Makefile.am: Fix build.
262 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
264 * doc/Makefile.am: Do not redefine content_files.
266 2009-04-30 Alberto Garcia <agarcia@igalia.com>
274 Renamed src/ to hildon/
279 Include <hildon/hildon.h> directly in all examples.
281 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
283 * src/hildon-sort-dialog.c
284 (hildon_sort_dialog_add_sort_key_with_sorting)
288 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
290 * src/Makefile.am: Move generated sources to CLEANFILES, so that
291 make distcheck passes.
293 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
295 * Makefile.am: Enable gtk-doc during distcheck.
297 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
299 * Makefile.am: Do not distribute the debian/ directory.
301 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
303 * doc/Makefile.am: Add the extra SGML files to content_files,
304 so that they are distributed properly.
306 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
308 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
311 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
313 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
314 (hildon_note_new_information_with_icon_name): Set the "icon" property
315 to preserve soundness.
317 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
319 * src/hildon-font-selection-dialog.c
320 (hildon_font_selection_dialog_set_property): Fail when the "family"
321 property is set to NULL.
323 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
325 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
328 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
330 * src/hildon-time-selector.h:
331 Added HildonTimeSelectorFormatPolicy
332 * src/hildon-time-selector.c:
333 Added PROP_TIME_FORMAT_POLICY
334 (_check_ampm_format): renamed to check_automatic_ampm_format
335 (update_format_policy), (update_format_dependant_columns): new functions
336 (hildon_time_selector_class_init)
337 (hildon_time_selector_contructor)
338 (hildon_time_selector_init)
339 (hildon_time_selector_get_property)
340 (hildon_time_selector_set_property)
341 (hildon_time_selector_get_time)
342 (hildon_time_selector_set_time)
343 * src/hildon-touch-selector.h: new file
344 * src/hildon-touch-selector.c
345 (hildon_touch_selector_emit_changed)
346 (hildon_touch_selector_block_changed)
347 (hildon_touch_selector_unblock_changed)
348 Added functions to allow to block the emission of the "changed" signal
349 * src/hildon-picker-dialog.c
350 (hildon_picker_dialog_show): call the parent show before the custom code
351 * examples/hildon-time-button-example.c
352 Modified, so now you can configure the time format using the new property
354 Added a new property "time-format-policy" that allow to choose the time
355 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
356 case it uses gconf in order to check if the time selector must use
359 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
362 2009-04-28 Alberto Garcia <agarcia@igalia.com>
364 * src/hildon-note.c (hildon_note_init):
365 Label in HildonNote must be left aligned, not centered. This
366 reverts the last commit in HildonNote.
368 Fixes: NB#112933 (text is not left aligned in confirmation dialog
369 is connectivity dialog)
371 2009-04-27 Alberto Garcia <agarcia@igalia.com>
376 * doc/hildon-sections.txt:
377 Added hildon_gtk_window_set_do_not_disturb()
379 2009-04-27 Alberto Garcia <agarcia@igalia.com>
381 * src/hildon-note.c (hildon_note_init): Center label.
383 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
386 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
391 * configure.ac: Bump version.
392 * debian/changelog: Updates.
394 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
396 * src/hildon-note-private.h: Add button-width to the private data.
397 * src/hildon-note.c (+resize_button),
398 (+hildon_note_orientation_update): methods to repack widgets on orientation
400 (screen_size_changed): Call above method for confirmation notes.
401 (hildon_note_realize): Always connect to the "screen-size" changed signal.
402 (hildon_note_rebuild): Store the original width request from buttons.
404 Fixes: NB#109635 (Confirmation notes do not support portrait)
406 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
408 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
409 when it is a progress note.
411 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
413 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
414 in the note, since there are no horizontally arranged contents.
416 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
418 * src/hildon-gtk.c (+set_flag): new generic method to
419 set/delay a flag setting in a window.
420 (hildon_gtk_window_set_progress_indicator):
421 (hildon_gtk_window_set_do_not_disturb),
422 (hildon_gtk_window_set_portrait_flags): use set_flag() to
423 avoid code redundance.
425 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
427 Based on a patch by Alberto Garcia (agarcia@igalia.com)
429 * src/hildon-gtk.c (set_clear_window_flag),
430 (do_set_progress_indicator), (do_set_do_not_disturb),
431 (do_set_portrait_flags),
432 (hildon_gtk_window_set_progress_indicator),
433 (hildon_gtk_window_set_do_not_disturb),
434 (hildon_gtk_window_set_portrait_flags):
435 Allow setting dnd-flag, progress indicator, and portrait flags
436 when the window is not realized.
438 2009-04-24 Alejandro G. Castro <alex@igalia.com>
440 * src/hildon-pannable-area.c,
441 * src/hildon-pannable-area.h: Add the hildon deprecated define to
442 the size request policy function and defines.
444 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
446 * doc/hildon-sections.txt: Add the new API.
447 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
448 method to set the portrait flags.
449 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
451 Fixes: NB#112328 (Adding helpers for setting portrait properties)
453 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
455 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
456 to allow using this method with other flags.
457 (hildon_gtk_window_set_progress_indicator): Update accordingly.
458 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
460 2009-04-22 Alberto Garcia <agarcia@igalia.com>
462 * src/hildon-touch-selector.c
463 (hildon_touch_selector_append_text_column):
464 Make the cell renderer use the smallest width possible.
466 Fixes: NB#108470 (Selected items in multiple selection are either
467 having a tick that is cut or not visible at all.)
469 2009-04-22 Alberto Garcia <agarcia@igalia.com>
471 * src/hildon-touch-selector.c
472 (hildon_touch_selector_append_text_column):
475 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
477 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
478 Use g_strdup_printf() instead of a fixed size buffer.
480 2009-04-21 Alberto Garcia <agarcia@igalia.com>
482 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
483 Close banners when a HildonAppMenu is popped up.
485 Fixes: NB#111027 (Title menu closed immediately if activated when
486 "Invalid e-mail address" banner is shown)
488 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
493 * configure.ac: Bump version.
494 * debian/changelog: Updates.
496 2009-04-20 Alberto Garcia <agarcia@igalia.com>
498 * src/hildon-banner.c (hildon_banner_realize):
499 Mark HildonBanner as supporting portrait mode.
500 Use GDK to set window properties insetad of direct Xlib calls.
502 Fixes: NB#111830 (HildonBanner should be marked as supporting
505 2009-04-20 Alberto Garcia <agarcia@igalia.com>
507 * src/hildon-note.c (hildon_note_rebuild):
508 Hide action area in information notes. Prevents text from being
509 slightly aligned to the left.
511 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
514 2009-04-20 Alberto Garcia <agarcia@igalia.com>
516 Patch by Mox Soini (ext-mox.soini@nokia.com)
518 * src/hildon-banner.c (hildon_banner_create_animation):
519 Use stylus-sized icons in animation banner.
521 Fixes: NB#111206 (stylus sized icon for animation banner)
523 2009-04-20 Alberto Garcia <agarcia@igalia.com>
527 (+hildon_gtk_window_set_do_not_disturb):
528 New API to set the do-not-disturb flag.
530 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
532 2009-04-20 Alberto Garcia <agarcia@igalia.com>
534 * examples/hildon-progress-indicator-example.c: Fix example
536 * src/hildon-gtk.c (set_clear_window_flag)
537 (hildon_gtk_window_set_progress_indicator):
538 Create a generic function for setting flags to a window.
539 Use GDK instead of direct Xlib calls.
541 2009-04-14 Alberto Garcia <agarcia@igalia.com>
543 * src/hildon-button.c (hildon_button_set_arrangement):
544 Due to NB#88126, if one of the labels is too long it will be
545 painted outside the button. The 'value' label is more likely to be
546 the longest one, so we change its packing options in order to
547 truncate it if necessary. As a side effect, the 'title' label will
548 no longer be truncated.
550 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
552 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
557 * configure.ac: Bump version.
558 * debian/changelog: Updates.
560 2009-04-13 Alejandro G. Castro <alex@igalia.com>
562 Deprecation of the hildon_pannable_area_set_size_request_policy
563 API, the only policy properly supported in gtk+ nowadays is the
566 * src/hildon-pannable-area.c,
567 (hildon_pannable_area_size_request): Added a workaround for the
568 size_request to avoid the problems of huge pixmaps in case someone
569 is still using the function.
570 * src/hildon-pannable-area.h: Deprecated the enum with the
573 Fixes: NB#110244 (Problems with the
574 hildon_pannable_area_set_size_request_policy API)
576 2009-04-08 Alejandro G. Castro <alex@igalia.com>
578 * src/hildon-pannable-area.c,
579 (hildon_pannable_area_init),
580 (hildon_pannable_area_size_request),
581 (hildon_pannable_area_style_set),
582 (hildon_pannable_draw_vscroll),
583 (hildon_pannable_draw_hscroll),
584 (hildon_pannable_area_check_scrollbars): Replaced area_width with
585 indicator_width to clarify the use of the attribute.
587 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
592 * configure.ac: Bump version.
593 * debian/changelog: Updates.
595 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
597 * src/hildon-picker-dialog.c
598 * src/hildon-touch-selector.c
599 Reverting the change that tried to avoid the hardcoded height on
600 the picker dialog, as causes problems on the hildon-touch-selector
603 Fixes: NB#110029 (selectors not scrolling to selected value)
605 2009-04-07 Alberto Garcia <agarcia@igalia.com>
607 * src/hildon-touch-selector.c: Fix typos
609 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
611 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
612 Use the event coordinates instead of gdk_window_get_pointer(). Also,
613 request more motions after using it.
615 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
617 * src/hildon-calendar.c (hildon_calendar_expose),
618 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
619 Remove unused variables.
621 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
623 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
626 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
628 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
629 Check the return value of gtk_tree_selection_get_selected()
632 2009-04-06 Alberto Garcia <agarcia@igalia.com>
634 * src/hildon-animation-actor.c
635 * src/hildon-button.c
637 * src/hildon-pannable-area.c
638 * src/hildon-picker-button.c
639 * src/hildon-program.c
640 * src/hildon-remote-texture.c
641 * src/hildon-text-view.c
642 * src/hildon-touch-selector.c
643 * src/hildon-window-stack.c
644 * src/hildon-window.c:
645 Add missing 'Since: 2.2' tags.
647 * doc/hildon-sections.txt:
648 Add some missing symbols.
650 * doc/hildon-docs.sgml:
651 New 'Other' section for HildonAnimationActor and
654 2009-04-06 Alberto Garcia <agarcia@igalia.com>
656 Patch by Iván Gómez (igomez@igalia.com)
660 * doc/hildon-docs.sgml
661 * doc/hildon-sections.txt
665 New chapters on using the Hildon library.
666 Updated the general structure of the reference manual.
667 Other minor documentation fixes.
669 * src/hildon-calendar-popup.c
670 * src/hildon-calendar.c
671 * src/hildon-controlbar.c
672 * src/hildon-date-editor.c
673 * src/hildon-dialog.c
674 * src/hildon-hvolumebar.c
675 * src/hildon-number-editor.c
676 * src/hildon-range-editor.c
677 * src/hildon-sort-dialog.c
678 * src/hildon-time-editor.c
679 * src/hildon-time-picker.c
680 * src/hildon-volumebar-range.c
681 * src/hildon-volumebar.c
682 * src/hildon-vvolumebar.c
683 * src/hildon-weekday-picker.c:
684 Add deprecation notes
686 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
687 Document 'horizontal-movement' and 'vertical-movement' signals.
689 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
694 * configure.ac: Bump version.
695 * debian/changelog: Updates.
697 2009-04-06 Alejandro G. Castro <alex@igalia.com>
699 * src/hildon-pannable-area.c,
700 (hildon_pannable_area_class_init): increased the minimum velocity.
701 (hildon_pannable_area_button_release_cb): Updated the
702 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
703 setup. Review the code to control that last event.
705 Fixes: NB#109790 (Releasing finger in pannable area easily causes
708 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
710 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
712 * src/hildon-get-password-dialog.c
713 (hildon_get_password_set_property),
714 (hildon_get_password_get_property), (create_contents):
715 * src/hildon-login-dialog-private.h:
716 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
717 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
718 (hildon_login_dialog_get_password):
719 * src/hildon-set-password-dialog-private.h:
720 * src/hildon-set-password-dialog.c
721 (hildon_set_password_set_property),
722 (hildon_set_password_get_property), (create_contents),
723 (hildon_set_password_response_change),
724 (hildon_set_password_response_set), (hildon_checkbox_toggled):
726 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
727 instead and look more Fremantle style.
729 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
731 2009-04-03 Alberto Garcia <agarcia@igalia.com>
733 * doc/hildon-sections.txt
734 * src/hildon-window-stack.h
735 * src/hildon-window-stack.c
736 (+hildon_window_stack_get_windows):
737 New API to obtain the list of windows on a stack.
739 2009-04-02 Alberto Garcia <agarcia@igalia.com>
741 * src/hildon-app-menu.c (hildon_app_menu_popup)
742 (hildon_app_menu_class_init, -hildon_app_menu_show):
743 Remove hildon_app_menu_show() and move all its checks to
744 hildon_app_menu_popup()
746 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
748 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
749 (_hildon_picker_dialog_set_selector): removed call to
750 gtk_widget_set_size_request
751 * src/hildon-touch-selector.c
752 (_create_new_column): change the pannable size request policy
754 Avoid to use a hardcoded height for the hildon picker dialog. In order
755 to get that, we needed to change the hildon pannable size request
757 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
759 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
761 * src/hildon-window.c (hildon_window_map): Check for vbox to be
762 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
765 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
767 * debian/control: Depend on osso-system-lock localization package.
768 * src/hildon-code-dialog.c: Obtain the secu_application_title
769 translation from osso-system-lock.
770 * src/hildon-get-password-dialog.c (create_contents): Do not mark
771 for translation the atk related strings, that's not necessary.
772 * src/hildon-set-password-dialog.c (create_contents): Ditto.
773 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
774 cancel button, it is not required.
776 2009-04-02 Alejandro G. Castro <alex@igalia.com>
778 * src/hildon-pannable-area.c,
779 (hildon_pannable_area_class_init): Modified the default value of
780 the overshooting max speed, we have reduced it.
782 2009-04-02 Alberto Garcia <agarcia@igalia.com>
784 * doc/hildon-sections.txt
785 * src/hildon-window-private.h
786 * src/hildon-window.h
787 * src/hildon-window.c (hildon_window_class_init)
788 (hildon_window_init, hildon_window_finalize)
789 (hildon_window_realize, hildon_window_get_property)
790 (hildon_window_set_property, hildon_window_update_markup)
791 (hildon_window_get_markup, hildon_window_set_markup):
792 New "markup" property and hildon_window_{get,set}_markup() methods.
794 * examples/hildon-stackable-window-example.c (new_window):
795 Update example to use hildon_window_set_markup()
797 Fixes: NB#106375 (Need API to retitle a window with a title
800 2009-04-01 Alejandro G. Castro <alex@igalia.com>
802 * src/hildon-pannable-area.c,
803 (hildon_pannable_area_class_init): Changed the default value of
804 the initial_hint to TRUE.
805 (hildon_pannable_area_initial_effect): Changed the initial effect,
806 not the effect is just the fade-out of the scrollbars.
808 Fixes: NB#107775 (No scrollbars can be seen when several items are
809 available in a dialog)
811 2009-04-01 Alberto Garcia <agarcia@igalia.com>
813 * src/hildon-program.c (hildon_program_update_top_most):
816 Fixes: NB#109179 (Memory leak in Hildon program)
818 2009-04-01 Alberto Garcia <agarcia@igalia.com>
820 * src/hildon-banner.c (-get_current_app_window):
821 Remove unused function.
823 2009-04-01 Alejandro G. Castro <alex@igalia.com>
825 * src/hildon-pannable-area.c: Modified the documentation of the
826 get adjustments functions to explain the problem of using the
828 (hildon_pannable_area_class_init): Improved the explanation about
831 2009-04-01 Alberto Garcia <agarcia@igalia.com>
833 * src/hildon-app-menu-private.h
834 * src/hildon-app-menu.c
835 (hildon_app_menu_class_init):
836 Bring back the 'external-border' style property
837 (hildon_app_menu_class_init, hildon_app_menu_init)
838 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
839 Set a fixed width-request for the menu, independent of the number
842 Fixes: NB#94957 (Smoothly opened application menu)
844 2009-03-30 Alberto Garcia <agarcia@igalia.com>
846 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
848 * src/hildon-banner.c
849 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
851 Make sure that the banner is correctly placed the first time it's
853 (hildon_banner_check_position, -check_fullscreen_state):
854 Show the banner in the same place no matter if the window is in
855 fullscreen mode or not.
857 Fixes: NB#107386 (Odd stacking behaviour for information banners)
859 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
861 * src/hildon-touch-selector.c (_default_print_func): reorder
862 concatenation for clarity.
864 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
866 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
867 for multicolumn selectors.
869 Fixes: NB#109099 (Memory leak in Hildon touch selector)
871 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
876 * configure.ac: Bump version.
877 * debian/changelog: Updates.
879 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
881 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
884 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
886 * configure.ac: removed libcangerra-gtk dependency
887 * debian/control: removed libcanberra-gtk dependency
888 * src/Makefile.am: removed libcanberra gtk related flags
889 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
890 context, and manage a global canberra context instead
892 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
894 2009-03-26 Alberto Garcia <agarcia@igalia.com>
896 Patch by Daniel Borgmann (danielb@openismus.com)
898 * src/hildon-edit-toolbar.c:
899 Adjust the left padding.
900 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
901 Paint background of the edit toolbar.
903 Fixes: NB#107897 (Patch to make editmodetoolbar background
904 themeable and adjust margin)
906 2009-03-25 Alberto Garcia <agarcia@igalia.com>
908 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
910 * src/hildon-program.c (hildon_program_update_top_most):
911 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
913 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
914 change when the user tasks in/out of an application)
916 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
918 * configure.ac: added libcangerra-gtk dependency
919 * debian/control: added libcanberra-gtk dependency
920 * src/Makefile.am: added libcanberra gtk related flags
921 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
924 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
926 2009-03-25 Alberto Garcia <agarcia@igalia.com>
928 * src/hildon-program.c (hildon_program_remove_window)
929 (hildon_program_add_window): Add checks for the window
930 parameter. Don't decrease the window counter if the window is not
933 2009-03-24 Alejandro G. Castro <alex@igalia.com>
935 * src/hildon-pannable-area.c,
936 (hildon_pannable_area_realize): Fixed position of the event_window
937 in the realize method.
939 2009-03-24 Alberto Garcia <agarcia@igalia.com>
941 * src/hildon-app-menu-private.h
942 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
943 (hildon_app_menu_map, hildon_app_menu_hide_idle)
944 (hildon_app_menu_key_press, hildon_app_menu_init)
945 (hildon_app_menu_finalize):
946 Make sure that all idle functions are removed when the widget is
949 Fixes: NB#107583 (Hildon app menu crashes in various applications)
951 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
956 * configure.ac: Bump version.
957 * debian/changelog: Updates.
959 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
962 (+hildon_entry_show_placeholder),
963 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
964 that replace hildon_entry_update_contents().
965 (hildon_entry_set_text),
966 (hildon_entry_set_placeholder),
967 (hildon_entry_focus_in_event),
968 (hildon_entry_focus_out_event): Determine when it is needed
969 either to show or hide the placeholder and call the above methods.
971 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
972 when the placeholder text is already set)
974 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
976 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
977 simple GdkPixbufAnim using the new icons for the banner.
978 (hildon_banner_show_animation): Use the above mentioned method to
979 create the animation widget.
981 Fixes: NB#103564 (Make hildon animation banner use individual
982 image files as the animation)
984 2009-03-24 Alejandro G. Castro <alex@igalia.com>
986 * src/hildon-pannable-area.c,
987 (hildon_pannable_leave_notify_event): Check if the child is NULL
988 to avoid sending the leave.
990 2009-03-24 Alejandro G. Castro <alex@igalia.com>
992 * src/hildon-pannable-area.c,
993 (hildon_pannable_area_class_init),
994 (hildon_pannable_leave_notify_event): Added a handler of the
995 leave-notify-signal to consider when no motion notify before
998 Fixes: NB#107494 (Items stay selected when clicking and moving
999 away when inside pannable area)
1001 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1006 * configure.ac: Bump version.
1007 * debian/changelog: Updates.
1009 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1011 Patch by Alberto Garcia (agarcia@igalia.com)
1013 * src/hildon-date-button.c,
1014 (hildon_date_button_class_init),
1015 (hildon_date_button_init): Removed the construct property handling
1016 and created a default selector in the init method.
1017 * src/hildon-picker-button.c,
1018 (hildon_picker_button_class_init): Removed the construct flag of the
1021 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1023 * src/hildon-main.c (hildon_init):
1024 Don't allow hildon_init() to be called more than once.
1026 Fixes: NB#106607 (hildon_init should issue error message upon
1029 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1031 * examples/hildon-pannable-area-touch-list-example.c
1032 * examples/hildon-pannagle-area-touch-grid-example.c
1033 * examples/hildon-edit-toolbar-example.c
1034 * examples/hildon-touch-selector-multi-cells-example.c
1035 Removed the call to gtk_rc_parse_string, as it is not required since
1038 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1040 * src/hildon-pannable-area.c,
1041 (hildon_pannable_area_class_init): Modified the default panning
1042 threshold of the widget to 6px.
1044 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1045 than the threshold value ) within the button is not sending the
1048 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1050 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1051 for the treeview in the new column. This way, the touch list will never
1054 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1055 be selected manually for the HW keys to work)
1057 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1059 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1060 comparison instead of using strcmp(). Fixes a compiler warning as well.
1062 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1064 * doc/hildon-docs.sgml: Do not set the library version in the
1065 document title, use the releaseinfo tag for that purpose instead.
1067 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1069 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1070 Do not jump to the first item if the text in the entry is removed.
1072 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1077 * configure.ac: Bump version.
1078 * debian/changelog: Updates.
1080 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1082 * src/hildon-entry.c (hildon_entry_refresh_contents):
1083 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1084 Use "ReversedSecondaryTextColor" for the placeholder text.
1086 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1088 * src/hildon-text-view.c: Fix compilation warning.
1090 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1092 * src/hildon-button.c (hildon_button_class_init): Don't make
1093 "title" and "value" construction properties, to prevent them from
1094 overwriting labels set from derived classes.
1096 * src/hildon-picker-button.c
1097 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1098 (hildon_picker_button_class_init): Make touch-selector a
1099 construction property.
1101 * src/hildon-date-button.c (hildon_date_button_class_init)
1102 (+hildon_date_button_constructed): Add a default date selector if
1105 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1107 * src/hildon-touch-selector.c: Small documentation fixes.
1109 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1111 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1113 * src/hildon-entry.c (hildon_entry_refresh_contents),
1114 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1115 widget name, set the logical color directly instead and a boolean
1116 showing_placeholder instead.
1117 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1118 use the widget name here either.
1120 Fixes: NB#105678 (HildonTextView should use logical colours
1121 instead of setting widget name)
1123 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1125 Patch by Daniel Elster (danielk@openismus.com)
1127 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1128 Add user_data parameter.
1129 (hildon_touch_selector_set_print_func_full): New function akin
1130 hildon_touch_selector_set_print_func() but with support for user
1131 data and a destroy callback.
1132 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1133 to clean up the print function user data.
1134 (hildon_touch_selector_class_init): Install dispose function.
1135 (HildonTouchSelectorPrivate::print_user_data),
1136 (HildonTouchSelectorPrivate::print_destroy_func): New private
1138 (hildon_touch_selector_init): Initialize new private members.
1139 (hildon_touch_selector_get_current_text): Pass along user data
1140 to the print function.
1141 (_default_print_func): Add dummy user_data to parameter list.
1142 * hildon-date-selector.c (_custom_print_func): ditto,
1143 * hildon-time-selector.c (_custom_print_func): ditto,
1144 * hildon-touch-selector-entry.c
1145 (hildon_touch_selector_entry_print_func): ditto.
1147 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1149 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1151 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1153 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1155 * src/hildon-pannable-area.c,
1156 (hildon_pannable_area_init),
1157 (hildon_pannable_area_button_press_cb),
1158 (hildon_pannable_area_motion_notify_cb): We have added code to
1159 handle the leave and enter events when using the motion events.
1161 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1163 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1165 * src/hildon-date-button.c (hildon_date_button_get_date)
1166 (hildon_date_button_set_date): Make sure that the button has a
1169 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1171 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1173 * src/hildon-pannable-area.c,
1174 (hildon_pannable_area_class_init),
1175 (hildon_pannable_area_calculate_velocity): Modify the use of the
1176 force and adapt the value.
1178 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1180 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1181 (hildon_app_menu_class_init): Hide the menu if it receives a
1182 delete-event, but don't destroy it
1184 Fixes: NB#104485 (Not able to address the call when application
1185 menu is opened at background)
1187 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1189 * src/hildon-app-menu.c
1190 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1191 Remove the "external-border" style property, let the menu take its
1192 natural size (or the one set by the window manager)
1193 (hildon_app_menu_repack_items):
1194 Don't reshow the menu, avoid flickers.
1196 Partially fixes NB#94957 (Smoothly opened application menu)
1198 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1203 * configure.ac: Bump version.
1204 * debian/changelog: Updates.
1206 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1208 * src/hildon-pannable-area.c,
1209 (hildon_pannable_area_motion_notify_cb): We control that the
1210 direction error margin is used just in case the movement is
1211 allowed in the other direction.
1213 Fixes: NB#105012 (buttons inside a pannable area not getting
1214 release event when dragging/releasing)
1216 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1218 * src/hildon-pannable-area.c,
1219 (hildon_pannable_area_class_init),
1220 (hildon_pannable_area_get_property),
1221 (hildon_pannable_area_set_property),
1222 (hildon_pannable_area_initial_effect),
1223 (hildon_pannable_axis_scroll),
1224 (hildon_pannable_area_button_release_cb): Reviewed the
1225 overshooting effect, now it has its own max
1226 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1227 speed when bouncing.
1229 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1234 * configure.ac: Bump version.
1235 * debian/changelog: Updates.
1237 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1239 * src/hildon-pannable-area.c,
1240 (hildon_pannable_area_class_init): Changed the max speed, now
1241 users can launch the widget very fast. Reduced the default force,
1242 that way it is easier to control the launch speed.
1244 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1246 * src/hildon-pannable-area.c,
1247 (hildon_pannable_area_button_release_cb): Removed this check
1248 because it causes problems when the device is overloaded.
1250 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1252 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1253 add a current_text field to store the text entered in the
1254 touch selector entry.
1255 (_clean_current_selection): clean up the current text as well.
1256 (_save_current_selection), (_restore_current_selection):
1257 Save/restore the text in the entry if the selector is a
1258 HildonTouchSelectorEntry.
1260 Fixes: NB#102541 (value entered in the touch selector entry is not
1261 shown when opened for second time)
1263 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1265 * doc/hildon-sections.txt:
1266 * src/hildon-touch-selector-entry.c
1267 (+hildon_touch_selector_entry_get_entry):
1268 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1270 Fixes: NB#104815 (I need accessor to the entry inside
1271 HildonTouchSelectorEntry)
1273 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1275 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1276 (hildon_app_menu_class_init):
1277 New "filter-vertical-spacing" style property.
1279 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1281 * src/hildon-find-toolbar.c
1282 (hildon_find_toolbar_emit_close)
1283 (hildon_find_toolbar_emit_invalid_input)
1284 (hildon_find_toolbar_entry_activate):
1285 Use g_signal_emit() instead of g_signal_emit_by_name()
1287 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1289 Patch by Mox Soini (ext-mox.soini@nokia.com)
1291 * tests/TEST-CASES.txt
1292 * tests/check-hildon-banner.c
1293 * tests/check-hildon-note.c
1294 * src/hildon-banner.c
1295 * src/hildon-code-dialog.c
1296 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1297 * src/hildon-time-editor.c
1298 * examples/hildon-lookup-example.c (main):
1299 Replace obsolete icon names with new ones.
1301 * src/hildon-find-toolbar-private.h:
1302 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1303 (-hildon_find_toolbar_emit_search):
1304 Remove find button and change icon of close button.
1306 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1308 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1310 * src/hildon-time-button.c (hildon_time_button_new_step):
1311 Use the "touch-selector" property to set the selector directly
1312 when creating the object.
1314 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1316 Added a new example application that allows tuning the pannable
1317 area and replaced defines with properties in order to simplify the
1318 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1319 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1320 PROP_DIRECTION_ERROR_MARGIN.
1322 * examples/hildon-pannable-area-tuning-example.c: New example
1324 * src/hildon-pannable-area.c,
1325 (hildon_pannable_area_class_init),
1326 (hildon_pannable_area_init),
1327 (hildon_pannable_area_get_property),
1328 (hildon_pannable_area_set_property),
1329 (hildon_pannable_area_launch_fade_timeout),
1330 (hildon_pannable_area_adjust_value_changed),
1331 (hildon_pannable_axis_scroll),
1332 (hildon_pannable_area_motion_notify_cb),
1333 (hildon_pannable_area_scroll_cb),
1334 (hildon_pannable_area_button_release_cb): We have converted some
1335 of the defines that control the widget to properties to simplify
1338 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1340 * src/hildon-app-menu.c (hildon_app_menu_map)
1341 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1342 so it's closed if a new window appears.
1344 Fixes: NB#104485 (Not able to address the call when application
1345 menu is opened at background)
1347 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1349 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1350 missing 'break' statement in in 'case' construct to avoid
1353 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1355 * src/hildon-touch-selector-entry.c
1356 (hildon_touch_selector_entry_get_property),
1357 (hildon_touch_selector_entry_set_property): Add missing 'break'
1358 statements in in 'case' constructs to avoid incorrect warnings.
1360 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1362 * src/hildon-time-editor.c
1363 (hildon_time_editor_get_time_separators): Do not crash if
1364 the first label is NULL.
1366 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1368 * src/hildon-date-selector.c (_month_days): Check for month to be
1369 strictly less than 12, since otherwise we may overrun the array.
1371 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1373 * src/hildon-date-button.c (+hildon_date_button_new_full)
1374 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1375 (hildon_date_button_init): Set the date selector using a
1376 construction property, to make it happen after HildonButton's
1377 "value" property is set.
1379 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1380 current date by default)
1382 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1384 * doc/hildon-sections.txt
1385 * src/hildon-program.c
1386 * src/hildon-stackable-window.c
1387 * src/hildon-window.c:
1388 Documentation updates
1390 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1392 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1393 (hildon_window_stack_new, +hildon_window_stack_set_property)
1394 (+hildon_window_stack_get_property)
1395 (hildon_window_stack_class_init)
1396 (+hildon_window_stack_set_window_group)
1397 (+hildon_window_stack_get_window_group):
1398 Make the window group a construction property.
1400 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1402 * doc/hildon-sections.txt
1403 * src/hildon-stackable-window-private.h
1404 * src/hildon-stackable-window.h
1405 * src/hildon-stackable-window.c
1406 (-hildon_stackable_window_set_app_menu)
1407 (-hildon_stackable_window_get_app_menu)
1408 (-hildon_stackable_window_toggle_menu)
1409 (-hildon_stackable_window_finalize)
1410 (hildon_stackable_window_class_init)
1411 (hildon_stackable_window_init)
1412 * src/hildon-window-private.h
1413 * src/hildon-window.h
1414 * src/hildon-window.c (hildon_window_init)
1415 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1416 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1417 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1418 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1419 Moved all HildonAppMenu code to HildonWindow. The menu does not
1420 require a HildonStackableWindow anymore.
1422 * src/hildon-app-menu.c
1423 * src/hildon-program.c
1424 * examples/hildon-app-menu-example.c (main):
1425 Update examples and documentation to reflect HildonAppMenu
1428 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1430 * src/hildon-remote-texture.c
1431 * src/hildon-animation-actor.c:
1432 Don't include unused private headers.
1434 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1436 * src/hildon-program-private.h
1437 * src/hildon-program.c
1438 (hildon_program_set_common_menu)
1439 (hildon_program_get_common_menu)
1440 (hildon_program_set_common_app_menu)
1441 (hildon_program_get_common_app_menu):
1442 Change common menu pointers from GtkWidget* to GtkMenu* and
1443 HildonAppMenu* to avoid unnecessary casts.
1445 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1447 * src/hildon-window.c (hildon_window_set_main_menu):
1448 Removed incorrect 'Since:' tag
1450 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1452 * src/hildon-pannable-area.c,
1453 (hildon_pannable_area_calculate_velocity): We use now the
1454 RATIO_TOLERANCE here to check the distance, fixed typo in the
1456 (hildon_pannable_area_motion_notify_cb): We have to set the type
1457 and time even if we are not sending the motion.
1459 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1461 * doc/hildon-sections.txt
1462 * src/hildon-app-menu.h
1463 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1464 (+hildon_app_menu_get_filters): New methods to get the contents of
1467 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1470 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1472 * src/hildon-app-menu.c (hildon_app_menu_popup):
1475 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1477 * src/hildon-window.h
1478 * src/hildon-window.c (+hildon_window_get_main_menu)
1479 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1480 and deprecated hildon_window_get_menu().
1482 * src/hildon-stackable-window.h
1483 * src/hildon-stackable-window.c
1484 (+hildon_stackable_window_set_app_menu)
1485 (+hildon_stackable_window_get_app_menu)
1486 (hildon_stackable_window_set_main_menu): Created
1487 hildon_stackable_window_{get,set}_app_menu() and deprecated
1488 hildon_stackable_window_set_main_menu().
1490 * doc/hildon-sections.txt
1491 * examples/hildon-app-menu-example.c (main)
1492 * src/hildon-app-menu.c
1493 * src/hildon-program.c:
1494 Updated examples and documentation.
1496 Fixes: NB#103758 (No way to obtain a menu from a
1497 HildonStackableWindow)
1499 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1504 * configure.ac: Bump version.
1505 * debian/changelog: Updates.
1507 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1509 * examples/hildon-remote-texture-example.c: Include
1510 hildon-remote-texture.h explicitely.
1511 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1512 applications not defining _XOPEN_SOURCE which don't require this header.
1514 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1516 * doc/hildon-sections.txt
1517 * src/hildon-app-menu.h
1518 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1519 New function to pop up a HildonAppMenu
1521 * src/hildon-stackable-window.c
1522 (hildon_stackable_window_toggle_menu):
1523 Use hildon_app_menu_popup() to show the menu.
1525 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1527 * src/hildon-app-menu.c (hildon_app_menu_show)
1528 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1529 menu if there's another window between it and its parent window.
1531 Fixes: NB#100468 (Application menu window is launched even when a
1532 new secondary-window/dialog is pending to be shown/realized)
1534 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1536 * src/hildon-window-stack.c (hildon_window_stack_push)
1537 (hildon_window_stack_pop_and_push):
1538 Don't forget to push/pop the first window.
1539 Reverse the window list before calling _push_list()
1541 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1543 * src/hildon-picker-button.h
1544 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1545 Remove "value_changed" slot to avoid ABI breakage
1547 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1549 * src/hildon-pannable-area.c,
1550 (hildon_pannable_area_realize),
1551 (hildon_pannable_area_unrealize),
1552 (hildon_pannable_draw_vscroll),
1553 (hildon_pannable_draw_hscroll): Changed the method to handle the
1554 GC used to draw the transparent scrollbar, this way we avoid
1555 creating the GC all the time when drawing the scrollbars.
1557 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1559 * src/hildon-pannable-area.c,
1560 (hildon_pannable_area_init),
1561 (hildon_pannable_area_remove): Removed some unnecessary casts.
1562 (hildon_pannable_area_dispose): Disconnected some signals before
1563 releasing the adjustments.
1565 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1567 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1568 Make sure that all widgets contained in the toolbar are shown.
1570 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1572 * doc/hildon-sections.txt
1573 * src/hildon-picker-button.h
1574 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1575 (_selection_changed, hildon_picker_button_on_dialog_response)
1576 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1577 New hildon_picker_button_value_changed() method.
1580 * src/hildon-picker-button-private.h
1581 * src/hildon-picker-button.c (hildon_picker_button_init)
1582 (+hildon_picker_button_disable_value_changed): Add protected
1583 function for disabling the "value-changed" signal.
1585 * src/hildon-date-button.c (hildon_date_button_set_date):
1586 Don't emit "value-changed" for each one of the three columns.
1588 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1589 before actual change of values)
1591 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1593 * src/hildon-pannable-area.c,
1594 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1595 for the treeview overshooting.
1597 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1599 * src/hildon-banner.c (+hildon_banner_bind_style):
1600 Renamed from hildon_banner_bind_label_style(), now naming the
1601 banner itself as well.
1602 (hildon_banner_show_information),
1603 (hildon_banner_show_information_with_markup),
1604 (hildon_banner_show_animation), (hildon_banner_show_progress):
1605 Name the widgets and labels, based on their type.
1607 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1610 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1612 * src/hildon-note.c (hildon_note_set_property): call
1613 hildon_note_rename() on HildonNote:note-type set.
1614 (hildon_note_rename): Name the note and its label, based on the
1615 HildonNote:note-type property.
1617 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1620 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1622 * src/hildon-pannable-area.c,
1623 (hildon_pannable_area_class_init),
1624 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1625 panning parameters, increased SPS and deceleration factor. Added
1626 also a margin to control fake directions.
1628 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1630 Patch by Sven Herzberg (sven@imendio.com)
1632 * configure.ac: Add missing AM_PROG_CC_C_0
1633 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1635 See NB#101420 (Update unit tests and fix make check)
1637 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1639 This patch was applied before but reverted because it caused
1640 problems, we have changed the main condition and tested the
1641 regressions we detected before and they work ok. We have done a
1642 complete review of the topmost algorithm in order to get a more
1645 * src/hildon-pannable-area.c,
1646 (hildon_pannable_area_get_topmost): Added a new parameter to
1647 filter the the windows that do not include those events.
1648 (hildon_pannable_area_button_press_cb),
1649 (hildon_pannable_area_button_release_cb),
1650 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1651 topmost function, we have added the new parameter.
1653 Fixes: NB#97458 (Pannable area prevents propagation of button
1656 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1658 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1659 if all columns in the selector have an item selected.
1660 (_on_dialog_response): Stop "response" signal emission if there is
1661 any selector column without selected items.
1663 Fixes: NB#101889 (Picker dialog should not close when nothing is
1664 selected in multiple selection list)
1666 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1668 * src/hildon-font-selection-dialog.c
1669 (hildon_font_selection_dialog_class_init),
1670 (hildon_font_selection_dialog_init): Remove the preview
1671 button and dialog, since previewing with default theming is likely
1672 to be overcomplicated. The :preview property has now no effect.
1673 Update documentation blurbs to inform about this.
1675 Fixes: NB#92297 (Preview content is not clearly visible for
1676 default colour text)
1678 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1680 Reviewed the geometry that handles the children size and
1681 scrollbar, now it tries a size and reviews the results depending
1682 on the scrollbars visibility.
1684 * src/hildon-pannable-area.c,
1685 (hildon_pannable_area_realize): Fixed a typo.
1686 (hildon_pannable_area_child_allocate_calculate): Added this
1687 function to calculate the child allocation.
1688 (hildon_pannable_area_size_allocate): Reviewed the allocation
1690 (hildon_pannable_area_check_scrollbars),
1691 (hildon_pannable_area_refresh): Refactored refresh function, this
1692 way we can call the code handling the scrollbars without causing a
1693 size_request, it is interesting in the allocate.
1694 (hildon_pannable_area_init): Replace the callbacks of the
1695 value_changed and changed signals to propertly deal with the
1697 (hildon_pannable_area_grab_notify),
1698 (hildon_pannable_area_initial_effect),
1699 (hildon_pannable_area_launch_fade_timeout),
1700 (hildon_pannable_area_adjust_changed),
1701 (hildon_pannable_area_adjust_value_changed),
1702 (hildon_pannable_area_redraw),
1703 (hildon_pannable_area_button_press_cb),
1704 (hildon_pannable_area_button_release_cb),
1705 (hildon_pannable_area_scroll_cb),
1706 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1707 code and use the new functions adjust_changed and
1708 adjust_value_changed.
1710 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1711 Contact editor dialog)
1713 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1718 * configure.ac: Bump version.
1719 * debian/changelog: Updates.
1721 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1723 * src/hildon-pannable-area.c,
1724 (hildon_pannable_area_get_topmost),
1725 (hildon_pannable_area_button_press_cb),
1726 (hildon_pannable_area_button_release_cb),
1727 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1728 topmost function adding the event mask. We have to try a
1729 differente approach because it is still causing problems (NB#9745,
1732 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1734 * src/hildon-banner.c:
1735 Update the maximum width of timed banners.
1736 (force_to_wrap_truncated): Enforce the maximum text width if the
1739 Fixes: NB#102413 (The text margins (wrapping) in information
1740 banner should be HILDON_MARGIN_TRIPLE)
1742 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1744 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1746 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1747 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1748 bound when calculating the scroll indicator position.
1750 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1751 treat ->lower correctly)
1753 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1755 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1756 expose event handling, since it is not necessary to draw the focus
1759 Fixes: NB#102467 (Do not show highlight on the text in
1762 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1764 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1765 full height of the toolbar for the button and the label.
1767 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1769 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1770 padding before the label and after the button.
1772 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1774 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1776 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1777 Add a GtkVSeparator between the button and the back arrow.
1778 Let the button have automatic size.
1779 Set a name to the widget for theming handling.
1781 Fixes: NB#101793 (Make edit toolbar the same height as window
1782 title bar (use title area theming))
1784 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1786 * src/hildon-helper.c (attach_new_color_element): Fix memory
1789 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1791 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1793 * examples/hildon-button-example.c (common_buttons_window): Don't
1796 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1798 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1799 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1801 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1803 * src/hildon-gtk.c: Check that the window is realized.
1805 Fixes: NB#102225 (Crash setting the progress indicator to a non
1808 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1810 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1811 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1812 instead of modifying the one in the widget style.
1814 Fixes: NB#101043 (Second row of all the command button are
1815 displayed in transparent mode.)
1817 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1819 * src/hildon-date-button.c
1820 * src/hildon-time-button.c: Add gettext macros
1822 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1824 * src/hildon-date-button.c (hildon_date_button_new):
1825 * src/hildon-time-button.c (hildon_time_button_new_step):
1826 Use new logical strings to set the button default title.
1828 Fixes: NB#99915 (Date and Time options are not localised in Date
1831 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1833 * src/hildon-pannable-area.c
1834 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1835 the PANNING_THRESHOLD.
1837 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1839 * src/hildon-pannable-area.c,
1840 (hildon_pannable_area_class_init): Increased the maximum speed.
1841 (hildon_pannable_area_get_property),
1842 (hildon_pannable_area_set_property),
1843 (hildon_pannable_area_timeout): Added a new low friction mode, it
1844 allows the user avoid friction when launching the widget fast
1845 enough. It is interesting to traverse long lists.
1847 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1849 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1850 (+hildon_stackable_window_delete_event): Ignore delete events if
1851 the window is not the topmost one.
1853 Fixes: NB#101698 (Back button long press and delete-event handling)
1855 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1857 * src/hildon-pannable-area.c,
1858 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1859 gtk-dnd-drag-threshold, it was too big. We have defined our own
1860 dnd define and set a smaller value: PANNIG_THRESHOLD.
1862 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1864 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1865 user-defined icons, use always the default one.
1867 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1869 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1871 This patch was applied before but reverted because it caused
1872 problems, we have changed the main condition and tested the
1873 regressions we detected before and they work ok.
1875 * src/hildon-pannable-area.c,
1876 (hildon_pannable_area_get_topmost): Added a new parameter to
1877 filter the the windows that do not include those events. Added
1878 also a condition when finding the window to filter windows that do
1879 not ask for those events.
1880 (hildon_pannable_area_button_press_cb),
1881 (hildon_pannable_area_button_release_cb),
1882 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1883 topmost function, we have added the new parameter.
1885 Fixes: NB#97458 (Pannable area prevents propagation of button
1888 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1890 * tests/check-hildon-color-button.c (START_TEST): do not leak
1893 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1895 * src/hildon-font-selection-dialog.c
1896 (hildon_font_selection_dialog_get_preview_text): Return NULL
1897 instead of FALSE on the g_return_val_if_fail().
1899 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1901 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1902 * src/hildon-date-selector.c
1903 (hildon_date_selector_select_current_date):
1904 Do not compare unsigned integers to be greater than or equal 0,
1905 because it's always TRUE.
1907 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1909 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1910 (hildon_date_selector_constructor): Do not select the current
1911 date until we are handle the "changed" signal, to avoid having bogus
1912 elements in the days model.
1914 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1916 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1917 for num_days, since _month_days() can return a negative value.
1919 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1921 * src/hildon-caption.c (hildon_caption_size_allocate):
1922 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1923 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1925 Initialize allocation variables to 0, to avoid eventually using
1926 unitialized variables.
1928 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1930 * src/hildon-bread-crumb-trail.c
1931 (hildon_bread_crumb_trail_size_allocate):
1932 * src/hildon-calendar.c (hildon_calendar_set_background):
1933 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1934 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1935 * src/hildon-seekbar.c (hildon_seekbar_init):
1936 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1937 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1938 * src/hildon-touch-selector-entry.c
1939 (hildon_touch_selector_get_text_from_model):
1940 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1941 * src/hildon-window.c (hildon_window_finalize):
1943 Remove many unused variables.
1945 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1947 * src/hildon-seekbar.c: (hildon_seekbar_init),
1948 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1950 Remove unnecessary g_assert() calls.
1952 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1954 * src/hildon-caption.c: (hildon_caption_expose),
1955 (hildon_caption_set_property), (hildon_caption_init),
1956 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1957 (hildon_caption_size_request), (hildon_caption_size_allocate),
1958 (hildon_caption_forall), (hildon_caption_set_separator),
1959 (hildon_caption_activate), (hildon_caption_set_child_expand),
1960 (hildon_caption_set_label_text),
1961 (hildon_caption_get_label_alignment):
1963 Remove unnecessary g_assert() calls.
1965 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1967 * src/hildon-banner.c
1968 (hildon_banner_map, hildon_banner_init): Make banner temporary
1969 before mapping it to avoid closing other temporary windows, but
1970 make it non-temporary afterwards to avoid being closed by other
1971 non-temporary windows.
1972 (-hildon_banner_client_event, hildon_banner_init):
1973 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1975 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1978 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1980 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1983 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1985 * src/hildon-remote-texture.c
1986 * src/hildon-remote-texture.h
1987 * src/hildon-remote-texture-private.h
1988 * examples/hildon-remote-texture-example.c:
1989 Updates/fixes to remote-texture and its example.
1991 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1993 Patch by Mox Soini (ext-mox.soini@nokia.com)
1995 * src/hildon-code-dialog.c: Update logical id.
1996 * src/hildon-set-password-dialog.c: Update logical id.
1998 Fixes: NB#100646 (Logical strings is shown for ok in set
1999 password,Password needed dialogs)
2001 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2004 * src/hildon-remote-texture.c
2005 * src/hildon-remote-texture.h
2006 * src/hildon-remote-texture-private.h
2008 Added remote texture widget (for Clutter shared memory textures)
2010 * examples/hildon-remote-texture-example.c
2011 * examples/Makefile.am
2012 Added example file for remote texture usage
2014 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2016 * configure.ac: post release version bump.
2017 * debian/changelog: version bump.
2019 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2024 * configure.ac: Bump version.
2025 * debian/changelog: Updates.
2027 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-date-selector.c (hildon_date_selector_init)
2030 (hildon_date_selector_constructor): Don't connect to the "changed"
2031 signal until the selector is completely constructed.
2033 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2035 * src/hildon-touch-selector.c: (_create_new_column),
2036 (hildon_touch_selector_append_column),
2037 (hildon_touch_selector_set_column_selection_mode),
2038 (hildon_touch_selector_set_active),
2039 (hildon_touch_selector_select_iter):
2040 Emit the HildonTouchSelector::changed signal every time selection
2041 is changed in any of the methods above. This behavior was already
2042 documented but not fully functional.
2044 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2045 selection is programmatically changed)
2047 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2049 * doc/hildon-sections.txt: Remove obsolete icon
2050 sizes from here as well.
2052 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2054 * examples/hildon-stackable-window-example.c (add_window): Remove
2057 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2059 * src/hildon-app-menu.c
2060 (hildon_app_menu_show): Check whether the parent window of a menu
2061 is topmost before popping it up.
2063 Fixes: NB#100468 (Application menu window is launched even when a
2064 new secondary-window/dialog is pending to be shown/realized.)
2066 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2068 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2071 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2073 Patch by Mox Soini (ext-mox.soini@nokia.com)
2075 * src/hildon-banner.c: (hildon_banner_show_animation):
2076 use stylus size instead of obsolete note size.
2077 * src/hildon-defines.h: Update icon sizes.
2079 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2081 * src/hildon-touch-selector-entry.c:
2082 (hildon_touch_selector_entry_init): Disable unsupported
2084 (hildon_touch_selector_entry_get_text_column): Emit a warning
2085 if an unsupported input modes is used and explicitile state
2086 these modes in the documentation.
2088 Fixes: NB#99802 (Hildon touch selector entry not working properly
2089 for some of the input modes)
2091 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2093 * src/hildon-pannable-area.c,
2094 (hildon_pannable_area_init): Added the changed signal handlers of
2097 Fixes: NB#100320 (HildonPannableArea does not listen to
2098 GtkAdjustment "change" signals)
2100 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2102 * doc/hildon-sections.txt
2103 * src/hildon-window-private.h
2104 * src/hildon-window.h
2105 * src/hildon-window.c (hildon_window_init)
2106 (hildon_window_realize, hildon_window_unrealize)
2107 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2108 (hildon_window_size_request, hildon_window_size_allocate)
2109 (hildon_window_forall, hildon_window_show_all)
2110 (hildon_window_destroy, +paint_edit_toolbar)
2111 (+hildon_window_set_edit_toolbar):
2112 New hildon_window_set_edit_toolbar() method, to add a
2113 HildonEditToolbar to a window without having to pack it manually.
2115 Reorganize hildon_window_size_allocate()
2117 * src/hildon-edit-toolbar.c: Update documentation.
2119 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2120 example to use the new API.
2122 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2124 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2126 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2127 Remove from stack before calling parent's hide.
2129 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2131 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2132 window is removed from the middle of the stack, update the
2133 transiency of the previous one.
2135 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2138 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2140 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2141 block/unblock the signal handler if it's not actually being used.
2142 Fixes some critical warnings.
2144 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2146 Based on a patch by Iván Gómez (igomez@igalia.com)
2148 * src/hildon-banner.c
2152 * src/hildon-pannable-area.c
2153 * src/hildon-picker-dialog.c
2154 * src/hildon-wizard-dialog.h
2155 * src/hildon-wizard-dialog.c: Documentation updates.
2157 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2158 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2160 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2162 * configure.ac: post release version bump.
2163 * debian/changelog: version bump.
2165 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2170 * configure.ac: Bump version.
2171 * debian/changelog: Updates.
2173 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2175 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2176 a stock icon nor change the relief of the back arrow.
2178 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2179 graphics from theme)
2181 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2183 * src/hildon-button.c (hildon_button_set_alignment): Use
2184 priv->alignment if the button has no child yet.
2186 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2188 * src/hildon-button.c: (hildon_button_init): Set the
2189 button style during initialization to give it the proper
2192 Fixes: NB#99713 (HildonButton value label color is wrong)
2194 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2196 * src/hildon-touch-selector.c: Document
2197 hildon_touch_selector_center_on_selected()
2199 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2201 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2202 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2203 all menu items, but not the menu itself.
2204 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2205 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2206 items after adding them to the menu so keyboard accelerators work.
2207 (hildon_app_menu_show): Don't show the menu if it contains items
2208 but none of them are visible.
2210 * examples/hildon-app-menu-example.c (create_menu): Use
2211 gtk_widget_show_all() to show all menu items.
2213 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2215 * src/hildon-picker-dialog.c:
2216 (-_update_title_on_selector_changed_cb),
2217 (-_dialog_update_title): Removed.
2218 (_select_on_selector_changed_cb), (_on_dialog_response),
2219 (on_selector_columns_changed): Do not update the dialog title.
2220 (setup_interaction_mode): Do not connect to
2221 HildonTouchSelector::changed signal if there's a "done" button, as
2222 the dialog title doesn't need to be updated.
2224 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2227 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2229 Patch by Kristian Rietveld (kris@imendio.com)
2231 * src/hildon-touch-selector.c: (_create_new_column): Use new
2232 GtkTreeView::hildon-row-tapped signal to react to user interactions
2233 instead of ::changed.
2235 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2236 with some dynamic tree model)
2238 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2240 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2241 (+screen_size_changed, +label_size_request)
2242 (hildon_note_class_init): Make the Hildon information note have a
2243 minimum height, and make its text hvae a maximum width.
2245 Fixes: NB#98614 (Hildon information note (background) should have
2246 minimum height and maximum text width)
2248 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2250 * src/hildon-banner.h
2251 * src/hildon-banner.c (hildon_banner_show_information)
2252 (hildon_banner_show_informationf)
2253 (hildon_banner_show_information_with_markup): Update documentation
2254 to reflect that the icon_name parameter is not used anymore.
2255 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2256 Remove all code from these functions and mark them as deprecated.
2257 (hildon_banner_show_progress): Mark as deprecated.
2259 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2261 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2263 * src/hildon-pannable-area.c,
2264 (hildon_pannable_area_class_init),
2265 (tranparency_color),
2266 (hildon_pannable_draw_vscroll),
2267 (hildon_pannable_draw_hscroll),
2268 (hildon_pannable_area_expose_event): Added a new way to render the
2269 scrollbars of the pannable area avoiding using cairo at all. This
2270 way we improve the performance of the pannable area rendering. The
2271 cairo rendering procedure is still in the code, we can control
2272 which one to use changing the value of the define
2273 USE_CAIRO_SCROLLBARS.
2275 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2277 * configure.ac: post release version bump.
2278 * debian/changelog: version bump.
2280 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2285 * configure.ac: Bump version.
2286 * debian/changelog: Updates.
2288 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2290 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2291 banners instead of destroying them when they receive a button
2294 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2296 Reverted commit 34028, it was causing regressions, probably the
2297 topmost condition is not correct, we have to check it in more
2298 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2299 propagation of button press events)
2301 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2303 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2304 that the selection is not empty before attempting to retrieve the
2305 current ampm selection.
2307 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2309 * src/hildon-picker-button.c:
2310 (hildon_picker_button_on_dialog_response): Directly update the
2311 button contents when required instead of calling _selection_changed.
2313 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2315 * src/hildon-program.c (hildon_program_update_top_most): Update
2316 'is-topmost' property also when wm_hints is not set.
2318 Fixes: NB#98383 (is-topmost signal is not emitted when task
2319 switcher is clicked.)
2321 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2323 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2327 * src/hildon-animation-actor.c,
2328 * src/hildon-animation-actor.h: Added the animation actor class,
2329 this widget represents an animation actor for WM-assisted
2330 animation effects in the Hildon framework.
2332 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2334 * src/hildon-window-stack-private.h
2335 * src/hildon-window-stack.c
2336 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2337 Avoid calling gtk_widget_show() again indirectly from
2338 hildon_stackable_window_show()
2340 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2342 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2345 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2347 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2348 (hildon_time_selector_init): Move the construction of the hours and
2349 ampm columns to the constructor to preserve the order the columns
2352 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2354 * src/hildon-picker-dialog.c:
2355 (hildon_picker_dialog_class_init): Connect a realize method.
2356 (+hildon_picker_dialog_realize): Setup the interaction mode here
2358 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2359 yet, do it during the realize instead.
2360 (_on_dialog_response):
2361 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2362 if the widget is not realized, to avoid the dialog response before it
2365 Avoid premature responses in the HildonPickerDialog that can cause it
2366 to be hidden before it's even shown.
2368 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2370 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2371 (on_selector_columns_changed), (requires_done_button),
2372 (+prepare_action_area), (setup_interaction_mode),
2373 (_hildon_picker_dialog_set_selector):
2375 Split the interaction mode setup into preparation of the
2376 action area (prepare_action_area()) and the connection of
2377 the signals in setup_interaction_mode() and update the code to
2380 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2382 * src/hildon-pannable-area.c,
2383 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2384 per second to 15, we will check if this is ok regarding
2387 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2389 * src/hildon-pannable-area.c,
2390 (hildon_pannable_axis_scroll): Avoid resize if we already have
2391 reached overshoot_max.
2393 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2395 * src/hildon-pannable-area.c,
2396 (hildon_pannable_area_init),
2397 (hildon_pannable_area_realize),
2398 (hildon_pannable_area_size_allocate),
2399 (hildon_pannable_area_map),
2400 (hildon_pannable_area_unmap),
2401 (hildon_pannable_draw_vscroll),
2402 (hildon_pannable_draw_hscroll),
2403 (hildon_pannable_area_expose_event),
2404 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2405 pannable are to avoid the expose events go to the window and
2406 redraw the window. We save this way that part of the stack and the
2407 paint_boxes. We had to change the positions of the elements when
2410 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2412 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2413 * src/hildon-color-chooser-dialog.c:
2414 (hildon_color_chooser_dialog_init):
2415 * src/hildon-font-selection-dialog.c:
2416 (hildon_font_selection_dialog_init),
2417 (hildon_font_selection_dialog_show_preview):
2418 * src/hildon-get-password-dialog.c:
2419 * src/hildon-login-dialog.c:
2420 * src/hildon-set-password-dialog.c:
2421 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2422 * src/hildon-time-picker.c: (hildon_time_picker_init):
2424 Remove obsolete logical string IDs and update to the appropriate ones.
2426 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2428 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2430 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2431 that happens if the window hasn't been realized yet.
2433 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2434 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2436 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2438 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2439 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2442 Fixes: NB#98537 (Device hangs in account settings dialog)
2444 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2446 * configure.ac: post release version bump.
2447 * debian/changelog: version bump
2449 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2454 * configure.ac: Bump version.
2455 * debian/changelog: Updates.
2457 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2459 Added a new function to the HildonTimeButton widget that allows to
2460 change the step of the minutes in the selector associated with the
2461 button: hildon_time_button_new_step
2463 * src/hildon-time-button.c,
2464 (hildon_time_button_init),
2465 (hildon_time_button_new),
2466 (hildon_time_button_new_step):
2467 * src/hildon-time-button.h: Added the new function and refactored
2469 * examples/hildon-time-button-example.c,
2470 (main): We have replaced the function without parameters with the
2471 function with the steps set to 5
2473 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2475 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2477 * src/hildon-time-selector.c,
2478 (hildon_time_selector_class_init),
2479 (hildon_time_selector_constructor),
2480 (hildon_time_selector_get_property),
2481 (hildon_time_selector_set_property),
2482 (_create_minutes_model),
2483 (hildon_time_selector_new_step),
2484 (hildon_time_selector_set_time),
2485 * src/hildon-time-selector.h: Added a new property to the
2486 HildonTimeSelector (minutes-step), we use that property to control
2487 the steps between the minutes in the list of the selector. We have
2488 added a new function to the API to create a widget changing the
2489 step: hildon_time_selector_new_step.
2491 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2493 * src/hildon-time-selector.c,
2494 (hildon_time_selector_class_init),
2495 (hildon_time_selector_constructor),
2496 (hildon_time_selector_init): Overrided the construct function when
2497 creating the time selector object. We have moved the minutes model
2498 handling code from the init to the new construction function:
2499 hildon_time_selector_constructor.
2501 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2503 * examples/hildon-date-button-example.c: (main): Use the new
2504 hildon_date_button_new_with_year_range() method in the example.
2505 * src/hildon-date-button.c:
2506 (+hildon_date_button_new_with_year_range): New public method
2507 to conveniently create a HildonDateButton with a custom year range
2508 in its HildonDateSelector.
2509 * src/hildon-date-button.h: Add the new public method definition.
2511 Fixes: NB#97908 (Not possible to change the year range in
2512 HildonDateSelector/HildonDateButton)
2514 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2516 * src/hildon-date-selector.c:
2517 (+hildon_date_selector_set_property),
2518 (+hildon_date_selector_get_property),
2519 (hildon_date_selector_class_init): Install new properties "min-year"
2520 and "max-year" to define boundaries for the year column.
2521 (_create_year_model): Use the boundary properties to populate the model.
2522 (+hildon_date_selector_new_with_year_range): New public method to
2523 create a HildonDateSelector with a user defined year range.
2524 (hildon_date_selector_select_current_date): Use the new boundaries to
2525 calculate the iterator of current year.
2526 * src/hildon-date-selector.h: Add the new public method definition.
2528 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2530 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2531 Install a constructor method.
2532 (+hildon_date_selector_construct_ui): construct the widget.
2533 (+hildon_date_selector_constructor): new constructor.
2534 (+hildon_date_selector_init): move out widget construction code to
2535 the new constructor.
2537 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2539 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2540 that there's actually a month or year selected before obtaining them.
2541 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2542 of the HildonTouchSelector::changed signal, as it was emitted on every
2543 single item selection.
2545 Fix some warnings and possible crashers due to the selection restoring.
2547 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2549 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2550 the signal handlers only after creating the dialog instead of on every
2553 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2555 * src/hildon-button.c (hildon_button_init)
2556 * src/hildon-check-button.c (hildon_check_button_init)
2557 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2558 focus when clicked by default.
2560 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2562 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2565 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2567 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2568 Alejandro G. Castro (alex@igalia.com)
2570 * src/hildon-picker-dialog.c:
2571 (hildon_picker_dialog_class_init): install new "center-on-show"
2573 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2574 (hildon_picker_dialog_set_property): add setter code for the new
2576 (hildon_picker_dialog_get_property): add getter code for the new
2578 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2579 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2582 Fixes: NB#92849 (Selected item is not always visible when
2583 HildonTouchSelector is shown)
2585 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2587 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2588 Alejandro G. Castro (alex@igalia.com)
2590 * src/hildon-touch-selector.c:
2591 (_create_new_column): Do not connect to the "realize" signal of the
2593 (hildon_touch_selector_append_column): center on the selected items
2594 when a new column is appended.
2595 (hildon_touch_selector_select_iter): Factor out the code to select a
2596 column to hildon_touch_selector_scroll_to().
2597 (+search_nearest_element): Method to retrieve the nearest selected
2598 element to the visible area of the pannable area in a column.
2599 (+on_realize_cb): scroll to the initially selected item.
2600 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2601 the pannable area is realized, otherwise delay this until it is.
2602 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2603 selected items of a given column.
2604 (+hildon_touch_selector_center_on_selected): Public method to center
2605 all columns on the nearest selected item.
2606 * src/hildon-touch-selector.h: Add definition for
2607 hildon_touch_selector_center_on_selected().
2609 Implement public API to ensure visibility of all selected items in
2610 a HildonTouchSelector.
2612 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2614 Fixed a problem in the fading when calling the scroll_to API, and
2615 improve scrollbar fading handling.
2617 * src/hildon-pannable-area.c,
2618 (hildon_pannable_area_grab_notify): avoid the timeout when the
2620 (hildon_pannable_area_button_press_cb),
2621 (hildon_pannable_area_motion_notify_cb): Code style changes.
2622 (hildon_pannable_area_button_release_cb): Review the conditions
2623 when releasing the mouse button to avoid unrequired fading
2625 (hildon_pannable_area_scroll_to): Do not calculate and set the
2626 velocity if the scroll is not required.
2628 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2630 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2631 Don't check whether the new selector is NULL: it cannot be.
2632 Hold a reference to the selector while doing the replacement.
2634 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2636 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2637 unnecessary size_request in a removed widget.
2639 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2641 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2642 an unnecessary reference tracking that was leaking.
2644 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2646 Added delayed motion notify event handling, this way we can
2647 discard redrawing if more than 25 events arrive per second.
2649 * src/hildon-pannable-area.c,
2650 (hildon_pannable_area_init): Initialized the new private atributes
2651 controlling this timeout
2652 (hildon_pannable_area_dispose): Remove the timeout that controls
2653 the motion notify events.
2654 (hildon_pannable_area_scroll): Added a condition to control the
2655 use of the acceleration.
2656 (hildon_pannable_area_motion_event_scroll_timeout),
2657 (hildon_pannable_area_motion_event_scroll): Added this two
2658 functions, they handle the motion notify events inside the
2660 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2661 to the scroll method with the new function.
2662 (hildon_pannable_area_button_release_cb): We have to remove the
2663 timeout handler and move to the last position if the last motion
2664 events were not handled.
2666 Fixes: NB#97028 (Pannable area updates on every motion event)
2668 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2670 * src/hildon-pannable-area.c,
2671 (hildon_pannable_area_get_topmost): Added a new parameter to
2672 filter the the windows that do not include those events. Added
2673 also a condition when finding the window to filter windows that do
2674 not ask for those events.
2675 (hildon_pannable_area_button_press_cb),
2676 (hildon_pannable_area_button_release_cb),
2677 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2678 topmost function, we have added the new parameter.
2680 Fixes: NB#97458 (Pannable area prevents propagation of button
2683 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2685 * src/hildon-pannable-area.c,
2686 (hildon_pannable_area_initial_effect): Added controls before
2687 launching the timeout and the idle functions.
2688 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2689 of the method, in some situations it can return with TRUE and 0 in
2691 (hildon_pannable_area_button_press_cb): We do not need to set
2692 DELAY for fading out here.
2694 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2696 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2699 post-cleaning if the selection is not NULL.
2701 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2703 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2704 all items before restoring the selection.
2706 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2708 * src/hildon-touch-selector.c:
2709 (+hildon_touch_selector_unselect_all):
2710 * src/hildon-touch-selector.h: New API to unselect all items in a
2711 column of the touch selector.
2713 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2715 * src/hildon-pannable-area.c,
2716 (hildon_pannable_area_redraw): Added a call to the refresh
2717 function inside the redraw because apparently in some cases the
2718 change in the adjustment does not imply a size allocate.
2720 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2721 despite the view not being scrollable)
2723 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2725 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2726 leak. Check for NULL before attempting to set the window title.
2728 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2730 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2731 whether to show or not the 'Done' button each time the dialog is
2732 shown, as it depends on the HildonTouchSelector selection mode.
2734 Fixes: NB#96226 (In multiple selection mode Done button is shown
2735 sometimes in listpicker)
2737 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2739 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2740 for the number of columns in the HildonTouchSelector more than once.
2742 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2744 * src/hildon-touch-selector.c: Minor documentation fixes.
2746 * src/hildon-picker-dialog.c (+_dialog_update_title)
2747 (_select_on_selector_changed_cb)
2748 (_update_title_on_selector_changed_cb)
2749 (on_selector_columns_changed): Update dialog title when there's no
2750 'Done' button and also when the number of columns in the selector
2754 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2755 (+_selection_changed, hildon_picker_button_on_dialog_response)
2756 (hildon_picker_button_selector_selection_changed)
2757 (+hildon_picker_button_selector_columns_changed)
2758 (hildon_picker_button_set_selector): Update button value and emit
2759 'value-changed' when the number of columns in the selector
2763 Fixes: NB#96225 (Dialog titles are not shown according to the
2764 values selected in the list picker)
2766 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2768 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2769 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2770 New "arrow-width" and "arrow-height" style properties to set the
2771 size of the arrow button.
2772 Set name of arrow button ("hildon-edit-toolbar-arrow").
2774 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2775 graphics from theme)
2777 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2779 * src/hildon-picker-button.c:
2780 (hildon_picker_button_selector_selection_changed): Use
2781 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2782 the dialog is present.
2784 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2785 the selection is accepted in the dialog)
2787 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2789 * src/hildon-color-chooser.h
2790 * src/hildon-color-chooser-dialog.h:
2791 Added G_BEGIN_DECLS and G_END_DECLS
2793 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2795 (_clean_current_selection): plug a leak in the list.
2797 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2799 * src/hildon-picker-dialog.c:
2800 (+free_path_list): Method to free a GList of GtkTreePaths.
2801 (_clean_current_selection), (_save_current_selection),
2802 (_restore_current_selection): Save the current selection in
2803 as a list of lists, to support multiple selection properly.
2805 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2807 patch by Claudio Saavedra (csaavedra@igalia.com)
2809 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2810 Store the press position.
2811 (+hildon_text_view_button_release_event): If the release position is
2812 close enough to the press position, move the cursor here. Otherwise,
2814 (hildon_text_view_class_init): Override GtkTextView press, release, and
2815 motion event handlers, disabling this way text selection through
2816 pointer interaction, and allowing the container widget to handle the
2819 Fixes: NB#95828 (HildonTextView functionality)
2821 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2823 Based on a patch by Iván Gómez (igomez@igalia.com)
2825 * src/hildon-button.[ch]
2826 * src/hildon-calendar.c
2827 * src/hildon-check-button.c
2828 * src/hildon-date-editor.c
2829 * src/hildon-date-selector.c
2830 * src/hildon-picker-button.c
2831 * src/hildon-time-editor.c
2832 * src/hildon-time-selector.c
2833 * src/hildon-touch-selector.[ch]:
2834 Documentation updates
2836 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2838 * src/hildon-pannable-area.c,
2839 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2840 threshold, it was required due to X events handling.
2842 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2844 * src/hildon-pannable-area.c,
2845 (hildon_pannable_area_grab_notify),
2846 (hildon_pannable_area_initial_effect),
2847 (hildon_pannable_area_button_press_cb),
2848 (hildon_pannable_area_button_release_cb),
2849 (hildon_pannable_area_scroll_cb),
2850 (hildon_pannable_area_scroll_to): Review the timeout management of
2851 the scrollbar, the frecuency was incorrectly set.
2853 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2855 * src/hildon-picker-button.c:
2856 (+hildon_picker_button_on_dialog_response),
2857 (hildon_picker_button_clicked): Present the dialog instead of
2858 running it with gtk_dialog_run().
2860 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2863 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2865 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2866 (hildon_app_menu_finalize): When a window is hidden it doesn't
2867 emit notify::is-topmost, so make sure than the menu also
2868 disappears in that case.
2869 (parent_window_topmost_notify): Renamed from parent_window_hidden
2871 Fixes: NB#94460 (stackable window's menu is not closed when its
2874 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2876 * src/hildon-touch-selector-entry.c:
2877 (+hildon_touch_selector_entry_set_input_mode),
2878 (+hildon_touch_selector_entry_get_input_mode):
2879 * src/hildon-touch-selector-entry.h: New methods to access the input
2880 mode in the selector's entry.
2882 Fixes: NB#93410 (API required for setting IM mode in
2883 HildonTouchSelectorEntry)
2885 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2887 * configure.ac: post release version bump.
2888 * debian/changelog: version bump
2890 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2895 * configure.ac: Bump version.
2896 * debian/changelog: Updates.
2898 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2900 * src/hildon-touch-selector.c:
2901 (_hildon_touch_selector_has_multiple_selection): No need
2902 to initialize the variables here.
2904 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2906 * src/hildon-note-private.h
2907 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2908 (hildon_note_finalize, hildon_note_rebuild): Close information
2909 notes when they receive a button press.
2911 Fixes: NB#89890 (Information notes does not get disappeared after
2914 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2916 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2917 mark from the wizard title, as it's not really necessary. Also,
2918 do not display the page title if not set.
2920 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2922 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2923 (parent_window_hidden): Use the window's "is-topmost" property to
2924 detect when to hide the menu.
2926 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2928 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2929 (hildon_app_menu_finalize): If the parent window of the menu is
2930 hidden, hide the menu too.
2932 Fixes: NB#94460 (stackable window's menu is not closed when its
2935 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2938 * debian/libhildon1-examples.install
2940 * examples/Makefile.am:
2941 Use dh_install to install all examples.
2942 Use DEB_SRCDIR instead of defining SOURCE_DIR
2944 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2946 * configure.ac: post release version bump.
2947 * debian/changelog: version bump
2949 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2954 * configure.ac: bump version
2955 * debian/changelog: updates
2956 * debian/control: bump gtk+ dependency
2958 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2960 patch by Christian Dywan (christian@imendio.com)
2962 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2963 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2965 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2967 * src/hildon-check-button.c (hildon_check_button_init)
2968 (hildon_check_button_class_init, hildon_check_button_style_set)
2969 (hildon_check_button_apply_style):
2970 New "checkbox-size" style property.
2972 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2973 larger / configurable size)
2975 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2977 * configure.ac: post release version bump.
2978 * debian/changelog: version bump
2980 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2985 * configure.ac: bump version
2986 * debian/changelog: updates
2988 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2990 * doc/hildon-sections.txt
2991 * src/hildon-pannable-area.c
2992 * src/hildon-program.c
2993 * src/hildon-time-editor.c
2994 * src/hildon-touch-selector-entry.c:
2996 More documentation updates.
2998 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3000 * doc/hildon-sections.txt
3001 * src/hildon-caption.c
3002 * src/hildon-code-dialog.c
3003 * src/hildon-color-button.c
3004 * src/hildon-controlbar.c
3005 * src/hildon-date-editor.c
3006 * src/hildon-date-selector.c
3007 * src/hildon-edit-toolbar.c
3008 * src/hildon-find-toolbar.c
3009 * src/hildon-font-selection-dialog.c
3011 * src/hildon-program.c
3012 * src/hildon-range-editor.c
3013 * src/hildon-seekbar.c
3014 * src/hildon-time-editor.c
3015 * src/hildon-time-selector.c
3016 * src/hildon-volumebar-range.c
3017 * src/hildon-volumebar.c
3018 * src/hildon-vvolumebar.c
3019 * src/hildon-weekday-picker.c
3020 * src/hildon-window.c
3021 * src/hildon-wizard-dialog.c:
3023 Lots of documentation fixes.
3025 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3027 Patch contributed by Iván Gómez (igomez@igalia.com)
3029 * src/hildon-check-button.c:
3030 * src/hildon-date-button.c:
3031 * src/hildon-date-selector.c:
3032 * src/hildon-dialog.c:
3033 * src/hildon-edit-toolbar.c:
3034 * src/hildon-entry.c:
3035 * src/hildon-picker-button.c:
3036 * src/hildon-program.c:
3037 * src/hildon-text-view.c:
3038 * src/hildon-time-button.c:
3039 * src/hildon-touch-selector-entry.c:
3040 * src/hildon-window-stack.c:
3042 Add more "since" tags to the new API.
3044 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3046 * doc/hildon-sections.txt: Add below method.
3047 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3048 version for the hildonized scale.
3049 * src/hildon-gtk.h: Add the definition.
3051 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3053 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3055 * doc/hildon-sections.txt: Add missing entries for new methods.
3057 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3059 Added API to pannable are in order to get its adjustments. We
3060 added two properties to manage the values we had in the private
3063 * src/hildon-pannable-area.c:
3064 (hildon_pannable_area_class_init): Added hadjustment and
3065 vadjustment properties in order to expose horizontal and vertical
3067 (hildon_pannable_area_get_property),
3068 (hildon_pannable_area_set_property): Added code to handle the new
3070 (hildon_pannable_area_get_hadjustment),
3071 (hildon_pannable_area_get_vadjustment): API functions to get the
3073 * src/hildon-pannable-area.h:
3074 (hildon_pannable_area_get_hadjustment),
3075 (hildon_pannable_area_get_vadjustment): API functions to get the
3078 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3080 Fixed some leaks, after valgrinding.
3082 * src/hildon-touch-selector.c:
3083 (_default_print_func): Fixed a leak.
3084 (hildon_touch_selector_append_column): Fixed a leak.
3085 * src/hildon-date-button.c:
3086 (hildon_date_button_init): Fixed a leak.
3087 * src/hildon-date-selector.c
3088 (hildon_date_selector_finalize): Fixed a leak.
3090 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3092 Based on a patch by Christian Dywan (christian@imendio.com)
3094 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3096 * src/hildon-gtk.h: Add definition.
3098 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3100 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3102 * src/hildon-picker-button.c: (hildon_picker_button_init),
3103 (hildon_picker_button_new): Set the HildonButton::style property
3104 in the init method, to propagate the value to the derived classes.
3106 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3108 * src/hildon-button.c: (hildon_button_class_init): Do not make
3109 the "style" property a construct property.
3111 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3113 * src/hildon-wizard-dialog.h
3114 * src/hildon-wizard-dialog.c
3115 (hildon_wizard_dialog_set_forward_page_func)
3116 * src/hildon-pannable-area.h
3117 * src/hildon-pannable-area.c
3118 (hildon_pannable_area_set_size_request_policy):
3119 Documentation fixes.
3121 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3123 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3125 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3127 * doc/hildon-sections.txt: Added sections file.
3129 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3132 * src/*.[ch]: Updates.
3134 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3136 * examples/hildon-progress-indicator-example.c: new file
3137 * examples/Makefile.am: include the new example program
3139 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3141 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3143 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3145 * configure.ac: post release version bump
3146 * debian/changelog: version bump
3148 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3153 * configure.ac: bump version
3154 * debian/changelog: updates
3155 * debian/control: bump gtk+ dependency
3157 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3159 * src/hildon-dialog.c: Mark as deprecated.
3160 * src/hildon-dialog.h: Mark as deprecated.
3161 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3162 from HildonDialog and still work, even if
3163 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3164 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3166 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3167 maemo changes) instead)
3169 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3171 * src/hildon-pannable_area.h:
3172 * src/hildon-pannable_area.c:
3173 (hildon_pannable_area_class_init),
3174 (hildon_pannable_area_set_property),
3175 (hildon_pannable_area_get_property),
3176 (hildon_pannable_area_size_request),
3177 (hildon_pannable_area_get_size_request_policy),
3178 (hildon_pannable_area_set_size_request_policy): Added new API
3179 allowing applications to control the request policy. Now they can
3180 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3181 children allocation (HILDON_MOVEMENT_CHILDREN).
3183 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3187 (hildon_gtk_tree_view_set_ui_mode)
3188 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3189 mode of treeviews and iconviews.
3191 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3193 * src/hildon-touch-selector-entry.c:
3194 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3195 of a GtkEntry to get proper theming.
3197 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3198 widget, not GtkEntry)
3200 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3202 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3203 no HildonWizardDialogPageFunc.
3205 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3207 Patch contributed by Iván Gómez (igomez@igalia.com)
3209 * src/hildon-app-menu.c:
3210 * src/hildon-button.c:
3211 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3212 * src/hildon-stackable-window.c:
3213 * src/hildon-time-selector.c:
3214 * src/hildon-touch-selector.c:
3215 * src/hildon-window.c:
3217 Add more "since" tags to the new API in hildon 2.2.
3219 2008-12-05 Tim Janik <timj@imendio.com>
3221 Patch contributed by Christian Dywan (christian@imendio.com)
3223 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3224 HildonSizeType, which are supplied by Gtk+ now.
3226 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3228 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3229 (with maemo changes) instead)
3231 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3233 Patch contributed by Iván Gómez (igomez@igalia.com)
3235 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3238 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3240 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3241 (some_page_func), (main): Update the example to use a
3242 HildonWizardDialogPageFunc function.
3244 * src/hildon-wizard-dialog-private.h: Add private data for
3245 the HildonWizardDialogPageFunc function usage.
3247 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3248 (destroy), (hildon_wizard_dialog_init), (response),
3249 (hildon_wizard_dialog_set_forward_page_func):
3250 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3251 that applications can use to stop a HildonWizardDialog to jump to
3254 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3257 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3259 * src/hildon-program.h
3260 * src/hildon-program-private.h
3261 * src/hildon-program.c (hildon_program_init)
3262 (hildon_program_set_common_app_menu)
3263 (hildon_program_get_common_app_menu):
3264 New API for setting a common HildonAppMenu for all
3265 HildonStackableWindows registered with the HildonProgram.
3267 * src/hildon-stackable-window.c
3268 (hildon_stackable_window_toggle_menu):
3269 Use the common HildonAppMenu if a window doesn't have a specific
3272 * src/hildon-app-menu-private.h
3273 * src/hildon-app-menu.c
3274 (hildon_app_menu_get_parent_window):
3275 Function to obtain the window a HildonAppMenu is attached to.
3276 (hildon_app_menu_set_parent_window):
3277 Hide the menu if the parent window is set to NULL.
3279 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3281 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3282 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3283 search widget to popup.
3285 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3287 * configure.ac: post release version bump
3288 * debian/changelog: version bump
3290 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3295 * configure.ac: bump version
3296 * debian/changelog: updates
3298 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3300 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3302 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3303 (hildon_window_stack_window_realized)
3304 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3305 Set the leader GdkWindow when a window is stacked and realized,
3306 unset it when it's unstacked.
3307 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3309 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3311 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3313 * src/hildon-stackable-window.h
3314 * src/hildon-window-stack.h:
3315 Protect definition of HildonWindowStack using the preprocessor.
3317 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3319 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3320 Fix warning if all menu items are hidden.
3322 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3324 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3326 * src/hildon-controlbar.c:
3327 * src/hildon-hvolumebar.c:
3328 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3329 Multiple scale size defines updates.
3331 Fixes: NB#94322 (Scale Updates)
3333 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3335 * examples/hildon-app-menu-example.c (create_menu)
3336 Show items after adding them to the menu, as in the future the
3337 menu will no longer call gtk_widget_show() on the added items.
3339 * src/hildon-app-menu.c:
3340 Update example as explained above.
3342 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3344 * src/hildon-app-menu.c
3345 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3346 Make sure that all menu items have finger height.
3348 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3350 * src/hildon-picker-dialog.c:
3351 (_on_dialog_response), (_save_current_selection),
3352 (_restore_current_selection), (_clean_current_selection),
3353 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3354 Defined new functions in order to save the current internal selector
3355 selection previous open the dialog, in case that the use cancel the
3356 interaction, so the widget restores the previous selection.
3358 Fixes: NB#92032 (In calendar application, date values in 'new event'
3361 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3363 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3365 * src/hildon-button.c: Add a reference to the button examples in
3366 hildon-button-example.c
3368 * examples/hildon-button-example.c: Added examples of the most
3369 common button layouts.
3371 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3373 * src/hildon-app-menu.c (hildon_app_menu_show)
3374 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3376 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3378 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3380 * src/hildon-picker-dialog.c:
3381 (hildon_picker_dialog_init): Initialize the signal id for
3382 HildonTouchSelector::columns-changed.
3383 (+on_selector_columns_changed): Set up the interaction mode everytime a
3384 column is added or removed from the HildonTouchSelector.
3385 (_hildon_picker_dialog_set_selector): Connect to
3386 HildonTouchSelector::columns-changed and keep track of it.
3388 Make sure to update the interaction mode of the dialog everytime a
3389 column is added or removed in the HildonTouchSelector.
3391 Fixes: NB#93228 (Done button is not shown always in listpicker)
3393 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3395 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3396 a new ::columns-changed signal.
3397 (hildon_touch_selector_append_column): Emit ::columns-changed.
3398 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3400 Add a ::columns-changed signal, emitted when the number of columns in a
3401 HildonTouchSelector changes.
3403 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3405 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3406 (_hildon_picker_dialog_set_selector): Factor out the code
3407 to set up the dialog interaction mode.
3409 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3411 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3412 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3413 to signal_changed_id.
3415 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3417 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3420 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3422 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3423 Updated the logical ids related to ampm format, as now it is required to
3424 show it correctly localized even on languages with no default
3425 abbreviations for am or pm
3426 (_check_am_pm_format): check correctly the 24h format gconf property
3428 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3430 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3432 * src/hildon-button.c: Documentation updates.
3434 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3436 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3437 * src/hildon-caption.c: (hildon_caption_class_init):
3438 * src/hildon-color-button.c: (hildon_color_button_class_init):
3439 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3440 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3441 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3442 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3444 Remove deprecated GTK+ marshalers and replace them with the ones
3445 provided by GLib, for those available, add a marshaler for
3446 BOOLEAN:VOID, which is not available in GLib, and use it.
3448 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3450 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3451 the text from the previous column if there is no
3452 HildonTouchSelectorColumn::text-property set.
3454 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3456 * src/hildon-button.h
3457 * src/hildon-button.c (hildon_button_set_property)
3458 (hildon_button_get_property, hildon_button_class_init)
3459 (hildon_button_set_style, hildon_button_get_style):
3460 New "style" property to change the visual appearance of the
3463 * src/hildon-picker-button.c (hildon_picker_button_new):
3464 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3466 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3467 HildonButton look like PickerButton)
3469 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3471 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3472 column while building the default string.
3474 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3476 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3477 scroll indicator by default.
3479 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3481 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3483 * src/hildon-main.c: Fix the documentation for hildon_init()
3485 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3487 * doc/hildon-docs.sgml
3491 * src/hildon-window-stack-private.h
3492 * src/hildon-window-stack.h
3493 * src/hildon-window-stack.c:
3494 New HildonWindowStack object, that adds support for multiple
3495 stacks of windows per process.
3497 * src/hildon-stackable-window-private.h
3498 * src/hildon-stackable-window.h
3499 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3500 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3501 (hildon_stackable_window_show, hildon_stackable_window_hide)
3502 (hildon_stackable_window_class_init)
3503 (hildon_stackable_window_init):
3504 Use HildonWindowStack for stack management.
3506 * src/hildon-program.c (hildon_program_pop_window_stack)
3507 (hildon_program_peek_window_stack)
3508 (hildon_program_go_to_root_window):
3509 Add a fallback implementation to the deprecated functions using
3512 * examples/hildon-stackable-window-example.c:
3513 Use the new HildonWindowStack API.
3515 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3517 * src/hildon-stackable-window-private.h
3518 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3519 (hildon_stackable_window_hide, hildon_stackable_window_init):
3520 Remove all window stack management.
3522 * src/hildon-program-private.h
3523 * src/hildon-program.h
3524 * src/hildon-program.c (hildon_program_init)
3525 (hildon_program_pop_window_stack)
3526 (hildon_program_peek_window_stack)
3527 (hildon_program_go_to_root_window):
3528 Remove all window stack management and mark functions as
3531 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3533 * src/hildon-app-menu.c (hildon_app_menu_realize):
3534 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3536 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3538 * configure.ac: post release version bump
3539 * debian/changelog: version bump
3541 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3546 * configure.ac: bump version
3547 * debian/changelog: updates
3549 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3551 Based on initial code by Christian Dywan (christian@imendio.com)
3553 * doc/hildon-docs.sgml: Add section for hildon-main.
3554 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3555 * src/Makefile.am: Add new hildon-main.[ch]
3556 * src/hildon-defines.h: Update the icon sizes.
3557 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3558 new library initialization files and register icon sizes.
3559 * src/hildon-main.h: New declarations.
3560 * src/hildon.h: Include hildon-main.h
3562 Add new initialization functions to the library. These methods
3563 will register the hildon specific icon sizes and can be used in the
3564 future for other hildon specific bits.
3566 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3568 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3570 * src/hildon-window.c: (hildon_window_realize),
3571 (hildon_window_notify), (-hildon_window_update_title): Do not set
3572 the application name in the window title.
3574 Fixes: NB#89754 (Applications shouldn't display their names in the
3577 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3579 * src/hildon-note-private.h:
3580 * src/hildon-note.c: (hildon_note_set_property),
3581 (hildon_note_get_property), (hildon_note_class_init),
3582 (hildon_note_init), (hildon_note_finalize),
3583 (hildon_note_new_confirmation_with_icon_name),
3584 (hildon_note_new_information_with_icon_name):
3586 No need to mark as deprecated the actual code. Revert
3587 to avoid missing symbols in widgets using deprecated API.
3589 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3591 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3593 * src/hildon-volumebar.h
3594 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3595 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3597 * src/hildon-helper.h
3598 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3599 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3601 * examples/Makefile.am:
3602 Deprecate hildon-insensitive-example
3604 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3606 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3608 * examples/hildon-pannable-area-buttons-scroll-example.c:
3609 Make all buttons finger height
3611 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3613 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3615 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3616 update the day model only if it is really required, and to avoid the
3617 full-reconstruction aproach. Now it only add or remove the required days.
3619 The purpose of this is avoid superfluous HildonTouchSelector::changed
3622 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3623 with strange parameters)
3625 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3627 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3629 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3630 the WINDOW_TYPE property.
3632 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3634 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3637 Fix dependency to allow parallel compilation with make -jX
3639 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3641 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3642 color frame and some minor tweaks to make it more consistent with
3645 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3646 highlighted but not visible)
3648 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3650 * examples/Makefile.am: Fixed typo in the Makefile.am.
3652 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3654 Reviewed the use of MAEMO_GTK define, now we add the define in the
3655 compilation line, and we also add it to the pc file.
3657 * configure.ac: Added MAEMO_GTK define to the compilation command
3658 and removed it from the config.h.
3660 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3661 do not have to take care about this define if the library was
3665 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3667 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3669 * examples/Makefile.am,
3670 * examples/hildon-pannable-area-buttons-scroll-example.c,
3671 * examples/hildon-pannable-area-gesture-signals-example.c,
3672 * examples/hildon-pannable-area-scroll-jump-example.c,
3673 * examples/hildon-pannable-area-tree-view-example.c:
3674 Renamed the pannable area examples, now they have more meaningful
3677 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3679 * src/hildon-touch-selector.c:
3680 (hildon_touch_selector_set_column_selection_mode): Used of
3681 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3682 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3683 to avoid re-seting the same selection mode.
3685 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3686 breaks HildonPickerDialog)
3688 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3690 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3691 conditional in the Makefile.am
3693 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3695 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3696 Remove unused methods.
3698 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3700 * src/hildon-button.c (hildon_button_init):
3701 Make button images center-aligned by default
3703 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3706 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3707 activated, we have to think about how to deal with both defines
3708 MAEMO_GTK and MAEMO_CHANGES.
3710 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3712 * examples/hildon-app-menu-example.c (create_menu): Make all
3713 buttons finger size.
3715 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3717 Fixed the compilation without maemo gtk adding ifdefs with
3718 MAEMO_GTK define to the code, we have to check this version more
3721 * examples/Makefile.am: Added control to avoid some examples that
3722 just make sense with maemo gtk.
3725 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3726 hildon modes with the define.
3728 * examples/hildon-edit-toolbar-example.c,
3729 (create_icon_view): Create the icon view without hildon-gtk
3730 helpers if we are not using maemo gtk.
3732 * src/hildon-touch-selector.c,
3733 (_create_new_column): Create the treeview without hildon-gtk
3734 helpers if we are not using maemo gtk.
3736 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3738 * src/hildon-pnnable-area.c,
3739 (hildon_pannable_area_dispose),
3740 (hildon_pannable_area_button_press_cb),
3741 (hildon_pannable_area_child_mapped),
3742 (hildon_pannable_area_add),
3743 (hildon_pannable_area_remove): Added code to control the position
3744 of the event_window when adding and removing children from the
3745 pannable. We have to raise the event window when the child is
3748 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3749 selection mode using custom widget inside pannable)
3751 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3753 * configure.ac: post release version bump
3754 * debian/changelog: version bump
3756 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3761 * configure.ac: bump version
3762 * debian/changelog: updates
3764 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3766 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3767 search mode, in order to avoid lose the focus on the treeview when
3768 a hw key (like enter) is pressed.
3770 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3771 in HildonDateSelector dialog)
3773 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3775 * debian/rules: Added --enable-maintainer-mode
3776 * Makefile.am: Added ACLOCAL_AMFLAGS
3778 This allows to properly regenerate the Makefiles if you modify the
3779 configure.ac or any Makefile.am.
3781 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3783 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3784 properties, not needed at all.
3786 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3788 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3790 * src/hildon-note.c: (hildon_note_set_property),
3791 (hildon_note_get_property), (hildon_note_class_init),
3792 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3793 (hildon_note_new_confirmation_add_buttons): Remove icons.
3794 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3795 (hildon_note_new_information_with_icon_name): Deprecate.
3796 (hildon_note_new_confirmation): Act directly, without calling
3797 the deprecated constructor.
3798 (hildon_note_new_information): Act directly, without calling
3799 the deprecated constructor.
3800 * src/hildon-note.h: Mark deprecate methods as such.
3801 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3802 not run tests on the deprecated methods if built with deprecation
3805 Fixes: NB#91688 (Never show icons in information notes/confirmation
3808 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3810 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3811 (hildon_app_menu_key_press): Remove leftover usage of the
3812 private structure in HildonAppMenu struct.
3813 * src/hildon-app-menu.h: Remove leftover private structure
3814 from the HildonAppMenu struct.
3816 Fixes a crasher when using the HildonAppMenu.
3818 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3820 * src/hildon-picker-dialog.c: Use appropriate logical id
3821 for the default "Done" text.
3823 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3825 * configure.ac: post release version bump
3826 * debian/changelog: version bump
3828 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3830 Modified the way to scroll to the current selection just when the touch
3831 selector is shown on the screen, avoiding a g_idle. Added too a property
3832 to configure this behaviour. See hildon_pannable_area_jump_to_child
3833 documentation for more information.
3835 * src/hildon-touch-selector.c
3836 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3837 Added 'initial-scroll' property
3838 (hildon_touch_selector_set_property): Added
3839 (hildon_touch_selector_map): Removed as not required anymore
3840 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3841 only a concrete column, instead of iterate along all the columns
3843 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3848 * configure.ac: bump version
3849 * debian/changelog: updates
3851 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3853 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3854 compilation time warnings.
3856 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3858 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3859 the default value for HildonPannableArea::mov-mode to
3860 HILDON_PANNABLE_AREA_MODE_VERT.
3862 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3864 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3866 Reverting following commit:
3868 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3870 * src/hildon-app-menu-private.h
3871 * src/hildon-app-menu.[ch]
3872 * src/hildon-button.[ch]
3873 * src/hildon-check-button.[ch]
3874 * src/hildon-entry.[ch]
3875 * src/hildon-pannable-area.[ch]
3876 * src/hildon-text-view.[ch]:
3877 Added private field to the object's structure.
3879 because it causes an ABI breakage. We will need to introduce these
3880 changes later at some point. See NB#91636 for an extensive
3881 explanation and status.
3883 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3885 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3887 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3888 remove special cases that are no longer necessary.
3890 Fixes: NB#91016 (Change toolbar sizes, simplification)
3892 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3894 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3895 is shown in the cancel note.
3897 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3899 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3900 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3901 (hildon_seekbar_init): Remove steppers, remove expose event.
3902 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3904 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3906 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3908 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3909 label font to "SmallSystemFont" for vertically arranged buttons.
3911 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3914 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3916 * src/hildon-check-button.c
3917 (hildon_check_button_set_active, hildon_check_button_clicked):
3918 Don't access private parts directly, use getters instead.
3920 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3922 * src/hildon-check-button.c (hildon_check_button_new):
3923 Align the contents of the check button to the left.
3925 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3927 * src/hildon-pannable-area.c,
3928 (hildon_pannable_area_scroll_to),
3929 (hildon_pannable_area_jump_to),
3930 (hildon_pannable_area_scroll_to_child),
3931 (hildon_pannable_area_jump_to_child): Replace the mapped
3932 precondition of these functions with the realized, it is the
3933 correct state of the widget in this case. Changed the
3934 documentation according to this modification.
3936 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3938 Added a new EXTRA_CFLAGS option to add the deprecated define to
3939 the compilation command. This way we can avoid using the define in
3940 the documentation compilation.
3942 * configure.ac: Defined EXTRA_CFLAGS.
3944 * examples/Makefile.am:
3946 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3948 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3950 * src/hildon-picker-dialog.c:
3951 Defined a utility macro with the desired touch selector height
3952 Removed currently unused separator, and title_label variables from
3954 (hildon_picker_dialog_init): Removed code related to the creation
3955 of unused private variables title_label and separator.
3956 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3957 to ensure correct visualization of the touch selector inside the dialog.
3958 * src/hildon-touch-selector.c
3959 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3960 ensure a concrete height of the widget.
3962 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3965 * tests/Makefile.am:
3967 Remove spurious whitespaces.
3969 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3971 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3972 compilation warning after the cancel button removal.
3974 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3976 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3978 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3979 Makefile.am, that way we can choose not to compile some examples
3980 and tests of the deprecated widgets.
3982 * examples/Makefile.am: Divided the sources in deprecated and
3985 * src/Makefile.am: Added undef statement of the deprecated
3986 symbol to the enums file generation process.
3988 * src/hildon-color-chooser-dialog.c
3989 * src/hildon-color-chooser-dialog.h
3990 * src/hildon-color-button.c
3991 * src/hildon-color-button.h
3992 * src/hildon-color-chooser.c
3993 * src/hildon-color-chooser.h
3994 * src/hildon-controlbar.c
3995 * src/hildon-controlbar.h
3996 * src/hildon-date-editor.c
3997 * src/hildon-date-editor.h
3998 * src/hildon-hvolumebar.c
3999 * src/hildon-hvolumebar.h
4000 * src/hildon-private.c
4001 * src/hildon-private.h
4002 * src/hildon-range-editor.c
4003 * src/hildon-range-editor.h
4004 * src/hildon-seekbar.c
4005 * src/hildon-seekbar.h
4006 * src/hildon-time-editor.c
4007 * src/hildon-time-editor.h
4008 * src/hildon-time-picker.c
4009 * src/hildon-time-picker.h
4010 * src/hildon-volumebar.c
4011 * src/hildon-volumebar.h
4012 * src/hildon-vvolumebar.c
4013 * src/hildon-vvolumebar.h
4014 * src/hildon-bread-crumb-trail.h
4015 * src/hildon-bread-crumb-trail.c
4016 * src/hildon-calendar-popup.c
4017 * src/hildon-calendar-popup.h
4018 * src/hildon-weekday-picker.c:
4019 * src/hildon-weekday-picker.h:
4020 * src/hildon-bread-crumb-widget.c:
4021 * src/hildon-bread-crumb-widget.h:
4022 * src/hildon-bread-crumb.c:
4023 * src/hildon-bread-crumb.h:
4024 * src/hildon-calendar.c:
4025 * src/hildon-calendar.h:
4026 * src/hildon-caption.c:
4027 * src/hildon-code-dialog.c:
4028 * src/hildon-code-dialog.h:
4029 * src/hildon-font-selection-dialog.c:
4030 * src/hildon-font-selection-dialog.h:
4031 * src/hildon-get-password-dialog.c:
4032 * src/hildon-get-password-dialog.h:
4033 * src/hildon-login-dialog.c:
4034 * src/hildon-login-dialog.h:
4035 * src/hildon-number-editor.c:
4036 * src/hildon-number-editor.h:
4037 * src/hildon-set-password-dialog.c:
4038 * src/hildon-set-password-dialog.h:
4039 * src/hildon-sort-dialog.c:
4040 * src/hildon-sort-dialog.h: This is the list of deprecated
4043 * src/hildon-touch-selector.c:
4044 * src/hildon-window.c: Added undef statement to avoid compilation
4047 * tests/Makefile.am: Divided the sources in deprecated and
4050 * tests/check_test.c,
4051 (configure_tests): Marked the deprecated code that was adding
4052 suites with deprecated tests.
4054 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4056 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4058 * src/hildon-touch-selector.c: (_default_print_func): Do not
4059 duplicate a string returned by gtk_tree_model_get(), it is already
4062 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4065 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4067 * src/hildon-pannable-area.c
4068 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4069 method, it had problems when adding a widget with viewport the
4070 second time. Now checks if it already has a viewport and uses it.
4072 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4075 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4077 * src/hildon-pannable-area.c,
4078 (hildon_pannable_area_scroll_to),
4079 (hildon_pannable_area_jump_to),
4080 (hildon_pannable_area_scroll_to_child),
4081 (hildon_pannable_area_jump_to_child): Added a precondition to the
4082 scroll and jump to functions: the widget must be mapped before we
4083 can safely call these functions. We have also added documentation
4084 to the functions to explain how to use them in this situation.
4087 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4089 Reviewed the threading handling of the pannable widget, we have
4090 used the gdk_threads_add_timeout function instead of the usual
4091 glib handlers. This avoids some problems with the threads.
4093 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4094 (hildon_pannable_area_initial_effect),
4095 (hildon_pannable_area_scroll_indicator_fade),
4096 (hildon_pannable_area_button_press_cb),
4097 (hildon_pannable_area_timeout),
4098 (hildon_pannable_area_motion_notify_cb),
4099 (hildon_pannable_area_button_release_cb),
4100 (hildon_pannable_area_scroll_cb),
4101 (hildon_pannable_area_scroll_to): Removed the
4102 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4103 gdk_threads_add_timeout.
4105 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4107 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4112 * configure.ac: bump version
4113 * debian/changelog: updates
4115 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4117 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4118 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4119 * src/hildon-color-chooser-dialog.c:
4120 (hildon_color_chooser_dialog_init):
4121 * src/hildon-font-selection-dialog.c:
4122 (hildon_font_selection_dialog_init):
4123 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4125 Remove all cancel/close-like dialogs, as these are not going to be
4128 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4130 * src/hildon-note.c: (hildon_note_rebuild),
4131 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4134 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4136 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4138 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4139 sure all buttons are shown, even the Cancel/Close-like ones.
4141 Fixes: NB#90861 (Custom Confirmation dialogs should be
4142 protected from cancel button removal)
4144 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4146 * debian/control: Change libhildon1-examples dependency from libhildon1
4148 * debian/libhildon1-examples.install
4150 * Makefile.am: Modified the final install directory for the examples on
4151 package libhildon1-examples
4152 * Makefile.static: Update clean target in order to remove all the binary
4155 Changes suggested by Claudio after review new libhildon1-examples package
4157 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4159 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4160 * src/hildon-touch-selector.c: Ditto.
4162 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4164 * debian/control: Added new package libhildon1-examples, in order to pack
4165 the current hildon examples as documentation
4166 * debian/rules: Not to compress .c files, modify some includes on the
4167 examples (as normally are compiled locally, but when installed it will
4168 require to include the installed libhildon1 library), and rename
4170 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4171 install all the example files on the new example package
4172 * examples/Makefile.static: Added static makefile that can be used to
4173 compile the examples, once installed the new example package
4174 * examples: Most of the examples were modified in order to grant that
4175 all use only '#include "hildon.h"', in order to be easy to prepare
4176 it on the example package
4178 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4181 * debian/libhildon1-dev.install
4182 * debian/libhildon1-doc.install:
4183 Move all gtk-doc files to a separate libhildon1-doc package.
4185 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4187 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4189 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4191 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4193 * debian/rules: Fixed a error in order to avoid unnecessary calls
4194 to autogen.sh on package building
4196 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4198 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4200 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4202 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4205 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4207 * src/hildon-picker-button.c
4208 (hildon_picker_button_finalize):
4209 Free priv->done_button_text
4211 * src/hildon-time-button.c
4212 (hildon_time_button_set_time)
4213 * src/hildon-picker-button.c
4214 (hildon_picker_button_clicked)
4215 (hildon_picker_button_selector_selection_changed)
4216 (hildon_picker_button_set_selector)
4217 * src/hildon-date-button.c
4218 (hildon_date_button_set_date):
4219 Free strings returned by hildon_touch_selector_get_current_text()
4221 * src/hildon-button.c (hildon_button_construct_child):
4222 Fix leaks in priv->image and priv->label_box
4224 Fixes: NB#90535 (Memory leak in picker button)
4226 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4228 * src/hildon-button.c: (hildon_button_get_property): Do not access
4229 private elements directly, use getters instead.
4231 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4233 * src/hildon-app-menu-private.h
4234 * src/hildon-app-menu.c
4235 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4236 Store the menu's parent window.
4238 * src/hildon-stackable-window.c
4239 (hildon_stackable_window_toggle_menu)
4240 (hildon_stackable_window_finalize):
4241 Set the menu's parent window when the menu is shown, unset it when
4244 * src/hildon-app-menu.c
4245 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4246 (hildon_app_menu_class_init):
4247 Send unhandled keyboard accelerators to the parent window.
4249 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4251 * src/hildon-stackable-window.c
4252 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4254 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4256 * configure.ac: post release version bump
4258 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4261 * configure.ac: Bump version
4262 * debian/changelog: Updates
4263 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4266 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4268 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4271 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4272 GtkMenu with Hildon style.
4274 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4276 * src/hildon-picker-button.c:
4277 (hildon_picker_button_set_done_button_text): Set the dialog's
4278 done button text here as well.
4280 Fixes: NB#90232 (Picker button does not set the label on done button
4281 for the second time)
4283 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4285 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4288 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4290 * src/hildon-app-menu.c (hildon_app_menu_insert)
4291 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4292 the HildonAppMenu to be activatable using keyboard accelerators
4293 when the menu is not being shown.
4295 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4297 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4299 * src/hildon-stackable-window.c
4300 (hildon_stackable_window_show):
4301 Don't hide old windows automatically when new windows are shown:
4302 this is now a task for the window manager.
4303 (hildon_stackable_window_class_init)
4304 (hildon_stackable_window_hide):
4305 Remove windows from the stack everytime they're hidden.
4306 (hildon_stackable_window_realize):
4307 Don't change the _NET_WM_WINDOW_TYPE property. Use
4308 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4309 it as a stackable window.
4311 * src/hildon-program.c
4312 (hildon_program_pop_window_stack):
4313 Just hide the window to remove it from the stack.
4314 (hildon_program_go_to_root_window):
4315 Don't call gtk_widget_show(), this is now a task for the window
4318 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4320 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4322 * src/hildon-button.c
4323 (hildon_button_construct_child):
4324 Don't pack anything in the button until text or image are
4325 set. This allows adding a custom child after creating the button
4326 with hildon_button_new().
4327 (hildon_button_finalize, hildon_button_class_init)
4328 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4329 alignment and the label box even when they're not packed in the
4332 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4334 * src/hildon-touch-selector.h:
4335 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4336 currently the type definition was using GTK_TYPE_VBOX
4337 * src/hildon-touch-selector.c:
4338 Added some implementation notes in order to clarify that any other widget
4339 added without the column related API will not be included on the
4340 selection logic, and how the widget is freed, as some people ask about
4342 (hildon_touch_selector_remove): Reimplemented in order to free properly
4343 the column related data when you remove the private hbox.
4344 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4345 to get a proper HildonTouchSelectorColumn documentation
4347 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4349 * src/hildon-touch-selector-entry.c:
4350 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4351 text in the GtkEntry and there is no item selected. Fixes a
4354 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4356 * src/hildon-app-menu-private.h
4357 * src/hildon-app-menu.[ch]
4358 * src/hildon-button.[ch]
4359 * src/hildon-check-button.[ch]
4360 * src/hildon-entry.[ch]
4361 * src/hildon-pannable-area.[ch]
4362 * src/hildon-text-view.[ch]:
4363 Added private field to the object's structure.
4365 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4367 * configure.ac: post-release version bump
4369 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4373 * configure.ac: pre-release version bump
4375 * debian/changelog: updates.
4377 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4379 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4380 Disconnect the handler for HildonTouchSelector::changed.
4382 (hildon_picker_button_selector_selection_changed): Update the button
4383 value if the selection change was not triggered by the
4386 (hildon_picker_button_set_selector): connect to
4387 HildonTouchSelector::changed.
4389 Fixes: NB#89650 (Picker button is not updated, when selection in
4390 selector has changed)
4392 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4394 * src/hildon-picker-dialog.c
4395 (hildon_picker_dialog_realize): Removed as not required
4396 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4397 * src/hildon-picker-button.c
4398 (_current_selector_empty): New function, checks if the selector is empty
4399 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4400 if the current selector is empty, in order to avoid to show the dialog
4401 close the dialog in this case (and shows a g_warning).
4403 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4405 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4407 * src/hildon-pannable-area.c,
4408 (hildon_pannable_area_scroll): Added clause to stop movement when
4409 the child of pannable is smaller than one page.
4410 (hildon_pannable_area_scroll_to): Added conditions to avoid
4411 starting the scrolling movement if the child is smaller than one
4412 page, the complete child is in the screen, we do not have to move.
4414 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4416 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4418 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4419 this is managed automatically by the widget when the size of the
4422 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4424 * src/hildon-picker-button.c
4425 (hildon_picker_button_set_done_button_text): Make a copy of the
4426 text, and free the previous value.
4428 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4430 * src/hildon-touch-selector-entry.c:
4431 (hildon_touch_selector_entry_print_func): Return the selected row's
4432 text if the entry is empty.
4434 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4437 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4439 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4441 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4444 * src/hildon-check-button.h
4445 * src/hildon-check-button.c
4446 * examples/hildon-check-button-example.c:
4447 HildonCheckButton is now a new widget. 'toggled' signal added.
4449 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4451 * src/hildon-program-private.h
4452 * src/hildon-program.c (hildon_program_init)
4453 (hildon_program_finalize): Removed unused variables group_leader
4454 and name from HildonProgramPrivate.
4456 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4458 * src/hildon-check-button.c (hildon_check_button_set_active)
4459 (hildon_check_button_get_active, hildon_check_button_new): Use
4460 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4462 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4464 * src/hildon-touch-selector.h
4465 (hildon_touch_selector_set_column_attributes): added deprecation
4466 guard HILDON_DISABLE_DEPRECATED
4467 * src/hildon-time-selector.c
4468 (hildon_time_selector_set_time)
4469 (hildon_time_selector_get_time): Fixed a typo on documentation
4470 * src/hildon-touch-selector.c: update HildonTouchSelector and
4471 HildonTouchSelectorColumn documentation
4472 * src/hildon-touch-selector-entry.c: update "text-column" property
4474 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4475 to be added to the general documentation.
4477 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4479 * examples/hildon-pannable-area-example-4.c,
4481 * examples/hildon-pannable-area-example.c,
4482 (main): Modified the code in order to use the container add, with
4483 viewport treeviews could have problems if they are really big.
4485 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4487 * src/hildon-weekday-picker.c,
4488 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4489 the agreement regarding deprecation in the library.
4491 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4493 * examples/hildon-picker-button-multicolumn-example.c:
4494 (main): Use custom "done" button text.
4496 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4497 (hildon_picker_button_set_property),
4498 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4499 (hildon_picker_button_init),
4500 (+hildon_picker_button_get_done_button_text),
4501 (+hildon_picker_button_set_done_button_text): New methods to customize
4502 the "done" button label in the launched HildonPickerDialog. Also,
4505 * src/hildon-picker-button.h: add the public API.
4507 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4509 * src/hildon-date-selector.h:
4510 * src/hildon-picker-dialog.h:
4511 * src/hildon-time-selector.h:
4512 * src/hildon-touch-selector-column.h:
4513 * src/hildon-touch-selector.h:
4515 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4516 declarations. Fixes gtk-doc warnings.
4518 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4520 * src/hildon-picker-dialog.h
4521 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4522 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4524 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4525 long text is set as label for done button)
4527 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4529 * src/hildon-dialog.c (hildon_dialog_add_button):
4530 Set fixed width to all buttons in the HildonDialog.
4532 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4534 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4536 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4537 Set widget name using class name plus "-finger" or "-thumb".
4539 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4541 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4542 'clicked' when the state of the button is manually changed.
4544 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4546 * src/hildon-app-menu.c (hildon_app_menu_realize)
4547 (hildon_app_menu_unrealize, hildon_app_menu_init)
4548 (hildon_app_menu_class_init, item_visibility_changed):
4549 Change the menu layout when the size of the screen changes.
4550 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4551 Show warning only when changing the number of colums using the
4554 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4556 * debian/compat: Set to 5
4557 * debian/control: Update dependencies.
4558 * debian/libhildon1-dbg.install: Remove.
4559 * debian/libhildon1-dev.install: Update according to cdbs paths.
4560 * debian/libhildon1.install: Update according to cdbs paths.
4561 * debian/rules: Switch to cdbs.
4563 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4565 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4566 'item' variable renamed to 'filter'
4568 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4570 * src/hildon-app-menu.c (hildon_app_menu_insert)
4571 (hildon_app_menu_add_filter, remove_item_from_list)
4572 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4573 Don't leak hidden items when the menu is destroyed.
4575 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4577 * src/hildon-app-menu.c (hildon_app_menu_insert)
4578 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4579 (hildon_app_menu_set_columns, item_visibility_changed)
4580 (filter_visibility_changed, hildon_app_menu_repack_filters)
4581 (hildon_app_menu_repack_items):
4582 Repack items and filters separately.
4584 Don't repack all items, change only the ones that are needed to
4587 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4589 * src/Makefile.am: added hildon-touch-selector-column.h
4591 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4593 * src/hildon-touch-selector.c: added the property "text-column" to the
4594 class HildonTouchSelectorColumn, and related get/set functions
4595 (_default_printf_func): updated to use "text-column" property
4596 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4597 "text-column" in his documentation, as this is now included on
4598 HildonTouchSelectorColumn. The get/set_property can still be used,
4599 working as a wrapper to the concrete column "text-column" property
4600 (_text_column_modified): callback added in order to handle the signal
4601 "notify::text-column" of the concrete HildonTouchSelectorColumn
4602 (hildon_touch_selector_entry_get_text_column)
4603 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4604 modified in order to use the HildonTouchSelectorColumn "text-column"
4606 * src/hildon-time-selector.c:
4607 * src/hildon-date-selector.c:
4608 * examples/hildon-touch-selector-example.c
4609 * examples/hildon-touch-selector-multi-cells-example.c
4610 * examples/hildon-picker-button-multicolumn-example.c
4611 Set the right value to "text-column" property on the creation of a new
4612 column using hildon_touch_selector_append_column()
4614 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4616 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4618 * src/hildon-app-menu.c
4619 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4620 updating the layout of the menu, don't create all widgets again,
4621 just repack the items in their new places.
4623 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4625 * src/hildon-time-selector.c
4626 (hildon_time_selector_get_time)
4627 (hildon_time_selector_set_time)
4628 Added documentation of these public methods
4630 * src/hildon-date-button.h
4631 * src/hildon-touch-selector-column.h
4632 * src/hildon-time-button.h
4633 * src/hildon-picker-dialog.h
4634 * src/hildon-time-selector.h
4635 * src/hildon-picker-button.h
4636 * src/hildon-touch-selector.h
4637 * src/hildon-time-picker.h
4638 * src/hildon-date-selector.h
4639 * src/hildon-touch-selector-entry.h
4640 Modified in order to use hildon-widgets code style
4642 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4644 Added deprecated support to the compilation process using
4645 HILDON_DISABLE_DEPRECATED
4647 * configure.ac: Added the --disable-deprecated to the configure
4650 * src/hildon-weekday-picker.c:
4651 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4652 to use the deprecated support. We will update the other deprecated
4653 widgets status in a new patch.
4655 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4657 * configure.ac: Fixed typo with fatal warnings support, the
4658 variable name was not correct
4660 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4662 * src/hildon-app-menu.c
4663 * src/hildon-program.c: Update documentation.
4665 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4667 * configure.ac: Post-release version bump.
4669 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4674 * configure.ac: Pre-release version bump.
4675 * debian/changelog: Updates.
4677 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4679 * NEWS: Update news for previous releases.
4681 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4683 * examples/hildon-touch-selector-multi-cells-example.c:
4684 (create_selector): Update the example to use
4685 hildon_touch_selector_append_column() with a NULL renderer and set
4686 the renderers later.
4687 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4688 passed a NULL renderer. This is documented behavior now.
4690 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4691 This must be used if the developer wants full control on the layout of
4692 the renderers to be added to the column.
4694 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4696 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4698 * src/hildon-touch-selector.c: Documentation fixes.
4700 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4702 * src/hildon-wizard-dialog-private.h: Remove image and box.
4703 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4704 (hildon_wizard_dialog_set_property), (response): Completely remove
4705 image/icon support, and the containers required for the layout.
4707 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4709 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4711 * src/hildon-app-menu.c: Updated documentation.
4713 * src/hildon-stackable-window.c
4714 (hildon_stackable_window_set_main_menu): Unref the old menu after
4715 ref'ing the new one.
4717 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4719 * src/hildon-stackable-window.c
4720 (hildon_stackable_window_set_main_menu): Unref the previous menu
4721 instead of destroying it.
4723 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4724 floating reference and set has_user_ref_count to FALSE to make
4725 HildonAppMenu act like a normal ref-counted widget and not a
4728 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4731 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4733 * src/hildon-touch-selector-column.h: new file
4734 * src/hildon-touch-selector.h
4735 * src/hildon-touch-selector.c
4736 Implemented GtkCellLayout interface, in order to allow to configure
4737 the cell layout on each individual selector column
4738 (hildon_touch_selector_set_column_attributes): marked as deprecated
4739 * examples/hildon-touch-selector-multi-cells-example.c
4740 Example of how to use the GtkCellLayout interface on the selector
4742 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4744 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4746 * src/hildon-app-menu.h
4747 * src/hildon-app-menu.c
4748 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4749 (hildon_app_menu_append, hildon_app_menu_prepend):
4750 New methods to prepend, insert and move items in the menu.
4752 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4754 * src/hildon-wizard-dialog.c:
4756 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4758 (create_title): Update logical IDs and related code.
4759 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4761 * src/hildon-wizard-dialog.h: Note that
4762 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4763 point, as it is not used anymore.
4765 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4767 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4769 * src/hildon-note.c:
4770 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4771 shown. Do not display an icon in confirmation notes nor information
4773 (hildon_note_set_button_text): Update logical ID for cancel button.
4775 Fixes: NB#88850 (Update HildonNote button strings + signals)
4777 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4779 * src/hildon-stackable-window.c
4780 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4782 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4784 * src/hildon-app-menu-private.h
4785 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4786 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4787 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4788 temporary property 'columns' to change the number of columns.
4790 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4792 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4794 * examples/hildon-note-example.c: (on_information_clicked),
4795 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4796 debugging information.
4797 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4799 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4800 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4801 in order to close: this will be handled by the WM from now on.
4803 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4805 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4807 * src/hildon-app-menu-private.h
4808 * src/hildon-app-menu.c
4809 (hildon_app_menu_append, hildon_app_menu_add_filter)
4810 (button_visibility_changed, hildon_app_menu_apply_style)
4811 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4812 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4813 layout everytime a button (item or filter) is shown or hidden.
4815 * src/hildon-stackable-window.c
4816 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4819 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4821 * src/hildon-touch-selector.c:
4822 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4823 that the treeview inside the touch selector is in fremantle hildon mode
4824 * examples/hildon-date-button-example.c
4825 * examples/hildon-picker-button-multicolumn-example.c
4826 * examples/hildon-touch-selector-entry-example.c
4827 * examples/hildon-touch-selector-example.c
4828 * examples/hildon-time-button-example.c
4829 * examples/hildon-picker-button-example.c:
4830 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4832 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4834 * examples/hildon-text-view-example.c: (main): Remove the
4835 gtkrc bits, now handled by the theme.
4837 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4839 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4842 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4844 * po/Makefile.am: Install properly the mo files.
4845 * po/en_GB.po: Update translation, to ease testing purposes.
4847 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4849 * examples/hildon-picker-button-example.c: (main): Select an item
4850 in the selector before setting it to the button.
4852 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4854 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4855 Update button's value if the selector has an item active.
4857 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4858 'value' with the selector)
4860 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4862 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4863 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4864 (hildon_picker_button_class_init): Plug the finalize method.
4865 (hildon_picker_button_set_selector): If there's a previously set
4866 selector, unref'it before setting a new one.
4868 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4869 HildonTouchSelector)
4871 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4873 * src/hildon-touch-selector-entry.c:
4874 (hildon_touch_selector_entry_changed): Check if there is no text
4875 selected before setting the entry text.
4878 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4880 * src/hildon-touch-selector.h
4881 * src/hildon-touch-selector.c
4882 (hildon_touch_selector_get_active)
4883 (hildon_touch_selector_set_active): New methods to set/get the
4884 index of the selected item.
4886 * src/hildon-picker-button.h
4887 * src/hildon-picker-button.c
4888 (hildon_picker_button_get_active)
4889 (hildon_picker_button_set_active): New methods to set/get the
4890 index of the selected item.
4892 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4894 * configure.ac: post-release version bump.
4896 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4900 * configure.ac: Pre-release version bump.
4901 * debian/changelog: Updates.
4902 * debian/control: Add myself as maintainer and depend on l10n
4905 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4907 * src/hildon-window.c
4908 (hildon_window_set_main_menu)
4909 * src/hildon-stackable-window.c
4910 (hildon_stackable_window_set_main_menu):
4911 Updated documentation.
4913 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4915 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4916 Don't free selector->priv manually.
4919 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4922 (hildon_gtk_window_set_progress_indicator):
4923 * src/hildon-gtk.h: Added the new API
4924 hildon_gtk_window_set_progress_indicator, it changes the state of
4925 the window progress hint.
4927 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4929 * src/hildon-button.c
4930 * src/hildon-stackable-window.c: Minor documentation updates.
4932 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4934 * src/hildon-stackable-window.c: Updated documentation.
4936 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4938 * src/hildon-defines.h: Update margins definitions
4939 to the Fremantle sizes.
4942 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4944 * src/hildon-touch-selector.c,
4945 (_hildon_touch_selector_set_model): Cleaning the code after
4946 review, removed g_print and #if 0 from the code.
4948 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4950 * src/hildon-edit-toolbar.c: Update documentation.
4952 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4954 * src/hildon-check-button.h
4955 * src/hildon-check-button.c
4956 (hildon_check_button_set_label, hildon_check_button_get_label)
4957 * examples/hildon-check-button-example.c
4958 (button_clicked_cb):
4959 Removed deprecated methods.
4961 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4963 * src/hildon-text-view.c:
4964 Add sample code to the documentation.
4966 * src/hildon-entry.h
4967 * src/hildon-text-view.h:
4968 Minor cosmetic changes.
4970 * src/hildon-entry.c:
4971 Add sample code to the documentation.
4972 (hildon_entry_init, hildon_entry_refresh_contents):
4973 Don't allow NULL values in the placeholder.
4975 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4977 * doc/hildon-docs.sgml
4979 * examples/Makefile.am
4980 * examples/hildon-text-view-example.c
4982 * src/hildon-text-view.c
4983 * src/hildon-text-view.h
4985 New HildonTextView widget, with example.
4987 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4989 * po/POTFILES.in: Add missing files with translatable strings.
4990 Partially fixes NB#88287.
4992 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4994 * examples/hildon-pannable-area-example-2.c: (main): No need to
4995 set the cellrenderer height inside hildon touch lists, the theme does
4998 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5000 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5001 they are integrated in the theme.
5003 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5005 * examples/hildon-entry-example.c: Update the example adding
5006 widgets to modify the text and the placeholder of the HildonEntry.
5008 * src/hildon-entry.c: Show the placeholder everytime the widget
5009 is empty and loses the focus.
5011 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5013 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5015 * src/hildon-pannable-area.c,
5016 (hildon_pannable_area_size_request): Fixed bug in height
5017 requisition, avoid increasing size and add border twice.
5019 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5021 * configure.ac: postrelease version bump.
5023 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5027 * configure.ac: Prerelease version bump.
5028 * debian/changelog: update.
5029 * debian/rules: make -dbg package contain useful debugging symbols.
5031 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5033 * src/hildon-dialog.h
5034 * src/hildon-dialog.c
5035 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5036 New methods to add buttons with finger size.
5037 (hildon_dialog_new_with_buttons):
5038 Create buttons with finger size.
5040 * examples/hildon-dialog-example.c (main): Use HildonDialog
5041 methods to add buttons.
5043 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5045 * src/hildon-entry.c: Updated HildonButton documentation.
5047 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5050 button value label with (FALSE, FALSE) to prevent NB#88126 from
5053 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5055 * examples/hildon-pannable-area-example.c,
5056 (main): Removed examples panning a vbox inside a pannable
5057 area. Check bug NB#87965
5059 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5061 Patch contributed by Kris Rietveld (kris@imendio.com)
5063 * src/hildon-pannable-area.c,
5064 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5065 get_size and get_position, this saves an X server roundtrip.
5067 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5069 * doc/hildon-docs.sgml
5071 * examples/Makefile.am
5072 * examples/hildon-entry-example.c
5074 * src/hildon-entry.c
5075 * src/hildon-entry.h
5077 New HildonEntry widget, with example.
5079 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5081 * src/hildon-button.c (hildon_button_construct_child): Pack the
5082 image with expand == fill == FALSE. This is a workaround for a bug
5085 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5087 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5088 labels for the text column, to make it more look more dynamic.
5090 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5092 * src/hildon-time-selector.c
5093 Define gettext auxiliar macro N_
5094 (_create_minutes_model)
5095 (_create_hours_model)
5096 (_create_ampm_model): use of strftime in order to fill the model
5097 * src/hildon-date-selector.c
5098 (hildon_date_selector_finalize):
5099 (_locales_init): remove the logic related to get the name of the months
5100 using nl_langinfo, as it is not required anymore
5102 (_create_year_model)
5103 (_create_month_model)
5104 (_update_day_model): use of strftime in order to fill the model properly
5107 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5109 * src/hildon-button.h
5110 * src/hildon-button.c (hildon_button_get_image): New method to
5113 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5115 * src/hildon-touch-selector.c:
5116 (hildon_touch_selector_remove_column): Remove from the correct parent
5117 and also remove the list element and free it.
5120 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5122 * src/hildon-time-selector.c
5123 (_create_hours_model): change the range on 12h ampm format in order to use
5124 a 12-11 range instead of previous 01-12 range
5125 (hildon_time_selector_set_time): change the way to select the current time
5126 on 12h ampm format, due the change on the range
5127 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5130 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5132 * src/hildon-touch-selector.c
5133 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5134 in order to allow use this function on multiple row selection mode if
5135 the column is different that the first one
5138 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5140 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5141 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5143 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5145 * src/hildon-date-selector.h: clean some comments, now on the .c
5146 * src/hildon-date-selector.c
5147 (hildon_date_selector_select_month): first implementation
5148 (hildon_date_selector_select_day): added documentation, reimplemented
5149 using hildon_date_selector_select_current_date to avoid repeat code
5152 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5154 Reviewed interaction logic based on device experiences, refactored
5157 * src/hildon-pannable-area.c,
5158 (hildon_pannable_area_class_init): Updated default vmax speed.
5159 (hildon_pannable_area_calculate_velocity): Added this function, it
5160 avoids duplicate valocity calculation. Adjusted calculation to
5161 avoid problems with zero dist events.
5163 (hildon_pannable_area_motion_notify_cb): Now we use the
5164 calculate_velocity function.
5166 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5168 * src/hildon-date-selector.c
5169 (hildon_date_selector_select_current_date): fix the day range check
5170 as it failed using the last day of the current month
5173 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5175 * src/hildon-touch-selector.c
5176 (hildon_touch_selector_get_num_columns): added a parameter validation
5179 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5181 * examples/Makefile.am
5182 * examples/hildon-edit-toolbar-example.c: Example of the
5183 HildonEditToolbar widget.
5185 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5187 * configure.ac: postrelease version bump.
5189 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5193 * configure.ac: prerelease version bump.
5194 * debian/changelog: update.
5196 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5198 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5199 renderer to display stock icons in the touch list. Also, set the sizes
5200 to the recommended in the style guide.
5202 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5203 * src/hildon-touch-selector.h
5204 (hildon_touch_selector_set_active_iter): renamed, now is
5205 hildon_touch_selector_select_iter
5206 (hildon_touch_selector_get_active_iter): renamed, now is
5207 hildon_touch_selector_get_selected
5208 (hildon_touch_selector_unselect_iter): added
5209 * src/hildon-touch-selector.c
5210 Update after API modification (methods renamed)
5211 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5212 order to avoid problems selecting multiple elements on the column
5213 (hildon_touch_selector_unselect_iter): added the implementation
5214 * src/hildon-time-selector.c
5215 * src/hildon-date-selector.c
5216 * src/hildon-touch-selector-entry.c
5217 Update methods calls after hildon-touch-selector.h API modification (methods
5220 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5222 * src/hildon-stackable-window.c
5223 (hildon_stackable_window_finalize): Call the parent class's finalize.
5225 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5227 * examples/hildon-touch-selector-example.c: (create_selector): Use
5228 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5231 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5233 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5234 set a cell background color, to respect theming.
5236 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5238 * doc/hildon-docs.sgml
5241 * src/hildon-edit-toolbar.c
5242 * src/hildon-edit-toolbar.h
5243 * src/hildon.h: New HildonEditToolbar widget.
5245 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5247 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5250 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5251 * src/hildon-touch-selector.c
5252 (_create_new_column): use g_object_set instead of two g_object_set_property
5254 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5255 * src/hildon-touch-selector.c
5256 (_create_new_column): use of hildon_gtk_tree_view_new to create
5257 the treeview, instead of use directly g_object_new
5258 (_create_new_column): update the property name "vindicator-mode" for the
5259 new one "vscrollbar-policy"
5260 * examples/hildon-date-button-example.c
5261 * examples/hildon-picker-button-multicolumn-example.c
5262 * examples/hildon-touch-selector-entry-example.c
5263 * examples/hildon-touch-selector-example.c
5264 * examples/hildon-time-button-example.c
5265 * examples/hildon-picker-button-example.c
5266 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5267 to all the treeviews inside a pannable area.
5269 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5271 * src/hildon-button.h
5272 * src/hildon-button.c (hildon_button_init)
5273 (hildon_button_set_arrangement, hildon_button_set_alignment)
5274 (hildon_button_set_title_alignment)
5275 (hildon_button_set_value_alignment)
5276 (hildon_button_set_image_alignment)
5277 (hildon_button_construct_child): New methods to set the alignment
5278 of the individual components of the button (title, value,
5279 image). Also, new method to alter the xscale and yscale properties
5280 of the GtkAlignment inside the button, so more complex layouts can
5283 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5285 * src/hildon-button.c (hildon_button_style_set)
5286 (hildon_button_class_init, hildon_button_set_arrangement)
5287 (hildon_button_construct_child): Apply style properties
5288 correctly. Use the 'image-spacing' style property too.
5290 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5292 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5293 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5296 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5298 * src/hildon-pannable-area.c,
5299 (hildon_pannable_area_size_request): Fixed problem with
5300 pannable-area size_request.
5302 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5304 Added management for the grab-focus to a child widget, like a
5305 range, we need to fade out the scrollbar when releasing.
5307 * src/hildon-pannable-area.c,
5308 (hildon_pannable_area_init): Connected the grab-focus signal to
5310 (hildon_pannable_area_grab_notify): Added this function in order
5311 to manage the situation when the grab-focus ends. We have to
5312 fade-out the scrollbar.
5314 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5316 * src/hildon-app-menu.c: Minor documentation update.
5318 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5320 * src/hildon-app-menu.c
5321 * examples/hildon-app-menu-example.c (create_menu): Update
5322 examples and documentation to explain how to connect callbacks.
5324 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5326 * examples/hildon-button-example.c
5327 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5328 hildon_stackable_window_new instead of gtk_window_new
5330 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5332 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5333 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5334 (hildon_pannable_area_set_property),
5335 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5336 (hildon_pannable_area_unrealize),
5337 (hildon_pannable_area_size_request),
5338 (hildon_pannable_area_size_allocate),
5339 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5340 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5341 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5342 (hildon_pannable_area_initial_effect),
5343 (hildon_pannable_area_redraw),
5344 (hildon_pannable_area_scroll_indicator_fade),
5345 (hildon_pannable_area_expose_event),
5346 (hildon_pannable_area_get_topmost), (synth_crossing),
5347 (hildon_pannable_area_button_press_cb),
5348 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5349 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5350 (hildon_pannable_area_motion_notify_cb),
5351 (hildon_pannable_area_button_release_cb),
5352 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5353 (hildon_pannable_area_remove),
5354 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5355 chage the code layout to a more GtkWidget like. Review the use of
5358 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5360 * examples/hildon-pannable-area-example-4.c,
5361 (main): Modified the name of the hindicator_mode to
5364 * src/hildon-pannable-area.c,
5365 (hildon_pannable_area_class_init),
5366 (hildon_pannable_area_motion_notify_cb),
5367 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5368 we have reduced the amount of signals and managed reviewed its
5369 rationale. Changed the default decelerate value.
5371 (hildon_pannable_area_add),
5372 (hildon_pannable_area_redraw): Refactored functions.
5374 (hildon_pannable_area_init),
5375 (hildon_pannable_area_get_property),
5376 (hildon_pannable_area_set_property):
5377 (hildon_pannable_draw_vscroll),
5378 (hildon_pannable_draw_hscroll),
5379 (hildon_pannable_area_initial_effect),
5380 (hildon_pannable_area_expose_event),
5381 (hildon_pannable_area_scroll),
5382 (hildon_pannable_area_button_press_cb),
5383 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5384 and vindicator_mode with hscrollbar_policy and
5385 vscrollbar_policy. Replaced hscroll and vscroll with
5386 hscroll_visible and vscroll_visible.
5388 (hildon_pannable_area_refresh): Refactor the function, remove
5389 variables and check the calls to this function, added resize
5390 conditions in case the children change their layout.
5392 (hildon_pannable_area_size_request): Added more detailed
5393 size_request calculation.
5396 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5398 * src/hildon-color-chooser.c
5399 (init_borders): use the correct gtk_border_free instead of g_free, to
5400 avoid a crash when this widget is used (ie: the three color selection
5403 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5405 * src/hildon-check-button.c,
5406 (hildon_check_button_set_active): Fixed problem when setting the
5407 active value, the widget was not redrawn.
5409 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5411 * src/hildon-pannable-area.c,
5412 (hildon_pannable_area_refresh),
5413 (hildon_pannable_area_scroll),
5414 (hildon_pannable_area_motion_notify_cb): Small code style change.
5416 (hildon_pannable_area_class_init): Default initial_hint set to
5417 FALSE, it is not in the specs.
5419 (hildon_pannable_area_initial_effect),
5420 (hildon_pannable_area_expose_event),
5421 (hildon_pannable_area_map),
5422 (hildon_pannable_area_init): Moved the launching point of the
5423 initial effect, it was in map but the sizes where not correct in
5424 that method so we do not know if we have the reproduce it. Now it
5425 is placed in the expose_event method and uses a variable to
5426 reproduce it just once.
5428 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5430 * src/hildon-pannable-area.c,
5431 (hildon_pannable_draw_vscroll),
5432 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5433 position allowed for the scrollbars.
5435 (hildon_pannable_area_size_allocate): Small style change.
5437 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5439 * src/hildon-pannable-area.c,
5440 (hildon_pannable_area_scroll_indicator_fade),
5441 (hildon_pannable_area_button_press_cb),
5442 (hildon_pannable_area_button_release_cb),
5443 (hildon_pannable_area_scroll_cb),
5444 (hildon_pannable_area_expose_event),
5445 (hildon_pannable_area_init): Added the define parameter
5446 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5447 and refactor the fade variable.
5449 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5451 * src/hildon-pannable-area.c,
5452 (hildon_pannable_area_redraw),
5453 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5454 lines, we were reimplemeting the redraw code.
5456 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5458 * src/hildon-pannable-area.c,
5459 (hildon_pannable_area_scroll_cb),
5460 (hildon_pannable_area_realize),
5461 (hildon_pannable_area_class_init): Added scroll_event management
5462 for pannable area, now we can scroll the usual desktop method.
5464 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5465 initialization of the parameters should depend on idle_id.
5467 (hildon_pannable_area_init),
5468 (hildon_pannable_area_map): Small code style modifications
5470 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5472 * src/hildon-pannable-area.c
5473 (hildon_pannable_area_button_press_cb),
5474 (hildon_pannable_area_motion_notify_cb),
5475 (hildon_pannable_area_button_release_cb),
5476 (hildon_pannable_area_size_allocate),
5477 (hildon_pannable_area_scroll_to): Improved the timeouts
5478 management, we avoid creating them each time.
5480 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5482 * src/hildon-pannable-area.c:
5483 (hildon_pannable_area_refresh),
5484 (hildon_pannable_area_motion_notify_cb),
5485 (hildon_pannable_area_class_init):
5486 * src/hildon-pannable-area.h:
5487 * src/hildon-touch-selector.c
5488 (_create_new_column):
5489 * examples/hildon-pannable-area-example-4.c:
5490 (horizontal_movement),
5491 (vertical_movement),
5493 Replaced the names of enums in the HildonPannableArea:
5494 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5495 HILDON_MOVEMENT_MODE_*
5496 - HILDON_PANNABLE_AREA_MOV_* ->
5498 - Removed HildonPannableAreaIndicatorMode, now we
5501 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5503 * examples/hildon-pannable-area-touch-grid-example.c
5504 * examples/hildon-pannable-area-touch-list-example.c: Fix
5505 compilation warnings.
5507 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5509 * src/hildon-gtk.c (hildon_gtk_button_new)
5510 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5511 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5512 images overriding the value of the "gtk-button-images" setting.
5514 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5516 * src/hildon-check-button.c (hildon_check_button_new):
5517 Instead of using a custom container, display the label and the
5518 checkbox using the standard GtkButton API.
5520 * examples/hildon-check-button-example.c (main): Don't use
5521 hildon_check_button_set_label() anymore
5523 * src/hildon-check-button.h
5524 * src/hildon-check-button.c
5525 (hildon_check_button_set_label, hildon_check_button_get_label):
5526 Set as deprecated, now we're using gtk_button_{get,set}_label()
5528 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5530 * src/hildon-pannable-area.c,
5531 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5532 GtkTreeview first line we detected it after the inclusion of the
5533 GtkWindowImpl in gtk+. We now check if the window is visible, not
5534 just if the pointer is over the window.
5535 (hildon_pannable_axis_scroll),
5536 (hildon_pannable_area_expose_event): Small style changes.
5538 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5540 * src/hildon-button.c: Update documentation.
5542 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5544 * examples/hildon-button-example.c: Add a switch to show images in
5547 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5549 * doc/hildon-docs.sgml: Some docs reorganization.
5551 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5553 * examples/hildon-pannable-area-touch-list-example.c
5555 * examples/hildon-pannable-area-touch-grid-example.c
5556 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5557 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5558 Fix memory leak when setting the tree model.
5560 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5564 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5566 * doc/hildon.types: Remove duplicated hildon_window_get_type
5567 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5568 documentation comment.
5570 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5572 * doc/Makefile.am: Complete list of private headers.
5574 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5576 * doc/hildon-docs.sgml
5577 * src/hildon-app-menu.c
5578 * src/hildon-bread-crumb.c
5579 * src/hildon-button.c
5581 * src/hildon-program.c
5582 * src/hildon-stackable-window.c
5583 * src/hildon-window.c: Lots of documentation updates.
5585 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5587 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5589 * configure.ac: Require Gtk+ 2.12.9 at least
5591 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5593 * src/hildon-pannable-area.c
5594 (hildon_pannable_area_scroll_indicator_fade),
5595 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5596 to protect the return of this timeout callbacks, avoiding deadlocks.
5598 2008-08-12 Christian Dywan <christian@imendio.com>
5601 * src/hildon-*.h: Ensure a consistent include order,
5602 include <gtk/gtk.h> instead of particular files and
5603 only include the topmost header in the gtk stack. See NB #39857
5605 2008-08-12 Christian Dywan <christian@imendio.com>
5607 * src/hildon-picker-dialog.c
5608 * src/hildon-touch-selector.c: Fix warnings about unused and
5609 uninitialized variables.
5611 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5613 * examples/Makefile.am
5614 * examples/hildon-check-button-example.c: Example of the hildon
5617 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5619 * src/hildon-window.h
5620 * src/hildon-window.c (hildon_window_class_init)
5621 (hildon_window_unset_program): Don't make
5622 hildon_window_unset_program a virtual function anymore.
5624 * src/hildon-stackable-window.c: Update documentation
5626 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5629 * doc/hildon-docs.sgml
5630 * doc/visual_index.xml
5631 * src/hildon-defines.c
5633 * src/hildon-helper.c
5634 * src/hildon-range-editor.c: Lots of documentation fixes.
5636 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5638 * examples/hildon-picker-button-multicolumn-example.c
5639 (create_touch_selector): Fix compilation warning.
5641 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5643 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5644 (hildon_pannable_area_button_release_cb)
5645 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5647 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5649 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5652 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5654 * src/hildon-bread-crumb-trail.h
5655 * src/hildon-date-editor.c
5656 * src/hildon-date-selector.c
5657 * src/hildon-pannable-area.c
5658 * src/hildon-picker-dialog.c
5659 * src/hildon-time-selector.c
5660 * src/hildon-touch-selector-entry.c
5661 * src/hildon-touch-selector.c
5662 * src/hildon-touch-selector.h: Misc documentation fixes
5664 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5666 * examples/hildon-date-editor-example.c (main): Updated date
5669 * examples/hildon-note-example.c (on_confirmation_clicked):
5670 Updated confirmation note example.
5672 * src/hildon-date-editor.c
5673 * src/hildon-note.c: Updated sample programs in documentation.
5676 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5678 * src/hildon-date-button.h:
5679 * src/hildon-picker-button.h:
5680 * src/hildon-time-button.c:
5681 * src/hildon-time-button.h:
5683 Some declarations changes to allow gtk-doc to document the widgets
5686 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5688 * src/hildon-date-button.c: Document the widget.
5689 * src/hildon-time-button.c: Document the widget.
5691 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5693 * src/hildon-picker-button.c: Document the widget.
5694 * src/hildon-touch-selector-entry.c: Document the widget.
5696 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5698 * doc/hildon-docs.sgml
5701 * src/hildon-check-button.h
5702 * src/hildon-check-button.c: New functions to create the Hildon
5706 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5708 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5710 * src/hildon-button.h
5711 * src/hildon-button.c
5712 (hildon_button_add_title_size_group)
5713 (hildon_button_add_value_size_group)
5714 (hildon_button_add_image_size_group)
5715 (hildon_button_add_size_groups): New functions to set size groups
5716 for the button labels and image.
5717 (hildon_button_new_full): Removed
5719 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5721 * src/hildon-time-selector.c
5722 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5723 in order to avoid a crash if gconf is not available
5725 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5727 * src/hildon-button.c (hildon_button_set_arrangement)
5728 (hildon_button_construct_child): Don't construct the button child
5729 before setting the arrangement.
5731 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5733 * src/hildon-program-private.h
5734 * src/hildon-program.c
5735 * src/hildon-program.h
5736 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5737 (hildon_program_peek_window_stack)
5738 (hildon_program_pop_window_stack)
5739 (hildon_program_go_to_root_window): HildonProgram now has a
5740 separate list for stackable windows. Functions are provided to
5741 manage that list with a stack-like API.
5743 * src/hildon-stackable-window.c: Stackable window management is
5744 now much simpler with the new HildonProgram API. Windows no
5745 longer need to be manually added to the program, they're
5746 automatically pushed to the top of the stack when shown.
5748 * examples/hildon-stackable-window-example.c: Updated example to
5749 reflect the API changes.
5751 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5753 * src/hildon-touch-selector.c: Comment out unimplemented
5754 hildon_touch_selector_insert_column() to avoid a compile warning.
5756 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5758 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5759 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5760 (hildon_touch_selector_set_column_selection_mode),
5761 (_hildon_touch_selector_set_model),
5762 (hildon_touch_selector_set_model):
5764 Complete review of HildonTouchSelector documentation.
5766 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5768 * doc/hildon-docs.sgml
5772 * src/hildon-gtk.c: Convenience functions for standard Gtk
5773 widgets, used to easily perform frequent operations.
5775 * src/hildon-button-helpers.h
5776 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5778 * src/hildon-helper.h
5779 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5780 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5782 * src/hildon-button.h
5783 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5785 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5787 * src/hildon-button.c (hildon_button_init)
5788 (hildon_button_set_arrangement, hildon_button_construct_child):
5789 Pack the image and the labels inside the same GtkAlignment so
5790 gtk_button_set_alignment() can be used
5792 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5794 * src/hildon-button.h
5795 * src/hildon-button.c
5796 (hildon_button_init, hildon_button_set_image)
5797 (hildon_button_set_image_position)
5798 (hildon_button_construct_child): New functions to add an image to
5801 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5803 * src/hildon-date-button.c
5804 * src/hildon-picker-button.c
5805 * src/hildon-time-button.c
5806 * src/hildon-button.c:
5807 (hildon_button_class_init): "size-flags" renamed to "size"
5808 (hildon_button_set_title): Hide the title label if set to NULL.
5810 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5812 HildonButtonFlags split into HildonButtonArrangement (to set the
5813 button layout) and HildonSizeType (which can be used for any
5816 * src/hildon-button.h
5817 * src/hildon-button.c
5818 (hildon_button_class_init)
5819 (hildon_button_set_arrangement)
5820 (hildon_button_set_property): New "size-flags"
5821 property. "arrangement-flags" renamed to "arrangement".
5822 (hildon_button_new, hildon_button_new_with_text)
5823 (hildon_button_new_full): Constructors updated to reflect type changes.
5825 * src/hildon-helper.h
5826 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5827 to set the size of a widget.
5831 * src/hildon-button-helpers.c
5832 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5834 * src/hildon-date-button.c
5835 * src/hildon-date-button.h
5836 * src/hildon-picker-button.c
5837 * src/hildon-picker-button.h
5838 * src/hildon-time-button.c
5839 * src/hildon-time-button.h: Updated widgets to reflect
5840 HildonButton API changes.
5842 * examples/hildon-button-example.c
5843 * examples/hildon-date-button-example.c
5844 * examples/hildon-picker-button-example.c
5845 * examples/hildon-picker-button-multicolumn-example.c
5846 * examples/hildon-time-button-example.c
5847 * examples/hildon-touch-selector-entry-example.c
5848 * examples/hildon-touch-selector-example.c: Updated examples to
5849 reflect HildonButton API changes.
5851 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5853 * doc/hildon-docs.sgml:
5855 * examples/Makefile.am:
5856 * examples/hildon-touch-selector-entry-example.c:
5858 * src/hildon-touch-selector-entry.c:
5859 * src/hildon-touch-selector-entry.h:
5862 Moved HildonTouchSelectorEntry from sandbox. Added its
5863 documentation and examples.
5865 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5867 * src/hildon-touch-selector.h:
5868 * examples/hildon-picker-button-multicolumn-example.c:
5869 (hildon_touch_selector_append_text_column): Add a gboolean
5870 parameter to determine if text must be centered in the column.
5872 * src/hildon-date-selector.c: (hildon_date_selector_init):
5873 * src/hildon-time-selector.c: (hildon_time_selector_init):
5874 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5875 (create_touch_selector): Update widgets and example to reflect
5878 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5880 * src/hildon-touch-selector.c:
5881 (hildon_touch_selector_set_active_iter): Set also the cursor in
5884 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5886 * doc/hildon-docs.sgml
5889 * src/hildon-toggle-button.c
5890 * src/hildon-toggle-button.h
5891 * src/hildon.h: Removed HildonToggleButton widget, a derived
5892 class is not necessary for this.
5894 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5896 * src/hildon-pannable-area.c,
5897 (hildon_pannable_area_realize),
5898 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5901 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5903 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5904 "done" button the default widget for the dialog.
5906 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5908 * src/hildon-touch-selector.c:
5909 (hildon_touch_selector_class_init),
5910 (hildon_touch_selector_get_property),
5911 (_hildon_touch_selector_set_model),
5912 (_hildon_touch_selector_has_multiple_selection),
5913 (hildon_touch_selector_has_multiple_selection):
5914 Add a "has-multiple-selection" property with a virtual
5915 has_multiple_selection() method to allow derived classes to
5916 override the default value for it. See the method and property
5917 documentation for details.
5919 * src/hildon-touch-selector.h: Add the new API.
5921 * src/hildon-picker-dialog.c: (requires_done_button): Call
5922 hildon_touch_selector_has_multiple_selection() instead of
5923 determining the need for a button itself.
5925 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5927 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5928 (_hildon_touch_selector_set_model),
5929 (hildon_touch_selector_set_model): Move working code to
5930 _hildon_touch_selector_set_mode(). Call the class method instead.
5932 * src/hildon-touch-selector.h: Add (*set_model) to
5933 HildonTouchSelectorClass.
5935 Make hildon_touch_selector_set_model() a virtual method, so that
5936 derived classes can extend it and do fancy stuff with the model.
5938 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5940 * configure.ac: Set back the tarname in AC_INIT to hildon.
5942 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5946 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5947 instead of libesd (NB#86876). Volume handling is still an open issue.
5949 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5952 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5954 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5955 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5956 derived class to ease placement of an entry widget in
5957 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5958 end, where the selector columns are packed now.
5960 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5962 * src/hildon-picker-button.c: Removed the simple _text() API.
5963 * src/hildon-picker-button.h: Likewise.
5965 * src/hildon-touch-selector.h:
5966 * src/hildon-touch-selector.c:
5967 (hildon_touch_selector_new_text),
5968 (hildon_touch_selector_append_text),
5969 (hildon_touch_selector_prepend_text),
5970 (hildon_touch_selector_insert_text):
5972 Moved the simple _text() API from HildonPickerButton to
5973 HildonTouchPicker, to provide better escalability and not to tie
5974 that API to HildonPickerButton.
5976 * examples/hildon-picker-button-example.c: (main): Example updated.
5978 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5980 * src/hildon-button.c: Updated documentation.
5982 * examples/hildon-button-example.c: Add the posibility to create
5983 the buttons using horizontal layout for title and value.
5985 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5987 * src/hildon-app-menu-private.h
5988 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5989 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5990 GtkSizeGroup for the filters, use the 'homogeneous' property of
5993 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5995 * examples/hildon-button-example.c: Updated example.
5997 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5999 * doc/hildon-docs.sgml:
6002 Update documentation.
6004 * examples/Makefile.am: Update renamed examples.
6006 * examples/hildon-picker-button-multicolumn-example.c:
6007 (create_touch_selector), (main): Update after the rename.
6009 * examples/hildon-touch-picker-example.c: Removed.
6010 * examples/hildon-touch-selector-example.c: (value_changed),
6011 (create_selector), (get_visible_content), (main): Renamed from
6012 hildon-touch-picker-example.c
6014 * src/Makefile.am: Updated renamed files.
6016 * src/hildon-date-button.c: (hildon_date_button_init),
6017 (hildon_date_button_get_date), (hildon_date_button_set_date):
6018 * src/hildon-date-selector.c: (hildon_date_selector_init),
6019 (_custom_print_func), (_update_day_model),
6020 (_manage_selector_change_cb),
6021 (hildon_date_selector_select_current_date),
6022 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6023 * src/hildon-date-selector.h:
6024 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6025 (hildon_picker_button_set_property),
6026 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6027 (hildon_picker_button_init), (hildon_picker_button_new_text),
6028 (hildon_picker_button_append_text),
6029 (hildon_picker_button_prepend_text),
6030 (hildon_picker_button_insert_text),
6031 (hildon_picker_button_set_selector),
6032 (hildon_picker_button_get_selector):
6033 * src/hildon-picker-button.h:
6034 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6035 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6036 (_update_title_on_selector_changed_cb), (requires_done_button),
6037 (_hildon_picker_dialog_set_selector),
6038 (hildon_picker_dialog_set_selector),
6039 (hildon_picker_dialog_get_selector):
6040 * src/hildon-picker-dialog.h:
6041 * src/hildon-time-button.c: (hildon_time_button_init),
6042 (hildon_time_button_get_time), (hildon_time_button_set_time):
6043 * src/hildon-time-selector.c: (hildon_time_selector_init),
6044 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6045 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6046 * src/hildon-time-selector.h:
6049 Massive code updates after the rename.
6051 * src/hildon-touch-picker.c: Removed.
6052 * src/hildon-touch-picker.h: Removed.
6054 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6055 (hildon_touch_selector_init), (hildon_touch_selector_map),
6056 (hildon_touch_selector_remove), (_default_print_func),
6057 (_selection_changed_cb), (_create_new_column),
6058 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6059 (hildon_touch_selector_append_text_column),
6060 (hildon_touch_selector_remove_column),
6061 (hildon_touch_selector_set_column_attributes),
6062 (hildon_touch_selector_insert_column),
6063 (hildon_touch_selector_get_num_columns),
6064 (hildon_touch_selector_get_column_selection_mode),
6065 (hildon_touch_selector_set_column_selection_mode),
6066 (hildon_touch_selector_set_print_func),
6067 (hildon_touch_selector_get_print_func),
6068 (hildon_touch_selector_get_active_iter),
6069 (hildon_touch_selector_set_active_iter),
6070 (hildon_touch_selector_get_selected_rows),
6071 (hildon_touch_selector_get_model),
6072 (hildon_touch_selector_set_model),
6073 (hildon_touch_selector_get_current_text),
6074 (_hildon_touch_selector_center_on_selected_items):
6075 * src/hildon-touch-selector.h: Renamed from
6076 hildon-touch-picker.[ch]
6078 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6079 references, code examples, and related documentation.
6081 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6083 * doc/hildon-docs.sgml
6086 * src/hildon-toggle-button.c
6087 * src/hildon-toggle-button.h
6088 * src/hildon.h: New HildonToggleButton widget.
6090 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6092 * src/hildon-button.c: Add API documentation.
6093 (hildon_button_set_size_groups): Check input parameters
6095 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6097 * src/hildon-pannable-area.c
6098 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6099 effect after reaching the movement thredshold. This way we start
6100 using the distance after passing the thredshold.
6102 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6104 * src/hildon-button.c: (hildon_button_set_property): Use the
6105 appropriate g_value_get_flags() method.
6107 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6109 * doc/hildon-docs.sgml:
6112 Add the touch pickers, picker dialogs, and picker button widgets
6113 to the documentation.
6115 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6117 * src/hildon-button.c: (hildon_button_set_property),
6118 (hildon_button_class_init): Make "arrangement-flags" a proper
6119 G_TYPE_FLAGS derived property.
6121 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6123 * examples/Makefile.am: Add below examples.
6124 * examples/hildon-date-button-example.c:
6125 * examples/hildon-picker-button-example.c:
6126 * examples/hildon-picker-button-multicolumn-example.c:
6127 * examples/hildon-time-button-example.c:
6128 * examples/hildon-touch-picker-example.c:
6130 Add examples for the recently added touch pickers,
6131 picker dialogs, and picker button widgets.
6133 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6135 * src/hildon-button.c: Add some API documentation
6137 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6139 * src/hildon-button.h
6140 * src/hildon-button.c
6142 (hildon_button_new_with_text): New constructor to create a button
6143 with no text at all.
6144 (hildon_button_init, hildon_button_set_arrangement)
6145 (hildon_button_set_title, hildon_button_set_value)
6146 (hildon_button_set_text)
6147 (hildon_button_construct_child): Hide the value when it's not used
6148 so the rest of the text is properly aligned.
6149 Allow creating buttons with arbitrary widgets inside (not just
6150 title/value labels).
6152 * examples/hildon-button-example.c (vertical_buttons_window)
6153 (horizontal_buttons_window): Update example to use new API.
6155 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6157 * src/Makefile.am: Added HildonTimeButton.
6158 * src/hildon-time-button.c: Added missing LGPL header.
6159 * src/hildon-time-button.h: Added missing LGPL header.
6160 * src/hildon.h: Add hildon-time-button.h
6162 Copied HildonTimeButton from sandbox to trunk. Future work on this
6163 widget must take place in trunk.
6165 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6167 * src/Makefile.am: Added HildonDateButton.
6168 * src/hildon-date-button.c: Update includes.
6169 * src/hildon.h: Add hildon-date-button.h
6171 Copied HildonDateButton from sandbox to trunk. Future work on this
6172 widget must take place in trunk.
6174 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6176 * src/Makefile.am: Added HildonPickerButton.
6177 * src/hildon-picker-button.h: Update includes.
6178 * src/hildon.h: Add hildon-picker-button.h
6180 Copied HildonPickerButton from sandbox to trunk. Future work on
6181 this widget must take place in trunk.
6183 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6185 * src/Makefile.am: Added HildonPickerDialog.
6186 * src/hildon-picker-dialog.c: Update includes.
6187 * src/hildon.h: Add hildon-picker-dialog.h
6189 Copied HildonPickerDialog from sandbox to trunk. Future work
6190 on this widget must take place in trunk.
6192 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6194 * src/Makefile.am: Added HildonTimeSelector.
6195 * src/hildon.h: Add hildon-time-selector.h
6197 Copied HildonTimeSelector widget from sandbox to trunk. Future
6198 work on this widget must happen in trunk.
6200 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6202 * src/Makefile.am: Added HildonDateSelector.
6203 * src/hildon.h: Add hildon-date-selector.h
6205 Copied HildonDateSelector widget from sandbox to trunk. Future
6206 work on this widget must happen in trunk.
6208 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6210 * src/Makefile.am: Added HildonTouchPicker.
6211 * src/hildon-touch-picker.c: Update includes.
6212 * src/hildon.h: Add hildon-touch-picker.h
6214 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6215 on this widget must happen in trunk.
6217 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6219 * src/hildon-pannable-area.c:
6220 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6222 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6224 * examples/hildon-app-menu-example.c (main): Let the window
6227 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6229 * src/hildon-pannable-area.c
6230 (hildon_pannable_area_class_init): Set the min value of the
6231 overshoot properties to zero, which points out that not
6232 overshooting allowed.
6234 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6236 Modified the procedure to get the widget at a point inside the
6237 pannable area when using the movement type signals. Now the user
6238 has to call a function to get the child, that way we just
6239 calculate the child in case the user really want to use it and not
6242 * src/hildon-marshalers.list: Modified the marshallers, now we do
6243 not have the widget as a parameter.
6245 * src/hildon-pannable-area.c
6246 (hildon_pannable_area_motion_notify_cb),
6247 (hildon_pannable_area_class_init),
6248 (hildon_pannable_get_child_widget_at): Removed the widget
6249 parameter from the signal callback. We have also refactored the
6250 emission of the signals.
6252 * src/hildon-pannable-area.h: Added a new method to the API to
6253 calculate a widget at a point inside the pannable area,
6254 hildon_pannable_get_child_widget_at.
6256 * examples/hildon-pannable-area-example-4.c
6257 (horizontal_movement): Modified the example to use the new API,
6258 added condition to control which widget is under the event. This
6259 way we can avoid scrolling laterally over other widgets.
6261 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6263 * src/hildon-pannable-area.c
6264 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6265 modes, we stop getting the pointer events due to returning the
6266 callback without properly calling the get pointer again. Fixed
6267 also an error using the hscroll and vscroll.
6269 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6271 * src/hildon-app-menu-private.h
6272 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6273 (hildon_app_menu_button_release, hildon_app_menu_init)
6274 (hildon_app_menu_class_init): Don't hide the menu on button
6275 release if the user didn't press outside first.
6277 * src/hildon-window.h
6278 * src/hildon-window.c (hildon_window_toggle_menu)
6279 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6280 hildon_window_toggle_menu a virtual function for the stackable
6281 window to override it.
6283 * src/hildon-stackable-window.h
6284 * src/hildon-stackable-window-private.h
6285 * src/hildon-stackable-window.c
6286 (hildon_stackable_window_realize)
6287 (hildon_stackable_window_finalize)
6288 (hildon_stackable_window_class_init)
6289 (hildon_stackable_window_init)
6290 (hildon_stackable_window_set_main_menu): New function to set the
6291 app menu of a HildonStackableWindow.
6293 * examples/hildon-app-menu-example.c: Remove the button to show
6294 the app menu, now it'll be shown when clicking on the title bar
6297 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6299 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6300 set the widget name if the arrangement flags do not specify
6303 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6305 * src/hildon-button.c: (hildon_button_set_property),
6306 (hildon_button_class_init), (hildon_button_new_full),
6307 (hildon_button_set_arrangement): Added "arrangement-flags"
6310 Make the HildonButtonFlags a construction-only property, to allow
6311 subclasses to set them properly.
6313 2008-07-21 Tim Janik <timj@imendio.com>
6315 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6316 insertion position after backspace, so additional digits are appended,
6319 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6321 * src/hildon-pannable-area.c,
6322 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6323 TODO list, it was complete and removed the g_debug and g_print
6326 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6328 Added the movement modes to the hildon-pannable-area, with this
6329 modes the developers can control in which directions the widget
6330 can scroll. They can also connect to signals in order to do
6331 something when that happens, allowing applications scroll. There
6332 is an example uploaded showing how to use it.
6334 * examples/Makefile.am:
6335 * examples/hildon-pannable-area-example-4.c: Added this example of
6336 an application using the modes.
6338 * src/hildon-marshalers.list: Added a new marshaller for the new
6341 * src/hildon-pannable-area.h: Added new enumerations and flags in
6342 order to control the movement modes and the new signals to warn
6343 about the movements in the area.
6345 * src/hildon-pannable-area.c:
6346 (hildon_pannable_axis_scroll),
6347 (hildon_pannable_area_scroll),
6348 (hildon_pannable_area_motion_notify_cb),
6349 (hildon_pannable_area_get_property),
6350 (hildon_pannable_area_set_property),
6351 (hildon_pannable_area_map),
6352 (hildon_pannable_area_class_init),
6353 (hildon_pannable_area_init),
6354 (hildon_pannable_area_jump_to): Added the modes to control the
6355 movement in the widget. We have added properties to control it,
6356 signals to warn about the movements and refactored some code.
6358 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6360 Changes required in order to allow vfast_factor set to zero to
6363 * src/hildon-pannable-area.c:
6364 (hildon_pannable_area_button_press_cb): Changed the condition, it
6365 is required for not allowing click when vfast_factor is zero.
6366 (hildon_pannable_area_timeout): Initialized velocity variables
6367 when we stop moving, it was less than 1 but not zero and we need
6368 to check zero in some situations.
6369 (hildon_pannable_area_class_init): Changed the default value of
6370 the speed factor, now the button_press is just sent in case the
6371 speed is 2 per cent of the max speed.
6372 (hildon_pannable_area_init): Initialization with 0.
6374 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6376 * src/hildon-pannable-area.c,
6377 (hildon_pannable_area_get_topmost): replaced
6378 gdk_window_get_children with gdk_window_peek_children, this way we
6379 do not have to free the list because it is not a copy.
6381 (hildon_pannable_axis_scroll),
6382 (hildon_pannable_area_scroll),
6383 (hildon_pannable_area_timeout),
6384 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6385 two parameters that were only used inside the
6386 hildon_pannable_area_scroll function.
6388 * examples/hildon-pannable-area-example.c,
6389 (get_sawtooth_label): Fixed small memory leak.
6391 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6393 More checks for the case where the overshoot is bigger than the
6396 * src/hildon-pannable-area.c:
6397 (hildon_pannable_draw_vscroll),
6398 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6399 to draw the slider of the scrollbar under the other scrollbar.
6400 (hildon_pannable_area_expose_event): added new checks to control
6401 the drawing of the overshooting area rectangle, in case it is too
6402 big for the area of the widget.
6403 (hildon_pannable_area_size_allocate): add more checks to avoid
6404 setting a position to the child widget outside the area.
6406 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6408 * src/hildon-pannable-area.c
6409 (hildon_pannable_area_size_allocate): Added conditions to control
6410 when overshooting is bigger than the allocated space for the
6411 children, this avoids negative allocations.
6413 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6415 * doc/hildon-docs.sgml
6417 * examples/Makefile.am
6418 * examples/hildon-button-example.c
6420 * src/hildon-button.c
6421 * src/hildon-button.h
6422 * src/hildon.h: Initial version of the new HildonButton widget,
6425 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6427 * src/hildon-pannable-area.c:
6428 (hildon_pannable_area_button_press_cb),
6429 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6430 (hildon_pannable_area_motion_notify_cb),
6431 (hildon_pannable_area_button_release_cb),
6432 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6433 (hildon_pannable_area_jump_to_child):
6435 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6437 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6439 * examples/Makefile.am
6440 * examples/hildon-pannable-area-touch-grid-example.c
6441 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6442 the Hildon Touch List and Hildon Touch Grid using the
6443 HildonPannableArea widget.
6445 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6447 * src/hildon-pannable-area.c,
6448 (hildon_pannable_area_button_press_cb),
6449 (hildon_pannable_area_refresh),
6450 (hildon_pannable_area_scroll),
6451 (hildon_pannable_area_motion_notify_cb),
6452 (hildon_pannable_area_button_release_cb),
6453 (hildon_pannable_area_expose_event),
6454 (hildon_pannable_area_add),
6455 (hildon_pannable_area_remove),
6456 (hildon_pannable_area_realize),
6457 (hildon_pannable_area_size_allocate),
6458 (hildon_pannable_area_class_init),
6459 (hildon_pannable_area_init),
6460 (hildon_pannable_area_scroll_to_child),
6461 (hildon_pannable_area_jump_to_child): Fixed the problem of
6462 removing the child from the GtkBin, we have rearranged the widget
6463 hierarchy, now there is no GtkAlignment which was not doing
6464 anything interesting but breaking some of the assumptions of
6465 GtkContainer. Now developers if they want to add a GtkAlignment
6466 they could, but it is not inside the area.
6468 We had to review the whole allocation/expose process, now it is
6469 improved and we save at least three signals which would be saving
6470 some time when rendering the widget. The allocation of the
6471 scrollbars is now made in the allocate method as usual.
6473 We have also added some conditions in order to control when there
6474 is no child of the pannable area. Maybe we will need more work
6477 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6479 * src/hildon-pannable-area.c,
6480 (hildon_pannable_area_dispose): Released the fade-out timeout when
6481 disposing the widget.
6483 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6485 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6486 zero, we are going to use that property in order to deactivate the
6488 (hildon_pannable_axis_scroll),
6489 (hildon_pannable_area_size_allocate): Added conditions to control
6490 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6491 call, now it is called in all situations and we can remove calls
6492 in the allocate method.
6493 (hildon_pannable_area_map): Control the situation when
6494 overshoot_max is zero, we do not need the timeout.
6495 (hildon_pannable_area_class_init): Added documentation in order to
6496 point out that setting zero to overshoot_max means deactivate
6499 NOTE: removed trailing whitespaces from my previous comments of
6502 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6504 * src/hildon-pannable-area.c
6505 (hildon_pannable_area_get_property),
6506 (hildon_pannable_area_set_property),
6507 (hildon_pannable_area_map),
6508 (hildon_pannable_area_class_init),
6509 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6510 to cause the widget give a hint about its panning abilities upon
6513 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6515 * src/hildon-pannable-area.c: Several documentation improvements.
6517 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6519 * src/hildon-program.c
6520 * src/hildon-stackable-window.c: Update documentation.
6522 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6524 * src/hildon-stackable-window.c (get_previous_window_if_last):
6525 Renamed get_last_window()
6526 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6527 (hildon_stackable_window_unset_program):
6529 (get_previous_window_if_last):
6530 Detect if the window hasn't been added to a HildonProgram.
6532 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6534 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6536 * src/hildon-pannable-area.c
6537 (hildon_pannable_area_button_press_cb),
6538 (hildon_pannable_axis_scroll),
6539 (hildon_pannable_area_scroll),
6540 (hildon_pannable_area_timeout),
6541 (hildon_pannable_calculate_vel_factor),
6542 (hildon_pannable_area_get_property),
6543 (hildon_pannable_area_set_property),
6544 (hildon_pannable_area_class_init),
6545 (hildon_pannable_area_init),
6546 (hildon_pannable_area_scroll_to),
6547 (hildon_pannable_area_jump_to),
6548 (hildon_pannable_area_scroll_to_child),
6549 (hildon_pannable_area_jump_to_child):
6550 * src/hildon-pannable-area.h: Added the new API functions:
6551 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6552 hildon_pannable_area_scroll_to_child,
6553 hildon_pannable_area_jump_to_child
6556 * examples/Makefile.am
6557 * examples/hildon-pannable-area-example-2.c
6558 * examples/hildon-pannable-area-example-3.c: Added these two new
6559 examples in order to test and show how the new APIs work.
6561 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6563 * examples/hildon-stackable-window-example.c (new_window):
6564 * src/Makefile.am (noinst_HEADERS):
6565 * src/hildon-program.c (hildon_program_go_to_root_window):
6566 * src/hildon-program.h:
6567 * src/hildon-stackable-window-private.h:
6568 * src/hildon-stackable-window.c:
6569 * src/hildon-stackable-window.h:
6570 Create hildon-stackable-window-private.h
6571 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6573 * examples/hildon-app-menu-example.c (create_menu):
6574 * examples/hildon-hvolumebar-insensitive-example.c (main):
6575 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6576 * examples/hildon-toolbar-seekbar-example.c (main):
6577 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6578 * src/hildon-banner.c (hildon_banner_set_property):
6579 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6580 Fix compilation warnings
6582 * src/hildon-window.c:
6585 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6587 * src/hildon-stackable-window.c
6588 (hildon_stackable_window_unset_program):
6589 Calculate correctly whether to show the previous window if the
6590 last one is removed from the stack.
6591 (hildon_stackable_window_go_to_root_window):
6592 Send delete events starting from the topmost window.
6593 Stop if one of the windows is not destroyed.
6595 (hildon_stackable_window_delete_event)
6596 (hildon_stackable_window_class_init):
6597 Ignore the delete event if the window is not the topmost one.
6599 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6601 * src/hildon-pannable-area.c
6602 (hildon_pannable_area_expose_event): Fixed a problem when
6603 selecting the background color of the scrollbars.
6605 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6607 * examples/hildon-stackable-window-example.c
6608 * src/hildon-stackable-window.c
6609 * src/hildon-stackable-window.h
6610 hildon_stackable_window_go_home() renamed to
6611 hildon_stackable_window_go_to_root_window()
6612 Send delete events to windows rather than closing them with
6613 gtk_widget_destroy()
6615 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6617 * src/hildon-pannable-area.c
6618 (hildon_pannable_area_button_release_cb): Fix overshooting in
6621 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6623 * src/hildon-pannable-area.c
6624 (hildon_pannable_area_init): Initially show the scroll indicators.
6625 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6627 Add initial effect showing the widget is pannable.
6629 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6631 * src/hildon-pannable-area.c
6632 (hildon_pannable_area_class_init)
6633 (hildon_pannable_area_set_property)
6634 (hildon_pannable_area_get_property)
6635 (hildon_pannable_area_button_press_cb):
6636 New 'velocity_fast_factor' property to decide which velocity is
6639 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6641 * src/hildon-pannable-area.c
6642 (hildon_pannable_draw_hscroll)
6643 (hildon_pannable_draw_vscroll):
6644 Use float variables to calculate the size of the scrollbars to
6645 avoid error propagation and resizing during scrolling.
6647 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6649 * src/hildon-pannable-area.c
6650 (hildon_pannable_draw_vscroll)
6651 (hildon_pannable_draw_hscroll):
6652 Define a minimum size for the scroll bars
6654 * src/hildon-stackable-window.c
6655 (hildon_stackable_window_go_home): Fix compilation warning
6656 (get_last_window): Minor optimizations
6657 (hildon_stackable_window_class_init): Fix initialization of
6660 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6662 * src/hildon-stackable-window.c: Fixed typos in doc
6664 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6666 * src/hildon-pannable-area.c
6667 (hildon_pannable_area_scroll):
6668 Calculate here whether we need to scroll instead of using the booleans
6669 that tell us whether to /draw/ the scrolling bars.
6671 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6673 * src/hildon-app-menu.h
6675 * src/hildon-app-menu.c
6676 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6677 multiple filter groups related code and API. Now we support only
6679 * examples/hildon-app-menu-example.c:
6681 Update to reflect API changes.
6683 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6685 * src/hildon-stackable-window.c
6686 (hildon_stackable_window_class_init):
6687 Add hildon_stackable_window_realize.
6688 (hildon_stackable_window_realize):
6689 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6690 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6691 to apply theming and behavior specific to HildonStackableWindow
6694 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6696 * src/hildon-note.c (hildon_note_button_release):
6697 Close information notes also when tapping on them
6699 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6701 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6702 ELASTICITY, refactor and review, fix some issues with drawing
6705 * src/hildon-pannable-area.c:
6706 (hildon_pannable_area_button_press_cb): removed the conditions to
6707 avoid clicks when overshooting. It is not required
6709 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6710 define. Refatored and reviewed the code, now we do not need to
6711 manage velocity in motion_notify.
6713 (hildon_pannable_area_motion_notify_cb): We have moved the code
6714 that controls the area_scroll to the axis_scroll function and get
6715 rid of duplicated code.
6717 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6719 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6721 (hildon_pannable_draw_vscroll),
6722 (hildon_pannable_draw_hscroll): Fixed the problems with the
6723 scrollbar drawing, now we do not use two surfaces, it is easier
6724 and saves resources.
6726 (hildon_pannable_area_get_property): Style modification.
6728 (hildon_pannable_area_class_init): Changed some default values.
6730 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6732 * src/hildon-stackable-window.c: Fix some typos in the
6735 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6737 * src/hildon-dialog.c:
6738 Change indentation style
6741 (hildon_note_button_release):
6742 Use root coordinates to check if the release event happened
6745 * src/hildon-app-menu.c
6746 (hildon_app_menu_button_release):
6747 Remove unnecessary check
6749 * examples/hildon-app-menu-example.c
6751 Add cast to fix warning
6753 * src/hildon-app-menu.c
6754 (hildon_app_menu_class_init):
6755 New inner-border style property.
6756 Set all default spacings to 16
6757 (hildon_app_menu_init):
6758 Use vertical-spacing to set the space between filter buttons and
6759 regular menu buttons.
6760 Set the default container border using the inner-border value.
6762 * examples/hildon-app-menu-example.c
6764 Don't set the menu border explicitly, now we have the inner-border
6765 style property for that.
6767 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6769 * src/hildon-app-menu.c (hildon_app_menu_init):
6770 Make the window modal
6772 * src/hildon-note.c (hildon_note_map)
6773 * src/hildon-app-menu.c (hildon_app_menu_map):
6774 Destroy the grab window if we're unable to grab the pointer
6776 * src/hildon-app-menu-private.h
6777 * src/hildon-app-menu.c
6778 (hildon_app_menu_init, hildon_app_menu_finalize)
6779 (hildon_app_menu_map, hildon_app_menu_unmap)
6780 (hildon_app_menu_button_release)
6781 (grab_transfer_window_get):
6782 Bring back the grab window
6783 (hildon_app_menu_realize):
6784 Decorate the window, set WM hint for Matchbox
6786 * src/hildon-note.c (hildon_note_realize):
6787 * src/hildon-banner.c (hildon_banner_realize):
6788 Add WM hints for Matchbox
6790 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6792 * src/hildon-app-menu-private.h
6793 * src/hildon-app-menu.c
6794 (hildon_app_menu_init, hildon_app_menu_finalize)
6795 (hildon_app_menu_map, hildon_app_menu_unmap)
6796 (hildon_app_menu_button_release):
6797 Remove the grab window, it's not needed anymore
6799 * src/hildon-program.c
6800 Fixed typo in documentation
6802 * src/hildon-app-menu.h
6803 * src/hildon-app-menu.c
6804 * examples/hildon-app-menu-example.c
6805 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6807 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6810 Added new transfer_window and close_if_pressed_outside private
6812 (hildon_note_rebuild):
6813 Don't add a cancel button to the information note. It will be
6814 closed when tapping outside
6815 Remove the comment about the OK button in the documentation
6816 (hildon_note_realize):
6817 Set the notification type hint
6818 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6819 Grab/ungrab pointer and keyboard if the note has to be closed when
6821 (hildon_note_button_release):
6822 Close the note when tapping outside (if applicable)
6824 * src/hildon-app-menu.c
6825 Grab/ungrab pointer and keyboard on map/unmap
6826 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6827 Close the menu on button release, not button press
6829 * src/hildon-banner.c
6830 (hildon_banner_set_property)
6831 (hildon_banner_check_position):
6832 Make the banner use the full width of the screen
6833 (hildon_banner_show_information)
6834 (hildon_banner_show_information_with_markup):
6835 Don't display an icon by default
6837 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6839 Added fading scrollbars and adapted all the overshooting code to
6840 horizontal scrolling. We have also fixed bugs with overshooting
6841 and current fading implementation.
6843 * src/hildon-pannable-area.c
6844 (hildon_pannable_area_scroll_indicator_fade): Time out function
6845 used to change the transparency of the scrollbars.
6847 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6848 control and fixed a problem with fading, we now remove the fade
6849 timeout before adding a new one.
6851 (hildon_pannable_axis_scroll):
6852 (hildon_pannable_area_scroll):
6853 (hildon_pannable_area_timeout): Added this functions so we can use
6854 the scroll code both for vertical and horizontal.
6856 (hildon_pannable_area_motion_notify_cb):
6857 (hildon_pannable_area_button_release_cb): Added the horizontal
6858 scrolling control, fixed a problem with the overshooting timeout.
6860 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6861 painting of the scrolls.
6863 (hildon_pannable_draw_vscroll):
6864 (hildon_pannable_draw_hscroll):
6865 (hildon_pannable_area_expose_event):
6866 Draw both scrollbars and rectangles in the overshooting area.
6868 (hildon_pannable_area_get_property):
6869 (hildon_pannable_area_set_property):
6870 Modified the overshoot property to overshoot_max
6872 (hildon_pannable_area_map):
6873 Replaced the comments symbols.
6875 (hildon_pannable_area_size_allocate):
6876 (hildon_pannable_area_class_init):
6877 (hildon_pannable_area_init): Added horizontal scroll, fading
6878 effect properties, fixed a problem when overshooting in the bottom
6881 * examples/hildon-pannable-area-example.c:
6882 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6883 looks better in the example.
6885 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6887 * src/hildon-window.c
6888 * src/hildon-window.h
6889 (hildon_window_class_init)
6890 (hildon_window_unset_program)
6891 (hildon_window_unset_program_real):
6892 Make unset_program a virtual function
6894 * src/hildon-stackable-window.c
6895 * src/hildon-stackable-window.h
6896 Added hildon_stackable_window_go_home()
6898 * examples/Makefile.am
6899 * examples/hildon-stackable-window-example.c
6900 HildonStackableWindow example
6902 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6904 * hildon-pannable-area.c: Added the overshoot property and removed
6905 the OVERSHOOT define. Fixed an indent style error.
6906 (hildon_pannable_area_motion_notify_cb):
6907 (hildon_pannable_area_get_property):
6908 (hildon_pannable_area_set_property): Add overshoot property.
6910 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6913 (hildon_pannable_area_class_init): Installed the new property.
6915 * hildon-pannable-area-example.c: Added a sawtooth function, this
6916 way it is easier to check the movement in the pannable.
6917 (get_sawtooth_label): Added this function.
6918 (main): Now we get the labels from the new get_sawtooth_label
6921 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6923 * src/hildon-app-menu.h
6924 * src/hildon-app-menu.c
6925 Renamed API variables for consistency
6927 (hildon_app_menu_popup): Use also the default window size to
6928 decide where to place the menu
6930 (hildon_app_menu_init, hildon_app_menu_class_init): New
6931 external-border style property
6933 2008-05-26 Michael Natterer <mitch@imendio.com>
6935 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6936 widget_class->tap_and_hold_setup signal slot doesn't exist any
6937 longer, stop overriding it.
6939 (hildon_time_editor_init): g_signal_connect() to the
6940 tap-and-hold-setup signal instead.
6942 (hildon_time_editor_entry_keypress): add cast to fix warning.
6944 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6946 * doc/hildon-docs.sgml
6948 * examples/Makefile.am
6949 * examples/hildon-app-menu-example.c
6951 * src/hildon-app-menu-private.h
6952 * src/hildon-app-menu.c
6953 * src/hildon-app-menu.h
6955 New HildonAppMenu widget
6957 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6959 Rearranged the inheritance of the pannable area, now it inherits
6960 from GtkBin. This will allow us to control the event_window and
6961 the allocation process of the widget, required for some effects.
6963 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6964 GtkBin structures. * src/hildon-pannable-area.c: Added the
6965 event_window variable.
6966 (hildon_pannable_area_button_press_cb):
6967 (hildon_pannable_area_button_release_cb):
6968 (hildon_pannable_area_motion_notify_cb):
6969 Changed the signature of the method, now we override the event
6970 callback instead of connecting to the signal.
6972 (hildon_pannable_area_realize):
6973 (hildon_pannable_area_unrealize):
6974 (hildon_pannable_area_map):
6975 (hildon_pannable_area_unmap):
6976 (hildon_pannable_area_size_allocate):
6977 Added functions to control the widget construction. We add a
6978 INPUT_ONLY window and we put it over the widgets inside the
6979 container, this event_window handles the events.
6981 (hildon_pannable_area_class_init):
6982 Replaced the signal connections with overrides of the event
6985 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6987 Bouncing effect added when touching the borders, you can change
6988 the elasticity of the border changing the ELASTICITY define.
6990 * src/hildon-pannable-area.c: Added ELASTICITY define.
6991 (hildon_pannable_area_timeout): Added inverse velocity when
6992 touching the border of the child widget, that causes a bounce.
6994 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6996 Improved performance, we now do not go to the X server in order to
6997 get the list of window children. Apparently the effect is the
6998 same, we have to be careful and check if this breaks something in
7001 * src/hildon-pannable-area.c:
7002 (get_ordered_children): Removed this function.
7003 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7004 the children windows function with gdk_window_get_children.
7006 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7008 * src/hildon-pannable-area.c:
7009 (hildon_pannable_area_dispose): Fixed a crash when closing the
7010 window and kinetics is activated.
7012 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7014 * src/hildon-pannable-area.h
7015 * src/hildon-pannable-area.c
7016 Changed indentation style to meet the one used in Hildon
7018 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7020 Reviewed the interaction of the AUTO mode, now we use the time
7021 attribute of the events and calculate the velocity in the motion,
7022 doing a gimp like calculation. The velocity is calculated in each
7023 motion event using the last velocity and the current one, the
7024 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7026 * src/hildon-pannable-area.c: Replaced the time based algorithm
7028 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7029 timeout for the AUTO mode when we are still moving the cursor. We
7030 added also the velocity calculation in this function.
7031 (hildon_pannable_area_button_release_cb): launch the timeout in
7032 case we are in AUTO mode. There are still some constants here that
7033 come from the old implementation that should be reviewed and
7036 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7038 * doc/hildon-docs.sgml
7041 * src/hildon-stackable-window.c
7042 * src/hildon-stackable-window.h
7044 New HildonStackableWindow widget
7046 * examples/hildon-dialog-example.c
7047 * examples/hildon-pannable-area-example.c
7050 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7052 * src/hildon-dialog.c
7053 (hildon_dialog_new_with_buttons): New constructor.
7055 * examples/hildon-dialog-example.c
7056 (main): Update the example to use the new
7057 hildon_dialog_new_with_buttons().
7059 * examples/hildon-pannable-area-example.c
7060 (main): Update example.
7062 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7064 * doc/hildon-docs.sgml
7066 Added HildonPannableArea to the documentation.
7068 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7070 * doc/visual_index.xml
7071 Fix reference to HildonLoginDialog in documentation
7073 * doc/hildon-docs.sgml
7075 * examples/Makefile.am
7076 * examples/hildon-dialog-example.c
7078 * src/hildon-dialog.c
7079 * src/hildon-dialog.h
7081 New HildonDialog widget.
7083 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7085 * src/hildon-pannable-area.c
7086 Merge latest changes (r4318, r4342) from libmokoui trunk
7088 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7090 * examples/Makefile.am
7091 * examples/hildon-pannable-area-example.c
7093 * src/hildon-pannable-area.c
7094 * src/hildon-pannable-area.h
7096 New HildonPannableArea widget.
7098 2008-04-15 18:05:19 <timj@imendio.com>
7100 * src/hildon-banner.c: revert the recent change, that introduced
7101 gtk_window_present() calls. this reopens:
7102 Bug 78481 - [freetest] information banners are hidden under browser menu
7103 But resolves another variant of:
7104 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7106 2008-04-15 13:21:13 <timj@imendio.com>
7108 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7109 recreated its layout, spotted by Kris. this fixes all remaining
7110 artefacts and stability issues with the banner code. in particular:
7111 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7113 2008-04-14 16:52:59 <timj@imendio.com>
7115 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7116 operating on unrealized widgets, fixes:
7117 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7119 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7121 2008-04-09 Kristian Rietveld <kris@imendio.com>
7123 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7124 makes banner disappear.
7125 Fixes: NB#79182: info banner flickering with certain message lengts.
7127 * src/hildon-banner.c (hildon_banner_constructor),
7128 (hildon_banner_init), (hildon_banner_set_text),
7129 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7130 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7131 FALSE, reset size requests of label and banner,
7132 (force_to_wrap_truncated): when the text is too wide, always enforce
7133 the maximum possible width instead of recalculating it from the
7134 layout; enforce the maximum banner height of 3 lines,
7135 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7136 nicer wrapping and no truncated chars if space gets tight.
7138 * src/hildon-banner-private.h: add has_been_wrapped and
7139 has_been_truncated fields.
7141 2008-04-07 Sven Herzberg <sven@imendio.com>
7143 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7144 local values in hildon_date_editor_size_allocate
7146 * src/hildon-date-editor.c: moved the real allocation code into the
7149 2008-04-07 Sven Herzberg <sven@imendio.com>
7151 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7152 local values in hildon_date_editor_size_allocate
7154 * src/hildon-date-editor.c: merged the two if() branches together
7156 2008-04-07 Sven Herzberg <sven@imendio.com>
7158 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7159 local values in hildon_date_editor_size_allocate
7161 * src/hildon-date-editor.c: changed the arguments of the if()
7164 2008-04-07 Sven Herzberg <sven@imendio.com>
7166 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7167 local values in hildon_date_editor_size_allocate
7169 * src/hildon-date-editor.c: split the calculation of the allocation
7170 from the real allocation
7172 2008-03-27 Michael Natterer <mitch@imendio.com>
7174 Fixes: NB#81696: The passcode is not overwritten even after
7177 * src/hildon-code-dialog.c
7178 (hildon_code_dialog_button_clicked)
7179 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7180 because that doesn't overwrite selected text. Instead, emit the
7181 "commit" signal on the entry's im_context so the entry's normal
7182 insert logic is triggered. Set the cursor to the end of the entry
7183 after each insert operation so that we *only* insert in the middle
7184 of the text if something was selected.
7186 2008-03-27 Michael Natterer <mitch@imendio.com>
7188 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7189 selector cannot be opened
7191 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7192 when the popup color selector is created. Please connect to this
7193 signal in order to set the dialog's help ID.
7195 2008-03-25 Sven Herzberg <sven@imendio.com>
7197 Fixes: MB#1212: Hide info banners (infoprints) on click
7199 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7200 extracted the close event simulation into an extra function
7201 (hildon_banner_button_press_event): simulate a close event and destroy
7202 the widget if the event wasn't handled
7203 (hildon_banner_class_init): added the button_press_event handler
7204 (hildon_banner_init): added button-press events to the widget
7206 2008-03-25 Sven Herzberg <sven@imendio.com>
7208 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7209 Patch from: Mohammad Anwari <mdamt@maemo.org>
7211 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7212 instead of the right in RTL mode
7213 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7214 breadcrumb button list in RTL mode
7215 * src/hildon-caption.c: mirror the appearance of the caption widget in
7217 * src/hildon-date-editor.c: mirror appearance of the date editor in
7219 * src/hildon-time-editor.c: mirror appearance of the time editor in
7221 * src/hildon-window.c: fix the position of the popup in RTL mode
7223 2008-03-25 Sven Herzberg <sven@imendio.com>
7225 Amendment to the fix of NB#22072. Fix compilation.
7227 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7229 2008-03-19 Sven Herzberg <sven@imendio.com>
7231 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7234 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7235 timeout id properly when the timeout will disappear this leaves no
7236 artifacts around in the destroy(); there will only be the timeout
7237 created by hildon_banner_ensure_timeout() and adding a new timeout
7238 will also work if the timeout gets removed because the timeout_handler
7241 2008-03-19 Michael Natterer <mitch@imendio.com>
7243 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7245 * src/hildon-volumebar.c
7246 * src/hildon-vvolumebar.c
7247 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7248 the widget becomes focussable at all.
7250 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7251 set the focus to wither the mute button or the volumebar.
7253 Remove own "can-focus" property and instead listen to
7254 notify::can-focus in order to update the widget's state.
7256 Implement GtkWidget::focus() and make sure we can also *leave* the
7257 widget, not only enter it, depending on volumebar orientation and
7258 requested focus direction.
7260 Clean up set_mute() to cooperate nicely with all the above.
7262 2008-03-04 Michael Natterer <mitch@imendio.com>
7264 Fixes: NB#78481: information banners are hidden under browser menu
7266 * src/hildon-banner.c: call gtk_window_present() on the banners so
7267 they are risen if they are already visible.
7269 2008-03-03 Sven Herzberg <sven@imendio.com>
7271 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7273 * examples/hildon-window-menu-example.c: (main): extended the window
7274 menu example to serve as a testcase for automatically added
7275 accelerator groups, too
7276 * src/hildon-window.c: (hildon_window_add_accel_group),
7277 (hildon_window_set_menu): added patch by Tommi Komulainen
7279 2008-03-03 Sven Herzberg <sven@imendio.com>
7281 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7283 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7284 knowledge about the border allocators used within GTK+
7286 2008-02-26 Sven Herzberg <sven@imendio.com>
7288 Fixes: MB#2981: Build with asserts broken
7290 * src/hildon-date-editor.c,
7291 * src/hildon-number-editor.c,
7292 * src/hildon-time-editor.c,
7293 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7294 the proper GType instance check
7296 2008-02-25 Sven Herzberg <sven@imendio.com>
7298 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7300 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7301 * examples/hildon-window-menu-example.c: (main): explicitly show
7303 * src/hildon-window.c:
7304 (hildon_window_set_main_menu): moved most of the code from set_menu()
7305 to this place; skipped the call to gtk_widget_show_all(); also didn't
7306 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7307 (hildon_window_set_menu): removed most of the code, just keep the
7308 questionable gtk_widget_show_all()
7309 * src/hildon-window.h: added the new function and deprecate the old
7312 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7318 * debian/changelog: Updating.
7320 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7323 * pkgconfig/Makefile.am:
7324 * pkgconfig/hildon.pc.in:
7327 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7328 use newly created API_MAJOR_VERSION.
7330 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7336 * debian/changelog: Updating.
7338 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7340 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7342 Add outer_border style property, we use it but don't define it (!).
7346 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7348 * examples/hildon-bread-crumb-trail-example.c (main):
7352 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7354 Fix logic for the bread crumb trail node removal.
7358 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7364 * debian/changelog: Updating.
7366 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7368 Patch by Alejandro to get/set passwords dialogs accesibility.
7370 * hildon-1/src/hildon-get-password-dialog.c:
7371 * hildon-1/src/hildon-set-password-dialog.c:
7372 Set atk_set_name to the passwd entries in order to allow
7373 accessibility by name on this entries.
7375 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7380 * debian/control: Updating gtk dep.
7382 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7384 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7385 USE_MAEMO_GTK is enabled.
7387 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7389 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7390 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7392 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7398 * debian/changelog: Updating.
7400 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7402 * examples/Makefile.am:
7403 * examples/hildon-logical-color-example.c:
7404 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7405 applied + adding a test case. Fixes: NB#71660.
7407 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7409 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7410 to be visible, fixes warning on map for windows without toolbars.
7412 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7414 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7415 2.11.0, add a check for that besides the MAEMO_GTK check.
7417 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7423 * debian/changelog: Updating.
7425 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7427 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7428 visibility. Fixes: NB#70842 and MB#615.
7430 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7432 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7433 set the separator as no-show-all so it doesn't unintentionally appear when
7434 someone does a show_all.
7436 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7438 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7439 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7440 toplevel item. Fixes: NB#62031
7442 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7444 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7445 fix the name of the function in the docs.
7447 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7453 * debian/changelog: Updating.
7455 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7457 * examples/hildon-banner-long-example.c: Adding a test-case for long
7460 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7462 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7464 * src/hildon-color-chooser-dialog.c:
7465 * src/hildon-color-chooser.c:
7466 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7467 memory leaks in font selector and color selector. Fixes: NB#70499 and
7470 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7472 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7474 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7476 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7477 little bit bigger. Fixes: #NB63694.
7479 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7485 * debian/changelog: Updating.
7487 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7490 * doc/hildon-docs.sgml:
7491 * doc/images/bread-crumb-trail.png:
7492 * doc/images/calendar-popup.png:
7493 * doc/images/caption.png:
7494 * doc/images/code-dialog.png:
7495 * doc/images/color-button.png:
7496 * doc/images/color-chooser-dialog.png:
7497 * doc/images/color-chooser.png:
7498 * doc/images/controlbar.png:
7499 * doc/images/date-editor.png:
7500 * doc/images/font-selection-dialog.png:
7501 * doc/images/get-password-dialog.png:
7502 * doc/images/hvolumebar.png:
7503 * doc/images/login-dialog.png:
7504 * doc/images/note.png:
7505 * doc/images/number-editor.png:
7506 * doc/images/range-editor.png:
7507 * doc/images/seekbar.png:
7508 * doc/images/set-password-dialog.png:
7509 * doc/images/sort-dialog.png:
7510 * doc/images/time-editor.png:
7511 * doc/images/time-picker.png:
7512 * doc/images/vvolumebar.png:
7513 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7514 Adding the bread-crumb-trial and helpers to the documentation.
7516 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7518 * examples/hildon-find-toolbar-example.c:
7519 * src/hildon-find-toolbar.c:
7520 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7521 actually continue firing the other handlers if connected. Adding a new
7523 hildon_find_toolbar_get_last_index that gets the index of the most
7524 recently added (last) item. Fixes: NB#52301.
7526 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7528 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7529 behaviour. Fixes: NB#68610.
7531 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7533 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7536 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7538 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7539 when realizing the banner. Should make the infonbanner effect a bit more
7542 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7544 * src/hildon-volumebar.c:
7545 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7546 hildon_volumebar_set_range_insensitive_message and
7547 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7549 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7551 * src/hildon-window.c: Fixing the border freeing on destroy.
7553 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7555 * src/hildon-code-dialog-private.h:
7556 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7557 kw keyboard support in HildonCodeDialog.
7559 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7565 * debian/changelog: Updating.
7567 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7569 * src/hildon-date-editor.c:
7570 * src/hildon-number-editor.c:
7571 * src/hildon-private.c:
7572 * src/hildon-private.h:
7573 * src/hildon-time-editor.c:
7574 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7575 handling in subclassed composite widgets. Fixes: NB#66628.
7577 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7579 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7580 from destroy_ callback as it introduces problems in async dbus signal
7581 handlers. Fixes NB#66673.
7583 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7585 * examples/hildon-hvolumebar-example.c:
7586 * src/hildon-volumebar.c: Improving the focus handling in the
7587 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7588 set_property accessor so that "mute" property can be actually set. I'm
7589 scared that nobody noticed it's totally broken.
7591 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7593 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7596 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7598 * src/hildon-calendar.c:
7599 * src/hildon-number-editor.c:
7600 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7601 matches the spec of 6 chars per second. Fixes: NB#60489.
7603 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7605 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7606 gtk_style_lookup_color sometime returns FALSE even though color was
7607 found and values were filled properly. Weird. Removing the warning for the
7610 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7612 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7613 expand vertically. Adding some extra space to the find toolbar buttons to
7614 make them thumbable. Fixes NB#66060.
7616 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7618 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7619 popup with "Ok" and "Cancel". Fixes NB#59299.
7621 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7623 * src/hildon-calendar.c: Process all window updates before executing next
7624 timeout. Fixes: NB#54146.
7626 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7632 * debian/changelog: Updating.
7634 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7636 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7637 the client event and ignore it, since we use the delete event to close
7640 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7642 * src/hildon-helper.c: Remove the bogus warning about color not being
7643 found. Fixes NB#58352.
7645 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7647 * examples/Makefile.am:
7648 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7649 HildonSeekbar widget inside a toolbar.
7651 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7653 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7654 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7655 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7656 don't want to be closed by non-temporary windows on map.
7658 Also use G_DEFINE_TYPE instead of manually typed code.
7660 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7667 * debian/rules: Updating.
7669 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7671 * examples/Makefile.am:
7672 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7673 bug NB#61128. Strangely it works.
7675 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7677 * src/hildon-date-editor.c: When the date editor entry has been changed
7678 but the numbers of characters < max, turn off the skip validation flag.
7679 Prevents a situation when we enter first a valid year and later re-write
7680 it with an invalid one. Fixes NB#60154.
7682 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7684 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7685 code dialog. Fixes NB#64355.
7687 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7689 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7690 switching the page. Fixes NB#49374.
7692 * examples/Makefile.am:
7693 * examples/hildon-wizard-dialog-example.c: Adding an example for
7694 HildonWizardDialog that shows how to handle manual sensitivity setting on
7697 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7701 * src/hildon-version.h.in:
7702 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7704 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7706 * src/hildon-volumebar.c: Updating the docs.
7708 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7714 * debian/changelog: Updating.
7716 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7718 * src/hildon-find-toolbar.c:
7719 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7720 selected item: hildon_find_toolbar_set_active,
7721 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7722 hildon_find_toolbar_get_active_iter . They correspond to respective
7723 GtkComboBox functions.
7725 * examples/Makefile.am:
7726 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7729 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7731 * examples/Makefile.am:
7732 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7735 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7736 when font size > 32 and we pack a focusable widget inside. Actually using
7737 the default response would work too, but since we don't show default
7738 response state in any way (no theming) it would not be visible to the
7739 user. Fixes NB#63430.
7741 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7743 * src/hildon-date-editor.c: Adding the missing variable setter in the
7744 set_property handler. Fixes NB#54182.
7746 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7748 * src/hildon-window.h: Changing the long key press time from 1500ms to
7749 800ms as requested in NB#63700. I have a bad feeling about this, let's
7750 see... Fixes NB#63700.
7752 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7754 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7755 hildon_time_picker_map, hildon_time_picker_realize,
7756 hildon_time_picker_style_set): Split the contents of map to more
7757 appropriate functions; set window decorations on realize and update
7758 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7760 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7765 * debian/changelog: Updating.
7767 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7769 * src/Makefile.am: fixed installation of the header files
7771 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7777 * debian/changelog: Updating.
7779 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7781 * configure.ac: Removing some remaining of --enable-xan.
7783 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7785 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7786 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7788 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7789 2.10.12-osso6 because the move-focus signal needs to be available in
7792 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7794 * examples/Makefile.am:
7795 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7796 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7797 fine. Prolly NB#61128 is fixed now.
7799 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7801 * src/hildon-volumebar.c:
7802 * src/hildon-volumebar.h: Adding the
7803 hildon_volumebar_set_range_insensitive_message and
7804 hildon_volumebar_set_range_insensitive_messagef functions to set
7805 insensitive message on the slider of the volumebar. Fixes NB#61129.
7807 * examples/Makefile.am:
7808 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7809 test the new insensitive messsage functionality on HildonVolumebar.
7811 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7813 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7816 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7818 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7819 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7820 button on after clearing the trail.
7822 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7824 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7826 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7828 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7829 by splitting the installed headers in generated and non-generated groups. Use
7830 only the non-generated headers to create the hildon-enum-types.h file.
7832 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7834 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7836 * src/hildon-window.c: Hide the window before performing the destroy.
7837 Should make the app closing a little tiny bit more snappy.
7839 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7841 * src/hildon-seekbar.c: add gtkrange.h header
7842 * src/hildon-caption.c: remove unused variable
7844 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7846 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7849 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7855 * debian/changelog: Updating.
7857 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7859 * src/hildon-window.c (hildon_window_window_state_event,
7860 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7861 escape timeout on focus-out-event rather than notify::is-topmost; the
7862 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7864 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7866 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7867 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7869 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7871 * src/hildon-window: actually, you need to use the macro always, there's
7872 no private pointer in the instance structure. We should have cleaned this up
7873 when we had the chance...
7875 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7877 * src/hildon-window.c: do not get the private date from HildonWindow before
7878 it passes the g_return_if_fail check. Once it's passed the test, there's no
7879 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7880 if you are only going to access the data once. Whitespace cleanups.
7882 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7884 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7885 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7887 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7893 * debian/changelog: Updating.
7895 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7897 * src/hildon-window.c: When destroying the window, remove (if exists) the
7898 escape timeout handler. Fixes #NB59276.
7900 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7902 * src/hildon-banner.c: When realizing the widget, set the window
7903 transiency. Setting the transiency in the gobject constructor is not
7904 good, as the widget is not realized at that point. Fixes: #NB56624.
7906 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7908 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7909 Add padding for future expansions.
7911 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7913 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7914 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7915 will fake an activation on the previous to the last item of the trail, so
7916 the effect can be overrided by the developer as usual.
7917 Also change the callback for the back button to do the same thing, so its
7918 effect can be overrided too. Fixes: NB#58982
7920 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7922 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7923 HildonCaption. Fixes NB#52379.
7925 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7927 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7928 the internal state of the trail after the user has had the chance of executing
7929 his handler for the signal. Specifically, it may happen that the activated button
7930 is removed and the user still lets the default handler run. This would segfault
7933 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7935 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7936 scrollbar to the preview dialog. Fixes NB#54147.
7938 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7940 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7941 max/min year properties can be altered, so the client can modify it
7942 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7944 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7946 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7947 hildonlike by default. Fixing a problem with disappearing arrows when
7948 scrolling through months and years. Fixes NB#54127.
7950 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7952 * examples/hildon-date-editor-example.c: Adding error callback to the date
7955 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7961 * configure.ac: Updating.
7963 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7965 * configure.ac: Adding a special '--enable-xan' configure option that
7966 turns off the -Werror compilation setting. Usefull for development.
7968 * src/hildon-calendar.c:
7969 * src/hildon-number-editor.c:
7970 * src/hildon-time-picker.c: Adding the 5* multiplier to
7973 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7975 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7976 instead of g_object_ref + gtk_object_sink.
7978 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7984 * debian/changelog: Updating.
7986 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7988 * src/hildon-color-chooser-dialog.c:
7989 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7990 straight from Tommi labs.
7992 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7994 * examples/hildon-finger-example.c: Correcting the header file path.
7996 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7997 the changed signal. Fixes a small memory leak.
7999 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8003 * src/hildon-banner.c: Importing several usefull fixes from the
8004 ubuntu-mobile branch.
8006 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8008 * examples/Makefile.am:
8009 * examples/hildon-finger-example.c: Adding a finger-checking code
8012 * src/hildon-font-selection-dialog.c: Do not allocate the color
8013 structure using the g_new. Fixes NB#54061.
8015 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8017 * src/hildon-helper.c: Correcting tabs in file.
8019 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8021 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8022 control the visibility of the children.
8024 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8026 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8032 * debian/changelog: Updating.
8034 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8036 * src/hildon-bread-crumb-trail.c:
8037 (hildon_bread_crumb_trail_size_allocate):
8039 Make the back button always a square.
8041 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8043 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8044 from the .c file as it's a private file.
8046 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8048 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8049 uses slightly bigger height.
8051 * src/hildon-font-selection-dialog.c: Adding some checks before
8052 freeing memory in the font selection dialog.
8054 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8056 * src/hildon-font-selection-dialog.c: Adding a small check when
8059 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8060 buttons sensitivity on page switching.
8062 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8064 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8065 internal details of adding a bread crumb to the trail.
8067 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8073 * debian/changelog: Updating.
8075 * src/hildon-bread-crumb-trail.h:
8076 * src/hildon-bread-crumb.h: Changing the API guard to
8077 HILDON_ENABLE_UNSTABLE_API.
8079 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8087 * src/hildon-helper.h: Updating.
8089 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8097 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8101 * src/hildon-helper.h: Small fix to make the package actually compile.
8103 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8105 * src/hildon-bread-crumb-trail.h:
8106 * src/hildon-bread-crumb.h:
8108 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8109 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8111 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8113 * examples/hildon-bread-crumb-trail-example.c:
8115 * src/hildon-bread-crumb-trail.c:
8116 * src/hildon-bread-crumb-trail.h:
8117 * src/hildon-bread-crumb.c:
8118 * src/hildon-bread-crumb.h:
8119 * src/hildon-marshalers.list:
8120 * src/hildon-bread-crumb-widget.c:
8121 * src/hildon-bread-crumb-widget.h:
8123 Slight change in the widget design. The bread crumb trail API is
8124 unchanged, but HildonBreadCrumb is now an interface. A *private*
8125 implementation, hildon-bread-crumb-widget, is provided and used
8126 internally by the trail for the push_text/push_icon functions.
8128 The generic push API is still available, so anyone can implement
8129 and use its own bread crumb widget.
8131 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8133 * debian/rules: Fixing the shlibs.
8135 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8137 * src/hildon-banner.c: Fixing a problem with timed banners having
8138 their parrent destroyed before they are.
8140 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8142 * src/hildon-bread-crumb.c:
8143 * src/hildon-bread-crumb.h:
8145 Make the get_natural_size function a vfunc.
8147 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8149 * src/hildon-bread-crumb.c:
8150 * src/hildon-bread-crumb-trail.c:
8154 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8161 * debian/changelog: Updating for release.
8163 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8165 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8166 don't leak the pango layout.
8168 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8171 * examples/hildon-bread-crumb-trail-example.c:
8175 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8177 * debian/changelog: Removing the bug-fixed entries that were actually
8178 resolved as WONTFIX.
8180 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8183 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8185 * src/hildon-bread-crumb-trail.c:
8186 * src/hildon-bread-crumb-trail.h:
8187 * src/hildon-bread-crumb.c:
8188 * src/hildon-bread-crumb.h:
8192 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8194 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8195 until it's passed the type check.
8197 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8199 * examples/hildon-bread-crumb-trail-example.c
8203 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8205 * examples/Makefile.am
8206 * examples/hildon-bread-crumb-trail-example.c
8208 * src/hildon-bread-crumb-trail.c
8209 * src/hildon-bread-crumb-trail.h
8210 * src/hildon-bread-crumb.c
8211 * src/hildon-bread-crumb.h
8213 New HildonBreadCrumbTrail widget.
8215 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8217 * src/hildon-range-editor.c (hildon_range_editor_init),
8218 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8219 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8220 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8221 hildon_time_editor_class_init, hildon_time_editor_init),
8222 src/hildon-get-password-dialog.c (invalid_input,
8223 hildon_get_password_set_property, hildon_get_password_get_property,
8224 create_contents, hildon_get_password_dialog_set_max_characters),
8225 src/hildon-set-password-dialog.c (create_contents),
8226 src/hildon-date-editor.c (hildon_date_editor_init),
8227 src/hildon-login-dialog.c (hildon_login_dialog_init),
8228 src/hildon-number-editor.c (hildon_number_editor_init),
8229 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8230 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8231 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8232 configure option and adding the respective checks in the code.
8233 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8234 hildon_calendar_drag_data_received): fixed some build warnings.
8236 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8238 * debian/changelog: A 1.0.0 release notes.