1 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: Bump version.
7 * debian/changelog: Updates.
9 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
11 * hildon/hildon-note-private.h: Removed sound_signal_handler
12 * hildon/hildon-note.c
13 (on_show_cb): new callback on note "show" event, this simply adds
14 a idle, with the function sound_handling
15 (sound_handling): removed the sound_signal_handler management
16 (hildon_note_init): connect note "show" event to on_show_cb
17 (hildon_note_realize): remove the connection to "expose-event"
19 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
20 device?' confirmation note)
22 2009-05-08 Alberto Garcia <agarcia@igalia.com>
24 * hildon/hildon-note.c
25 (hildon_note_new_information_with_icon_name)
26 (hildon_note_new_confirmation_with_icon_name):
27 Terminate the list of parameters in g_object_set() calls
29 Fixes: NB#115166 (Formatting memory card is not taking place)
31 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
33 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
34 "dialog-information" role for the sound being played.
36 2009-05-06 Alberto Garcia <agarcia@igalia.com>
38 * hildon/hildon-app-menu.c (hildon_app_menu_init):
39 Don't make the menu a modal window, it causes strange interactions
40 with the pointer grab and it's not really needed.
42 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
44 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
46 * hildon/hildon-touch-selector.[ch]
47 (hildon_touch_selector_optimal_size_request): function added to get a
48 optimal size request from the touch selector, when you want a dialog to
49 show as much of the selector
50 * hildon/hildon-picker-dialog.c:
51 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
52 (hildon_app_menu_class_init):
53 New "max-height-landscape" and "max-height-portrait" style properties
54 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
55 (hildon_picker_dialog_get_max_height): returns the maximum height using
56 the style properties defined and checking the current portrait/landscape
58 (_hildon_picker_dialog_set_selector): removed the set_size_request
60 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
62 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
64 * hildon/hildon-bread-crumb-trail.c:
65 * hildon/hildon-bread-crumb.c:
66 * hildon/hildon-seekbar.c:
67 Add reference to replacements for these deprecated widgets.
69 Fixes: MB#4461 (Documentation: All deprecations should mention
72 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
74 * examples/hildon-remote-texture-example.c
76 Change the include to the hildon-remote-texture in order to compile
77 properly the examples on the installed libhildon1-examples package
79 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
81 * tests/Makefile.am: Add check for HildonPickerButton.
82 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
83 (START_TEST), (create_hildon_picker_button_suite): Add three simple
84 checks for the HildonPickerButton.
85 * tests/check_test.c (configure_tests): Add the test suite.
86 * tests/test_suites.h: likewise.
88 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
90 * hildon/hildon-touch-selector.c
91 (+on_row_changed): Emit HildonTouchSelector:changed when the
92 contents of a selected row change.
93 (_create_new_column), (_hildon_touch_selector_set_model): connect
94 to GtkTreeModel:row-changed on a newly set model.
96 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
98 2009-05-05 Alberto Garcia <agarcia@igalia.com>
100 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
102 * hildon/hildon-banner.c (hildon_banner_destroy)
103 (hildon_banner_show_progress, hildon_banner_set_fraction):
104 Remove the progress bar from HildonBanner and use a progress
107 Fixes: NB#113761 (Update progress banner to use progress
110 2009-05-04 Alberto Garcia <agarcia@igalia.com>
112 * hildon/hildon-banner.c:
113 Calculate size of the banner label using the actual screen width
114 rather than using a fixed value.
116 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
119 2009-05-04 Alejandro G. Castro <alex@igalia.com>
121 * hildon/hildon-pannable-area.c,
122 (hildon_pannable_area_class_init): Fixed signals documentation
125 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
127 * configure.ac: post release version bump
128 * debian/changelog: post release version bump
130 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
135 * configure.ac: Bump version.
136 * debian/changelog: Updates.
138 2009-05-01 Alberto Garcia <agarcia@igalia.com>
140 * hildon/hildon-edit-toolbar.c
141 (hildon_edit_toolbar_init):
142 Don't let buttons in HildonEditToolbar receive focus.
144 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
145 typing on an HW arrows key)
147 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
149 * doc/Makefile.am: Fix build.
151 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
153 * doc/Makefile.am: Do not redefine content_files.
155 2009-04-30 Alberto Garcia <agarcia@igalia.com>
163 Renamed src/ to hildon/
168 Include <hildon/hildon.h> directly in all examples.
170 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
172 * src/hildon-sort-dialog.c
173 (hildon_sort_dialog_add_sort_key_with_sorting)
177 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
179 * src/Makefile.am: Move generated sources to CLEANFILES, so that
180 make distcheck passes.
182 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
184 * Makefile.am: Enable gtk-doc during distcheck.
186 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
188 * Makefile.am: Do not distribute the debian/ directory.
190 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
192 * doc/Makefile.am: Add the extra SGML files to content_files,
193 so that they are distributed properly.
195 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
197 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
200 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
202 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
203 (hildon_note_new_information_with_icon_name): Set the "icon" property
204 to preserve soundness.
206 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
208 * src/hildon-font-selection-dialog.c
209 (hildon_font_selection_dialog_set_property): Fail when the "family"
210 property is set to NULL.
212 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
214 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
217 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
219 * src/hildon-time-selector.h:
220 Added HildonTimeSelectorFormatPolicy
221 * src/hildon-time-selector.c:
222 Added PROP_TIME_FORMAT_POLICY
223 (_check_ampm_format): renamed to check_automatic_ampm_format
224 (update_format_policy), (update_format_dependant_columns): new functions
225 (hildon_time_selector_class_init)
226 (hildon_time_selector_contructor)
227 (hildon_time_selector_init)
228 (hildon_time_selector_get_property)
229 (hildon_time_selector_set_property)
230 (hildon_time_selector_get_time)
231 (hildon_time_selector_set_time)
232 * src/hildon-touch-selector.h: new file
233 * src/hildon-touch-selector.c
234 (hildon_touch_selector_emit_changed)
235 (hildon_touch_selector_block_changed)
236 (hildon_touch_selector_unblock_changed)
237 Added functions to allow to block the emission of the "changed" signal
238 * src/hildon-picker-dialog.c
239 (hildon_picker_dialog_show): call the parent show before the custom code
240 * examples/hildon-time-button-example.c
241 Modified, so now you can configure the time format using the new property
243 Added a new property "time-format-policy" that allow to choose the time
244 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
245 case it uses gconf in order to check if the time selector must use
248 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
251 2009-04-28 Alberto Garcia <agarcia@igalia.com>
253 * src/hildon-note.c (hildon_note_init):
254 Label in HildonNote must be left aligned, not centered. This
255 reverts the last commit in HildonNote.
257 Fixes: NB#112933 (text is not left aligned in confirmation dialog
258 is connectivity dialog)
260 2009-04-27 Alberto Garcia <agarcia@igalia.com>
265 * doc/hildon-sections.txt:
266 Added hildon_gtk_window_set_do_not_disturb()
268 2009-04-27 Alberto Garcia <agarcia@igalia.com>
270 * src/hildon-note.c (hildon_note_init): Center label.
272 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
275 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
280 * configure.ac: Bump version.
281 * debian/changelog: Updates.
283 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
285 * src/hildon-note-private.h: Add button-width to the private data.
286 * src/hildon-note.c (+resize_button),
287 (+hildon_note_orientation_update): methods to repack widgets on orientation
289 (screen_size_changed): Call above method for confirmation notes.
290 (hildon_note_realize): Always connect to the "screen-size" changed signal.
291 (hildon_note_rebuild): Store the original width request from buttons.
293 Fixes: NB#109635 (Confirmation notes do not support portrait)
295 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
297 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
298 when it is a progress note.
300 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
302 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
303 in the note, since there are no horizontally arranged contents.
305 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
307 * src/hildon-gtk.c (+set_flag): new generic method to
308 set/delay a flag setting in a window.
309 (hildon_gtk_window_set_progress_indicator):
310 (hildon_gtk_window_set_do_not_disturb),
311 (hildon_gtk_window_set_portrait_flags): use set_flag() to
312 avoid code redundance.
314 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
316 Based on a patch by Alberto Garcia (agarcia@igalia.com)
318 * src/hildon-gtk.c (set_clear_window_flag),
319 (do_set_progress_indicator), (do_set_do_not_disturb),
320 (do_set_portrait_flags),
321 (hildon_gtk_window_set_progress_indicator),
322 (hildon_gtk_window_set_do_not_disturb),
323 (hildon_gtk_window_set_portrait_flags):
324 Allow setting dnd-flag, progress indicator, and portrait flags
325 when the window is not realized.
327 2009-04-24 Alejandro G. Castro <alex@igalia.com>
329 * src/hildon-pannable-area.c,
330 * src/hildon-pannable-area.h: Add the hildon deprecated define to
331 the size request policy function and defines.
333 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
335 * doc/hildon-sections.txt: Add the new API.
336 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
337 method to set the portrait flags.
338 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
340 Fixes: NB#112328 (Adding helpers for setting portrait properties)
342 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
344 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
345 to allow using this method with other flags.
346 (hildon_gtk_window_set_progress_indicator): Update accordingly.
347 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
349 2009-04-22 Alberto Garcia <agarcia@igalia.com>
351 * src/hildon-touch-selector.c
352 (hildon_touch_selector_append_text_column):
353 Make the cell renderer use the smallest width possible.
355 Fixes: NB#108470 (Selected items in multiple selection are either
356 having a tick that is cut or not visible at all.)
358 2009-04-22 Alberto Garcia <agarcia@igalia.com>
360 * src/hildon-touch-selector.c
361 (hildon_touch_selector_append_text_column):
364 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
366 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
367 Use g_strdup_printf() instead of a fixed size buffer.
369 2009-04-21 Alberto Garcia <agarcia@igalia.com>
371 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
372 Close banners when a HildonAppMenu is popped up.
374 Fixes: NB#111027 (Title menu closed immediately if activated when
375 "Invalid e-mail address" banner is shown)
377 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
382 * configure.ac: Bump version.
383 * debian/changelog: Updates.
385 2009-04-20 Alberto Garcia <agarcia@igalia.com>
387 * src/hildon-banner.c (hildon_banner_realize):
388 Mark HildonBanner as supporting portrait mode.
389 Use GDK to set window properties insetad of direct Xlib calls.
391 Fixes: NB#111830 (HildonBanner should be marked as supporting
394 2009-04-20 Alberto Garcia <agarcia@igalia.com>
396 * src/hildon-note.c (hildon_note_rebuild):
397 Hide action area in information notes. Prevents text from being
398 slightly aligned to the left.
400 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
403 2009-04-20 Alberto Garcia <agarcia@igalia.com>
405 Patch by Mox Soini (ext-mox.soini@nokia.com)
407 * src/hildon-banner.c (hildon_banner_create_animation):
408 Use stylus-sized icons in animation banner.
410 Fixes: NB#111206 (stylus sized icon for animation banner)
412 2009-04-20 Alberto Garcia <agarcia@igalia.com>
416 (+hildon_gtk_window_set_do_not_disturb):
417 New API to set the do-not-disturb flag.
419 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
421 2009-04-20 Alberto Garcia <agarcia@igalia.com>
423 * examples/hildon-progress-indicator-example.c: Fix example
425 * src/hildon-gtk.c (set_clear_window_flag)
426 (hildon_gtk_window_set_progress_indicator):
427 Create a generic function for setting flags to a window.
428 Use GDK instead of direct Xlib calls.
430 2009-04-14 Alberto Garcia <agarcia@igalia.com>
432 * src/hildon-button.c (hildon_button_set_arrangement):
433 Due to NB#88126, if one of the labels is too long it will be
434 painted outside the button. The 'value' label is more likely to be
435 the longest one, so we change its packing options in order to
436 truncate it if necessary. As a side effect, the 'title' label will
437 no longer be truncated.
439 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
441 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
446 * configure.ac: Bump version.
447 * debian/changelog: Updates.
449 2009-04-13 Alejandro G. Castro <alex@igalia.com>
451 Deprecation of the hildon_pannable_area_set_size_request_policy
452 API, the only policy properly supported in gtk+ nowadays is the
455 * src/hildon-pannable-area.c,
456 (hildon_pannable_area_size_request): Added a workaround for the
457 size_request to avoid the problems of huge pixmaps in case someone
458 is still using the function.
459 * src/hildon-pannable-area.h: Deprecated the enum with the
462 Fixes: NB#110244 (Problems with the
463 hildon_pannable_area_set_size_request_policy API)
465 2009-04-08 Alejandro G. Castro <alex@igalia.com>
467 * src/hildon-pannable-area.c,
468 (hildon_pannable_area_init),
469 (hildon_pannable_area_size_request),
470 (hildon_pannable_area_style_set),
471 (hildon_pannable_draw_vscroll),
472 (hildon_pannable_draw_hscroll),
473 (hildon_pannable_area_check_scrollbars): Replaced area_width with
474 indicator_width to clarify the use of the attribute.
476 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
481 * configure.ac: Bump version.
482 * debian/changelog: Updates.
484 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
486 * src/hildon-picker-dialog.c
487 * src/hildon-touch-selector.c
488 Reverting the change that tried to avoid the hardcoded height on
489 the picker dialog, as causes problems on the hildon-touch-selector
492 Fixes: NB#110029 (selectors not scrolling to selected value)
494 2009-04-07 Alberto Garcia <agarcia@igalia.com>
496 * src/hildon-touch-selector.c: Fix typos
498 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
500 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
501 Use the event coordinates instead of gdk_window_get_pointer(). Also,
502 request more motions after using it.
504 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
506 * src/hildon-calendar.c (hildon_calendar_expose),
507 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
508 Remove unused variables.
510 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
512 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
515 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
517 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
518 Check the return value of gtk_tree_selection_get_selected()
521 2009-04-06 Alberto Garcia <agarcia@igalia.com>
523 * src/hildon-animation-actor.c
524 * src/hildon-button.c
526 * src/hildon-pannable-area.c
527 * src/hildon-picker-button.c
528 * src/hildon-program.c
529 * src/hildon-remote-texture.c
530 * src/hildon-text-view.c
531 * src/hildon-touch-selector.c
532 * src/hildon-window-stack.c
533 * src/hildon-window.c:
534 Add missing 'Since: 2.2' tags.
536 * doc/hildon-sections.txt:
537 Add some missing symbols.
539 * doc/hildon-docs.sgml:
540 New 'Other' section for HildonAnimationActor and
543 2009-04-06 Alberto Garcia <agarcia@igalia.com>
545 Patch by Iván Gómez (igomez@igalia.com)
549 * doc/hildon-docs.sgml
550 * doc/hildon-sections.txt
554 New chapters on using the Hildon library.
555 Updated the general structure of the reference manual.
556 Other minor documentation fixes.
558 * src/hildon-calendar-popup.c
559 * src/hildon-calendar.c
560 * src/hildon-controlbar.c
561 * src/hildon-date-editor.c
562 * src/hildon-dialog.c
563 * src/hildon-hvolumebar.c
564 * src/hildon-number-editor.c
565 * src/hildon-range-editor.c
566 * src/hildon-sort-dialog.c
567 * src/hildon-time-editor.c
568 * src/hildon-time-picker.c
569 * src/hildon-volumebar-range.c
570 * src/hildon-volumebar.c
571 * src/hildon-vvolumebar.c
572 * src/hildon-weekday-picker.c:
573 Add deprecation notes
575 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
576 Document 'horizontal-movement' and 'vertical-movement' signals.
578 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
583 * configure.ac: Bump version.
584 * debian/changelog: Updates.
586 2009-04-06 Alejandro G. Castro <alex@igalia.com>
588 * src/hildon-pannable-area.c,
589 (hildon_pannable_area_class_init): increased the minimum velocity.
590 (hildon_pannable_area_button_release_cb): Updated the
591 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
592 setup. Review the code to control that last event.
594 Fixes: NB#109790 (Releasing finger in pannable area easily causes
597 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
599 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
601 * src/hildon-get-password-dialog.c
602 (hildon_get_password_set_property),
603 (hildon_get_password_get_property), (create_contents):
604 * src/hildon-login-dialog-private.h:
605 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
606 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
607 (hildon_login_dialog_get_password):
608 * src/hildon-set-password-dialog-private.h:
609 * src/hildon-set-password-dialog.c
610 (hildon_set_password_set_property),
611 (hildon_set_password_get_property), (create_contents),
612 (hildon_set_password_response_change),
613 (hildon_set_password_response_set), (hildon_checkbox_toggled):
615 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
616 instead and look more Fremantle style.
618 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
620 2009-04-03 Alberto Garcia <agarcia@igalia.com>
622 * doc/hildon-sections.txt
623 * src/hildon-window-stack.h
624 * src/hildon-window-stack.c
625 (+hildon_window_stack_get_windows):
626 New API to obtain the list of windows on a stack.
628 2009-04-02 Alberto Garcia <agarcia@igalia.com>
630 * src/hildon-app-menu.c (hildon_app_menu_popup)
631 (hildon_app_menu_class_init, -hildon_app_menu_show):
632 Remove hildon_app_menu_show() and move all its checks to
633 hildon_app_menu_popup()
635 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
637 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
638 (_hildon_picker_dialog_set_selector): removed call to
639 gtk_widget_set_size_request
640 * src/hildon-touch-selector.c
641 (_create_new_column): change the pannable size request policy
643 Avoid to use a hardcoded height for the hildon picker dialog. In order
644 to get that, we needed to change the hildon pannable size request
646 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
648 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
650 * src/hildon-window.c (hildon_window_map): Check for vbox to be
651 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
654 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
656 * debian/control: Depend on osso-system-lock localization package.
657 * src/hildon-code-dialog.c: Obtain the secu_application_title
658 translation from osso-system-lock.
659 * src/hildon-get-password-dialog.c (create_contents): Do not mark
660 for translation the atk related strings, that's not necessary.
661 * src/hildon-set-password-dialog.c (create_contents): Ditto.
662 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
663 cancel button, it is not required.
665 2009-04-02 Alejandro G. Castro <alex@igalia.com>
667 * src/hildon-pannable-area.c,
668 (hildon_pannable_area_class_init): Modified the default value of
669 the overshooting max speed, we have reduced it.
671 2009-04-02 Alberto Garcia <agarcia@igalia.com>
673 * doc/hildon-sections.txt
674 * src/hildon-window-private.h
675 * src/hildon-window.h
676 * src/hildon-window.c (hildon_window_class_init)
677 (hildon_window_init, hildon_window_finalize)
678 (hildon_window_realize, hildon_window_get_property)
679 (hildon_window_set_property, hildon_window_update_markup)
680 (hildon_window_get_markup, hildon_window_set_markup):
681 New "markup" property and hildon_window_{get,set}_markup() methods.
683 * examples/hildon-stackable-window-example.c (new_window):
684 Update example to use hildon_window_set_markup()
686 Fixes: NB#106375 (Need API to retitle a window with a title
689 2009-04-01 Alejandro G. Castro <alex@igalia.com>
691 * src/hildon-pannable-area.c,
692 (hildon_pannable_area_class_init): Changed the default value of
693 the initial_hint to TRUE.
694 (hildon_pannable_area_initial_effect): Changed the initial effect,
695 not the effect is just the fade-out of the scrollbars.
697 Fixes: NB#107775 (No scrollbars can be seen when several items are
698 available in a dialog)
700 2009-04-01 Alberto Garcia <agarcia@igalia.com>
702 * src/hildon-program.c (hildon_program_update_top_most):
705 Fixes: NB#109179 (Memory leak in Hildon program)
707 2009-04-01 Alberto Garcia <agarcia@igalia.com>
709 * src/hildon-banner.c (-get_current_app_window):
710 Remove unused function.
712 2009-04-01 Alejandro G. Castro <alex@igalia.com>
714 * src/hildon-pannable-area.c: Modified the documentation of the
715 get adjustments functions to explain the problem of using the
717 (hildon_pannable_area_class_init): Improved the explanation about
720 2009-04-01 Alberto Garcia <agarcia@igalia.com>
722 * src/hildon-app-menu-private.h
723 * src/hildon-app-menu.c
724 (hildon_app_menu_class_init):
725 Bring back the 'external-border' style property
726 (hildon_app_menu_class_init, hildon_app_menu_init)
727 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
728 Set a fixed width-request for the menu, independent of the number
731 Fixes: NB#94957 (Smoothly opened application menu)
733 2009-03-30 Alberto Garcia <agarcia@igalia.com>
735 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
737 * src/hildon-banner.c
738 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
740 Make sure that the banner is correctly placed the first time it's
742 (hildon_banner_check_position, -check_fullscreen_state):
743 Show the banner in the same place no matter if the window is in
744 fullscreen mode or not.
746 Fixes: NB#107386 (Odd stacking behaviour for information banners)
748 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
750 * src/hildon-touch-selector.c (_default_print_func): reorder
751 concatenation for clarity.
753 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
755 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
756 for multicolumn selectors.
758 Fixes: NB#109099 (Memory leak in Hildon touch selector)
760 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
765 * configure.ac: Bump version.
766 * debian/changelog: Updates.
768 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
770 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
773 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
775 * configure.ac: removed libcangerra-gtk dependency
776 * debian/control: removed libcanberra-gtk dependency
777 * src/Makefile.am: removed libcanberra gtk related flags
778 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
779 context, and manage a global canberra context instead
781 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
783 2009-03-26 Alberto Garcia <agarcia@igalia.com>
785 Patch by Daniel Borgmann (danielb@openismus.com)
787 * src/hildon-edit-toolbar.c:
788 Adjust the left padding.
789 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
790 Paint background of the edit toolbar.
792 Fixes: NB#107897 (Patch to make editmodetoolbar background
793 themeable and adjust margin)
795 2009-03-25 Alberto Garcia <agarcia@igalia.com>
797 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
799 * src/hildon-program.c (hildon_program_update_top_most):
800 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
802 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
803 change when the user tasks in/out of an application)
805 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
807 * configure.ac: added libcangerra-gtk dependency
808 * debian/control: added libcanberra-gtk dependency
809 * src/Makefile.am: added libcanberra gtk related flags
810 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
813 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
815 2009-03-25 Alberto Garcia <agarcia@igalia.com>
817 * src/hildon-program.c (hildon_program_remove_window)
818 (hildon_program_add_window): Add checks for the window
819 parameter. Don't decrease the window counter if the window is not
822 2009-03-24 Alejandro G. Castro <alex@igalia.com>
824 * src/hildon-pannable-area.c,
825 (hildon_pannable_area_realize): Fixed position of the event_window
826 in the realize method.
828 2009-03-24 Alberto Garcia <agarcia@igalia.com>
830 * src/hildon-app-menu-private.h
831 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
832 (hildon_app_menu_map, hildon_app_menu_hide_idle)
833 (hildon_app_menu_key_press, hildon_app_menu_init)
834 (hildon_app_menu_finalize):
835 Make sure that all idle functions are removed when the widget is
838 Fixes: NB#107583 (Hildon app menu crashes in various applications)
840 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
845 * configure.ac: Bump version.
846 * debian/changelog: Updates.
848 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
851 (+hildon_entry_show_placeholder),
852 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
853 that replace hildon_entry_update_contents().
854 (hildon_entry_set_text),
855 (hildon_entry_set_placeholder),
856 (hildon_entry_focus_in_event),
857 (hildon_entry_focus_out_event): Determine when it is needed
858 either to show or hide the placeholder and call the above methods.
860 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
861 when the placeholder text is already set)
863 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
865 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
866 simple GdkPixbufAnim using the new icons for the banner.
867 (hildon_banner_show_animation): Use the above mentioned method to
868 create the animation widget.
870 Fixes: NB#103564 (Make hildon animation banner use individual
871 image files as the animation)
873 2009-03-24 Alejandro G. Castro <alex@igalia.com>
875 * src/hildon-pannable-area.c,
876 (hildon_pannable_leave_notify_event): Check if the child is NULL
877 to avoid sending the leave.
879 2009-03-24 Alejandro G. Castro <alex@igalia.com>
881 * src/hildon-pannable-area.c,
882 (hildon_pannable_area_class_init),
883 (hildon_pannable_leave_notify_event): Added a handler of the
884 leave-notify-signal to consider when no motion notify before
887 Fixes: NB#107494 (Items stay selected when clicking and moving
888 away when inside pannable area)
890 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
895 * configure.ac: Bump version.
896 * debian/changelog: Updates.
898 2009-03-19 Alejandro G. Castro <alex@igalia.com>
900 Patch by Alberto Garcia (agarcia@igalia.com)
902 * src/hildon-date-button.c,
903 (hildon_date_button_class_init),
904 (hildon_date_button_init): Removed the construct property handling
905 and created a default selector in the init method.
906 * src/hildon-picker-button.c,
907 (hildon_picker_button_class_init): Removed the construct flag of the
910 2009-03-18 Alberto Garcia <agarcia@igalia.com>
912 * src/hildon-main.c (hildon_init):
913 Don't allow hildon_init() to be called more than once.
915 Fixes: NB#106607 (hildon_init should issue error message upon
918 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
920 * examples/hildon-pannable-area-touch-list-example.c
921 * examples/hildon-pannagle-area-touch-grid-example.c
922 * examples/hildon-edit-toolbar-example.c
923 * examples/hildon-touch-selector-multi-cells-example.c
924 Removed the call to gtk_rc_parse_string, as it is not required since
927 2009-03-17 Alejandro G. Castro <alex@igalia.com>
929 * src/hildon-pannable-area.c,
930 (hildon_pannable_area_class_init): Modified the default panning
931 threshold of the widget to 6px.
933 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
934 than the threshold value ) within the button is not sending the
937 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
939 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
940 for the treeview in the new column. This way, the touch list will never
943 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
944 be selected manually for the HW keys to work)
946 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
948 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
949 comparison instead of using strcmp(). Fixes a compiler warning as well.
951 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
953 * doc/hildon-docs.sgml: Do not set the library version in the
954 document title, use the releaseinfo tag for that purpose instead.
956 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
958 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
959 Do not jump to the first item if the text in the entry is removed.
961 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
966 * configure.ac: Bump version.
967 * debian/changelog: Updates.
969 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
971 * src/hildon-entry.c (hildon_entry_refresh_contents):
972 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
973 Use "ReversedSecondaryTextColor" for the placeholder text.
975 2009-03-12 Alberto Garcia <agarcia@igalia.com>
977 * src/hildon-text-view.c: Fix compilation warning.
979 2009-03-12 Alberto Garcia <agarcia@igalia.com>
981 * src/hildon-button.c (hildon_button_class_init): Don't make
982 "title" and "value" construction properties, to prevent them from
983 overwriting labels set from derived classes.
985 * src/hildon-picker-button.c
986 (hildon_picker_button_set_selector): Allow setting a NULL selector.
987 (hildon_picker_button_class_init): Make touch-selector a
988 construction property.
990 * src/hildon-date-button.c (hildon_date_button_class_init)
991 (+hildon_date_button_constructed): Add a default date selector if
994 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
996 * src/hildon-touch-selector.c: Small documentation fixes.
998 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1000 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1002 * src/hildon-entry.c (hildon_entry_refresh_contents),
1003 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1004 widget name, set the logical color directly instead and a boolean
1005 showing_placeholder instead.
1006 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1007 use the widget name here either.
1009 Fixes: NB#105678 (HildonTextView should use logical colours
1010 instead of setting widget name)
1012 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1014 Patch by Daniel Elster (danielk@openismus.com)
1016 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1017 Add user_data parameter.
1018 (hildon_touch_selector_set_print_func_full): New function akin
1019 hildon_touch_selector_set_print_func() but with support for user
1020 data and a destroy callback.
1021 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1022 to clean up the print function user data.
1023 (hildon_touch_selector_class_init): Install dispose function.
1024 (HildonTouchSelectorPrivate::print_user_data),
1025 (HildonTouchSelectorPrivate::print_destroy_func): New private
1027 (hildon_touch_selector_init): Initialize new private members.
1028 (hildon_touch_selector_get_current_text): Pass along user data
1029 to the print function.
1030 (_default_print_func): Add dummy user_data to parameter list.
1031 * hildon-date-selector.c (_custom_print_func): ditto,
1032 * hildon-time-selector.c (_custom_print_func): ditto,
1033 * hildon-touch-selector-entry.c
1034 (hildon_touch_selector_entry_print_func): ditto.
1036 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1038 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1040 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1042 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1044 * src/hildon-pannable-area.c,
1045 (hildon_pannable_area_init),
1046 (hildon_pannable_area_button_press_cb),
1047 (hildon_pannable_area_motion_notify_cb): We have added code to
1048 handle the leave and enter events when using the motion events.
1050 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1052 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1054 * src/hildon-date-button.c (hildon_date_button_get_date)
1055 (hildon_date_button_set_date): Make sure that the button has a
1058 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1060 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1062 * src/hildon-pannable-area.c,
1063 (hildon_pannable_area_class_init),
1064 (hildon_pannable_area_calculate_velocity): Modify the use of the
1065 force and adapt the value.
1067 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1069 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1070 (hildon_app_menu_class_init): Hide the menu if it receives a
1071 delete-event, but don't destroy it
1073 Fixes: NB#104485 (Not able to address the call when application
1074 menu is opened at background)
1076 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1078 * src/hildon-app-menu.c
1079 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1080 Remove the "external-border" style property, let the menu take its
1081 natural size (or the one set by the window manager)
1082 (hildon_app_menu_repack_items):
1083 Don't reshow the menu, avoid flickers.
1085 Partially fixes NB#94957 (Smoothly opened application menu)
1087 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1092 * configure.ac: Bump version.
1093 * debian/changelog: Updates.
1095 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1097 * src/hildon-pannable-area.c,
1098 (hildon_pannable_area_motion_notify_cb): We control that the
1099 direction error margin is used just in case the movement is
1100 allowed in the other direction.
1102 Fixes: NB#105012 (buttons inside a pannable area not getting
1103 release event when dragging/releasing)
1105 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1107 * src/hildon-pannable-area.c,
1108 (hildon_pannable_area_class_init),
1109 (hildon_pannable_area_get_property),
1110 (hildon_pannable_area_set_property),
1111 (hildon_pannable_area_initial_effect),
1112 (hildon_pannable_axis_scroll),
1113 (hildon_pannable_area_button_release_cb): Reviewed the
1114 overshooting effect, now it has its own max
1115 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1116 speed when bouncing.
1118 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1123 * configure.ac: Bump version.
1124 * debian/changelog: Updates.
1126 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1128 * src/hildon-pannable-area.c,
1129 (hildon_pannable_area_class_init): Changed the max speed, now
1130 users can launch the widget very fast. Reduced the default force,
1131 that way it is easier to control the launch speed.
1133 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1135 * src/hildon-pannable-area.c,
1136 (hildon_pannable_area_button_release_cb): Removed this check
1137 because it causes problems when the device is overloaded.
1139 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1141 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1142 add a current_text field to store the text entered in the
1143 touch selector entry.
1144 (_clean_current_selection): clean up the current text as well.
1145 (_save_current_selection), (_restore_current_selection):
1146 Save/restore the text in the entry if the selector is a
1147 HildonTouchSelectorEntry.
1149 Fixes: NB#102541 (value entered in the touch selector entry is not
1150 shown when opened for second time)
1152 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1154 * doc/hildon-sections.txt:
1155 * src/hildon-touch-selector-entry.c
1156 (+hildon_touch_selector_entry_get_entry):
1157 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1159 Fixes: NB#104815 (I need accessor to the entry inside
1160 HildonTouchSelectorEntry)
1162 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1164 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1165 (hildon_app_menu_class_init):
1166 New "filter-vertical-spacing" style property.
1168 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1170 * src/hildon-find-toolbar.c
1171 (hildon_find_toolbar_emit_close)
1172 (hildon_find_toolbar_emit_invalid_input)
1173 (hildon_find_toolbar_entry_activate):
1174 Use g_signal_emit() instead of g_signal_emit_by_name()
1176 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1178 Patch by Mox Soini (ext-mox.soini@nokia.com)
1180 * tests/TEST-CASES.txt
1181 * tests/check-hildon-banner.c
1182 * tests/check-hildon-note.c
1183 * src/hildon-banner.c
1184 * src/hildon-code-dialog.c
1185 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1186 * src/hildon-time-editor.c
1187 * examples/hildon-lookup-example.c (main):
1188 Replace obsolete icon names with new ones.
1190 * src/hildon-find-toolbar-private.h:
1191 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1192 (-hildon_find_toolbar_emit_search):
1193 Remove find button and change icon of close button.
1195 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1197 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1199 * src/hildon-time-button.c (hildon_time_button_new_step):
1200 Use the "touch-selector" property to set the selector directly
1201 when creating the object.
1203 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1205 Added a new example application that allows tuning the pannable
1206 area and replaced defines with properties in order to simplify the
1207 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1208 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1209 PROP_DIRECTION_ERROR_MARGIN.
1211 * examples/hildon-pannable-area-tuning-example.c: New example
1213 * src/hildon-pannable-area.c,
1214 (hildon_pannable_area_class_init),
1215 (hildon_pannable_area_init),
1216 (hildon_pannable_area_get_property),
1217 (hildon_pannable_area_set_property),
1218 (hildon_pannable_area_launch_fade_timeout),
1219 (hildon_pannable_area_adjust_value_changed),
1220 (hildon_pannable_axis_scroll),
1221 (hildon_pannable_area_motion_notify_cb),
1222 (hildon_pannable_area_scroll_cb),
1223 (hildon_pannable_area_button_release_cb): We have converted some
1224 of the defines that control the widget to properties to simplify
1227 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1229 * src/hildon-app-menu.c (hildon_app_menu_map)
1230 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1231 so it's closed if a new window appears.
1233 Fixes: NB#104485 (Not able to address the call when application
1234 menu is opened at background)
1236 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1238 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1239 missing 'break' statement in in 'case' construct to avoid
1242 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1244 * src/hildon-touch-selector-entry.c
1245 (hildon_touch_selector_entry_get_property),
1246 (hildon_touch_selector_entry_set_property): Add missing 'break'
1247 statements in in 'case' constructs to avoid incorrect warnings.
1249 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1251 * src/hildon-time-editor.c
1252 (hildon_time_editor_get_time_separators): Do not crash if
1253 the first label is NULL.
1255 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1257 * src/hildon-date-selector.c (_month_days): Check for month to be
1258 strictly less than 12, since otherwise we may overrun the array.
1260 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1262 * src/hildon-date-button.c (+hildon_date_button_new_full)
1263 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1264 (hildon_date_button_init): Set the date selector using a
1265 construction property, to make it happen after HildonButton's
1266 "value" property is set.
1268 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1269 current date by default)
1271 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1273 * doc/hildon-sections.txt
1274 * src/hildon-program.c
1275 * src/hildon-stackable-window.c
1276 * src/hildon-window.c:
1277 Documentation updates
1279 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1281 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1282 (hildon_window_stack_new, +hildon_window_stack_set_property)
1283 (+hildon_window_stack_get_property)
1284 (hildon_window_stack_class_init)
1285 (+hildon_window_stack_set_window_group)
1286 (+hildon_window_stack_get_window_group):
1287 Make the window group a construction property.
1289 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1291 * doc/hildon-sections.txt
1292 * src/hildon-stackable-window-private.h
1293 * src/hildon-stackable-window.h
1294 * src/hildon-stackable-window.c
1295 (-hildon_stackable_window_set_app_menu)
1296 (-hildon_stackable_window_get_app_menu)
1297 (-hildon_stackable_window_toggle_menu)
1298 (-hildon_stackable_window_finalize)
1299 (hildon_stackable_window_class_init)
1300 (hildon_stackable_window_init)
1301 * src/hildon-window-private.h
1302 * src/hildon-window.h
1303 * src/hildon-window.c (hildon_window_init)
1304 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1305 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1306 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1307 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1308 Moved all HildonAppMenu code to HildonWindow. The menu does not
1309 require a HildonStackableWindow anymore.
1311 * src/hildon-app-menu.c
1312 * src/hildon-program.c
1313 * examples/hildon-app-menu-example.c (main):
1314 Update examples and documentation to reflect HildonAppMenu
1317 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1319 * src/hildon-remote-texture.c
1320 * src/hildon-animation-actor.c:
1321 Don't include unused private headers.
1323 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1325 * src/hildon-program-private.h
1326 * src/hildon-program.c
1327 (hildon_program_set_common_menu)
1328 (hildon_program_get_common_menu)
1329 (hildon_program_set_common_app_menu)
1330 (hildon_program_get_common_app_menu):
1331 Change common menu pointers from GtkWidget* to GtkMenu* and
1332 HildonAppMenu* to avoid unnecessary casts.
1334 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1336 * src/hildon-window.c (hildon_window_set_main_menu):
1337 Removed incorrect 'Since:' tag
1339 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1341 * src/hildon-pannable-area.c,
1342 (hildon_pannable_area_calculate_velocity): We use now the
1343 RATIO_TOLERANCE here to check the distance, fixed typo in the
1345 (hildon_pannable_area_motion_notify_cb): We have to set the type
1346 and time even if we are not sending the motion.
1348 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1350 * doc/hildon-sections.txt
1351 * src/hildon-app-menu.h
1352 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1353 (+hildon_app_menu_get_filters): New methods to get the contents of
1356 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1359 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1361 * src/hildon-app-menu.c (hildon_app_menu_popup):
1364 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1366 * src/hildon-window.h
1367 * src/hildon-window.c (+hildon_window_get_main_menu)
1368 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1369 and deprecated hildon_window_get_menu().
1371 * src/hildon-stackable-window.h
1372 * src/hildon-stackable-window.c
1373 (+hildon_stackable_window_set_app_menu)
1374 (+hildon_stackable_window_get_app_menu)
1375 (hildon_stackable_window_set_main_menu): Created
1376 hildon_stackable_window_{get,set}_app_menu() and deprecated
1377 hildon_stackable_window_set_main_menu().
1379 * doc/hildon-sections.txt
1380 * examples/hildon-app-menu-example.c (main)
1381 * src/hildon-app-menu.c
1382 * src/hildon-program.c:
1383 Updated examples and documentation.
1385 Fixes: NB#103758 (No way to obtain a menu from a
1386 HildonStackableWindow)
1388 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1393 * configure.ac: Bump version.
1394 * debian/changelog: Updates.
1396 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1398 * examples/hildon-remote-texture-example.c: Include
1399 hildon-remote-texture.h explicitely.
1400 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1401 applications not defining _XOPEN_SOURCE which don't require this header.
1403 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1405 * doc/hildon-sections.txt
1406 * src/hildon-app-menu.h
1407 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1408 New function to pop up a HildonAppMenu
1410 * src/hildon-stackable-window.c
1411 (hildon_stackable_window_toggle_menu):
1412 Use hildon_app_menu_popup() to show the menu.
1414 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1416 * src/hildon-app-menu.c (hildon_app_menu_show)
1417 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1418 menu if there's another window between it and its parent window.
1420 Fixes: NB#100468 (Application menu window is launched even when a
1421 new secondary-window/dialog is pending to be shown/realized)
1423 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1425 * src/hildon-window-stack.c (hildon_window_stack_push)
1426 (hildon_window_stack_pop_and_push):
1427 Don't forget to push/pop the first window.
1428 Reverse the window list before calling _push_list()
1430 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1432 * src/hildon-picker-button.h
1433 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1434 Remove "value_changed" slot to avoid ABI breakage
1436 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1438 * src/hildon-pannable-area.c,
1439 (hildon_pannable_area_realize),
1440 (hildon_pannable_area_unrealize),
1441 (hildon_pannable_draw_vscroll),
1442 (hildon_pannable_draw_hscroll): Changed the method to handle the
1443 GC used to draw the transparent scrollbar, this way we avoid
1444 creating the GC all the time when drawing the scrollbars.
1446 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1448 * src/hildon-pannable-area.c,
1449 (hildon_pannable_area_init),
1450 (hildon_pannable_area_remove): Removed some unnecessary casts.
1451 (hildon_pannable_area_dispose): Disconnected some signals before
1452 releasing the adjustments.
1454 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1456 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1457 Make sure that all widgets contained in the toolbar are shown.
1459 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1461 * doc/hildon-sections.txt
1462 * src/hildon-picker-button.h
1463 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1464 (_selection_changed, hildon_picker_button_on_dialog_response)
1465 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1466 New hildon_picker_button_value_changed() method.
1469 * src/hildon-picker-button-private.h
1470 * src/hildon-picker-button.c (hildon_picker_button_init)
1471 (+hildon_picker_button_disable_value_changed): Add protected
1472 function for disabling the "value-changed" signal.
1474 * src/hildon-date-button.c (hildon_date_button_set_date):
1475 Don't emit "value-changed" for each one of the three columns.
1477 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1478 before actual change of values)
1480 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1482 * src/hildon-pannable-area.c,
1483 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1484 for the treeview overshooting.
1486 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1488 * src/hildon-banner.c (+hildon_banner_bind_style):
1489 Renamed from hildon_banner_bind_label_style(), now naming the
1490 banner itself as well.
1491 (hildon_banner_show_information),
1492 (hildon_banner_show_information_with_markup),
1493 (hildon_banner_show_animation), (hildon_banner_show_progress):
1494 Name the widgets and labels, based on their type.
1496 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1499 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1501 * src/hildon-note.c (hildon_note_set_property): call
1502 hildon_note_rename() on HildonNote:note-type set.
1503 (hildon_note_rename): Name the note and its label, based on the
1504 HildonNote:note-type property.
1506 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1509 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1511 * src/hildon-pannable-area.c,
1512 (hildon_pannable_area_class_init),
1513 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1514 panning parameters, increased SPS and deceleration factor. Added
1515 also a margin to control fake directions.
1517 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1519 Patch by Sven Herzberg (sven@imendio.com)
1521 * configure.ac: Add missing AM_PROG_CC_C_0
1522 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1524 See NB#101420 (Update unit tests and fix make check)
1526 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1528 This patch was applied before but reverted because it caused
1529 problems, we have changed the main condition and tested the
1530 regressions we detected before and they work ok. We have done a
1531 complete review of the topmost algorithm in order to get a more
1534 * src/hildon-pannable-area.c,
1535 (hildon_pannable_area_get_topmost): Added a new parameter to
1536 filter the the windows that do not include those events.
1537 (hildon_pannable_area_button_press_cb),
1538 (hildon_pannable_area_button_release_cb),
1539 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1540 topmost function, we have added the new parameter.
1542 Fixes: NB#97458 (Pannable area prevents propagation of button
1545 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1547 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1548 if all columns in the selector have an item selected.
1549 (_on_dialog_response): Stop "response" signal emission if there is
1550 any selector column without selected items.
1552 Fixes: NB#101889 (Picker dialog should not close when nothing is
1553 selected in multiple selection list)
1555 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1557 * src/hildon-font-selection-dialog.c
1558 (hildon_font_selection_dialog_class_init),
1559 (hildon_font_selection_dialog_init): Remove the preview
1560 button and dialog, since previewing with default theming is likely
1561 to be overcomplicated. The :preview property has now no effect.
1562 Update documentation blurbs to inform about this.
1564 Fixes: NB#92297 (Preview content is not clearly visible for
1565 default colour text)
1567 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1569 Reviewed the geometry that handles the children size and
1570 scrollbar, now it tries a size and reviews the results depending
1571 on the scrollbars visibility.
1573 * src/hildon-pannable-area.c,
1574 (hildon_pannable_area_realize): Fixed a typo.
1575 (hildon_pannable_area_child_allocate_calculate): Added this
1576 function to calculate the child allocation.
1577 (hildon_pannable_area_size_allocate): Reviewed the allocation
1579 (hildon_pannable_area_check_scrollbars),
1580 (hildon_pannable_area_refresh): Refactored refresh function, this
1581 way we can call the code handling the scrollbars without causing a
1582 size_request, it is interesting in the allocate.
1583 (hildon_pannable_area_init): Replace the callbacks of the
1584 value_changed and changed signals to propertly deal with the
1586 (hildon_pannable_area_grab_notify),
1587 (hildon_pannable_area_initial_effect),
1588 (hildon_pannable_area_launch_fade_timeout),
1589 (hildon_pannable_area_adjust_changed),
1590 (hildon_pannable_area_adjust_value_changed),
1591 (hildon_pannable_area_redraw),
1592 (hildon_pannable_area_button_press_cb),
1593 (hildon_pannable_area_button_release_cb),
1594 (hildon_pannable_area_scroll_cb),
1595 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1596 code and use the new functions adjust_changed and
1597 adjust_value_changed.
1599 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1600 Contact editor dialog)
1602 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1607 * configure.ac: Bump version.
1608 * debian/changelog: Updates.
1610 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1612 * src/hildon-pannable-area.c,
1613 (hildon_pannable_area_get_topmost),
1614 (hildon_pannable_area_button_press_cb),
1615 (hildon_pannable_area_button_release_cb),
1616 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1617 topmost function adding the event mask. We have to try a
1618 differente approach because it is still causing problems (NB#9745,
1621 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1623 * src/hildon-banner.c:
1624 Update the maximum width of timed banners.
1625 (force_to_wrap_truncated): Enforce the maximum text width if the
1628 Fixes: NB#102413 (The text margins (wrapping) in information
1629 banner should be HILDON_MARGIN_TRIPLE)
1631 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1633 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1635 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1636 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1637 bound when calculating the scroll indicator position.
1639 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1640 treat ->lower correctly)
1642 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1644 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1645 expose event handling, since it is not necessary to draw the focus
1648 Fixes: NB#102467 (Do not show highlight on the text in
1651 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1653 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1654 full height of the toolbar for the button and the label.
1656 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1658 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1659 padding before the label and after the button.
1661 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1663 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1665 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1666 Add a GtkVSeparator between the button and the back arrow.
1667 Let the button have automatic size.
1668 Set a name to the widget for theming handling.
1670 Fixes: NB#101793 (Make edit toolbar the same height as window
1671 title bar (use title area theming))
1673 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1675 * src/hildon-helper.c (attach_new_color_element): Fix memory
1678 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1680 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1682 * examples/hildon-button-example.c (common_buttons_window): Don't
1685 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1687 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1688 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1690 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1692 * src/hildon-gtk.c: Check that the window is realized.
1694 Fixes: NB#102225 (Crash setting the progress indicator to a non
1697 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1699 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1700 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1701 instead of modifying the one in the widget style.
1703 Fixes: NB#101043 (Second row of all the command button are
1704 displayed in transparent mode.)
1706 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1708 * src/hildon-date-button.c
1709 * src/hildon-time-button.c: Add gettext macros
1711 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1713 * src/hildon-date-button.c (hildon_date_button_new):
1714 * src/hildon-time-button.c (hildon_time_button_new_step):
1715 Use new logical strings to set the button default title.
1717 Fixes: NB#99915 (Date and Time options are not localised in Date
1720 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1722 * src/hildon-pannable-area.c
1723 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1724 the PANNING_THRESHOLD.
1726 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1728 * src/hildon-pannable-area.c,
1729 (hildon_pannable_area_class_init): Increased the maximum speed.
1730 (hildon_pannable_area_get_property),
1731 (hildon_pannable_area_set_property),
1732 (hildon_pannable_area_timeout): Added a new low friction mode, it
1733 allows the user avoid friction when launching the widget fast
1734 enough. It is interesting to traverse long lists.
1736 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1738 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1739 (+hildon_stackable_window_delete_event): Ignore delete events if
1740 the window is not the topmost one.
1742 Fixes: NB#101698 (Back button long press and delete-event handling)
1744 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1746 * src/hildon-pannable-area.c,
1747 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1748 gtk-dnd-drag-threshold, it was too big. We have defined our own
1749 dnd define and set a smaller value: PANNIG_THRESHOLD.
1751 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1753 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1754 user-defined icons, use always the default one.
1756 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1758 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1760 This patch was applied before but reverted because it caused
1761 problems, we have changed the main condition and tested the
1762 regressions we detected before and they work ok.
1764 * src/hildon-pannable-area.c,
1765 (hildon_pannable_area_get_topmost): Added a new parameter to
1766 filter the the windows that do not include those events. Added
1767 also a condition when finding the window to filter windows that do
1768 not ask for those events.
1769 (hildon_pannable_area_button_press_cb),
1770 (hildon_pannable_area_button_release_cb),
1771 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1772 topmost function, we have added the new parameter.
1774 Fixes: NB#97458 (Pannable area prevents propagation of button
1777 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1779 * tests/check-hildon-color-button.c (START_TEST): do not leak
1782 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1784 * src/hildon-font-selection-dialog.c
1785 (hildon_font_selection_dialog_get_preview_text): Return NULL
1786 instead of FALSE on the g_return_val_if_fail().
1788 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1790 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1791 * src/hildon-date-selector.c
1792 (hildon_date_selector_select_current_date):
1793 Do not compare unsigned integers to be greater than or equal 0,
1794 because it's always TRUE.
1796 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1798 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1799 (hildon_date_selector_constructor): Do not select the current
1800 date until we are handle the "changed" signal, to avoid having bogus
1801 elements in the days model.
1803 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1805 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1806 for num_days, since _month_days() can return a negative value.
1808 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1810 * src/hildon-caption.c (hildon_caption_size_allocate):
1811 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1812 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1814 Initialize allocation variables to 0, to avoid eventually using
1815 unitialized variables.
1817 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1819 * src/hildon-bread-crumb-trail.c
1820 (hildon_bread_crumb_trail_size_allocate):
1821 * src/hildon-calendar.c (hildon_calendar_set_background):
1822 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1823 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1824 * src/hildon-seekbar.c (hildon_seekbar_init):
1825 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1826 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1827 * src/hildon-touch-selector-entry.c
1828 (hildon_touch_selector_get_text_from_model):
1829 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1830 * src/hildon-window.c (hildon_window_finalize):
1832 Remove many unused variables.
1834 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1836 * src/hildon-seekbar.c: (hildon_seekbar_init),
1837 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1839 Remove unnecessary g_assert() calls.
1841 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1843 * src/hildon-caption.c: (hildon_caption_expose),
1844 (hildon_caption_set_property), (hildon_caption_init),
1845 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1846 (hildon_caption_size_request), (hildon_caption_size_allocate),
1847 (hildon_caption_forall), (hildon_caption_set_separator),
1848 (hildon_caption_activate), (hildon_caption_set_child_expand),
1849 (hildon_caption_set_label_text),
1850 (hildon_caption_get_label_alignment):
1852 Remove unnecessary g_assert() calls.
1854 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1856 * src/hildon-banner.c
1857 (hildon_banner_map, hildon_banner_init): Make banner temporary
1858 before mapping it to avoid closing other temporary windows, but
1859 make it non-temporary afterwards to avoid being closed by other
1860 non-temporary windows.
1861 (-hildon_banner_client_event, hildon_banner_init):
1862 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1864 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1867 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1869 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1872 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1874 * src/hildon-remote-texture.c
1875 * src/hildon-remote-texture.h
1876 * src/hildon-remote-texture-private.h
1877 * examples/hildon-remote-texture-example.c:
1878 Updates/fixes to remote-texture and its example.
1880 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1882 Patch by Mox Soini (ext-mox.soini@nokia.com)
1884 * src/hildon-code-dialog.c: Update logical id.
1885 * src/hildon-set-password-dialog.c: Update logical id.
1887 Fixes: NB#100646 (Logical strings is shown for ok in set
1888 password,Password needed dialogs)
1890 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1893 * src/hildon-remote-texture.c
1894 * src/hildon-remote-texture.h
1895 * src/hildon-remote-texture-private.h
1897 Added remote texture widget (for Clutter shared memory textures)
1899 * examples/hildon-remote-texture-example.c
1900 * examples/Makefile.am
1901 Added example file for remote texture usage
1903 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1905 * configure.ac: post release version bump.
1906 * debian/changelog: version bump.
1908 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1913 * configure.ac: Bump version.
1914 * debian/changelog: Updates.
1916 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1918 * src/hildon-date-selector.c (hildon_date_selector_init)
1919 (hildon_date_selector_constructor): Don't connect to the "changed"
1920 signal until the selector is completely constructed.
1922 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1924 * src/hildon-touch-selector.c: (_create_new_column),
1925 (hildon_touch_selector_append_column),
1926 (hildon_touch_selector_set_column_selection_mode),
1927 (hildon_touch_selector_set_active),
1928 (hildon_touch_selector_select_iter):
1929 Emit the HildonTouchSelector::changed signal every time selection
1930 is changed in any of the methods above. This behavior was already
1931 documented but not fully functional.
1933 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1934 selection is programmatically changed)
1936 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1938 * doc/hildon-sections.txt: Remove obsolete icon
1939 sizes from here as well.
1941 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1943 * examples/hildon-stackable-window-example.c (add_window): Remove
1946 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1948 * src/hildon-app-menu.c
1949 (hildon_app_menu_show): Check whether the parent window of a menu
1950 is topmost before popping it up.
1952 Fixes: NB#100468 (Application menu window is launched even when a
1953 new secondary-window/dialog is pending to be shown/realized.)
1955 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1957 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1960 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1962 Patch by Mox Soini (ext-mox.soini@nokia.com)
1964 * src/hildon-banner.c: (hildon_banner_show_animation):
1965 use stylus size instead of obsolete note size.
1966 * src/hildon-defines.h: Update icon sizes.
1968 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1970 * src/hildon-touch-selector-entry.c:
1971 (hildon_touch_selector_entry_init): Disable unsupported
1973 (hildon_touch_selector_entry_get_text_column): Emit a warning
1974 if an unsupported input modes is used and explicitile state
1975 these modes in the documentation.
1977 Fixes: NB#99802 (Hildon touch selector entry not working properly
1978 for some of the input modes)
1980 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1982 * src/hildon-pannable-area.c,
1983 (hildon_pannable_area_init): Added the changed signal handlers of
1986 Fixes: NB#100320 (HildonPannableArea does not listen to
1987 GtkAdjustment "change" signals)
1989 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1991 * doc/hildon-sections.txt
1992 * src/hildon-window-private.h
1993 * src/hildon-window.h
1994 * src/hildon-window.c (hildon_window_init)
1995 (hildon_window_realize, hildon_window_unrealize)
1996 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1997 (hildon_window_size_request, hildon_window_size_allocate)
1998 (hildon_window_forall, hildon_window_show_all)
1999 (hildon_window_destroy, +paint_edit_toolbar)
2000 (+hildon_window_set_edit_toolbar):
2001 New hildon_window_set_edit_toolbar() method, to add a
2002 HildonEditToolbar to a window without having to pack it manually.
2004 Reorganize hildon_window_size_allocate()
2006 * src/hildon-edit-toolbar.c: Update documentation.
2008 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2009 example to use the new API.
2011 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2013 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2015 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2016 Remove from stack before calling parent's hide.
2018 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2020 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2021 window is removed from the middle of the stack, update the
2022 transiency of the previous one.
2024 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2027 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2029 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2030 block/unblock the signal handler if it's not actually being used.
2031 Fixes some critical warnings.
2033 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2035 Based on a patch by Iván Gómez (igomez@igalia.com)
2037 * src/hildon-banner.c
2041 * src/hildon-pannable-area.c
2042 * src/hildon-picker-dialog.c
2043 * src/hildon-wizard-dialog.h
2044 * src/hildon-wizard-dialog.c: Documentation updates.
2046 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2047 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2049 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2051 * configure.ac: post release version bump.
2052 * debian/changelog: version bump.
2054 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2059 * configure.ac: Bump version.
2060 * debian/changelog: Updates.
2062 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2064 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2065 a stock icon nor change the relief of the back arrow.
2067 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2068 graphics from theme)
2070 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2072 * src/hildon-button.c (hildon_button_set_alignment): Use
2073 priv->alignment if the button has no child yet.
2075 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2077 * src/hildon-button.c: (hildon_button_init): Set the
2078 button style during initialization to give it the proper
2081 Fixes: NB#99713 (HildonButton value label color is wrong)
2083 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2085 * src/hildon-touch-selector.c: Document
2086 hildon_touch_selector_center_on_selected()
2088 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2090 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2091 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2092 all menu items, but not the menu itself.
2093 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2094 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2095 items after adding them to the menu so keyboard accelerators work.
2096 (hildon_app_menu_show): Don't show the menu if it contains items
2097 but none of them are visible.
2099 * examples/hildon-app-menu-example.c (create_menu): Use
2100 gtk_widget_show_all() to show all menu items.
2102 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2104 * src/hildon-picker-dialog.c:
2105 (-_update_title_on_selector_changed_cb),
2106 (-_dialog_update_title): Removed.
2107 (_select_on_selector_changed_cb), (_on_dialog_response),
2108 (on_selector_columns_changed): Do not update the dialog title.
2109 (setup_interaction_mode): Do not connect to
2110 HildonTouchSelector::changed signal if there's a "done" button, as
2111 the dialog title doesn't need to be updated.
2113 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2116 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2118 Patch by Kristian Rietveld (kris@imendio.com)
2120 * src/hildon-touch-selector.c: (_create_new_column): Use new
2121 GtkTreeView::hildon-row-tapped signal to react to user interactions
2122 instead of ::changed.
2124 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2125 with some dynamic tree model)
2127 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2129 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2130 (+screen_size_changed, +label_size_request)
2131 (hildon_note_class_init): Make the Hildon information note have a
2132 minimum height, and make its text hvae a maximum width.
2134 Fixes: NB#98614 (Hildon information note (background) should have
2135 minimum height and maximum text width)
2137 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2139 * src/hildon-banner.h
2140 * src/hildon-banner.c (hildon_banner_show_information)
2141 (hildon_banner_show_informationf)
2142 (hildon_banner_show_information_with_markup): Update documentation
2143 to reflect that the icon_name parameter is not used anymore.
2144 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2145 Remove all code from these functions and mark them as deprecated.
2146 (hildon_banner_show_progress): Mark as deprecated.
2148 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2150 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2152 * src/hildon-pannable-area.c,
2153 (hildon_pannable_area_class_init),
2154 (tranparency_color),
2155 (hildon_pannable_draw_vscroll),
2156 (hildon_pannable_draw_hscroll),
2157 (hildon_pannable_area_expose_event): Added a new way to render the
2158 scrollbars of the pannable area avoiding using cairo at all. This
2159 way we improve the performance of the pannable area rendering. The
2160 cairo rendering procedure is still in the code, we can control
2161 which one to use changing the value of the define
2162 USE_CAIRO_SCROLLBARS.
2164 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2166 * configure.ac: post release version bump.
2167 * debian/changelog: version bump.
2169 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2174 * configure.ac: Bump version.
2175 * debian/changelog: Updates.
2177 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2179 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2180 banners instead of destroying them when they receive a button
2183 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2185 Reverted commit 34028, it was causing regressions, probably the
2186 topmost condition is not correct, we have to check it in more
2187 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2188 propagation of button press events)
2190 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2192 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2193 that the selection is not empty before attempting to retrieve the
2194 current ampm selection.
2196 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2198 * src/hildon-picker-button.c:
2199 (hildon_picker_button_on_dialog_response): Directly update the
2200 button contents when required instead of calling _selection_changed.
2202 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2204 * src/hildon-program.c (hildon_program_update_top_most): Update
2205 'is-topmost' property also when wm_hints is not set.
2207 Fixes: NB#98383 (is-topmost signal is not emitted when task
2208 switcher is clicked.)
2210 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2212 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2216 * src/hildon-animation-actor.c,
2217 * src/hildon-animation-actor.h: Added the animation actor class,
2218 this widget represents an animation actor for WM-assisted
2219 animation effects in the Hildon framework.
2221 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2223 * src/hildon-window-stack-private.h
2224 * src/hildon-window-stack.c
2225 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2226 Avoid calling gtk_widget_show() again indirectly from
2227 hildon_stackable_window_show()
2229 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2231 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2234 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2236 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2237 (hildon_time_selector_init): Move the construction of the hours and
2238 ampm columns to the constructor to preserve the order the columns
2241 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2243 * src/hildon-picker-dialog.c:
2244 (hildon_picker_dialog_class_init): Connect a realize method.
2245 (+hildon_picker_dialog_realize): Setup the interaction mode here
2247 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2248 yet, do it during the realize instead.
2249 (_on_dialog_response):
2250 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2251 if the widget is not realized, to avoid the dialog response before it
2254 Avoid premature responses in the HildonPickerDialog that can cause it
2255 to be hidden before it's even shown.
2257 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2259 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2260 (on_selector_columns_changed), (requires_done_button),
2261 (+prepare_action_area), (setup_interaction_mode),
2262 (_hildon_picker_dialog_set_selector):
2264 Split the interaction mode setup into preparation of the
2265 action area (prepare_action_area()) and the connection of
2266 the signals in setup_interaction_mode() and update the code to
2269 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2271 * src/hildon-pannable-area.c,
2272 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2273 per second to 15, we will check if this is ok regarding
2276 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2278 * src/hildon-pannable-area.c,
2279 (hildon_pannable_axis_scroll): Avoid resize if we already have
2280 reached overshoot_max.
2282 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2284 * src/hildon-pannable-area.c,
2285 (hildon_pannable_area_init),
2286 (hildon_pannable_area_realize),
2287 (hildon_pannable_area_size_allocate),
2288 (hildon_pannable_area_map),
2289 (hildon_pannable_area_unmap),
2290 (hildon_pannable_draw_vscroll),
2291 (hildon_pannable_draw_hscroll),
2292 (hildon_pannable_area_expose_event),
2293 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2294 pannable are to avoid the expose events go to the window and
2295 redraw the window. We save this way that part of the stack and the
2296 paint_boxes. We had to change the positions of the elements when
2299 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2301 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2302 * src/hildon-color-chooser-dialog.c:
2303 (hildon_color_chooser_dialog_init):
2304 * src/hildon-font-selection-dialog.c:
2305 (hildon_font_selection_dialog_init),
2306 (hildon_font_selection_dialog_show_preview):
2307 * src/hildon-get-password-dialog.c:
2308 * src/hildon-login-dialog.c:
2309 * src/hildon-set-password-dialog.c:
2310 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2311 * src/hildon-time-picker.c: (hildon_time_picker_init):
2313 Remove obsolete logical string IDs and update to the appropriate ones.
2315 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2317 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2319 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2320 that happens if the window hasn't been realized yet.
2322 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2323 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2325 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2327 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2328 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2331 Fixes: NB#98537 (Device hangs in account settings dialog)
2333 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2335 * configure.ac: post release version bump.
2336 * debian/changelog: version bump
2338 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2343 * configure.ac: Bump version.
2344 * debian/changelog: Updates.
2346 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2348 Added a new function to the HildonTimeButton widget that allows to
2349 change the step of the minutes in the selector associated with the
2350 button: hildon_time_button_new_step
2352 * src/hildon-time-button.c,
2353 (hildon_time_button_init),
2354 (hildon_time_button_new),
2355 (hildon_time_button_new_step):
2356 * src/hildon-time-button.h: Added the new function and refactored
2358 * examples/hildon-time-button-example.c,
2359 (main): We have replaced the function without parameters with the
2360 function with the steps set to 5
2362 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2364 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2366 * src/hildon-time-selector.c,
2367 (hildon_time_selector_class_init),
2368 (hildon_time_selector_constructor),
2369 (hildon_time_selector_get_property),
2370 (hildon_time_selector_set_property),
2371 (_create_minutes_model),
2372 (hildon_time_selector_new_step),
2373 (hildon_time_selector_set_time),
2374 * src/hildon-time-selector.h: Added a new property to the
2375 HildonTimeSelector (minutes-step), we use that property to control
2376 the steps between the minutes in the list of the selector. We have
2377 added a new function to the API to create a widget changing the
2378 step: hildon_time_selector_new_step.
2380 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2382 * src/hildon-time-selector.c,
2383 (hildon_time_selector_class_init),
2384 (hildon_time_selector_constructor),
2385 (hildon_time_selector_init): Overrided the construct function when
2386 creating the time selector object. We have moved the minutes model
2387 handling code from the init to the new construction function:
2388 hildon_time_selector_constructor.
2390 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2392 * examples/hildon-date-button-example.c: (main): Use the new
2393 hildon_date_button_new_with_year_range() method in the example.
2394 * src/hildon-date-button.c:
2395 (+hildon_date_button_new_with_year_range): New public method
2396 to conveniently create a HildonDateButton with a custom year range
2397 in its HildonDateSelector.
2398 * src/hildon-date-button.h: Add the new public method definition.
2400 Fixes: NB#97908 (Not possible to change the year range in
2401 HildonDateSelector/HildonDateButton)
2403 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2405 * src/hildon-date-selector.c:
2406 (+hildon_date_selector_set_property),
2407 (+hildon_date_selector_get_property),
2408 (hildon_date_selector_class_init): Install new properties "min-year"
2409 and "max-year" to define boundaries for the year column.
2410 (_create_year_model): Use the boundary properties to populate the model.
2411 (+hildon_date_selector_new_with_year_range): New public method to
2412 create a HildonDateSelector with a user defined year range.
2413 (hildon_date_selector_select_current_date): Use the new boundaries to
2414 calculate the iterator of current year.
2415 * src/hildon-date-selector.h: Add the new public method definition.
2417 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2419 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2420 Install a constructor method.
2421 (+hildon_date_selector_construct_ui): construct the widget.
2422 (+hildon_date_selector_constructor): new constructor.
2423 (+hildon_date_selector_init): move out widget construction code to
2424 the new constructor.
2426 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2428 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2429 that there's actually a month or year selected before obtaining them.
2430 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2431 of the HildonTouchSelector::changed signal, as it was emitted on every
2432 single item selection.
2434 Fix some warnings and possible crashers due to the selection restoring.
2436 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2438 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2439 the signal handlers only after creating the dialog instead of on every
2442 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2444 * src/hildon-button.c (hildon_button_init)
2445 * src/hildon-check-button.c (hildon_check_button_init)
2446 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2447 focus when clicked by default.
2449 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2451 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2454 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2456 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2457 Alejandro G. Castro (alex@igalia.com)
2459 * src/hildon-picker-dialog.c:
2460 (hildon_picker_dialog_class_init): install new "center-on-show"
2462 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2463 (hildon_picker_dialog_set_property): add setter code for the new
2465 (hildon_picker_dialog_get_property): add getter code for the new
2467 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2468 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2471 Fixes: NB#92849 (Selected item is not always visible when
2472 HildonTouchSelector is shown)
2474 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2476 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2477 Alejandro G. Castro (alex@igalia.com)
2479 * src/hildon-touch-selector.c:
2480 (_create_new_column): Do not connect to the "realize" signal of the
2482 (hildon_touch_selector_append_column): center on the selected items
2483 when a new column is appended.
2484 (hildon_touch_selector_select_iter): Factor out the code to select a
2485 column to hildon_touch_selector_scroll_to().
2486 (+search_nearest_element): Method to retrieve the nearest selected
2487 element to the visible area of the pannable area in a column.
2488 (+on_realize_cb): scroll to the initially selected item.
2489 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2490 the pannable area is realized, otherwise delay this until it is.
2491 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2492 selected items of a given column.
2493 (+hildon_touch_selector_center_on_selected): Public method to center
2494 all columns on the nearest selected item.
2495 * src/hildon-touch-selector.h: Add definition for
2496 hildon_touch_selector_center_on_selected().
2498 Implement public API to ensure visibility of all selected items in
2499 a HildonTouchSelector.
2501 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2503 Fixed a problem in the fading when calling the scroll_to API, and
2504 improve scrollbar fading handling.
2506 * src/hildon-pannable-area.c,
2507 (hildon_pannable_area_grab_notify): avoid the timeout when the
2509 (hildon_pannable_area_button_press_cb),
2510 (hildon_pannable_area_motion_notify_cb): Code style changes.
2511 (hildon_pannable_area_button_release_cb): Review the conditions
2512 when releasing the mouse button to avoid unrequired fading
2514 (hildon_pannable_area_scroll_to): Do not calculate and set the
2515 velocity if the scroll is not required.
2517 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2519 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2520 Don't check whether the new selector is NULL: it cannot be.
2521 Hold a reference to the selector while doing the replacement.
2523 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2525 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2526 unnecessary size_request in a removed widget.
2528 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2530 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2531 an unnecessary reference tracking that was leaking.
2533 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2535 Added delayed motion notify event handling, this way we can
2536 discard redrawing if more than 25 events arrive per second.
2538 * src/hildon-pannable-area.c,
2539 (hildon_pannable_area_init): Initialized the new private atributes
2540 controlling this timeout
2541 (hildon_pannable_area_dispose): Remove the timeout that controls
2542 the motion notify events.
2543 (hildon_pannable_area_scroll): Added a condition to control the
2544 use of the acceleration.
2545 (hildon_pannable_area_motion_event_scroll_timeout),
2546 (hildon_pannable_area_motion_event_scroll): Added this two
2547 functions, they handle the motion notify events inside the
2549 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2550 to the scroll method with the new function.
2551 (hildon_pannable_area_button_release_cb): We have to remove the
2552 timeout handler and move to the last position if the last motion
2553 events were not handled.
2555 Fixes: NB#97028 (Pannable area updates on every motion event)
2557 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2559 * src/hildon-pannable-area.c,
2560 (hildon_pannable_area_get_topmost): Added a new parameter to
2561 filter the the windows that do not include those events. Added
2562 also a condition when finding the window to filter windows that do
2563 not ask for those events.
2564 (hildon_pannable_area_button_press_cb),
2565 (hildon_pannable_area_button_release_cb),
2566 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2567 topmost function, we have added the new parameter.
2569 Fixes: NB#97458 (Pannable area prevents propagation of button
2572 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2574 * src/hildon-pannable-area.c,
2575 (hildon_pannable_area_initial_effect): Added controls before
2576 launching the timeout and the idle functions.
2577 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2578 of the method, in some situations it can return with TRUE and 0 in
2580 (hildon_pannable_area_button_press_cb): We do not need to set
2581 DELAY for fading out here.
2583 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2585 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2587 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2588 post-cleaning if the selection is not NULL.
2590 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2592 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2593 all items before restoring the selection.
2595 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2597 * src/hildon-touch-selector.c:
2598 (+hildon_touch_selector_unselect_all):
2599 * src/hildon-touch-selector.h: New API to unselect all items in a
2600 column of the touch selector.
2602 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2604 * src/hildon-pannable-area.c,
2605 (hildon_pannable_area_redraw): Added a call to the refresh
2606 function inside the redraw because apparently in some cases the
2607 change in the adjustment does not imply a size allocate.
2609 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2610 despite the view not being scrollable)
2612 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2614 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2615 leak. Check for NULL before attempting to set the window title.
2617 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2620 whether to show or not the 'Done' button each time the dialog is
2621 shown, as it depends on the HildonTouchSelector selection mode.
2623 Fixes: NB#96226 (In multiple selection mode Done button is shown
2624 sometimes in listpicker)
2626 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2628 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2629 for the number of columns in the HildonTouchSelector more than once.
2631 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2633 * src/hildon-touch-selector.c: Minor documentation fixes.
2635 * src/hildon-picker-dialog.c (+_dialog_update_title)
2636 (_select_on_selector_changed_cb)
2637 (_update_title_on_selector_changed_cb)
2638 (on_selector_columns_changed): Update dialog title when there's no
2639 'Done' button and also when the number of columns in the selector
2643 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2644 (+_selection_changed, hildon_picker_button_on_dialog_response)
2645 (hildon_picker_button_selector_selection_changed)
2646 (+hildon_picker_button_selector_columns_changed)
2647 (hildon_picker_button_set_selector): Update button value and emit
2648 'value-changed' when the number of columns in the selector
2652 Fixes: NB#96225 (Dialog titles are not shown according to the
2653 values selected in the list picker)
2655 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2657 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2658 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2659 New "arrow-width" and "arrow-height" style properties to set the
2660 size of the arrow button.
2661 Set name of arrow button ("hildon-edit-toolbar-arrow").
2663 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2664 graphics from theme)
2666 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2668 * src/hildon-picker-button.c:
2669 (hildon_picker_button_selector_selection_changed): Use
2670 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2671 the dialog is present.
2673 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2674 the selection is accepted in the dialog)
2676 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2678 * src/hildon-color-chooser.h
2679 * src/hildon-color-chooser-dialog.h:
2680 Added G_BEGIN_DECLS and G_END_DECLS
2682 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2684 (_clean_current_selection): plug a leak in the list.
2686 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2688 * src/hildon-picker-dialog.c:
2689 (+free_path_list): Method to free a GList of GtkTreePaths.
2690 (_clean_current_selection), (_save_current_selection),
2691 (_restore_current_selection): Save the current selection in
2692 as a list of lists, to support multiple selection properly.
2694 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2696 patch by Claudio Saavedra (csaavedra@igalia.com)
2698 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2699 Store the press position.
2700 (+hildon_text_view_button_release_event): If the release position is
2701 close enough to the press position, move the cursor here. Otherwise,
2703 (hildon_text_view_class_init): Override GtkTextView press, release, and
2704 motion event handlers, disabling this way text selection through
2705 pointer interaction, and allowing the container widget to handle the
2708 Fixes: NB#95828 (HildonTextView functionality)
2710 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2712 Based on a patch by Iván Gómez (igomez@igalia.com)
2714 * src/hildon-button.[ch]
2715 * src/hildon-calendar.c
2716 * src/hildon-check-button.c
2717 * src/hildon-date-editor.c
2718 * src/hildon-date-selector.c
2719 * src/hildon-picker-button.c
2720 * src/hildon-time-editor.c
2721 * src/hildon-time-selector.c
2722 * src/hildon-touch-selector.[ch]:
2723 Documentation updates
2725 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2727 * src/hildon-pannable-area.c,
2728 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2729 threshold, it was required due to X events handling.
2731 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2733 * src/hildon-pannable-area.c,
2734 (hildon_pannable_area_grab_notify),
2735 (hildon_pannable_area_initial_effect),
2736 (hildon_pannable_area_button_press_cb),
2737 (hildon_pannable_area_button_release_cb),
2738 (hildon_pannable_area_scroll_cb),
2739 (hildon_pannable_area_scroll_to): Review the timeout management of
2740 the scrollbar, the frecuency was incorrectly set.
2742 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2744 * src/hildon-picker-button.c:
2745 (+hildon_picker_button_on_dialog_response),
2746 (hildon_picker_button_clicked): Present the dialog instead of
2747 running it with gtk_dialog_run().
2749 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2752 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2754 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2755 (hildon_app_menu_finalize): When a window is hidden it doesn't
2756 emit notify::is-topmost, so make sure than the menu also
2757 disappears in that case.
2758 (parent_window_topmost_notify): Renamed from parent_window_hidden
2760 Fixes: NB#94460 (stackable window's menu is not closed when its
2763 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2765 * src/hildon-touch-selector-entry.c:
2766 (+hildon_touch_selector_entry_set_input_mode),
2767 (+hildon_touch_selector_entry_get_input_mode):
2768 * src/hildon-touch-selector-entry.h: New methods to access the input
2769 mode in the selector's entry.
2771 Fixes: NB#93410 (API required for setting IM mode in
2772 HildonTouchSelectorEntry)
2774 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2776 * configure.ac: post release version bump.
2777 * debian/changelog: version bump
2779 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2784 * configure.ac: Bump version.
2785 * debian/changelog: Updates.
2787 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2789 * src/hildon-touch-selector.c:
2790 (_hildon_touch_selector_has_multiple_selection): No need
2791 to initialize the variables here.
2793 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2795 * src/hildon-note-private.h
2796 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2797 (hildon_note_finalize, hildon_note_rebuild): Close information
2798 notes when they receive a button press.
2800 Fixes: NB#89890 (Information notes does not get disappeared after
2803 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2805 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2806 mark from the wizard title, as it's not really necessary. Also,
2807 do not display the page title if not set.
2809 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2811 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2812 (parent_window_hidden): Use the window's "is-topmost" property to
2813 detect when to hide the menu.
2815 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2817 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2818 (hildon_app_menu_finalize): If the parent window of the menu is
2819 hidden, hide the menu too.
2821 Fixes: NB#94460 (stackable window's menu is not closed when its
2824 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2827 * debian/libhildon1-examples.install
2829 * examples/Makefile.am:
2830 Use dh_install to install all examples.
2831 Use DEB_SRCDIR instead of defining SOURCE_DIR
2833 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2835 * configure.ac: post release version bump.
2836 * debian/changelog: version bump
2838 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2843 * configure.ac: bump version
2844 * debian/changelog: updates
2845 * debian/control: bump gtk+ dependency
2847 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2849 patch by Christian Dywan (christian@imendio.com)
2851 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2852 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2854 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2856 * src/hildon-check-button.c (hildon_check_button_init)
2857 (hildon_check_button_class_init, hildon_check_button_style_set)
2858 (hildon_check_button_apply_style):
2859 New "checkbox-size" style property.
2861 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2862 larger / configurable size)
2864 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2866 * configure.ac: post release version bump.
2867 * debian/changelog: version bump
2869 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2874 * configure.ac: bump version
2875 * debian/changelog: updates
2877 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2879 * doc/hildon-sections.txt
2880 * src/hildon-pannable-area.c
2881 * src/hildon-program.c
2882 * src/hildon-time-editor.c
2883 * src/hildon-touch-selector-entry.c:
2885 More documentation updates.
2887 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2889 * doc/hildon-sections.txt
2890 * src/hildon-caption.c
2891 * src/hildon-code-dialog.c
2892 * src/hildon-color-button.c
2893 * src/hildon-controlbar.c
2894 * src/hildon-date-editor.c
2895 * src/hildon-date-selector.c
2896 * src/hildon-edit-toolbar.c
2897 * src/hildon-find-toolbar.c
2898 * src/hildon-font-selection-dialog.c
2900 * src/hildon-program.c
2901 * src/hildon-range-editor.c
2902 * src/hildon-seekbar.c
2903 * src/hildon-time-editor.c
2904 * src/hildon-time-selector.c
2905 * src/hildon-volumebar-range.c
2906 * src/hildon-volumebar.c
2907 * src/hildon-vvolumebar.c
2908 * src/hildon-weekday-picker.c
2909 * src/hildon-window.c
2910 * src/hildon-wizard-dialog.c:
2912 Lots of documentation fixes.
2914 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2916 Patch contributed by Iván Gómez (igomez@igalia.com)
2918 * src/hildon-check-button.c:
2919 * src/hildon-date-button.c:
2920 * src/hildon-date-selector.c:
2921 * src/hildon-dialog.c:
2922 * src/hildon-edit-toolbar.c:
2923 * src/hildon-entry.c:
2924 * src/hildon-picker-button.c:
2925 * src/hildon-program.c:
2926 * src/hildon-text-view.c:
2927 * src/hildon-time-button.c:
2928 * src/hildon-touch-selector-entry.c:
2929 * src/hildon-window-stack.c:
2931 Add more "since" tags to the new API.
2933 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2935 * doc/hildon-sections.txt: Add below method.
2936 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2937 version for the hildonized scale.
2938 * src/hildon-gtk.h: Add the definition.
2940 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2942 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2944 * doc/hildon-sections.txt: Add missing entries for new methods.
2946 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2948 Added API to pannable are in order to get its adjustments. We
2949 added two properties to manage the values we had in the private
2952 * src/hildon-pannable-area.c:
2953 (hildon_pannable_area_class_init): Added hadjustment and
2954 vadjustment properties in order to expose horizontal and vertical
2956 (hildon_pannable_area_get_property),
2957 (hildon_pannable_area_set_property): Added code to handle the new
2959 (hildon_pannable_area_get_hadjustment),
2960 (hildon_pannable_area_get_vadjustment): API functions to get the
2962 * src/hildon-pannable-area.h:
2963 (hildon_pannable_area_get_hadjustment),
2964 (hildon_pannable_area_get_vadjustment): API functions to get the
2967 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2969 Fixed some leaks, after valgrinding.
2971 * src/hildon-touch-selector.c:
2972 (_default_print_func): Fixed a leak.
2973 (hildon_touch_selector_append_column): Fixed a leak.
2974 * src/hildon-date-button.c:
2975 (hildon_date_button_init): Fixed a leak.
2976 * src/hildon-date-selector.c
2977 (hildon_date_selector_finalize): Fixed a leak.
2979 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2981 Based on a patch by Christian Dywan (christian@imendio.com)
2983 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2985 * src/hildon-gtk.h: Add definition.
2987 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2989 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2991 * src/hildon-picker-button.c: (hildon_picker_button_init),
2992 (hildon_picker_button_new): Set the HildonButton::style property
2993 in the init method, to propagate the value to the derived classes.
2995 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2997 * src/hildon-button.c: (hildon_button_class_init): Do not make
2998 the "style" property a construct property.
3000 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3002 * src/hildon-wizard-dialog.h
3003 * src/hildon-wizard-dialog.c
3004 (hildon_wizard_dialog_set_forward_page_func)
3005 * src/hildon-pannable-area.h
3006 * src/hildon-pannable-area.c
3007 (hildon_pannable_area_set_size_request_policy):
3008 Documentation fixes.
3010 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3012 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3014 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3016 * doc/hildon-sections.txt: Added sections file.
3018 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3021 * src/*.[ch]: Updates.
3023 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3025 * examples/hildon-progress-indicator-example.c: new file
3026 * examples/Makefile.am: include the new example program
3028 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3030 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3032 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3034 * configure.ac: post release version bump
3035 * debian/changelog: version bump
3037 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3042 * configure.ac: bump version
3043 * debian/changelog: updates
3044 * debian/control: bump gtk+ dependency
3046 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3048 * src/hildon-dialog.c: Mark as deprecated.
3049 * src/hildon-dialog.h: Mark as deprecated.
3050 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3051 from HildonDialog and still work, even if
3052 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3053 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3055 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3056 maemo changes) instead)
3058 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3060 * src/hildon-pannable_area.h:
3061 * src/hildon-pannable_area.c:
3062 (hildon_pannable_area_class_init),
3063 (hildon_pannable_area_set_property),
3064 (hildon_pannable_area_get_property),
3065 (hildon_pannable_area_size_request),
3066 (hildon_pannable_area_get_size_request_policy),
3067 (hildon_pannable_area_set_size_request_policy): Added new API
3068 allowing applications to control the request policy. Now they can
3069 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3070 children allocation (HILDON_MOVEMENT_CHILDREN).
3072 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3076 (hildon_gtk_tree_view_set_ui_mode)
3077 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3078 mode of treeviews and iconviews.
3080 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3082 * src/hildon-touch-selector-entry.c:
3083 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3084 of a GtkEntry to get proper theming.
3086 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3087 widget, not GtkEntry)
3089 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3091 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3092 no HildonWizardDialogPageFunc.
3094 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3096 Patch contributed by Iván Gómez (igomez@igalia.com)
3098 * src/hildon-app-menu.c:
3099 * src/hildon-button.c:
3100 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3101 * src/hildon-stackable-window.c:
3102 * src/hildon-time-selector.c:
3103 * src/hildon-touch-selector.c:
3104 * src/hildon-window.c:
3106 Add more "since" tags to the new API in hildon 2.2.
3108 2008-12-05 Tim Janik <timj@imendio.com>
3110 Patch contributed by Christian Dywan (christian@imendio.com)
3112 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3113 HildonSizeType, which are supplied by Gtk+ now.
3115 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3117 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3118 (with maemo changes) instead)
3120 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3122 Patch contributed by Iván Gómez (igomez@igalia.com)
3124 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3127 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3129 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3130 (some_page_func), (main): Update the example to use a
3131 HildonWizardDialogPageFunc function.
3133 * src/hildon-wizard-dialog-private.h: Add private data for
3134 the HildonWizardDialogPageFunc function usage.
3136 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3137 (destroy), (hildon_wizard_dialog_init), (response),
3138 (hildon_wizard_dialog_set_forward_page_func):
3139 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3140 that applications can use to stop a HildonWizardDialog to jump to
3143 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3146 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3148 * src/hildon-program.h
3149 * src/hildon-program-private.h
3150 * src/hildon-program.c (hildon_program_init)
3151 (hildon_program_set_common_app_menu)
3152 (hildon_program_get_common_app_menu):
3153 New API for setting a common HildonAppMenu for all
3154 HildonStackableWindows registered with the HildonProgram.
3156 * src/hildon-stackable-window.c
3157 (hildon_stackable_window_toggle_menu):
3158 Use the common HildonAppMenu if a window doesn't have a specific
3161 * src/hildon-app-menu-private.h
3162 * src/hildon-app-menu.c
3163 (hildon_app_menu_get_parent_window):
3164 Function to obtain the window a HildonAppMenu is attached to.
3165 (hildon_app_menu_set_parent_window):
3166 Hide the menu if the parent window is set to NULL.
3168 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3170 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3171 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3172 search widget to popup.
3174 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3176 * configure.ac: post release version bump
3177 * debian/changelog: version bump
3179 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3184 * configure.ac: bump version
3185 * debian/changelog: updates
3187 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3189 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3191 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3192 (hildon_window_stack_window_realized)
3193 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3194 Set the leader GdkWindow when a window is stacked and realized,
3195 unset it when it's unstacked.
3196 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3198 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3200 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3202 * src/hildon-stackable-window.h
3203 * src/hildon-window-stack.h:
3204 Protect definition of HildonWindowStack using the preprocessor.
3206 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3208 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3209 Fix warning if all menu items are hidden.
3211 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3213 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3215 * src/hildon-controlbar.c:
3216 * src/hildon-hvolumebar.c:
3217 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3218 Multiple scale size defines updates.
3220 Fixes: NB#94322 (Scale Updates)
3222 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3224 * examples/hildon-app-menu-example.c (create_menu)
3225 Show items after adding them to the menu, as in the future the
3226 menu will no longer call gtk_widget_show() on the added items.
3228 * src/hildon-app-menu.c:
3229 Update example as explained above.
3231 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3233 * src/hildon-app-menu.c
3234 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3235 Make sure that all menu items have finger height.
3237 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3239 * src/hildon-picker-dialog.c:
3240 (_on_dialog_response), (_save_current_selection),
3241 (_restore_current_selection), (_clean_current_selection),
3242 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3243 Defined new functions in order to save the current internal selector
3244 selection previous open the dialog, in case that the use cancel the
3245 interaction, so the widget restores the previous selection.
3247 Fixes: NB#92032 (In calendar application, date values in 'new event'
3250 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3252 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3254 * src/hildon-button.c: Add a reference to the button examples in
3255 hildon-button-example.c
3257 * examples/hildon-button-example.c: Added examples of the most
3258 common button layouts.
3260 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3262 * src/hildon-app-menu.c (hildon_app_menu_show)
3263 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3265 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3267 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3269 * src/hildon-picker-dialog.c:
3270 (hildon_picker_dialog_init): Initialize the signal id for
3271 HildonTouchSelector::columns-changed.
3272 (+on_selector_columns_changed): Set up the interaction mode everytime a
3273 column is added or removed from the HildonTouchSelector.
3274 (_hildon_picker_dialog_set_selector): Connect to
3275 HildonTouchSelector::columns-changed and keep track of it.
3277 Make sure to update the interaction mode of the dialog everytime a
3278 column is added or removed in the HildonTouchSelector.
3280 Fixes: NB#93228 (Done button is not shown always in listpicker)
3282 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3284 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3285 a new ::columns-changed signal.
3286 (hildon_touch_selector_append_column): Emit ::columns-changed.
3287 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3289 Add a ::columns-changed signal, emitted when the number of columns in a
3290 HildonTouchSelector changes.
3292 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3294 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3295 (_hildon_picker_dialog_set_selector): Factor out the code
3296 to set up the dialog interaction mode.
3298 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3301 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3302 to signal_changed_id.
3304 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3306 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3309 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3311 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3312 Updated the logical ids related to ampm format, as now it is required to
3313 show it correctly localized even on languages with no default
3314 abbreviations for am or pm
3315 (_check_am_pm_format): check correctly the 24h format gconf property
3317 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3319 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3321 * src/hildon-button.c: Documentation updates.
3323 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3325 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3326 * src/hildon-caption.c: (hildon_caption_class_init):
3327 * src/hildon-color-button.c: (hildon_color_button_class_init):
3328 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3329 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3330 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3331 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3333 Remove deprecated GTK+ marshalers and replace them with the ones
3334 provided by GLib, for those available, add a marshaler for
3335 BOOLEAN:VOID, which is not available in GLib, and use it.
3337 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3339 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3340 the text from the previous column if there is no
3341 HildonTouchSelectorColumn::text-property set.
3343 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3345 * src/hildon-button.h
3346 * src/hildon-button.c (hildon_button_set_property)
3347 (hildon_button_get_property, hildon_button_class_init)
3348 (hildon_button_set_style, hildon_button_get_style):
3349 New "style" property to change the visual appearance of the
3352 * src/hildon-picker-button.c (hildon_picker_button_new):
3353 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3355 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3356 HildonButton look like PickerButton)
3358 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3360 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3361 column while building the default string.
3363 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3365 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3366 scroll indicator by default.
3368 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3370 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3372 * src/hildon-main.c: Fix the documentation for hildon_init()
3374 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3376 * doc/hildon-docs.sgml
3380 * src/hildon-window-stack-private.h
3381 * src/hildon-window-stack.h
3382 * src/hildon-window-stack.c:
3383 New HildonWindowStack object, that adds support for multiple
3384 stacks of windows per process.
3386 * src/hildon-stackable-window-private.h
3387 * src/hildon-stackable-window.h
3388 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3389 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3390 (hildon_stackable_window_show, hildon_stackable_window_hide)
3391 (hildon_stackable_window_class_init)
3392 (hildon_stackable_window_init):
3393 Use HildonWindowStack for stack management.
3395 * src/hildon-program.c (hildon_program_pop_window_stack)
3396 (hildon_program_peek_window_stack)
3397 (hildon_program_go_to_root_window):
3398 Add a fallback implementation to the deprecated functions using
3401 * examples/hildon-stackable-window-example.c:
3402 Use the new HildonWindowStack API.
3404 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3406 * src/hildon-stackable-window-private.h
3407 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3408 (hildon_stackable_window_hide, hildon_stackable_window_init):
3409 Remove all window stack management.
3411 * src/hildon-program-private.h
3412 * src/hildon-program.h
3413 * src/hildon-program.c (hildon_program_init)
3414 (hildon_program_pop_window_stack)
3415 (hildon_program_peek_window_stack)
3416 (hildon_program_go_to_root_window):
3417 Remove all window stack management and mark functions as
3420 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3422 * src/hildon-app-menu.c (hildon_app_menu_realize):
3423 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3425 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3427 * configure.ac: post release version bump
3428 * debian/changelog: version bump
3430 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3435 * configure.ac: bump version
3436 * debian/changelog: updates
3438 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3440 Based on initial code by Christian Dywan (christian@imendio.com)
3442 * doc/hildon-docs.sgml: Add section for hildon-main.
3443 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3444 * src/Makefile.am: Add new hildon-main.[ch]
3445 * src/hildon-defines.h: Update the icon sizes.
3446 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3447 new library initialization files and register icon sizes.
3448 * src/hildon-main.h: New declarations.
3449 * src/hildon.h: Include hildon-main.h
3451 Add new initialization functions to the library. These methods
3452 will register the hildon specific icon sizes and can be used in the
3453 future for other hildon specific bits.
3455 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3457 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3459 * src/hildon-window.c: (hildon_window_realize),
3460 (hildon_window_notify), (-hildon_window_update_title): Do not set
3461 the application name in the window title.
3463 Fixes: NB#89754 (Applications shouldn't display their names in the
3466 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3468 * src/hildon-note-private.h:
3469 * src/hildon-note.c: (hildon_note_set_property),
3470 (hildon_note_get_property), (hildon_note_class_init),
3471 (hildon_note_init), (hildon_note_finalize),
3472 (hildon_note_new_confirmation_with_icon_name),
3473 (hildon_note_new_information_with_icon_name):
3475 No need to mark as deprecated the actual code. Revert
3476 to avoid missing symbols in widgets using deprecated API.
3478 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3480 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3482 * src/hildon-volumebar.h
3483 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3484 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3486 * src/hildon-helper.h
3487 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3488 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3490 * examples/Makefile.am:
3491 Deprecate hildon-insensitive-example
3493 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3495 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3497 * examples/hildon-pannable-area-buttons-scroll-example.c:
3498 Make all buttons finger height
3500 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3502 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3504 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3505 update the day model only if it is really required, and to avoid the
3506 full-reconstruction aproach. Now it only add or remove the required days.
3508 The purpose of this is avoid superfluous HildonTouchSelector::changed
3511 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3512 with strange parameters)
3514 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3516 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3518 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3519 the WINDOW_TYPE property.
3521 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3523 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3526 Fix dependency to allow parallel compilation with make -jX
3528 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3530 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3531 color frame and some minor tweaks to make it more consistent with
3534 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3535 highlighted but not visible)
3537 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3539 * examples/Makefile.am: Fixed typo in the Makefile.am.
3541 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3543 Reviewed the use of MAEMO_GTK define, now we add the define in the
3544 compilation line, and we also add it to the pc file.
3546 * configure.ac: Added MAEMO_GTK define to the compilation command
3547 and removed it from the config.h.
3549 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3550 do not have to take care about this define if the library was
3554 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3556 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3558 * examples/Makefile.am,
3559 * examples/hildon-pannable-area-buttons-scroll-example.c,
3560 * examples/hildon-pannable-area-gesture-signals-example.c,
3561 * examples/hildon-pannable-area-scroll-jump-example.c,
3562 * examples/hildon-pannable-area-tree-view-example.c:
3563 Renamed the pannable area examples, now they have more meaningful
3566 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3568 * src/hildon-touch-selector.c:
3569 (hildon_touch_selector_set_column_selection_mode): Used of
3570 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3571 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3572 to avoid re-seting the same selection mode.
3574 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3575 breaks HildonPickerDialog)
3577 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3579 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3580 conditional in the Makefile.am
3582 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3584 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3585 Remove unused methods.
3587 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3589 * src/hildon-button.c (hildon_button_init):
3590 Make button images center-aligned by default
3592 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3595 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3596 activated, we have to think about how to deal with both defines
3597 MAEMO_GTK and MAEMO_CHANGES.
3599 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3601 * examples/hildon-app-menu-example.c (create_menu): Make all
3602 buttons finger size.
3604 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3606 Fixed the compilation without maemo gtk adding ifdefs with
3607 MAEMO_GTK define to the code, we have to check this version more
3610 * examples/Makefile.am: Added control to avoid some examples that
3611 just make sense with maemo gtk.
3614 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3615 hildon modes with the define.
3617 * examples/hildon-edit-toolbar-example.c,
3618 (create_icon_view): Create the icon view without hildon-gtk
3619 helpers if we are not using maemo gtk.
3621 * src/hildon-touch-selector.c,
3622 (_create_new_column): Create the treeview without hildon-gtk
3623 helpers if we are not using maemo gtk.
3625 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3627 * src/hildon-pnnable-area.c,
3628 (hildon_pannable_area_dispose),
3629 (hildon_pannable_area_button_press_cb),
3630 (hildon_pannable_area_child_mapped),
3631 (hildon_pannable_area_add),
3632 (hildon_pannable_area_remove): Added code to control the position
3633 of the event_window when adding and removing children from the
3634 pannable. We have to raise the event window when the child is
3637 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3638 selection mode using custom widget inside pannable)
3640 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3642 * configure.ac: post release version bump
3643 * debian/changelog: version bump
3645 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3650 * configure.ac: bump version
3651 * debian/changelog: updates
3653 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3655 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3656 search mode, in order to avoid lose the focus on the treeview when
3657 a hw key (like enter) is pressed.
3659 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3660 in HildonDateSelector dialog)
3662 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3664 * debian/rules: Added --enable-maintainer-mode
3665 * Makefile.am: Added ACLOCAL_AMFLAGS
3667 This allows to properly regenerate the Makefiles if you modify the
3668 configure.ac or any Makefile.am.
3670 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3672 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3673 properties, not needed at all.
3675 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3677 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3679 * src/hildon-note.c: (hildon_note_set_property),
3680 (hildon_note_get_property), (hildon_note_class_init),
3681 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3682 (hildon_note_new_confirmation_add_buttons): Remove icons.
3683 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3684 (hildon_note_new_information_with_icon_name): Deprecate.
3685 (hildon_note_new_confirmation): Act directly, without calling
3686 the deprecated constructor.
3687 (hildon_note_new_information): Act directly, without calling
3688 the deprecated constructor.
3689 * src/hildon-note.h: Mark deprecate methods as such.
3690 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3691 not run tests on the deprecated methods if built with deprecation
3694 Fixes: NB#91688 (Never show icons in information notes/confirmation
3697 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3699 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3700 (hildon_app_menu_key_press): Remove leftover usage of the
3701 private structure in HildonAppMenu struct.
3702 * src/hildon-app-menu.h: Remove leftover private structure
3703 from the HildonAppMenu struct.
3705 Fixes a crasher when using the HildonAppMenu.
3707 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3709 * src/hildon-picker-dialog.c: Use appropriate logical id
3710 for the default "Done" text.
3712 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3714 * configure.ac: post release version bump
3715 * debian/changelog: version bump
3717 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3719 Modified the way to scroll to the current selection just when the touch
3720 selector is shown on the screen, avoiding a g_idle. Added too a property
3721 to configure this behaviour. See hildon_pannable_area_jump_to_child
3722 documentation for more information.
3724 * src/hildon-touch-selector.c
3725 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3726 Added 'initial-scroll' property
3727 (hildon_touch_selector_set_property): Added
3728 (hildon_touch_selector_map): Removed as not required anymore
3729 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3730 only a concrete column, instead of iterate along all the columns
3732 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3737 * configure.ac: bump version
3738 * debian/changelog: updates
3740 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3742 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3743 compilation time warnings.
3745 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3747 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3748 the default value for HildonPannableArea::mov-mode to
3749 HILDON_PANNABLE_AREA_MODE_VERT.
3751 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3753 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3755 Reverting following commit:
3757 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3759 * src/hildon-app-menu-private.h
3760 * src/hildon-app-menu.[ch]
3761 * src/hildon-button.[ch]
3762 * src/hildon-check-button.[ch]
3763 * src/hildon-entry.[ch]
3764 * src/hildon-pannable-area.[ch]
3765 * src/hildon-text-view.[ch]:
3766 Added private field to the object's structure.
3768 because it causes an ABI breakage. We will need to introduce these
3769 changes later at some point. See NB#91636 for an extensive
3770 explanation and status.
3772 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3774 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3776 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3777 remove special cases that are no longer necessary.
3779 Fixes: NB#91016 (Change toolbar sizes, simplification)
3781 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3783 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3784 is shown in the cancel note.
3786 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3788 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3789 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3790 (hildon_seekbar_init): Remove steppers, remove expose event.
3791 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3793 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3795 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3797 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3798 label font to "SmallSystemFont" for vertically arranged buttons.
3800 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3803 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3805 * src/hildon-check-button.c
3806 (hildon_check_button_set_active, hildon_check_button_clicked):
3807 Don't access private parts directly, use getters instead.
3809 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3811 * src/hildon-check-button.c (hildon_check_button_new):
3812 Align the contents of the check button to the left.
3814 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3816 * src/hildon-pannable-area.c,
3817 (hildon_pannable_area_scroll_to),
3818 (hildon_pannable_area_jump_to),
3819 (hildon_pannable_area_scroll_to_child),
3820 (hildon_pannable_area_jump_to_child): Replace the mapped
3821 precondition of these functions with the realized, it is the
3822 correct state of the widget in this case. Changed the
3823 documentation according to this modification.
3825 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3827 Added a new EXTRA_CFLAGS option to add the deprecated define to
3828 the compilation command. This way we can avoid using the define in
3829 the documentation compilation.
3831 * configure.ac: Defined EXTRA_CFLAGS.
3833 * examples/Makefile.am:
3835 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3837 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3839 * src/hildon-picker-dialog.c:
3840 Defined a utility macro with the desired touch selector height
3841 Removed currently unused separator, and title_label variables from
3843 (hildon_picker_dialog_init): Removed code related to the creation
3844 of unused private variables title_label and separator.
3845 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3846 to ensure correct visualization of the touch selector inside the dialog.
3847 * src/hildon-touch-selector.c
3848 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3849 ensure a concrete height of the widget.
3851 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3854 * tests/Makefile.am:
3856 Remove spurious whitespaces.
3858 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3860 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3861 compilation warning after the cancel button removal.
3863 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3865 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3867 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3868 Makefile.am, that way we can choose not to compile some examples
3869 and tests of the deprecated widgets.
3871 * examples/Makefile.am: Divided the sources in deprecated and
3874 * src/Makefile.am: Added undef statement of the deprecated
3875 symbol to the enums file generation process.
3877 * src/hildon-color-chooser-dialog.c
3878 * src/hildon-color-chooser-dialog.h
3879 * src/hildon-color-button.c
3880 * src/hildon-color-button.h
3881 * src/hildon-color-chooser.c
3882 * src/hildon-color-chooser.h
3883 * src/hildon-controlbar.c
3884 * src/hildon-controlbar.h
3885 * src/hildon-date-editor.c
3886 * src/hildon-date-editor.h
3887 * src/hildon-hvolumebar.c
3888 * src/hildon-hvolumebar.h
3889 * src/hildon-private.c
3890 * src/hildon-private.h
3891 * src/hildon-range-editor.c
3892 * src/hildon-range-editor.h
3893 * src/hildon-seekbar.c
3894 * src/hildon-seekbar.h
3895 * src/hildon-time-editor.c
3896 * src/hildon-time-editor.h
3897 * src/hildon-time-picker.c
3898 * src/hildon-time-picker.h
3899 * src/hildon-volumebar.c
3900 * src/hildon-volumebar.h
3901 * src/hildon-vvolumebar.c
3902 * src/hildon-vvolumebar.h
3903 * src/hildon-bread-crumb-trail.h
3904 * src/hildon-bread-crumb-trail.c
3905 * src/hildon-calendar-popup.c
3906 * src/hildon-calendar-popup.h
3907 * src/hildon-weekday-picker.c:
3908 * src/hildon-weekday-picker.h:
3909 * src/hildon-bread-crumb-widget.c:
3910 * src/hildon-bread-crumb-widget.h:
3911 * src/hildon-bread-crumb.c:
3912 * src/hildon-bread-crumb.h:
3913 * src/hildon-calendar.c:
3914 * src/hildon-calendar.h:
3915 * src/hildon-caption.c:
3916 * src/hildon-code-dialog.c:
3917 * src/hildon-code-dialog.h:
3918 * src/hildon-font-selection-dialog.c:
3919 * src/hildon-font-selection-dialog.h:
3920 * src/hildon-get-password-dialog.c:
3921 * src/hildon-get-password-dialog.h:
3922 * src/hildon-login-dialog.c:
3923 * src/hildon-login-dialog.h:
3924 * src/hildon-number-editor.c:
3925 * src/hildon-number-editor.h:
3926 * src/hildon-set-password-dialog.c:
3927 * src/hildon-set-password-dialog.h:
3928 * src/hildon-sort-dialog.c:
3929 * src/hildon-sort-dialog.h: This is the list of deprecated
3932 * src/hildon-touch-selector.c:
3933 * src/hildon-window.c: Added undef statement to avoid compilation
3936 * tests/Makefile.am: Divided the sources in deprecated and
3939 * tests/check_test.c,
3940 (configure_tests): Marked the deprecated code that was adding
3941 suites with deprecated tests.
3943 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3945 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3947 * src/hildon-touch-selector.c: (_default_print_func): Do not
3948 duplicate a string returned by gtk_tree_model_get(), it is already
3951 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3954 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3956 * src/hildon-pannable-area.c
3957 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3958 method, it had problems when adding a widget with viewport the
3959 second time. Now checks if it already has a viewport and uses it.
3961 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3964 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3966 * src/hildon-pannable-area.c,
3967 (hildon_pannable_area_scroll_to),
3968 (hildon_pannable_area_jump_to),
3969 (hildon_pannable_area_scroll_to_child),
3970 (hildon_pannable_area_jump_to_child): Added a precondition to the
3971 scroll and jump to functions: the widget must be mapped before we
3972 can safely call these functions. We have also added documentation
3973 to the functions to explain how to use them in this situation.
3976 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3978 Reviewed the threading handling of the pannable widget, we have
3979 used the gdk_threads_add_timeout function instead of the usual
3980 glib handlers. This avoids some problems with the threads.
3982 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3983 (hildon_pannable_area_initial_effect),
3984 (hildon_pannable_area_scroll_indicator_fade),
3985 (hildon_pannable_area_button_press_cb),
3986 (hildon_pannable_area_timeout),
3987 (hildon_pannable_area_motion_notify_cb),
3988 (hildon_pannable_area_button_release_cb),
3989 (hildon_pannable_area_scroll_cb),
3990 (hildon_pannable_area_scroll_to): Removed the
3991 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3992 gdk_threads_add_timeout.
3994 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3996 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4001 * configure.ac: bump version
4002 * debian/changelog: updates
4004 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4006 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4007 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4008 * src/hildon-color-chooser-dialog.c:
4009 (hildon_color_chooser_dialog_init):
4010 * src/hildon-font-selection-dialog.c:
4011 (hildon_font_selection_dialog_init):
4012 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4014 Remove all cancel/close-like dialogs, as these are not going to be
4017 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4019 * src/hildon-note.c: (hildon_note_rebuild),
4020 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4023 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4025 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4027 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4028 sure all buttons are shown, even the Cancel/Close-like ones.
4030 Fixes: NB#90861 (Custom Confirmation dialogs should be
4031 protected from cancel button removal)
4033 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4035 * debian/control: Change libhildon1-examples dependency from libhildon1
4037 * debian/libhildon1-examples.install
4039 * Makefile.am: Modified the final install directory for the examples on
4040 package libhildon1-examples
4041 * Makefile.static: Update clean target in order to remove all the binary
4044 Changes suggested by Claudio after review new libhildon1-examples package
4046 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4048 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4049 * src/hildon-touch-selector.c: Ditto.
4051 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4053 * debian/control: Added new package libhildon1-examples, in order to pack
4054 the current hildon examples as documentation
4055 * debian/rules: Not to compress .c files, modify some includes on the
4056 examples (as normally are compiled locally, but when installed it will
4057 require to include the installed libhildon1 library), and rename
4059 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4060 install all the example files on the new example package
4061 * examples/Makefile.static: Added static makefile that can be used to
4062 compile the examples, once installed the new example package
4063 * examples: Most of the examples were modified in order to grant that
4064 all use only '#include "hildon.h"', in order to be easy to prepare
4065 it on the example package
4067 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4070 * debian/libhildon1-dev.install
4071 * debian/libhildon1-doc.install:
4072 Move all gtk-doc files to a separate libhildon1-doc package.
4074 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4076 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4078 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4080 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4082 * debian/rules: Fixed a error in order to avoid unnecessary calls
4083 to autogen.sh on package building
4085 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4087 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4089 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4091 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4094 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4096 * src/hildon-picker-button.c
4097 (hildon_picker_button_finalize):
4098 Free priv->done_button_text
4100 * src/hildon-time-button.c
4101 (hildon_time_button_set_time)
4102 * src/hildon-picker-button.c
4103 (hildon_picker_button_clicked)
4104 (hildon_picker_button_selector_selection_changed)
4105 (hildon_picker_button_set_selector)
4106 * src/hildon-date-button.c
4107 (hildon_date_button_set_date):
4108 Free strings returned by hildon_touch_selector_get_current_text()
4110 * src/hildon-button.c (hildon_button_construct_child):
4111 Fix leaks in priv->image and priv->label_box
4113 Fixes: NB#90535 (Memory leak in picker button)
4115 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4117 * src/hildon-button.c: (hildon_button_get_property): Do not access
4118 private elements directly, use getters instead.
4120 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4122 * src/hildon-app-menu-private.h
4123 * src/hildon-app-menu.c
4124 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4125 Store the menu's parent window.
4127 * src/hildon-stackable-window.c
4128 (hildon_stackable_window_toggle_menu)
4129 (hildon_stackable_window_finalize):
4130 Set the menu's parent window when the menu is shown, unset it when
4133 * src/hildon-app-menu.c
4134 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4135 (hildon_app_menu_class_init):
4136 Send unhandled keyboard accelerators to the parent window.
4138 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4140 * src/hildon-stackable-window.c
4141 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4143 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4145 * configure.ac: post release version bump
4147 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4150 * configure.ac: Bump version
4151 * debian/changelog: Updates
4152 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4155 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4157 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4160 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4161 GtkMenu with Hildon style.
4163 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4165 * src/hildon-picker-button.c:
4166 (hildon_picker_button_set_done_button_text): Set the dialog's
4167 done button text here as well.
4169 Fixes: NB#90232 (Picker button does not set the label on done button
4170 for the second time)
4172 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4174 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4177 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4179 * src/hildon-app-menu.c (hildon_app_menu_insert)
4180 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4181 the HildonAppMenu to be activatable using keyboard accelerators
4182 when the menu is not being shown.
4184 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4186 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4188 * src/hildon-stackable-window.c
4189 (hildon_stackable_window_show):
4190 Don't hide old windows automatically when new windows are shown:
4191 this is now a task for the window manager.
4192 (hildon_stackable_window_class_init)
4193 (hildon_stackable_window_hide):
4194 Remove windows from the stack everytime they're hidden.
4195 (hildon_stackable_window_realize):
4196 Don't change the _NET_WM_WINDOW_TYPE property. Use
4197 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4198 it as a stackable window.
4200 * src/hildon-program.c
4201 (hildon_program_pop_window_stack):
4202 Just hide the window to remove it from the stack.
4203 (hildon_program_go_to_root_window):
4204 Don't call gtk_widget_show(), this is now a task for the window
4207 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4209 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4211 * src/hildon-button.c
4212 (hildon_button_construct_child):
4213 Don't pack anything in the button until text or image are
4214 set. This allows adding a custom child after creating the button
4215 with hildon_button_new().
4216 (hildon_button_finalize, hildon_button_class_init)
4217 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4218 alignment and the label box even when they're not packed in the
4221 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4223 * src/hildon-touch-selector.h:
4224 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4225 currently the type definition was using GTK_TYPE_VBOX
4226 * src/hildon-touch-selector.c:
4227 Added some implementation notes in order to clarify that any other widget
4228 added without the column related API will not be included on the
4229 selection logic, and how the widget is freed, as some people ask about
4231 (hildon_touch_selector_remove): Reimplemented in order to free properly
4232 the column related data when you remove the private hbox.
4233 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4234 to get a proper HildonTouchSelectorColumn documentation
4236 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4238 * src/hildon-touch-selector-entry.c:
4239 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4240 text in the GtkEntry and there is no item selected. Fixes a
4243 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4245 * src/hildon-app-menu-private.h
4246 * src/hildon-app-menu.[ch]
4247 * src/hildon-button.[ch]
4248 * src/hildon-check-button.[ch]
4249 * src/hildon-entry.[ch]
4250 * src/hildon-pannable-area.[ch]
4251 * src/hildon-text-view.[ch]:
4252 Added private field to the object's structure.
4254 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4256 * configure.ac: post-release version bump
4258 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4262 * configure.ac: pre-release version bump
4264 * debian/changelog: updates.
4266 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4268 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4269 Disconnect the handler for HildonTouchSelector::changed.
4271 (hildon_picker_button_selector_selection_changed): Update the button
4272 value if the selection change was not triggered by the
4275 (hildon_picker_button_set_selector): connect to
4276 HildonTouchSelector::changed.
4278 Fixes: NB#89650 (Picker button is not updated, when selection in
4279 selector has changed)
4281 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4283 * src/hildon-picker-dialog.c
4284 (hildon_picker_dialog_realize): Removed as not required
4285 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4286 * src/hildon-picker-button.c
4287 (_current_selector_empty): New function, checks if the selector is empty
4288 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4289 if the current selector is empty, in order to avoid to show the dialog
4290 close the dialog in this case (and shows a g_warning).
4292 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4294 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4296 * src/hildon-pannable-area.c,
4297 (hildon_pannable_area_scroll): Added clause to stop movement when
4298 the child of pannable is smaller than one page.
4299 (hildon_pannable_area_scroll_to): Added conditions to avoid
4300 starting the scrolling movement if the child is smaller than one
4301 page, the complete child is in the screen, we do not have to move.
4303 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4305 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4307 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4308 this is managed automatically by the widget when the size of the
4311 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4313 * src/hildon-picker-button.c
4314 (hildon_picker_button_set_done_button_text): Make a copy of the
4315 text, and free the previous value.
4317 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4319 * src/hildon-touch-selector-entry.c:
4320 (hildon_touch_selector_entry_print_func): Return the selected row's
4321 text if the entry is empty.
4323 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4326 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4328 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4330 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4333 * src/hildon-check-button.h
4334 * src/hildon-check-button.c
4335 * examples/hildon-check-button-example.c:
4336 HildonCheckButton is now a new widget. 'toggled' signal added.
4338 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4340 * src/hildon-program-private.h
4341 * src/hildon-program.c (hildon_program_init)
4342 (hildon_program_finalize): Removed unused variables group_leader
4343 and name from HildonProgramPrivate.
4345 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4347 * src/hildon-check-button.c (hildon_check_button_set_active)
4348 (hildon_check_button_get_active, hildon_check_button_new): Use
4349 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4351 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4353 * src/hildon-touch-selector.h
4354 (hildon_touch_selector_set_column_attributes): added deprecation
4355 guard HILDON_DISABLE_DEPRECATED
4356 * src/hildon-time-selector.c
4357 (hildon_time_selector_set_time)
4358 (hildon_time_selector_get_time): Fixed a typo on documentation
4359 * src/hildon-touch-selector.c: update HildonTouchSelector and
4360 HildonTouchSelectorColumn documentation
4361 * src/hildon-touch-selector-entry.c: update "text-column" property
4363 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4364 to be added to the general documentation.
4366 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4368 * examples/hildon-pannable-area-example-4.c,
4370 * examples/hildon-pannable-area-example.c,
4371 (main): Modified the code in order to use the container add, with
4372 viewport treeviews could have problems if they are really big.
4374 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4376 * src/hildon-weekday-picker.c,
4377 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4378 the agreement regarding deprecation in the library.
4380 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4382 * examples/hildon-picker-button-multicolumn-example.c:
4383 (main): Use custom "done" button text.
4385 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4386 (hildon_picker_button_set_property),
4387 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4388 (hildon_picker_button_init),
4389 (+hildon_picker_button_get_done_button_text),
4390 (+hildon_picker_button_set_done_button_text): New methods to customize
4391 the "done" button label in the launched HildonPickerDialog. Also,
4394 * src/hildon-picker-button.h: add the public API.
4396 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4398 * src/hildon-date-selector.h:
4399 * src/hildon-picker-dialog.h:
4400 * src/hildon-time-selector.h:
4401 * src/hildon-touch-selector-column.h:
4402 * src/hildon-touch-selector.h:
4404 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4405 declarations. Fixes gtk-doc warnings.
4407 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4409 * src/hildon-picker-dialog.h
4410 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4411 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4413 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4414 long text is set as label for done button)
4416 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4418 * src/hildon-dialog.c (hildon_dialog_add_button):
4419 Set fixed width to all buttons in the HildonDialog.
4421 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4423 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4425 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4426 Set widget name using class name plus "-finger" or "-thumb".
4428 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4430 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4431 'clicked' when the state of the button is manually changed.
4433 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4435 * src/hildon-app-menu.c (hildon_app_menu_realize)
4436 (hildon_app_menu_unrealize, hildon_app_menu_init)
4437 (hildon_app_menu_class_init, item_visibility_changed):
4438 Change the menu layout when the size of the screen changes.
4439 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4440 Show warning only when changing the number of colums using the
4443 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4445 * debian/compat: Set to 5
4446 * debian/control: Update dependencies.
4447 * debian/libhildon1-dbg.install: Remove.
4448 * debian/libhildon1-dev.install: Update according to cdbs paths.
4449 * debian/libhildon1.install: Update according to cdbs paths.
4450 * debian/rules: Switch to cdbs.
4452 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4454 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4455 'item' variable renamed to 'filter'
4457 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4459 * src/hildon-app-menu.c (hildon_app_menu_insert)
4460 (hildon_app_menu_add_filter, remove_item_from_list)
4461 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4462 Don't leak hidden items when the menu is destroyed.
4464 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4466 * src/hildon-app-menu.c (hildon_app_menu_insert)
4467 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4468 (hildon_app_menu_set_columns, item_visibility_changed)
4469 (filter_visibility_changed, hildon_app_menu_repack_filters)
4470 (hildon_app_menu_repack_items):
4471 Repack items and filters separately.
4473 Don't repack all items, change only the ones that are needed to
4476 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4478 * src/Makefile.am: added hildon-touch-selector-column.h
4480 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4482 * src/hildon-touch-selector.c: added the property "text-column" to the
4483 class HildonTouchSelectorColumn, and related get/set functions
4484 (_default_printf_func): updated to use "text-column" property
4485 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4486 "text-column" in his documentation, as this is now included on
4487 HildonTouchSelectorColumn. The get/set_property can still be used,
4488 working as a wrapper to the concrete column "text-column" property
4489 (_text_column_modified): callback added in order to handle the signal
4490 "notify::text-column" of the concrete HildonTouchSelectorColumn
4491 (hildon_touch_selector_entry_get_text_column)
4492 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4493 modified in order to use the HildonTouchSelectorColumn "text-column"
4495 * src/hildon-time-selector.c:
4496 * src/hildon-date-selector.c:
4497 * examples/hildon-touch-selector-example.c
4498 * examples/hildon-touch-selector-multi-cells-example.c
4499 * examples/hildon-picker-button-multicolumn-example.c
4500 Set the right value to "text-column" property on the creation of a new
4501 column using hildon_touch_selector_append_column()
4503 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4505 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4507 * src/hildon-app-menu.c
4508 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4509 updating the layout of the menu, don't create all widgets again,
4510 just repack the items in their new places.
4512 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4514 * src/hildon-time-selector.c
4515 (hildon_time_selector_get_time)
4516 (hildon_time_selector_set_time)
4517 Added documentation of these public methods
4519 * src/hildon-date-button.h
4520 * src/hildon-touch-selector-column.h
4521 * src/hildon-time-button.h
4522 * src/hildon-picker-dialog.h
4523 * src/hildon-time-selector.h
4524 * src/hildon-picker-button.h
4525 * src/hildon-touch-selector.h
4526 * src/hildon-time-picker.h
4527 * src/hildon-date-selector.h
4528 * src/hildon-touch-selector-entry.h
4529 Modified in order to use hildon-widgets code style
4531 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4533 Added deprecated support to the compilation process using
4534 HILDON_DISABLE_DEPRECATED
4536 * configure.ac: Added the --disable-deprecated to the configure
4539 * src/hildon-weekday-picker.c:
4540 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4541 to use the deprecated support. We will update the other deprecated
4542 widgets status in a new patch.
4544 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4546 * configure.ac: Fixed typo with fatal warnings support, the
4547 variable name was not correct
4549 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4551 * src/hildon-app-menu.c
4552 * src/hildon-program.c: Update documentation.
4554 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4556 * configure.ac: Post-release version bump.
4558 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4563 * configure.ac: Pre-release version bump.
4564 * debian/changelog: Updates.
4566 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4568 * NEWS: Update news for previous releases.
4570 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4572 * examples/hildon-touch-selector-multi-cells-example.c:
4573 (create_selector): Update the example to use
4574 hildon_touch_selector_append_column() with a NULL renderer and set
4575 the renderers later.
4576 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4577 passed a NULL renderer. This is documented behavior now.
4579 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4580 This must be used if the developer wants full control on the layout of
4581 the renderers to be added to the column.
4583 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4585 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4587 * src/hildon-touch-selector.c: Documentation fixes.
4589 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4591 * src/hildon-wizard-dialog-private.h: Remove image and box.
4592 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4593 (hildon_wizard_dialog_set_property), (response): Completely remove
4594 image/icon support, and the containers required for the layout.
4596 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4598 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4600 * src/hildon-app-menu.c: Updated documentation.
4602 * src/hildon-stackable-window.c
4603 (hildon_stackable_window_set_main_menu): Unref the old menu after
4604 ref'ing the new one.
4606 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4608 * src/hildon-stackable-window.c
4609 (hildon_stackable_window_set_main_menu): Unref the previous menu
4610 instead of destroying it.
4612 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4613 floating reference and set has_user_ref_count to FALSE to make
4614 HildonAppMenu act like a normal ref-counted widget and not a
4617 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4620 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4622 * src/hildon-touch-selector-column.h: new file
4623 * src/hildon-touch-selector.h
4624 * src/hildon-touch-selector.c
4625 Implemented GtkCellLayout interface, in order to allow to configure
4626 the cell layout on each individual selector column
4627 (hildon_touch_selector_set_column_attributes): marked as deprecated
4628 * examples/hildon-touch-selector-multi-cells-example.c
4629 Example of how to use the GtkCellLayout interface on the selector
4631 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4633 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4635 * src/hildon-app-menu.h
4636 * src/hildon-app-menu.c
4637 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4638 (hildon_app_menu_append, hildon_app_menu_prepend):
4639 New methods to prepend, insert and move items in the menu.
4641 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4643 * src/hildon-wizard-dialog.c:
4645 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4647 (create_title): Update logical IDs and related code.
4648 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4650 * src/hildon-wizard-dialog.h: Note that
4651 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4652 point, as it is not used anymore.
4654 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4656 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4658 * src/hildon-note.c:
4659 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4660 shown. Do not display an icon in confirmation notes nor information
4662 (hildon_note_set_button_text): Update logical ID for cancel button.
4664 Fixes: NB#88850 (Update HildonNote button strings + signals)
4666 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4668 * src/hildon-stackable-window.c
4669 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4671 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4673 * src/hildon-app-menu-private.h
4674 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4675 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4676 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4677 temporary property 'columns' to change the number of columns.
4679 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4681 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4683 * examples/hildon-note-example.c: (on_information_clicked),
4684 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4685 debugging information.
4686 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4688 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4689 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4690 in order to close: this will be handled by the WM from now on.
4692 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4694 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4696 * src/hildon-app-menu-private.h
4697 * src/hildon-app-menu.c
4698 (hildon_app_menu_append, hildon_app_menu_add_filter)
4699 (button_visibility_changed, hildon_app_menu_apply_style)
4700 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4701 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4702 layout everytime a button (item or filter) is shown or hidden.
4704 * src/hildon-stackable-window.c
4705 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4708 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4710 * src/hildon-touch-selector.c:
4711 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4712 that the treeview inside the touch selector is in fremantle hildon mode
4713 * examples/hildon-date-button-example.c
4714 * examples/hildon-picker-button-multicolumn-example.c
4715 * examples/hildon-touch-selector-entry-example.c
4716 * examples/hildon-touch-selector-example.c
4717 * examples/hildon-time-button-example.c
4718 * examples/hildon-picker-button-example.c:
4719 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4721 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4723 * examples/hildon-text-view-example.c: (main): Remove the
4724 gtkrc bits, now handled by the theme.
4726 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4728 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4731 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4733 * po/Makefile.am: Install properly the mo files.
4734 * po/en_GB.po: Update translation, to ease testing purposes.
4736 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4738 * examples/hildon-picker-button-example.c: (main): Select an item
4739 in the selector before setting it to the button.
4741 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4743 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4744 Update button's value if the selector has an item active.
4746 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4747 'value' with the selector)
4749 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4751 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4752 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4753 (hildon_picker_button_class_init): Plug the finalize method.
4754 (hildon_picker_button_set_selector): If there's a previously set
4755 selector, unref'it before setting a new one.
4757 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4758 HildonTouchSelector)
4760 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4762 * src/hildon-touch-selector-entry.c:
4763 (hildon_touch_selector_entry_changed): Check if there is no text
4764 selected before setting the entry text.
4767 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4769 * src/hildon-touch-selector.h
4770 * src/hildon-touch-selector.c
4771 (hildon_touch_selector_get_active)
4772 (hildon_touch_selector_set_active): New methods to set/get the
4773 index of the selected item.
4775 * src/hildon-picker-button.h
4776 * src/hildon-picker-button.c
4777 (hildon_picker_button_get_active)
4778 (hildon_picker_button_set_active): New methods to set/get the
4779 index of the selected item.
4781 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4783 * configure.ac: post-release version bump.
4785 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4789 * configure.ac: Pre-release version bump.
4790 * debian/changelog: Updates.
4791 * debian/control: Add myself as maintainer and depend on l10n
4794 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4796 * src/hildon-window.c
4797 (hildon_window_set_main_menu)
4798 * src/hildon-stackable-window.c
4799 (hildon_stackable_window_set_main_menu):
4800 Updated documentation.
4802 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4804 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4805 Don't free selector->priv manually.
4808 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4811 (hildon_gtk_window_set_progress_indicator):
4812 * src/hildon-gtk.h: Added the new API
4813 hildon_gtk_window_set_progress_indicator, it changes the state of
4814 the window progress hint.
4816 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4818 * src/hildon-button.c
4819 * src/hildon-stackable-window.c: Minor documentation updates.
4821 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4823 * src/hildon-stackable-window.c: Updated documentation.
4825 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4827 * src/hildon-defines.h: Update margins definitions
4828 to the Fremantle sizes.
4831 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4833 * src/hildon-touch-selector.c,
4834 (_hildon_touch_selector_set_model): Cleaning the code after
4835 review, removed g_print and #if 0 from the code.
4837 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4839 * src/hildon-edit-toolbar.c: Update documentation.
4841 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4843 * src/hildon-check-button.h
4844 * src/hildon-check-button.c
4845 (hildon_check_button_set_label, hildon_check_button_get_label)
4846 * examples/hildon-check-button-example.c
4847 (button_clicked_cb):
4848 Removed deprecated methods.
4850 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4852 * src/hildon-text-view.c:
4853 Add sample code to the documentation.
4855 * src/hildon-entry.h
4856 * src/hildon-text-view.h:
4857 Minor cosmetic changes.
4859 * src/hildon-entry.c:
4860 Add sample code to the documentation.
4861 (hildon_entry_init, hildon_entry_refresh_contents):
4862 Don't allow NULL values in the placeholder.
4864 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4866 * doc/hildon-docs.sgml
4868 * examples/Makefile.am
4869 * examples/hildon-text-view-example.c
4871 * src/hildon-text-view.c
4872 * src/hildon-text-view.h
4874 New HildonTextView widget, with example.
4876 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4878 * po/POTFILES.in: Add missing files with translatable strings.
4879 Partially fixes NB#88287.
4881 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4883 * examples/hildon-pannable-area-example-2.c: (main): No need to
4884 set the cellrenderer height inside hildon touch lists, the theme does
4887 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4889 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4890 they are integrated in the theme.
4892 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4894 * examples/hildon-entry-example.c: Update the example adding
4895 widgets to modify the text and the placeholder of the HildonEntry.
4897 * src/hildon-entry.c: Show the placeholder everytime the widget
4898 is empty and loses the focus.
4900 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4902 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4904 * src/hildon-pannable-area.c,
4905 (hildon_pannable_area_size_request): Fixed bug in height
4906 requisition, avoid increasing size and add border twice.
4908 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4910 * configure.ac: postrelease version bump.
4912 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4916 * configure.ac: Prerelease version bump.
4917 * debian/changelog: update.
4918 * debian/rules: make -dbg package contain useful debugging symbols.
4920 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4922 * src/hildon-dialog.h
4923 * src/hildon-dialog.c
4924 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4925 New methods to add buttons with finger size.
4926 (hildon_dialog_new_with_buttons):
4927 Create buttons with finger size.
4929 * examples/hildon-dialog-example.c (main): Use HildonDialog
4930 methods to add buttons.
4932 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4934 * src/hildon-entry.c: Updated HildonButton documentation.
4936 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4938 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4939 button value label with (FALSE, FALSE) to prevent NB#88126 from
4942 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4944 * examples/hildon-pannable-area-example.c,
4945 (main): Removed examples panning a vbox inside a pannable
4946 area. Check bug NB#87965
4948 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4950 Patch contributed by Kris Rietveld (kris@imendio.com)
4952 * src/hildon-pannable-area.c,
4953 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4954 get_size and get_position, this saves an X server roundtrip.
4956 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4958 * doc/hildon-docs.sgml
4960 * examples/Makefile.am
4961 * examples/hildon-entry-example.c
4963 * src/hildon-entry.c
4964 * src/hildon-entry.h
4966 New HildonEntry widget, with example.
4968 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4970 * src/hildon-button.c (hildon_button_construct_child): Pack the
4971 image with expand == fill == FALSE. This is a workaround for a bug
4974 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4976 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4977 labels for the text column, to make it more look more dynamic.
4979 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4981 * src/hildon-time-selector.c
4982 Define gettext auxiliar macro N_
4983 (_create_minutes_model)
4984 (_create_hours_model)
4985 (_create_ampm_model): use of strftime in order to fill the model
4986 * src/hildon-date-selector.c
4987 (hildon_date_selector_finalize):
4988 (_locales_init): remove the logic related to get the name of the months
4989 using nl_langinfo, as it is not required anymore
4991 (_create_year_model)
4992 (_create_month_model)
4993 (_update_day_model): use of strftime in order to fill the model properly
4996 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4998 * src/hildon-button.h
4999 * src/hildon-button.c (hildon_button_get_image): New method to
5002 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5004 * src/hildon-touch-selector.c:
5005 (hildon_touch_selector_remove_column): Remove from the correct parent
5006 and also remove the list element and free it.
5009 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5011 * src/hildon-time-selector.c
5012 (_create_hours_model): change the range on 12h ampm format in order to use
5013 a 12-11 range instead of previous 01-12 range
5014 (hildon_time_selector_set_time): change the way to select the current time
5015 on 12h ampm format, due the change on the range
5016 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5019 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5021 * src/hildon-touch-selector.c
5022 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5023 in order to allow use this function on multiple row selection mode if
5024 the column is different that the first one
5027 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5029 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5030 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5032 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5034 * src/hildon-date-selector.h: clean some comments, now on the .c
5035 * src/hildon-date-selector.c
5036 (hildon_date_selector_select_month): first implementation
5037 (hildon_date_selector_select_day): added documentation, reimplemented
5038 using hildon_date_selector_select_current_date to avoid repeat code
5041 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5043 Reviewed interaction logic based on device experiences, refactored
5046 * src/hildon-pannable-area.c,
5047 (hildon_pannable_area_class_init): Updated default vmax speed.
5048 (hildon_pannable_area_calculate_velocity): Added this function, it
5049 avoids duplicate valocity calculation. Adjusted calculation to
5050 avoid problems with zero dist events.
5052 (hildon_pannable_area_motion_notify_cb): Now we use the
5053 calculate_velocity function.
5055 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5057 * src/hildon-date-selector.c
5058 (hildon_date_selector_select_current_date): fix the day range check
5059 as it failed using the last day of the current month
5062 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5064 * src/hildon-touch-selector.c
5065 (hildon_touch_selector_get_num_columns): added a parameter validation
5068 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5070 * examples/Makefile.am
5071 * examples/hildon-edit-toolbar-example.c: Example of the
5072 HildonEditToolbar widget.
5074 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5076 * configure.ac: postrelease version bump.
5078 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5082 * configure.ac: prerelease version bump.
5083 * debian/changelog: update.
5085 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5087 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5088 renderer to display stock icons in the touch list. Also, set the sizes
5089 to the recommended in the style guide.
5091 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5092 * src/hildon-touch-selector.h
5093 (hildon_touch_selector_set_active_iter): renamed, now is
5094 hildon_touch_selector_select_iter
5095 (hildon_touch_selector_get_active_iter): renamed, now is
5096 hildon_touch_selector_get_selected
5097 (hildon_touch_selector_unselect_iter): added
5098 * src/hildon-touch-selector.c
5099 Update after API modification (methods renamed)
5100 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5101 order to avoid problems selecting multiple elements on the column
5102 (hildon_touch_selector_unselect_iter): added the implementation
5103 * src/hildon-time-selector.c
5104 * src/hildon-date-selector.c
5105 * src/hildon-touch-selector-entry.c
5106 Update methods calls after hildon-touch-selector.h API modification (methods
5109 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5111 * src/hildon-stackable-window.c
5112 (hildon_stackable_window_finalize): Call the parent class's finalize.
5114 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5116 * examples/hildon-touch-selector-example.c: (create_selector): Use
5117 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5120 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5122 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5123 set a cell background color, to respect theming.
5125 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5127 * doc/hildon-docs.sgml
5130 * src/hildon-edit-toolbar.c
5131 * src/hildon-edit-toolbar.h
5132 * src/hildon.h: New HildonEditToolbar widget.
5134 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5136 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5139 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5140 * src/hildon-touch-selector.c
5141 (_create_new_column): use g_object_set instead of two g_object_set_property
5143 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5144 * src/hildon-touch-selector.c
5145 (_create_new_column): use of hildon_gtk_tree_view_new to create
5146 the treeview, instead of use directly g_object_new
5147 (_create_new_column): update the property name "vindicator-mode" for the
5148 new one "vscrollbar-policy"
5149 * examples/hildon-date-button-example.c
5150 * examples/hildon-picker-button-multicolumn-example.c
5151 * examples/hildon-touch-selector-entry-example.c
5152 * examples/hildon-touch-selector-example.c
5153 * examples/hildon-time-button-example.c
5154 * examples/hildon-picker-button-example.c
5155 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5156 to all the treeviews inside a pannable area.
5158 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5160 * src/hildon-button.h
5161 * src/hildon-button.c (hildon_button_init)
5162 (hildon_button_set_arrangement, hildon_button_set_alignment)
5163 (hildon_button_set_title_alignment)
5164 (hildon_button_set_value_alignment)
5165 (hildon_button_set_image_alignment)
5166 (hildon_button_construct_child): New methods to set the alignment
5167 of the individual components of the button (title, value,
5168 image). Also, new method to alter the xscale and yscale properties
5169 of the GtkAlignment inside the button, so more complex layouts can
5172 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5174 * src/hildon-button.c (hildon_button_style_set)
5175 (hildon_button_class_init, hildon_button_set_arrangement)
5176 (hildon_button_construct_child): Apply style properties
5177 correctly. Use the 'image-spacing' style property too.
5179 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5181 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5182 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5185 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5187 * src/hildon-pannable-area.c,
5188 (hildon_pannable_area_size_request): Fixed problem with
5189 pannable-area size_request.
5191 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5193 Added management for the grab-focus to a child widget, like a
5194 range, we need to fade out the scrollbar when releasing.
5196 * src/hildon-pannable-area.c,
5197 (hildon_pannable_area_init): Connected the grab-focus signal to
5199 (hildon_pannable_area_grab_notify): Added this function in order
5200 to manage the situation when the grab-focus ends. We have to
5201 fade-out the scrollbar.
5203 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5205 * src/hildon-app-menu.c: Minor documentation update.
5207 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5209 * src/hildon-app-menu.c
5210 * examples/hildon-app-menu-example.c (create_menu): Update
5211 examples and documentation to explain how to connect callbacks.
5213 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5215 * examples/hildon-button-example.c
5216 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5217 hildon_stackable_window_new instead of gtk_window_new
5219 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5221 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5222 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5223 (hildon_pannable_area_set_property),
5224 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5225 (hildon_pannable_area_unrealize),
5226 (hildon_pannable_area_size_request),
5227 (hildon_pannable_area_size_allocate),
5228 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5229 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5230 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5231 (hildon_pannable_area_initial_effect),
5232 (hildon_pannable_area_redraw),
5233 (hildon_pannable_area_scroll_indicator_fade),
5234 (hildon_pannable_area_expose_event),
5235 (hildon_pannable_area_get_topmost), (synth_crossing),
5236 (hildon_pannable_area_button_press_cb),
5237 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5238 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5239 (hildon_pannable_area_motion_notify_cb),
5240 (hildon_pannable_area_button_release_cb),
5241 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5242 (hildon_pannable_area_remove),
5243 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5244 chage the code layout to a more GtkWidget like. Review the use of
5247 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5249 * examples/hildon-pannable-area-example-4.c,
5250 (main): Modified the name of the hindicator_mode to
5253 * src/hildon-pannable-area.c,
5254 (hildon_pannable_area_class_init),
5255 (hildon_pannable_area_motion_notify_cb),
5256 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5257 we have reduced the amount of signals and managed reviewed its
5258 rationale. Changed the default decelerate value.
5260 (hildon_pannable_area_add),
5261 (hildon_pannable_area_redraw): Refactored functions.
5263 (hildon_pannable_area_init),
5264 (hildon_pannable_area_get_property),
5265 (hildon_pannable_area_set_property):
5266 (hildon_pannable_draw_vscroll),
5267 (hildon_pannable_draw_hscroll),
5268 (hildon_pannable_area_initial_effect),
5269 (hildon_pannable_area_expose_event),
5270 (hildon_pannable_area_scroll),
5271 (hildon_pannable_area_button_press_cb),
5272 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5273 and vindicator_mode with hscrollbar_policy and
5274 vscrollbar_policy. Replaced hscroll and vscroll with
5275 hscroll_visible and vscroll_visible.
5277 (hildon_pannable_area_refresh): Refactor the function, remove
5278 variables and check the calls to this function, added resize
5279 conditions in case the children change their layout.
5281 (hildon_pannable_area_size_request): Added more detailed
5282 size_request calculation.
5285 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5287 * src/hildon-color-chooser.c
5288 (init_borders): use the correct gtk_border_free instead of g_free, to
5289 avoid a crash when this widget is used (ie: the three color selection
5292 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5294 * src/hildon-check-button.c,
5295 (hildon_check_button_set_active): Fixed problem when setting the
5296 active value, the widget was not redrawn.
5298 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5300 * src/hildon-pannable-area.c,
5301 (hildon_pannable_area_refresh),
5302 (hildon_pannable_area_scroll),
5303 (hildon_pannable_area_motion_notify_cb): Small code style change.
5305 (hildon_pannable_area_class_init): Default initial_hint set to
5306 FALSE, it is not in the specs.
5308 (hildon_pannable_area_initial_effect),
5309 (hildon_pannable_area_expose_event),
5310 (hildon_pannable_area_map),
5311 (hildon_pannable_area_init): Moved the launching point of the
5312 initial effect, it was in map but the sizes where not correct in
5313 that method so we do not know if we have the reproduce it. Now it
5314 is placed in the expose_event method and uses a variable to
5315 reproduce it just once.
5317 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5319 * src/hildon-pannable-area.c,
5320 (hildon_pannable_draw_vscroll),
5321 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5322 position allowed for the scrollbars.
5324 (hildon_pannable_area_size_allocate): Small style change.
5326 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5328 * src/hildon-pannable-area.c,
5329 (hildon_pannable_area_scroll_indicator_fade),
5330 (hildon_pannable_area_button_press_cb),
5331 (hildon_pannable_area_button_release_cb),
5332 (hildon_pannable_area_scroll_cb),
5333 (hildon_pannable_area_expose_event),
5334 (hildon_pannable_area_init): Added the define parameter
5335 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5336 and refactor the fade variable.
5338 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5340 * src/hildon-pannable-area.c,
5341 (hildon_pannable_area_redraw),
5342 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5343 lines, we were reimplemeting the redraw code.
5345 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5347 * src/hildon-pannable-area.c,
5348 (hildon_pannable_area_scroll_cb),
5349 (hildon_pannable_area_realize),
5350 (hildon_pannable_area_class_init): Added scroll_event management
5351 for pannable area, now we can scroll the usual desktop method.
5353 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5354 initialization of the parameters should depend on idle_id.
5356 (hildon_pannable_area_init),
5357 (hildon_pannable_area_map): Small code style modifications
5359 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5361 * src/hildon-pannable-area.c
5362 (hildon_pannable_area_button_press_cb),
5363 (hildon_pannable_area_motion_notify_cb),
5364 (hildon_pannable_area_button_release_cb),
5365 (hildon_pannable_area_size_allocate),
5366 (hildon_pannable_area_scroll_to): Improved the timeouts
5367 management, we avoid creating them each time.
5369 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5371 * src/hildon-pannable-area.c:
5372 (hildon_pannable_area_refresh),
5373 (hildon_pannable_area_motion_notify_cb),
5374 (hildon_pannable_area_class_init):
5375 * src/hildon-pannable-area.h:
5376 * src/hildon-touch-selector.c
5377 (_create_new_column):
5378 * examples/hildon-pannable-area-example-4.c:
5379 (horizontal_movement),
5380 (vertical_movement),
5382 Replaced the names of enums in the HildonPannableArea:
5383 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5384 HILDON_MOVEMENT_MODE_*
5385 - HILDON_PANNABLE_AREA_MOV_* ->
5387 - Removed HildonPannableAreaIndicatorMode, now we
5390 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5392 * examples/hildon-pannable-area-touch-grid-example.c
5393 * examples/hildon-pannable-area-touch-list-example.c: Fix
5394 compilation warnings.
5396 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5398 * src/hildon-gtk.c (hildon_gtk_button_new)
5399 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5400 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5401 images overriding the value of the "gtk-button-images" setting.
5403 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5405 * src/hildon-check-button.c (hildon_check_button_new):
5406 Instead of using a custom container, display the label and the
5407 checkbox using the standard GtkButton API.
5409 * examples/hildon-check-button-example.c (main): Don't use
5410 hildon_check_button_set_label() anymore
5412 * src/hildon-check-button.h
5413 * src/hildon-check-button.c
5414 (hildon_check_button_set_label, hildon_check_button_get_label):
5415 Set as deprecated, now we're using gtk_button_{get,set}_label()
5417 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5419 * src/hildon-pannable-area.c,
5420 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5421 GtkTreeview first line we detected it after the inclusion of the
5422 GtkWindowImpl in gtk+. We now check if the window is visible, not
5423 just if the pointer is over the window.
5424 (hildon_pannable_axis_scroll),
5425 (hildon_pannable_area_expose_event): Small style changes.
5427 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5429 * src/hildon-button.c: Update documentation.
5431 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5433 * examples/hildon-button-example.c: Add a switch to show images in
5436 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5438 * doc/hildon-docs.sgml: Some docs reorganization.
5440 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5442 * examples/hildon-pannable-area-touch-list-example.c
5444 * examples/hildon-pannable-area-touch-grid-example.c
5445 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5446 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5447 Fix memory leak when setting the tree model.
5449 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5453 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5455 * doc/hildon.types: Remove duplicated hildon_window_get_type
5456 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5457 documentation comment.
5459 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5461 * doc/Makefile.am: Complete list of private headers.
5463 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5465 * doc/hildon-docs.sgml
5466 * src/hildon-app-menu.c
5467 * src/hildon-bread-crumb.c
5468 * src/hildon-button.c
5470 * src/hildon-program.c
5471 * src/hildon-stackable-window.c
5472 * src/hildon-window.c: Lots of documentation updates.
5474 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5476 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5478 * configure.ac: Require Gtk+ 2.12.9 at least
5480 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5482 * src/hildon-pannable-area.c
5483 (hildon_pannable_area_scroll_indicator_fade),
5484 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5485 to protect the return of this timeout callbacks, avoiding deadlocks.
5487 2008-08-12 Christian Dywan <christian@imendio.com>
5490 * src/hildon-*.h: Ensure a consistent include order,
5491 include <gtk/gtk.h> instead of particular files and
5492 only include the topmost header in the gtk stack. See NB #39857
5494 2008-08-12 Christian Dywan <christian@imendio.com>
5496 * src/hildon-picker-dialog.c
5497 * src/hildon-touch-selector.c: Fix warnings about unused and
5498 uninitialized variables.
5500 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5502 * examples/Makefile.am
5503 * examples/hildon-check-button-example.c: Example of the hildon
5506 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5508 * src/hildon-window.h
5509 * src/hildon-window.c (hildon_window_class_init)
5510 (hildon_window_unset_program): Don't make
5511 hildon_window_unset_program a virtual function anymore.
5513 * src/hildon-stackable-window.c: Update documentation
5515 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5518 * doc/hildon-docs.sgml
5519 * doc/visual_index.xml
5520 * src/hildon-defines.c
5522 * src/hildon-helper.c
5523 * src/hildon-range-editor.c: Lots of documentation fixes.
5525 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5527 * examples/hildon-picker-button-multicolumn-example.c
5528 (create_touch_selector): Fix compilation warning.
5530 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5532 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5533 (hildon_pannable_area_button_release_cb)
5534 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5536 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5538 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5541 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5543 * src/hildon-bread-crumb-trail.h
5544 * src/hildon-date-editor.c
5545 * src/hildon-date-selector.c
5546 * src/hildon-pannable-area.c
5547 * src/hildon-picker-dialog.c
5548 * src/hildon-time-selector.c
5549 * src/hildon-touch-selector-entry.c
5550 * src/hildon-touch-selector.c
5551 * src/hildon-touch-selector.h: Misc documentation fixes
5553 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5555 * examples/hildon-date-editor-example.c (main): Updated date
5558 * examples/hildon-note-example.c (on_confirmation_clicked):
5559 Updated confirmation note example.
5561 * src/hildon-date-editor.c
5562 * src/hildon-note.c: Updated sample programs in documentation.
5565 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5567 * src/hildon-date-button.h:
5568 * src/hildon-picker-button.h:
5569 * src/hildon-time-button.c:
5570 * src/hildon-time-button.h:
5572 Some declarations changes to allow gtk-doc to document the widgets
5575 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5577 * src/hildon-date-button.c: Document the widget.
5578 * src/hildon-time-button.c: Document the widget.
5580 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5582 * src/hildon-picker-button.c: Document the widget.
5583 * src/hildon-touch-selector-entry.c: Document the widget.
5585 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5587 * doc/hildon-docs.sgml
5590 * src/hildon-check-button.h
5591 * src/hildon-check-button.c: New functions to create the Hildon
5595 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5597 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5599 * src/hildon-button.h
5600 * src/hildon-button.c
5601 (hildon_button_add_title_size_group)
5602 (hildon_button_add_value_size_group)
5603 (hildon_button_add_image_size_group)
5604 (hildon_button_add_size_groups): New functions to set size groups
5605 for the button labels and image.
5606 (hildon_button_new_full): Removed
5608 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5610 * src/hildon-time-selector.c
5611 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5612 in order to avoid a crash if gconf is not available
5614 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5616 * src/hildon-button.c (hildon_button_set_arrangement)
5617 (hildon_button_construct_child): Don't construct the button child
5618 before setting the arrangement.
5620 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5622 * src/hildon-program-private.h
5623 * src/hildon-program.c
5624 * src/hildon-program.h
5625 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5626 (hildon_program_peek_window_stack)
5627 (hildon_program_pop_window_stack)
5628 (hildon_program_go_to_root_window): HildonProgram now has a
5629 separate list for stackable windows. Functions are provided to
5630 manage that list with a stack-like API.
5632 * src/hildon-stackable-window.c: Stackable window management is
5633 now much simpler with the new HildonProgram API. Windows no
5634 longer need to be manually added to the program, they're
5635 automatically pushed to the top of the stack when shown.
5637 * examples/hildon-stackable-window-example.c: Updated example to
5638 reflect the API changes.
5640 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5642 * src/hildon-touch-selector.c: Comment out unimplemented
5643 hildon_touch_selector_insert_column() to avoid a compile warning.
5645 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5647 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5648 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5649 (hildon_touch_selector_set_column_selection_mode),
5650 (_hildon_touch_selector_set_model),
5651 (hildon_touch_selector_set_model):
5653 Complete review of HildonTouchSelector documentation.
5655 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5657 * doc/hildon-docs.sgml
5661 * src/hildon-gtk.c: Convenience functions for standard Gtk
5662 widgets, used to easily perform frequent operations.
5664 * src/hildon-button-helpers.h
5665 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5667 * src/hildon-helper.h
5668 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5669 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5671 * src/hildon-button.h
5672 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5674 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5676 * src/hildon-button.c (hildon_button_init)
5677 (hildon_button_set_arrangement, hildon_button_construct_child):
5678 Pack the image and the labels inside the same GtkAlignment so
5679 gtk_button_set_alignment() can be used
5681 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5683 * src/hildon-button.h
5684 * src/hildon-button.c
5685 (hildon_button_init, hildon_button_set_image)
5686 (hildon_button_set_image_position)
5687 (hildon_button_construct_child): New functions to add an image to
5690 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5692 * src/hildon-date-button.c
5693 * src/hildon-picker-button.c
5694 * src/hildon-time-button.c
5695 * src/hildon-button.c:
5696 (hildon_button_class_init): "size-flags" renamed to "size"
5697 (hildon_button_set_title): Hide the title label if set to NULL.
5699 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5701 HildonButtonFlags split into HildonButtonArrangement (to set the
5702 button layout) and HildonSizeType (which can be used for any
5705 * src/hildon-button.h
5706 * src/hildon-button.c
5707 (hildon_button_class_init)
5708 (hildon_button_set_arrangement)
5709 (hildon_button_set_property): New "size-flags"
5710 property. "arrangement-flags" renamed to "arrangement".
5711 (hildon_button_new, hildon_button_new_with_text)
5712 (hildon_button_new_full): Constructors updated to reflect type changes.
5714 * src/hildon-helper.h
5715 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5716 to set the size of a widget.
5720 * src/hildon-button-helpers.c
5721 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5723 * src/hildon-date-button.c
5724 * src/hildon-date-button.h
5725 * src/hildon-picker-button.c
5726 * src/hildon-picker-button.h
5727 * src/hildon-time-button.c
5728 * src/hildon-time-button.h: Updated widgets to reflect
5729 HildonButton API changes.
5731 * examples/hildon-button-example.c
5732 * examples/hildon-date-button-example.c
5733 * examples/hildon-picker-button-example.c
5734 * examples/hildon-picker-button-multicolumn-example.c
5735 * examples/hildon-time-button-example.c
5736 * examples/hildon-touch-selector-entry-example.c
5737 * examples/hildon-touch-selector-example.c: Updated examples to
5738 reflect HildonButton API changes.
5740 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5742 * doc/hildon-docs.sgml:
5744 * examples/Makefile.am:
5745 * examples/hildon-touch-selector-entry-example.c:
5747 * src/hildon-touch-selector-entry.c:
5748 * src/hildon-touch-selector-entry.h:
5751 Moved HildonTouchSelectorEntry from sandbox. Added its
5752 documentation and examples.
5754 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5756 * src/hildon-touch-selector.h:
5757 * examples/hildon-picker-button-multicolumn-example.c:
5758 (hildon_touch_selector_append_text_column): Add a gboolean
5759 parameter to determine if text must be centered in the column.
5761 * src/hildon-date-selector.c: (hildon_date_selector_init):
5762 * src/hildon-time-selector.c: (hildon_time_selector_init):
5763 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5764 (create_touch_selector): Update widgets and example to reflect
5767 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5769 * src/hildon-touch-selector.c:
5770 (hildon_touch_selector_set_active_iter): Set also the cursor in
5773 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5775 * doc/hildon-docs.sgml
5778 * src/hildon-toggle-button.c
5779 * src/hildon-toggle-button.h
5780 * src/hildon.h: Removed HildonToggleButton widget, a derived
5781 class is not necessary for this.
5783 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5785 * src/hildon-pannable-area.c,
5786 (hildon_pannable_area_realize),
5787 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5790 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5792 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5793 "done" button the default widget for the dialog.
5795 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5797 * src/hildon-touch-selector.c:
5798 (hildon_touch_selector_class_init),
5799 (hildon_touch_selector_get_property),
5800 (_hildon_touch_selector_set_model),
5801 (_hildon_touch_selector_has_multiple_selection),
5802 (hildon_touch_selector_has_multiple_selection):
5803 Add a "has-multiple-selection" property with a virtual
5804 has_multiple_selection() method to allow derived classes to
5805 override the default value for it. See the method and property
5806 documentation for details.
5808 * src/hildon-touch-selector.h: Add the new API.
5810 * src/hildon-picker-dialog.c: (requires_done_button): Call
5811 hildon_touch_selector_has_multiple_selection() instead of
5812 determining the need for a button itself.
5814 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5816 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5817 (_hildon_touch_selector_set_model),
5818 (hildon_touch_selector_set_model): Move working code to
5819 _hildon_touch_selector_set_mode(). Call the class method instead.
5821 * src/hildon-touch-selector.h: Add (*set_model) to
5822 HildonTouchSelectorClass.
5824 Make hildon_touch_selector_set_model() a virtual method, so that
5825 derived classes can extend it and do fancy stuff with the model.
5827 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5829 * configure.ac: Set back the tarname in AC_INIT to hildon.
5831 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5835 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5836 instead of libesd (NB#86876). Volume handling is still an open issue.
5838 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5841 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5843 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5844 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5845 derived class to ease placement of an entry widget in
5846 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5847 end, where the selector columns are packed now.
5849 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5851 * src/hildon-picker-button.c: Removed the simple _text() API.
5852 * src/hildon-picker-button.h: Likewise.
5854 * src/hildon-touch-selector.h:
5855 * src/hildon-touch-selector.c:
5856 (hildon_touch_selector_new_text),
5857 (hildon_touch_selector_append_text),
5858 (hildon_touch_selector_prepend_text),
5859 (hildon_touch_selector_insert_text):
5861 Moved the simple _text() API from HildonPickerButton to
5862 HildonTouchPicker, to provide better escalability and not to tie
5863 that API to HildonPickerButton.
5865 * examples/hildon-picker-button-example.c: (main): Example updated.
5867 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5869 * src/hildon-button.c: Updated documentation.
5871 * examples/hildon-button-example.c: Add the posibility to create
5872 the buttons using horizontal layout for title and value.
5874 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5876 * src/hildon-app-menu-private.h
5877 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5878 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5879 GtkSizeGroup for the filters, use the 'homogeneous' property of
5882 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5884 * examples/hildon-button-example.c: Updated example.
5886 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5888 * doc/hildon-docs.sgml:
5891 Update documentation.
5893 * examples/Makefile.am: Update renamed examples.
5895 * examples/hildon-picker-button-multicolumn-example.c:
5896 (create_touch_selector), (main): Update after the rename.
5898 * examples/hildon-touch-picker-example.c: Removed.
5899 * examples/hildon-touch-selector-example.c: (value_changed),
5900 (create_selector), (get_visible_content), (main): Renamed from
5901 hildon-touch-picker-example.c
5903 * src/Makefile.am: Updated renamed files.
5905 * src/hildon-date-button.c: (hildon_date_button_init),
5906 (hildon_date_button_get_date), (hildon_date_button_set_date):
5907 * src/hildon-date-selector.c: (hildon_date_selector_init),
5908 (_custom_print_func), (_update_day_model),
5909 (_manage_selector_change_cb),
5910 (hildon_date_selector_select_current_date),
5911 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5912 * src/hildon-date-selector.h:
5913 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5914 (hildon_picker_button_set_property),
5915 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5916 (hildon_picker_button_init), (hildon_picker_button_new_text),
5917 (hildon_picker_button_append_text),
5918 (hildon_picker_button_prepend_text),
5919 (hildon_picker_button_insert_text),
5920 (hildon_picker_button_set_selector),
5921 (hildon_picker_button_get_selector):
5922 * src/hildon-picker-button.h:
5923 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5924 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5925 (_update_title_on_selector_changed_cb), (requires_done_button),
5926 (_hildon_picker_dialog_set_selector),
5927 (hildon_picker_dialog_set_selector),
5928 (hildon_picker_dialog_get_selector):
5929 * src/hildon-picker-dialog.h:
5930 * src/hildon-time-button.c: (hildon_time_button_init),
5931 (hildon_time_button_get_time), (hildon_time_button_set_time):
5932 * src/hildon-time-selector.c: (hildon_time_selector_init),
5933 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5934 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5935 * src/hildon-time-selector.h:
5938 Massive code updates after the rename.
5940 * src/hildon-touch-picker.c: Removed.
5941 * src/hildon-touch-picker.h: Removed.
5943 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5944 (hildon_touch_selector_init), (hildon_touch_selector_map),
5945 (hildon_touch_selector_remove), (_default_print_func),
5946 (_selection_changed_cb), (_create_new_column),
5947 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5948 (hildon_touch_selector_append_text_column),
5949 (hildon_touch_selector_remove_column),
5950 (hildon_touch_selector_set_column_attributes),
5951 (hildon_touch_selector_insert_column),
5952 (hildon_touch_selector_get_num_columns),
5953 (hildon_touch_selector_get_column_selection_mode),
5954 (hildon_touch_selector_set_column_selection_mode),
5955 (hildon_touch_selector_set_print_func),
5956 (hildon_touch_selector_get_print_func),
5957 (hildon_touch_selector_get_active_iter),
5958 (hildon_touch_selector_set_active_iter),
5959 (hildon_touch_selector_get_selected_rows),
5960 (hildon_touch_selector_get_model),
5961 (hildon_touch_selector_set_model),
5962 (hildon_touch_selector_get_current_text),
5963 (_hildon_touch_selector_center_on_selected_items):
5964 * src/hildon-touch-selector.h: Renamed from
5965 hildon-touch-picker.[ch]
5967 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5968 references, code examples, and related documentation.
5970 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5972 * doc/hildon-docs.sgml
5975 * src/hildon-toggle-button.c
5976 * src/hildon-toggle-button.h
5977 * src/hildon.h: New HildonToggleButton widget.
5979 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5981 * src/hildon-button.c: Add API documentation.
5982 (hildon_button_set_size_groups): Check input parameters
5984 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5986 * src/hildon-pannable-area.c
5987 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5988 effect after reaching the movement thredshold. This way we start
5989 using the distance after passing the thredshold.
5991 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5993 * src/hildon-button.c: (hildon_button_set_property): Use the
5994 appropriate g_value_get_flags() method.
5996 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5998 * doc/hildon-docs.sgml:
6001 Add the touch pickers, picker dialogs, and picker button widgets
6002 to the documentation.
6004 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6006 * src/hildon-button.c: (hildon_button_set_property),
6007 (hildon_button_class_init): Make "arrangement-flags" a proper
6008 G_TYPE_FLAGS derived property.
6010 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6012 * examples/Makefile.am: Add below examples.
6013 * examples/hildon-date-button-example.c:
6014 * examples/hildon-picker-button-example.c:
6015 * examples/hildon-picker-button-multicolumn-example.c:
6016 * examples/hildon-time-button-example.c:
6017 * examples/hildon-touch-picker-example.c:
6019 Add examples for the recently added touch pickers,
6020 picker dialogs, and picker button widgets.
6022 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6024 * src/hildon-button.c: Add some API documentation
6026 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6028 * src/hildon-button.h
6029 * src/hildon-button.c
6031 (hildon_button_new_with_text): New constructor to create a button
6032 with no text at all.
6033 (hildon_button_init, hildon_button_set_arrangement)
6034 (hildon_button_set_title, hildon_button_set_value)
6035 (hildon_button_set_text)
6036 (hildon_button_construct_child): Hide the value when it's not used
6037 so the rest of the text is properly aligned.
6038 Allow creating buttons with arbitrary widgets inside (not just
6039 title/value labels).
6041 * examples/hildon-button-example.c (vertical_buttons_window)
6042 (horizontal_buttons_window): Update example to use new API.
6044 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6046 * src/Makefile.am: Added HildonTimeButton.
6047 * src/hildon-time-button.c: Added missing LGPL header.
6048 * src/hildon-time-button.h: Added missing LGPL header.
6049 * src/hildon.h: Add hildon-time-button.h
6051 Copied HildonTimeButton from sandbox to trunk. Future work on this
6052 widget must take place in trunk.
6054 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6056 * src/Makefile.am: Added HildonDateButton.
6057 * src/hildon-date-button.c: Update includes.
6058 * src/hildon.h: Add hildon-date-button.h
6060 Copied HildonDateButton from sandbox to trunk. Future work on this
6061 widget must take place in trunk.
6063 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6065 * src/Makefile.am: Added HildonPickerButton.
6066 * src/hildon-picker-button.h: Update includes.
6067 * src/hildon.h: Add hildon-picker-button.h
6069 Copied HildonPickerButton from sandbox to trunk. Future work on
6070 this widget must take place in trunk.
6072 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6074 * src/Makefile.am: Added HildonPickerDialog.
6075 * src/hildon-picker-dialog.c: Update includes.
6076 * src/hildon.h: Add hildon-picker-dialog.h
6078 Copied HildonPickerDialog from sandbox to trunk. Future work
6079 on this widget must take place in trunk.
6081 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6083 * src/Makefile.am: Added HildonTimeSelector.
6084 * src/hildon.h: Add hildon-time-selector.h
6086 Copied HildonTimeSelector widget from sandbox to trunk. Future
6087 work on this widget must happen in trunk.
6089 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6091 * src/Makefile.am: Added HildonDateSelector.
6092 * src/hildon.h: Add hildon-date-selector.h
6094 Copied HildonDateSelector widget from sandbox to trunk. Future
6095 work on this widget must happen in trunk.
6097 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6099 * src/Makefile.am: Added HildonTouchPicker.
6100 * src/hildon-touch-picker.c: Update includes.
6101 * src/hildon.h: Add hildon-touch-picker.h
6103 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6104 on this widget must happen in trunk.
6106 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6108 * src/hildon-pannable-area.c:
6109 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6111 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6113 * examples/hildon-app-menu-example.c (main): Let the window
6116 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6118 * src/hildon-pannable-area.c
6119 (hildon_pannable_area_class_init): Set the min value of the
6120 overshoot properties to zero, which points out that not
6121 overshooting allowed.
6123 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6125 Modified the procedure to get the widget at a point inside the
6126 pannable area when using the movement type signals. Now the user
6127 has to call a function to get the child, that way we just
6128 calculate the child in case the user really want to use it and not
6131 * src/hildon-marshalers.list: Modified the marshallers, now we do
6132 not have the widget as a parameter.
6134 * src/hildon-pannable-area.c
6135 (hildon_pannable_area_motion_notify_cb),
6136 (hildon_pannable_area_class_init),
6137 (hildon_pannable_get_child_widget_at): Removed the widget
6138 parameter from the signal callback. We have also refactored the
6139 emission of the signals.
6141 * src/hildon-pannable-area.h: Added a new method to the API to
6142 calculate a widget at a point inside the pannable area,
6143 hildon_pannable_get_child_widget_at.
6145 * examples/hildon-pannable-area-example-4.c
6146 (horizontal_movement): Modified the example to use the new API,
6147 added condition to control which widget is under the event. This
6148 way we can avoid scrolling laterally over other widgets.
6150 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6152 * src/hildon-pannable-area.c
6153 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6154 modes, we stop getting the pointer events due to returning the
6155 callback without properly calling the get pointer again. Fixed
6156 also an error using the hscroll and vscroll.
6158 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6160 * src/hildon-app-menu-private.h
6161 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6162 (hildon_app_menu_button_release, hildon_app_menu_init)
6163 (hildon_app_menu_class_init): Don't hide the menu on button
6164 release if the user didn't press outside first.
6166 * src/hildon-window.h
6167 * src/hildon-window.c (hildon_window_toggle_menu)
6168 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6169 hildon_window_toggle_menu a virtual function for the stackable
6170 window to override it.
6172 * src/hildon-stackable-window.h
6173 * src/hildon-stackable-window-private.h
6174 * src/hildon-stackable-window.c
6175 (hildon_stackable_window_realize)
6176 (hildon_stackable_window_finalize)
6177 (hildon_stackable_window_class_init)
6178 (hildon_stackable_window_init)
6179 (hildon_stackable_window_set_main_menu): New function to set the
6180 app menu of a HildonStackableWindow.
6182 * examples/hildon-app-menu-example.c: Remove the button to show
6183 the app menu, now it'll be shown when clicking on the title bar
6186 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6188 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6189 set the widget name if the arrangement flags do not specify
6192 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6194 * src/hildon-button.c: (hildon_button_set_property),
6195 (hildon_button_class_init), (hildon_button_new_full),
6196 (hildon_button_set_arrangement): Added "arrangement-flags"
6199 Make the HildonButtonFlags a construction-only property, to allow
6200 subclasses to set them properly.
6202 2008-07-21 Tim Janik <timj@imendio.com>
6204 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6205 insertion position after backspace, so additional digits are appended,
6208 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6210 * src/hildon-pannable-area.c,
6211 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6212 TODO list, it was complete and removed the g_debug and g_print
6215 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6217 Added the movement modes to the hildon-pannable-area, with this
6218 modes the developers can control in which directions the widget
6219 can scroll. They can also connect to signals in order to do
6220 something when that happens, allowing applications scroll. There
6221 is an example uploaded showing how to use it.
6223 * examples/Makefile.am:
6224 * examples/hildon-pannable-area-example-4.c: Added this example of
6225 an application using the modes.
6227 * src/hildon-marshalers.list: Added a new marshaller for the new
6230 * src/hildon-pannable-area.h: Added new enumerations and flags in
6231 order to control the movement modes and the new signals to warn
6232 about the movements in the area.
6234 * src/hildon-pannable-area.c:
6235 (hildon_pannable_axis_scroll),
6236 (hildon_pannable_area_scroll),
6237 (hildon_pannable_area_motion_notify_cb),
6238 (hildon_pannable_area_get_property),
6239 (hildon_pannable_area_set_property),
6240 (hildon_pannable_area_map),
6241 (hildon_pannable_area_class_init),
6242 (hildon_pannable_area_init),
6243 (hildon_pannable_area_jump_to): Added the modes to control the
6244 movement in the widget. We have added properties to control it,
6245 signals to warn about the movements and refactored some code.
6247 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6249 Changes required in order to allow vfast_factor set to zero to
6252 * src/hildon-pannable-area.c:
6253 (hildon_pannable_area_button_press_cb): Changed the condition, it
6254 is required for not allowing click when vfast_factor is zero.
6255 (hildon_pannable_area_timeout): Initialized velocity variables
6256 when we stop moving, it was less than 1 but not zero and we need
6257 to check zero in some situations.
6258 (hildon_pannable_area_class_init): Changed the default value of
6259 the speed factor, now the button_press is just sent in case the
6260 speed is 2 per cent of the max speed.
6261 (hildon_pannable_area_init): Initialization with 0.
6263 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6265 * src/hildon-pannable-area.c,
6266 (hildon_pannable_area_get_topmost): replaced
6267 gdk_window_get_children with gdk_window_peek_children, this way we
6268 do not have to free the list because it is not a copy.
6270 (hildon_pannable_axis_scroll),
6271 (hildon_pannable_area_scroll),
6272 (hildon_pannable_area_timeout),
6273 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6274 two parameters that were only used inside the
6275 hildon_pannable_area_scroll function.
6277 * examples/hildon-pannable-area-example.c,
6278 (get_sawtooth_label): Fixed small memory leak.
6280 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6282 More checks for the case where the overshoot is bigger than the
6285 * src/hildon-pannable-area.c:
6286 (hildon_pannable_draw_vscroll),
6287 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6288 to draw the slider of the scrollbar under the other scrollbar.
6289 (hildon_pannable_area_expose_event): added new checks to control
6290 the drawing of the overshooting area rectangle, in case it is too
6291 big for the area of the widget.
6292 (hildon_pannable_area_size_allocate): add more checks to avoid
6293 setting a position to the child widget outside the area.
6295 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6297 * src/hildon-pannable-area.c
6298 (hildon_pannable_area_size_allocate): Added conditions to control
6299 when overshooting is bigger than the allocated space for the
6300 children, this avoids negative allocations.
6302 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6304 * doc/hildon-docs.sgml
6306 * examples/Makefile.am
6307 * examples/hildon-button-example.c
6309 * src/hildon-button.c
6310 * src/hildon-button.h
6311 * src/hildon.h: Initial version of the new HildonButton widget,
6314 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6316 * src/hildon-pannable-area.c:
6317 (hildon_pannable_area_button_press_cb),
6318 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6319 (hildon_pannable_area_motion_notify_cb),
6320 (hildon_pannable_area_button_release_cb),
6321 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6322 (hildon_pannable_area_jump_to_child):
6324 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6326 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6328 * examples/Makefile.am
6329 * examples/hildon-pannable-area-touch-grid-example.c
6330 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6331 the Hildon Touch List and Hildon Touch Grid using the
6332 HildonPannableArea widget.
6334 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6336 * src/hildon-pannable-area.c,
6337 (hildon_pannable_area_button_press_cb),
6338 (hildon_pannable_area_refresh),
6339 (hildon_pannable_area_scroll),
6340 (hildon_pannable_area_motion_notify_cb),
6341 (hildon_pannable_area_button_release_cb),
6342 (hildon_pannable_area_expose_event),
6343 (hildon_pannable_area_add),
6344 (hildon_pannable_area_remove),
6345 (hildon_pannable_area_realize),
6346 (hildon_pannable_area_size_allocate),
6347 (hildon_pannable_area_class_init),
6348 (hildon_pannable_area_init),
6349 (hildon_pannable_area_scroll_to_child),
6350 (hildon_pannable_area_jump_to_child): Fixed the problem of
6351 removing the child from the GtkBin, we have rearranged the widget
6352 hierarchy, now there is no GtkAlignment which was not doing
6353 anything interesting but breaking some of the assumptions of
6354 GtkContainer. Now developers if they want to add a GtkAlignment
6355 they could, but it is not inside the area.
6357 We had to review the whole allocation/expose process, now it is
6358 improved and we save at least three signals which would be saving
6359 some time when rendering the widget. The allocation of the
6360 scrollbars is now made in the allocate method as usual.
6362 We have also added some conditions in order to control when there
6363 is no child of the pannable area. Maybe we will need more work
6366 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6368 * src/hildon-pannable-area.c,
6369 (hildon_pannable_area_dispose): Released the fade-out timeout when
6370 disposing the widget.
6372 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6374 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6375 zero, we are going to use that property in order to deactivate the
6377 (hildon_pannable_axis_scroll),
6378 (hildon_pannable_area_size_allocate): Added conditions to control
6379 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6380 call, now it is called in all situations and we can remove calls
6381 in the allocate method.
6382 (hildon_pannable_area_map): Control the situation when
6383 overshoot_max is zero, we do not need the timeout.
6384 (hildon_pannable_area_class_init): Added documentation in order to
6385 point out that setting zero to overshoot_max means deactivate
6388 NOTE: removed trailing whitespaces from my previous comments of
6391 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6393 * src/hildon-pannable-area.c
6394 (hildon_pannable_area_get_property),
6395 (hildon_pannable_area_set_property),
6396 (hildon_pannable_area_map),
6397 (hildon_pannable_area_class_init),
6398 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6399 to cause the widget give a hint about its panning abilities upon
6402 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6404 * src/hildon-pannable-area.c: Several documentation improvements.
6406 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6408 * src/hildon-program.c
6409 * src/hildon-stackable-window.c: Update documentation.
6411 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6413 * src/hildon-stackable-window.c (get_previous_window_if_last):
6414 Renamed get_last_window()
6415 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6416 (hildon_stackable_window_unset_program):
6418 (get_previous_window_if_last):
6419 Detect if the window hasn't been added to a HildonProgram.
6421 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6423 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6425 * src/hildon-pannable-area.c
6426 (hildon_pannable_area_button_press_cb),
6427 (hildon_pannable_axis_scroll),
6428 (hildon_pannable_area_scroll),
6429 (hildon_pannable_area_timeout),
6430 (hildon_pannable_calculate_vel_factor),
6431 (hildon_pannable_area_get_property),
6432 (hildon_pannable_area_set_property),
6433 (hildon_pannable_area_class_init),
6434 (hildon_pannable_area_init),
6435 (hildon_pannable_area_scroll_to),
6436 (hildon_pannable_area_jump_to),
6437 (hildon_pannable_area_scroll_to_child),
6438 (hildon_pannable_area_jump_to_child):
6439 * src/hildon-pannable-area.h: Added the new API functions:
6440 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6441 hildon_pannable_area_scroll_to_child,
6442 hildon_pannable_area_jump_to_child
6445 * examples/Makefile.am
6446 * examples/hildon-pannable-area-example-2.c
6447 * examples/hildon-pannable-area-example-3.c: Added these two new
6448 examples in order to test and show how the new APIs work.
6450 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6452 * examples/hildon-stackable-window-example.c (new_window):
6453 * src/Makefile.am (noinst_HEADERS):
6454 * src/hildon-program.c (hildon_program_go_to_root_window):
6455 * src/hildon-program.h:
6456 * src/hildon-stackable-window-private.h:
6457 * src/hildon-stackable-window.c:
6458 * src/hildon-stackable-window.h:
6459 Create hildon-stackable-window-private.h
6460 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6462 * examples/hildon-app-menu-example.c (create_menu):
6463 * examples/hildon-hvolumebar-insensitive-example.c (main):
6464 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6465 * examples/hildon-toolbar-seekbar-example.c (main):
6466 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6467 * src/hildon-banner.c (hildon_banner_set_property):
6468 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6469 Fix compilation warnings
6471 * src/hildon-window.c:
6474 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6476 * src/hildon-stackable-window.c
6477 (hildon_stackable_window_unset_program):
6478 Calculate correctly whether to show the previous window if the
6479 last one is removed from the stack.
6480 (hildon_stackable_window_go_to_root_window):
6481 Send delete events starting from the topmost window.
6482 Stop if one of the windows is not destroyed.
6484 (hildon_stackable_window_delete_event)
6485 (hildon_stackable_window_class_init):
6486 Ignore the delete event if the window is not the topmost one.
6488 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6490 * src/hildon-pannable-area.c
6491 (hildon_pannable_area_expose_event): Fixed a problem when
6492 selecting the background color of the scrollbars.
6494 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6496 * examples/hildon-stackable-window-example.c
6497 * src/hildon-stackable-window.c
6498 * src/hildon-stackable-window.h
6499 hildon_stackable_window_go_home() renamed to
6500 hildon_stackable_window_go_to_root_window()
6501 Send delete events to windows rather than closing them with
6502 gtk_widget_destroy()
6504 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6506 * src/hildon-pannable-area.c
6507 (hildon_pannable_area_button_release_cb): Fix overshooting in
6510 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6512 * src/hildon-pannable-area.c
6513 (hildon_pannable_area_init): Initially show the scroll indicators.
6514 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6516 Add initial effect showing the widget is pannable.
6518 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6520 * src/hildon-pannable-area.c
6521 (hildon_pannable_area_class_init)
6522 (hildon_pannable_area_set_property)
6523 (hildon_pannable_area_get_property)
6524 (hildon_pannable_area_button_press_cb):
6525 New 'velocity_fast_factor' property to decide which velocity is
6528 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6530 * src/hildon-pannable-area.c
6531 (hildon_pannable_draw_hscroll)
6532 (hildon_pannable_draw_vscroll):
6533 Use float variables to calculate the size of the scrollbars to
6534 avoid error propagation and resizing during scrolling.
6536 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6538 * src/hildon-pannable-area.c
6539 (hildon_pannable_draw_vscroll)
6540 (hildon_pannable_draw_hscroll):
6541 Define a minimum size for the scroll bars
6543 * src/hildon-stackable-window.c
6544 (hildon_stackable_window_go_home): Fix compilation warning
6545 (get_last_window): Minor optimizations
6546 (hildon_stackable_window_class_init): Fix initialization of
6549 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6551 * src/hildon-stackable-window.c: Fixed typos in doc
6553 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6555 * src/hildon-pannable-area.c
6556 (hildon_pannable_area_scroll):
6557 Calculate here whether we need to scroll instead of using the booleans
6558 that tell us whether to /draw/ the scrolling bars.
6560 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6562 * src/hildon-app-menu.h
6564 * src/hildon-app-menu.c
6565 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6566 multiple filter groups related code and API. Now we support only
6568 * examples/hildon-app-menu-example.c:
6570 Update to reflect API changes.
6572 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6574 * src/hildon-stackable-window.c
6575 (hildon_stackable_window_class_init):
6576 Add hildon_stackable_window_realize.
6577 (hildon_stackable_window_realize):
6578 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6579 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6580 to apply theming and behavior specific to HildonStackableWindow
6583 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6585 * src/hildon-note.c (hildon_note_button_release):
6586 Close information notes also when tapping on them
6588 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6590 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6591 ELASTICITY, refactor and review, fix some issues with drawing
6594 * src/hildon-pannable-area.c:
6595 (hildon_pannable_area_button_press_cb): removed the conditions to
6596 avoid clicks when overshooting. It is not required
6598 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6599 define. Refatored and reviewed the code, now we do not need to
6600 manage velocity in motion_notify.
6602 (hildon_pannable_area_motion_notify_cb): We have moved the code
6603 that controls the area_scroll to the axis_scroll function and get
6604 rid of duplicated code.
6606 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6608 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6610 (hildon_pannable_draw_vscroll),
6611 (hildon_pannable_draw_hscroll): Fixed the problems with the
6612 scrollbar drawing, now we do not use two surfaces, it is easier
6613 and saves resources.
6615 (hildon_pannable_area_get_property): Style modification.
6617 (hildon_pannable_area_class_init): Changed some default values.
6619 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6621 * src/hildon-stackable-window.c: Fix some typos in the
6624 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6626 * src/hildon-dialog.c:
6627 Change indentation style
6630 (hildon_note_button_release):
6631 Use root coordinates to check if the release event happened
6634 * src/hildon-app-menu.c
6635 (hildon_app_menu_button_release):
6636 Remove unnecessary check
6638 * examples/hildon-app-menu-example.c
6640 Add cast to fix warning
6642 * src/hildon-app-menu.c
6643 (hildon_app_menu_class_init):
6644 New inner-border style property.
6645 Set all default spacings to 16
6646 (hildon_app_menu_init):
6647 Use vertical-spacing to set the space between filter buttons and
6648 regular menu buttons.
6649 Set the default container border using the inner-border value.
6651 * examples/hildon-app-menu-example.c
6653 Don't set the menu border explicitly, now we have the inner-border
6654 style property for that.
6656 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6658 * src/hildon-app-menu.c (hildon_app_menu_init):
6659 Make the window modal
6661 * src/hildon-note.c (hildon_note_map)
6662 * src/hildon-app-menu.c (hildon_app_menu_map):
6663 Destroy the grab window if we're unable to grab the pointer
6665 * src/hildon-app-menu-private.h
6666 * src/hildon-app-menu.c
6667 (hildon_app_menu_init, hildon_app_menu_finalize)
6668 (hildon_app_menu_map, hildon_app_menu_unmap)
6669 (hildon_app_menu_button_release)
6670 (grab_transfer_window_get):
6671 Bring back the grab window
6672 (hildon_app_menu_realize):
6673 Decorate the window, set WM hint for Matchbox
6675 * src/hildon-note.c (hildon_note_realize):
6676 * src/hildon-banner.c (hildon_banner_realize):
6677 Add WM hints for Matchbox
6679 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6681 * src/hildon-app-menu-private.h
6682 * src/hildon-app-menu.c
6683 (hildon_app_menu_init, hildon_app_menu_finalize)
6684 (hildon_app_menu_map, hildon_app_menu_unmap)
6685 (hildon_app_menu_button_release):
6686 Remove the grab window, it's not needed anymore
6688 * src/hildon-program.c
6689 Fixed typo in documentation
6691 * src/hildon-app-menu.h
6692 * src/hildon-app-menu.c
6693 * examples/hildon-app-menu-example.c
6694 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6696 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6699 Added new transfer_window and close_if_pressed_outside private
6701 (hildon_note_rebuild):
6702 Don't add a cancel button to the information note. It will be
6703 closed when tapping outside
6704 Remove the comment about the OK button in the documentation
6705 (hildon_note_realize):
6706 Set the notification type hint
6707 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6708 Grab/ungrab pointer and keyboard if the note has to be closed when
6710 (hildon_note_button_release):
6711 Close the note when tapping outside (if applicable)
6713 * src/hildon-app-menu.c
6714 Grab/ungrab pointer and keyboard on map/unmap
6715 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6716 Close the menu on button release, not button press
6718 * src/hildon-banner.c
6719 (hildon_banner_set_property)
6720 (hildon_banner_check_position):
6721 Make the banner use the full width of the screen
6722 (hildon_banner_show_information)
6723 (hildon_banner_show_information_with_markup):
6724 Don't display an icon by default
6726 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6728 Added fading scrollbars and adapted all the overshooting code to
6729 horizontal scrolling. We have also fixed bugs with overshooting
6730 and current fading implementation.
6732 * src/hildon-pannable-area.c
6733 (hildon_pannable_area_scroll_indicator_fade): Time out function
6734 used to change the transparency of the scrollbars.
6736 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6737 control and fixed a problem with fading, we now remove the fade
6738 timeout before adding a new one.
6740 (hildon_pannable_axis_scroll):
6741 (hildon_pannable_area_scroll):
6742 (hildon_pannable_area_timeout): Added this functions so we can use
6743 the scroll code both for vertical and horizontal.
6745 (hildon_pannable_area_motion_notify_cb):
6746 (hildon_pannable_area_button_release_cb): Added the horizontal
6747 scrolling control, fixed a problem with the overshooting timeout.
6749 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6750 painting of the scrolls.
6752 (hildon_pannable_draw_vscroll):
6753 (hildon_pannable_draw_hscroll):
6754 (hildon_pannable_area_expose_event):
6755 Draw both scrollbars and rectangles in the overshooting area.
6757 (hildon_pannable_area_get_property):
6758 (hildon_pannable_area_set_property):
6759 Modified the overshoot property to overshoot_max
6761 (hildon_pannable_area_map):
6762 Replaced the comments symbols.
6764 (hildon_pannable_area_size_allocate):
6765 (hildon_pannable_area_class_init):
6766 (hildon_pannable_area_init): Added horizontal scroll, fading
6767 effect properties, fixed a problem when overshooting in the bottom
6770 * examples/hildon-pannable-area-example.c:
6771 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6772 looks better in the example.
6774 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6776 * src/hildon-window.c
6777 * src/hildon-window.h
6778 (hildon_window_class_init)
6779 (hildon_window_unset_program)
6780 (hildon_window_unset_program_real):
6781 Make unset_program a virtual function
6783 * src/hildon-stackable-window.c
6784 * src/hildon-stackable-window.h
6785 Added hildon_stackable_window_go_home()
6787 * examples/Makefile.am
6788 * examples/hildon-stackable-window-example.c
6789 HildonStackableWindow example
6791 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6793 * hildon-pannable-area.c: Added the overshoot property and removed
6794 the OVERSHOOT define. Fixed an indent style error.
6795 (hildon_pannable_area_motion_notify_cb):
6796 (hildon_pannable_area_get_property):
6797 (hildon_pannable_area_set_property): Add overshoot property.
6799 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6802 (hildon_pannable_area_class_init): Installed the new property.
6804 * hildon-pannable-area-example.c: Added a sawtooth function, this
6805 way it is easier to check the movement in the pannable.
6806 (get_sawtooth_label): Added this function.
6807 (main): Now we get the labels from the new get_sawtooth_label
6810 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6812 * src/hildon-app-menu.h
6813 * src/hildon-app-menu.c
6814 Renamed API variables for consistency
6816 (hildon_app_menu_popup): Use also the default window size to
6817 decide where to place the menu
6819 (hildon_app_menu_init, hildon_app_menu_class_init): New
6820 external-border style property
6822 2008-05-26 Michael Natterer <mitch@imendio.com>
6824 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6825 widget_class->tap_and_hold_setup signal slot doesn't exist any
6826 longer, stop overriding it.
6828 (hildon_time_editor_init): g_signal_connect() to the
6829 tap-and-hold-setup signal instead.
6831 (hildon_time_editor_entry_keypress): add cast to fix warning.
6833 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6835 * doc/hildon-docs.sgml
6837 * examples/Makefile.am
6838 * examples/hildon-app-menu-example.c
6840 * src/hildon-app-menu-private.h
6841 * src/hildon-app-menu.c
6842 * src/hildon-app-menu.h
6844 New HildonAppMenu widget
6846 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6848 Rearranged the inheritance of the pannable area, now it inherits
6849 from GtkBin. This will allow us to control the event_window and
6850 the allocation process of the widget, required for some effects.
6852 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6853 GtkBin structures. * src/hildon-pannable-area.c: Added the
6854 event_window variable.
6855 (hildon_pannable_area_button_press_cb):
6856 (hildon_pannable_area_button_release_cb):
6857 (hildon_pannable_area_motion_notify_cb):
6858 Changed the signature of the method, now we override the event
6859 callback instead of connecting to the signal.
6861 (hildon_pannable_area_realize):
6862 (hildon_pannable_area_unrealize):
6863 (hildon_pannable_area_map):
6864 (hildon_pannable_area_unmap):
6865 (hildon_pannable_area_size_allocate):
6866 Added functions to control the widget construction. We add a
6867 INPUT_ONLY window and we put it over the widgets inside the
6868 container, this event_window handles the events.
6870 (hildon_pannable_area_class_init):
6871 Replaced the signal connections with overrides of the event
6874 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6876 Bouncing effect added when touching the borders, you can change
6877 the elasticity of the border changing the ELASTICITY define.
6879 * src/hildon-pannable-area.c: Added ELASTICITY define.
6880 (hildon_pannable_area_timeout): Added inverse velocity when
6881 touching the border of the child widget, that causes a bounce.
6883 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6885 Improved performance, we now do not go to the X server in order to
6886 get the list of window children. Apparently the effect is the
6887 same, we have to be careful and check if this breaks something in
6890 * src/hildon-pannable-area.c:
6891 (get_ordered_children): Removed this function.
6892 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6893 the children windows function with gdk_window_get_children.
6895 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6897 * src/hildon-pannable-area.c:
6898 (hildon_pannable_area_dispose): Fixed a crash when closing the
6899 window and kinetics is activated.
6901 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6903 * src/hildon-pannable-area.h
6904 * src/hildon-pannable-area.c
6905 Changed indentation style to meet the one used in Hildon
6907 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6909 Reviewed the interaction of the AUTO mode, now we use the time
6910 attribute of the events and calculate the velocity in the motion,
6911 doing a gimp like calculation. The velocity is calculated in each
6912 motion event using the last velocity and the current one, the
6913 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6915 * src/hildon-pannable-area.c: Replaced the time based algorithm
6917 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6918 timeout for the AUTO mode when we are still moving the cursor. We
6919 added also the velocity calculation in this function.
6920 (hildon_pannable_area_button_release_cb): launch the timeout in
6921 case we are in AUTO mode. There are still some constants here that
6922 come from the old implementation that should be reviewed and
6925 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6927 * doc/hildon-docs.sgml
6930 * src/hildon-stackable-window.c
6931 * src/hildon-stackable-window.h
6933 New HildonStackableWindow widget
6935 * examples/hildon-dialog-example.c
6936 * examples/hildon-pannable-area-example.c
6939 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6941 * src/hildon-dialog.c
6942 (hildon_dialog_new_with_buttons): New constructor.
6944 * examples/hildon-dialog-example.c
6945 (main): Update the example to use the new
6946 hildon_dialog_new_with_buttons().
6948 * examples/hildon-pannable-area-example.c
6949 (main): Update example.
6951 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6953 * doc/hildon-docs.sgml
6955 Added HildonPannableArea to the documentation.
6957 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6959 * doc/visual_index.xml
6960 Fix reference to HildonLoginDialog in documentation
6962 * doc/hildon-docs.sgml
6964 * examples/Makefile.am
6965 * examples/hildon-dialog-example.c
6967 * src/hildon-dialog.c
6968 * src/hildon-dialog.h
6970 New HildonDialog widget.
6972 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6974 * src/hildon-pannable-area.c
6975 Merge latest changes (r4318, r4342) from libmokoui trunk
6977 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6979 * examples/Makefile.am
6980 * examples/hildon-pannable-area-example.c
6982 * src/hildon-pannable-area.c
6983 * src/hildon-pannable-area.h
6985 New HildonPannableArea widget.
6987 2008-04-15 18:05:19 <timj@imendio.com>
6989 * src/hildon-banner.c: revert the recent change, that introduced
6990 gtk_window_present() calls. this reopens:
6991 Bug 78481 - [freetest] information banners are hidden under browser menu
6992 But resolves another variant of:
6993 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6995 2008-04-15 13:21:13 <timj@imendio.com>
6997 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6998 recreated its layout, spotted by Kris. this fixes all remaining
6999 artefacts and stability issues with the banner code. in particular:
7000 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7002 2008-04-14 16:52:59 <timj@imendio.com>
7004 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7005 operating on unrealized widgets, fixes:
7006 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7008 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7010 2008-04-09 Kristian Rietveld <kris@imendio.com>
7012 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7013 makes banner disappear.
7014 Fixes: NB#79182: info banner flickering with certain message lengts.
7016 * src/hildon-banner.c (hildon_banner_constructor),
7017 (hildon_banner_init), (hildon_banner_set_text),
7018 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7019 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7020 FALSE, reset size requests of label and banner,
7021 (force_to_wrap_truncated): when the text is too wide, always enforce
7022 the maximum possible width instead of recalculating it from the
7023 layout; enforce the maximum banner height of 3 lines,
7024 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7025 nicer wrapping and no truncated chars if space gets tight.
7027 * src/hildon-banner-private.h: add has_been_wrapped and
7028 has_been_truncated fields.
7030 2008-04-07 Sven Herzberg <sven@imendio.com>
7032 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7033 local values in hildon_date_editor_size_allocate
7035 * src/hildon-date-editor.c: moved the real allocation code into the
7038 2008-04-07 Sven Herzberg <sven@imendio.com>
7040 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7041 local values in hildon_date_editor_size_allocate
7043 * src/hildon-date-editor.c: merged the two if() branches together
7045 2008-04-07 Sven Herzberg <sven@imendio.com>
7047 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7048 local values in hildon_date_editor_size_allocate
7050 * src/hildon-date-editor.c: changed the arguments of the if()
7053 2008-04-07 Sven Herzberg <sven@imendio.com>
7055 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7056 local values in hildon_date_editor_size_allocate
7058 * src/hildon-date-editor.c: split the calculation of the allocation
7059 from the real allocation
7061 2008-03-27 Michael Natterer <mitch@imendio.com>
7063 Fixes: NB#81696: The passcode is not overwritten even after
7066 * src/hildon-code-dialog.c
7067 (hildon_code_dialog_button_clicked)
7068 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7069 because that doesn't overwrite selected text. Instead, emit the
7070 "commit" signal on the entry's im_context so the entry's normal
7071 insert logic is triggered. Set the cursor to the end of the entry
7072 after each insert operation so that we *only* insert in the middle
7073 of the text if something was selected.
7075 2008-03-27 Michael Natterer <mitch@imendio.com>
7077 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7078 selector cannot be opened
7080 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7081 when the popup color selector is created. Please connect to this
7082 signal in order to set the dialog's help ID.
7084 2008-03-25 Sven Herzberg <sven@imendio.com>
7086 Fixes: MB#1212: Hide info banners (infoprints) on click
7088 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7089 extracted the close event simulation into an extra function
7090 (hildon_banner_button_press_event): simulate a close event and destroy
7091 the widget if the event wasn't handled
7092 (hildon_banner_class_init): added the button_press_event handler
7093 (hildon_banner_init): added button-press events to the widget
7095 2008-03-25 Sven Herzberg <sven@imendio.com>
7097 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7098 Patch from: Mohammad Anwari <mdamt@maemo.org>
7100 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7101 instead of the right in RTL mode
7102 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7103 breadcrumb button list in RTL mode
7104 * src/hildon-caption.c: mirror the appearance of the caption widget in
7106 * src/hildon-date-editor.c: mirror appearance of the date editor in
7108 * src/hildon-time-editor.c: mirror appearance of the time editor in
7110 * src/hildon-window.c: fix the position of the popup in RTL mode
7112 2008-03-25 Sven Herzberg <sven@imendio.com>
7114 Amendment to the fix of NB#22072. Fix compilation.
7116 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7118 2008-03-19 Sven Herzberg <sven@imendio.com>
7120 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7123 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7124 timeout id properly when the timeout will disappear this leaves no
7125 artifacts around in the destroy(); there will only be the timeout
7126 created by hildon_banner_ensure_timeout() and adding a new timeout
7127 will also work if the timeout gets removed because the timeout_handler
7130 2008-03-19 Michael Natterer <mitch@imendio.com>
7132 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7134 * src/hildon-volumebar.c
7135 * src/hildon-vvolumebar.c
7136 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7137 the widget becomes focussable at all.
7139 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7140 set the focus to wither the mute button or the volumebar.
7142 Remove own "can-focus" property and instead listen to
7143 notify::can-focus in order to update the widget's state.
7145 Implement GtkWidget::focus() and make sure we can also *leave* the
7146 widget, not only enter it, depending on volumebar orientation and
7147 requested focus direction.
7149 Clean up set_mute() to cooperate nicely with all the above.
7151 2008-03-04 Michael Natterer <mitch@imendio.com>
7153 Fixes: NB#78481: information banners are hidden under browser menu
7155 * src/hildon-banner.c: call gtk_window_present() on the banners so
7156 they are risen if they are already visible.
7158 2008-03-03 Sven Herzberg <sven@imendio.com>
7160 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7162 * examples/hildon-window-menu-example.c: (main): extended the window
7163 menu example to serve as a testcase for automatically added
7164 accelerator groups, too
7165 * src/hildon-window.c: (hildon_window_add_accel_group),
7166 (hildon_window_set_menu): added patch by Tommi Komulainen
7168 2008-03-03 Sven Herzberg <sven@imendio.com>
7170 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7172 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7173 knowledge about the border allocators used within GTK+
7175 2008-02-26 Sven Herzberg <sven@imendio.com>
7177 Fixes: MB#2981: Build with asserts broken
7179 * src/hildon-date-editor.c,
7180 * src/hildon-number-editor.c,
7181 * src/hildon-time-editor.c,
7182 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7183 the proper GType instance check
7185 2008-02-25 Sven Herzberg <sven@imendio.com>
7187 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7189 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7190 * examples/hildon-window-menu-example.c: (main): explicitly show
7192 * src/hildon-window.c:
7193 (hildon_window_set_main_menu): moved most of the code from set_menu()
7194 to this place; skipped the call to gtk_widget_show_all(); also didn't
7195 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7196 (hildon_window_set_menu): removed most of the code, just keep the
7197 questionable gtk_widget_show_all()
7198 * src/hildon-window.h: added the new function and deprecate the old
7201 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7207 * debian/changelog: Updating.
7209 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7212 * pkgconfig/Makefile.am:
7213 * pkgconfig/hildon.pc.in:
7216 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7217 use newly created API_MAJOR_VERSION.
7219 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7225 * debian/changelog: Updating.
7227 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7229 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7231 Add outer_border style property, we use it but don't define it (!).
7235 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7237 * examples/hildon-bread-crumb-trail-example.c (main):
7241 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7243 Fix logic for the bread crumb trail node removal.
7247 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7253 * debian/changelog: Updating.
7255 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7257 Patch by Alejandro to get/set passwords dialogs accesibility.
7259 * hildon-1/src/hildon-get-password-dialog.c:
7260 * hildon-1/src/hildon-set-password-dialog.c:
7261 Set atk_set_name to the passwd entries in order to allow
7262 accessibility by name on this entries.
7264 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7269 * debian/control: Updating gtk dep.
7271 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7273 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7274 USE_MAEMO_GTK is enabled.
7276 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7278 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7279 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7281 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7287 * debian/changelog: Updating.
7289 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7291 * examples/Makefile.am:
7292 * examples/hildon-logical-color-example.c:
7293 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7294 applied + adding a test case. Fixes: NB#71660.
7296 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7298 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7299 to be visible, fixes warning on map for windows without toolbars.
7301 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7303 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7304 2.11.0, add a check for that besides the MAEMO_GTK check.
7306 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7312 * debian/changelog: Updating.
7314 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7316 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7317 visibility. Fixes: NB#70842 and MB#615.
7319 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7321 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7322 set the separator as no-show-all so it doesn't unintentionally appear when
7323 someone does a show_all.
7325 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7327 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7328 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7329 toplevel item. Fixes: NB#62031
7331 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7333 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7334 fix the name of the function in the docs.
7336 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7342 * debian/changelog: Updating.
7344 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7346 * examples/hildon-banner-long-example.c: Adding a test-case for long
7349 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7351 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7353 * src/hildon-color-chooser-dialog.c:
7354 * src/hildon-color-chooser.c:
7355 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7356 memory leaks in font selector and color selector. Fixes: NB#70499 and
7359 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7361 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7363 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7365 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7366 little bit bigger. Fixes: #NB63694.
7368 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7374 * debian/changelog: Updating.
7376 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7379 * doc/hildon-docs.sgml:
7380 * doc/images/bread-crumb-trail.png:
7381 * doc/images/calendar-popup.png:
7382 * doc/images/caption.png:
7383 * doc/images/code-dialog.png:
7384 * doc/images/color-button.png:
7385 * doc/images/color-chooser-dialog.png:
7386 * doc/images/color-chooser.png:
7387 * doc/images/controlbar.png:
7388 * doc/images/date-editor.png:
7389 * doc/images/font-selection-dialog.png:
7390 * doc/images/get-password-dialog.png:
7391 * doc/images/hvolumebar.png:
7392 * doc/images/login-dialog.png:
7393 * doc/images/note.png:
7394 * doc/images/number-editor.png:
7395 * doc/images/range-editor.png:
7396 * doc/images/seekbar.png:
7397 * doc/images/set-password-dialog.png:
7398 * doc/images/sort-dialog.png:
7399 * doc/images/time-editor.png:
7400 * doc/images/time-picker.png:
7401 * doc/images/vvolumebar.png:
7402 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7403 Adding the bread-crumb-trial and helpers to the documentation.
7405 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7407 * examples/hildon-find-toolbar-example.c:
7408 * src/hildon-find-toolbar.c:
7409 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7410 actually continue firing the other handlers if connected. Adding a new
7412 hildon_find_toolbar_get_last_index that gets the index of the most
7413 recently added (last) item. Fixes: NB#52301.
7415 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7417 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7418 behaviour. Fixes: NB#68610.
7420 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7422 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7425 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7427 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7428 when realizing the banner. Should make the infonbanner effect a bit more
7431 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7433 * src/hildon-volumebar.c:
7434 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7435 hildon_volumebar_set_range_insensitive_message and
7436 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7438 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7440 * src/hildon-window.c: Fixing the border freeing on destroy.
7442 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7444 * src/hildon-code-dialog-private.h:
7445 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7446 kw keyboard support in HildonCodeDialog.
7448 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7454 * debian/changelog: Updating.
7456 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7458 * src/hildon-date-editor.c:
7459 * src/hildon-number-editor.c:
7460 * src/hildon-private.c:
7461 * src/hildon-private.h:
7462 * src/hildon-time-editor.c:
7463 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7464 handling in subclassed composite widgets. Fixes: NB#66628.
7466 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7468 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7469 from destroy_ callback as it introduces problems in async dbus signal
7470 handlers. Fixes NB#66673.
7472 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7474 * examples/hildon-hvolumebar-example.c:
7475 * src/hildon-volumebar.c: Improving the focus handling in the
7476 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7477 set_property accessor so that "mute" property can be actually set. I'm
7478 scared that nobody noticed it's totally broken.
7480 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7482 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7485 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7487 * src/hildon-calendar.c:
7488 * src/hildon-number-editor.c:
7489 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7490 matches the spec of 6 chars per second. Fixes: NB#60489.
7492 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7494 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7495 gtk_style_lookup_color sometime returns FALSE even though color was
7496 found and values were filled properly. Weird. Removing the warning for the
7499 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7501 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7502 expand vertically. Adding some extra space to the find toolbar buttons to
7503 make them thumbable. Fixes NB#66060.
7505 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7507 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7508 popup with "Ok" and "Cancel". Fixes NB#59299.
7510 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7512 * src/hildon-calendar.c: Process all window updates before executing next
7513 timeout. Fixes: NB#54146.
7515 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7521 * debian/changelog: Updating.
7523 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7525 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7526 the client event and ignore it, since we use the delete event to close
7529 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7531 * src/hildon-helper.c: Remove the bogus warning about color not being
7532 found. Fixes NB#58352.
7534 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7536 * examples/Makefile.am:
7537 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7538 HildonSeekbar widget inside a toolbar.
7540 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7542 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7543 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7544 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7545 don't want to be closed by non-temporary windows on map.
7547 Also use G_DEFINE_TYPE instead of manually typed code.
7549 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7556 * debian/rules: Updating.
7558 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7560 * examples/Makefile.am:
7561 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7562 bug NB#61128. Strangely it works.
7564 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7566 * src/hildon-date-editor.c: When the date editor entry has been changed
7567 but the numbers of characters < max, turn off the skip validation flag.
7568 Prevents a situation when we enter first a valid year and later re-write
7569 it with an invalid one. Fixes NB#60154.
7571 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7573 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7574 code dialog. Fixes NB#64355.
7576 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7578 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7579 switching the page. Fixes NB#49374.
7581 * examples/Makefile.am:
7582 * examples/hildon-wizard-dialog-example.c: Adding an example for
7583 HildonWizardDialog that shows how to handle manual sensitivity setting on
7586 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7590 * src/hildon-version.h.in:
7591 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7593 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7595 * src/hildon-volumebar.c: Updating the docs.
7597 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7603 * debian/changelog: Updating.
7605 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7607 * src/hildon-find-toolbar.c:
7608 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7609 selected item: hildon_find_toolbar_set_active,
7610 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7611 hildon_find_toolbar_get_active_iter . They correspond to respective
7612 GtkComboBox functions.
7614 * examples/Makefile.am:
7615 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7618 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7620 * examples/Makefile.am:
7621 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7624 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7625 when font size > 32 and we pack a focusable widget inside. Actually using
7626 the default response would work too, but since we don't show default
7627 response state in any way (no theming) it would not be visible to the
7628 user. Fixes NB#63430.
7630 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7632 * src/hildon-date-editor.c: Adding the missing variable setter in the
7633 set_property handler. Fixes NB#54182.
7635 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7637 * src/hildon-window.h: Changing the long key press time from 1500ms to
7638 800ms as requested in NB#63700. I have a bad feeling about this, let's
7639 see... Fixes NB#63700.
7641 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7643 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7644 hildon_time_picker_map, hildon_time_picker_realize,
7645 hildon_time_picker_style_set): Split the contents of map to more
7646 appropriate functions; set window decorations on realize and update
7647 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7649 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7654 * debian/changelog: Updating.
7656 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7658 * src/Makefile.am: fixed installation of the header files
7660 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7666 * debian/changelog: Updating.
7668 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7670 * configure.ac: Removing some remaining of --enable-xan.
7672 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7674 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7675 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7677 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7678 2.10.12-osso6 because the move-focus signal needs to be available in
7681 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7683 * examples/Makefile.am:
7684 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7685 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7686 fine. Prolly NB#61128 is fixed now.
7688 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7690 * src/hildon-volumebar.c:
7691 * src/hildon-volumebar.h: Adding the
7692 hildon_volumebar_set_range_insensitive_message and
7693 hildon_volumebar_set_range_insensitive_messagef functions to set
7694 insensitive message on the slider of the volumebar. Fixes NB#61129.
7696 * examples/Makefile.am:
7697 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7698 test the new insensitive messsage functionality on HildonVolumebar.
7700 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7702 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7705 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7707 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7708 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7709 button on after clearing the trail.
7711 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7713 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7715 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7717 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7718 by splitting the installed headers in generated and non-generated groups. Use
7719 only the non-generated headers to create the hildon-enum-types.h file.
7721 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7723 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7725 * src/hildon-window.c: Hide the window before performing the destroy.
7726 Should make the app closing a little tiny bit more snappy.
7728 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7730 * src/hildon-seekbar.c: add gtkrange.h header
7731 * src/hildon-caption.c: remove unused variable
7733 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7735 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7738 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7744 * debian/changelog: Updating.
7746 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7748 * src/hildon-window.c (hildon_window_window_state_event,
7749 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7750 escape timeout on focus-out-event rather than notify::is-topmost; the
7751 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7753 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7755 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7756 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7758 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7760 * src/hildon-window: actually, you need to use the macro always, there's
7761 no private pointer in the instance structure. We should have cleaned this up
7762 when we had the chance...
7764 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7766 * src/hildon-window.c: do not get the private date from HildonWindow before
7767 it passes the g_return_if_fail check. Once it's passed the test, there's no
7768 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7769 if you are only going to access the data once. Whitespace cleanups.
7771 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7773 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7774 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7776 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7782 * debian/changelog: Updating.
7784 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7786 * src/hildon-window.c: When destroying the window, remove (if exists) the
7787 escape timeout handler. Fixes #NB59276.
7789 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7791 * src/hildon-banner.c: When realizing the widget, set the window
7792 transiency. Setting the transiency in the gobject constructor is not
7793 good, as the widget is not realized at that point. Fixes: #NB56624.
7795 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7797 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7798 Add padding for future expansions.
7800 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7802 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7803 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7804 will fake an activation on the previous to the last item of the trail, so
7805 the effect can be overrided by the developer as usual.
7806 Also change the callback for the back button to do the same thing, so its
7807 effect can be overrided too. Fixes: NB#58982
7809 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7811 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7812 HildonCaption. Fixes NB#52379.
7814 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7816 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7817 the internal state of the trail after the user has had the chance of executing
7818 his handler for the signal. Specifically, it may happen that the activated button
7819 is removed and the user still lets the default handler run. This would segfault
7822 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7824 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7825 scrollbar to the preview dialog. Fixes NB#54147.
7827 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7829 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7830 max/min year properties can be altered, so the client can modify it
7831 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7833 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7835 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7836 hildonlike by default. Fixing a problem with disappearing arrows when
7837 scrolling through months and years. Fixes NB#54127.
7839 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7841 * examples/hildon-date-editor-example.c: Adding error callback to the date
7844 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7850 * configure.ac: Updating.
7852 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7854 * configure.ac: Adding a special '--enable-xan' configure option that
7855 turns off the -Werror compilation setting. Usefull for development.
7857 * src/hildon-calendar.c:
7858 * src/hildon-number-editor.c:
7859 * src/hildon-time-picker.c: Adding the 5* multiplier to
7862 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7864 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7865 instead of g_object_ref + gtk_object_sink.
7867 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7873 * debian/changelog: Updating.
7875 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7877 * src/hildon-color-chooser-dialog.c:
7878 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7879 straight from Tommi labs.
7881 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7883 * examples/hildon-finger-example.c: Correcting the header file path.
7885 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7886 the changed signal. Fixes a small memory leak.
7888 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7892 * src/hildon-banner.c: Importing several usefull fixes from the
7893 ubuntu-mobile branch.
7895 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7897 * examples/Makefile.am:
7898 * examples/hildon-finger-example.c: Adding a finger-checking code
7901 * src/hildon-font-selection-dialog.c: Do not allocate the color
7902 structure using the g_new. Fixes NB#54061.
7904 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7906 * src/hildon-helper.c: Correcting tabs in file.
7908 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7910 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7911 control the visibility of the children.
7913 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7915 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7921 * debian/changelog: Updating.
7923 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7925 * src/hildon-bread-crumb-trail.c:
7926 (hildon_bread_crumb_trail_size_allocate):
7928 Make the back button always a square.
7930 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7932 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7933 from the .c file as it's a private file.
7935 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7937 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7938 uses slightly bigger height.
7940 * src/hildon-font-selection-dialog.c: Adding some checks before
7941 freeing memory in the font selection dialog.
7943 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7945 * src/hildon-font-selection-dialog.c: Adding a small check when
7948 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7949 buttons sensitivity on page switching.
7951 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7953 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7954 internal details of adding a bread crumb to the trail.
7956 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7962 * debian/changelog: Updating.
7964 * src/hildon-bread-crumb-trail.h:
7965 * src/hildon-bread-crumb.h: Changing the API guard to
7966 HILDON_ENABLE_UNSTABLE_API.
7968 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7976 * src/hildon-helper.h: Updating.
7978 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7986 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7990 * src/hildon-helper.h: Small fix to make the package actually compile.
7992 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7994 * src/hildon-bread-crumb-trail.h:
7995 * src/hildon-bread-crumb.h:
7997 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7998 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8000 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8002 * examples/hildon-bread-crumb-trail-example.c:
8004 * src/hildon-bread-crumb-trail.c:
8005 * src/hildon-bread-crumb-trail.h:
8006 * src/hildon-bread-crumb.c:
8007 * src/hildon-bread-crumb.h:
8008 * src/hildon-marshalers.list:
8009 * src/hildon-bread-crumb-widget.c:
8010 * src/hildon-bread-crumb-widget.h:
8012 Slight change in the widget design. The bread crumb trail API is
8013 unchanged, but HildonBreadCrumb is now an interface. A *private*
8014 implementation, hildon-bread-crumb-widget, is provided and used
8015 internally by the trail for the push_text/push_icon functions.
8017 The generic push API is still available, so anyone can implement
8018 and use its own bread crumb widget.
8020 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8022 * debian/rules: Fixing the shlibs.
8024 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8026 * src/hildon-banner.c: Fixing a problem with timed banners having
8027 their parrent destroyed before they are.
8029 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8031 * src/hildon-bread-crumb.c:
8032 * src/hildon-bread-crumb.h:
8034 Make the get_natural_size function a vfunc.
8036 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8038 * src/hildon-bread-crumb.c:
8039 * src/hildon-bread-crumb-trail.c:
8043 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8050 * debian/changelog: Updating for release.
8052 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8054 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8055 don't leak the pango layout.
8057 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8060 * examples/hildon-bread-crumb-trail-example.c:
8064 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8066 * debian/changelog: Removing the bug-fixed entries that were actually
8067 resolved as WONTFIX.
8069 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8072 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8074 * src/hildon-bread-crumb-trail.c:
8075 * src/hildon-bread-crumb-trail.h:
8076 * src/hildon-bread-crumb.c:
8077 * src/hildon-bread-crumb.h:
8081 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8083 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8084 until it's passed the type check.
8086 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8088 * examples/hildon-bread-crumb-trail-example.c
8092 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8094 * examples/Makefile.am
8095 * examples/hildon-bread-crumb-trail-example.c
8097 * src/hildon-bread-crumb-trail.c
8098 * src/hildon-bread-crumb-trail.h
8099 * src/hildon-bread-crumb.c
8100 * src/hildon-bread-crumb.h
8102 New HildonBreadCrumbTrail widget.
8104 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8106 * src/hildon-range-editor.c (hildon_range_editor_init),
8107 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8108 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8109 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8110 hildon_time_editor_class_init, hildon_time_editor_init),
8111 src/hildon-get-password-dialog.c (invalid_input,
8112 hildon_get_password_set_property, hildon_get_password_get_property,
8113 create_contents, hildon_get_password_dialog_set_max_characters),
8114 src/hildon-set-password-dialog.c (create_contents),
8115 src/hildon-date-editor.c (hildon_date_editor_init),
8116 src/hildon-login-dialog.c (hildon_login_dialog_init),
8117 src/hildon-number-editor.c (hildon_number_editor_init),
8118 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8119 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8120 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8121 configure option and adding the respective checks in the code.
8122 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8123 hildon_calendar_drag_data_received): fixed some build warnings.
8125 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8127 * debian/changelog: A 1.0.0 release notes.