1 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
3 * configure.ac: post release version bump
4 * debian/changelog: post release version bump
6 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
11 * configure.ac: Bump version.
12 * debian/changelog: Updates.
14 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
16 * hildon/hildon-note-private.h: Removed sound_signal_handler
17 * hildon/hildon-note.c
18 (on_show_cb): new callback on note "show" event, this simply adds
19 a idle, with the function sound_handling
20 (sound_handling): removed the sound_signal_handler management
21 (hildon_note_init): connect note "show" event to on_show_cb
22 (hildon_note_realize): remove the connection to "expose-event"
24 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
25 device?' confirmation note)
27 2009-05-08 Alberto Garcia <agarcia@igalia.com>
29 * hildon/hildon-note.c
30 (hildon_note_new_information_with_icon_name)
31 (hildon_note_new_confirmation_with_icon_name):
32 Terminate the list of parameters in g_object_set() calls
34 Fixes: NB#115166 (Formatting memory card is not taking place)
36 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
38 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
39 "dialog-information" role for the sound being played.
41 2009-05-06 Alberto Garcia <agarcia@igalia.com>
43 * hildon/hildon-app-menu.c (hildon_app_menu_init):
44 Don't make the menu a modal window, it causes strange interactions
45 with the pointer grab and it's not really needed.
47 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
49 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
51 * hildon/hildon-touch-selector.[ch]
52 (hildon_touch_selector_optimal_size_request): function added to get a
53 optimal size request from the touch selector, when you want a dialog to
54 show as much of the selector
55 * hildon/hildon-picker-dialog.c:
56 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
57 (hildon_app_menu_class_init):
58 New "max-height-landscape" and "max-height-portrait" style properties
59 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
60 (hildon_picker_dialog_get_max_height): returns the maximum height using
61 the style properties defined and checking the current portrait/landscape
63 (_hildon_picker_dialog_set_selector): removed the set_size_request
65 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
67 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
69 * hildon/hildon-bread-crumb-trail.c:
70 * hildon/hildon-bread-crumb.c:
71 * hildon/hildon-seekbar.c:
72 Add reference to replacements for these deprecated widgets.
74 Fixes: MB#4461 (Documentation: All deprecations should mention
77 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
79 * examples/hildon-remote-texture-example.c
81 Change the include to the hildon-remote-texture in order to compile
82 properly the examples on the installed libhildon1-examples package
84 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
86 * tests/Makefile.am: Add check for HildonPickerButton.
87 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
88 (START_TEST), (create_hildon_picker_button_suite): Add three simple
89 checks for the HildonPickerButton.
90 * tests/check_test.c (configure_tests): Add the test suite.
91 * tests/test_suites.h: likewise.
93 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
95 * hildon/hildon-touch-selector.c
96 (+on_row_changed): Emit HildonTouchSelector:changed when the
97 contents of a selected row change.
98 (_create_new_column), (_hildon_touch_selector_set_model): connect
99 to GtkTreeModel:row-changed on a newly set model.
101 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
103 2009-05-05 Alberto Garcia <agarcia@igalia.com>
105 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
107 * hildon/hildon-banner.c (hildon_banner_destroy)
108 (hildon_banner_show_progress, hildon_banner_set_fraction):
109 Remove the progress bar from HildonBanner and use a progress
112 Fixes: NB#113761 (Update progress banner to use progress
115 2009-05-04 Alberto Garcia <agarcia@igalia.com>
117 * hildon/hildon-banner.c:
118 Calculate size of the banner label using the actual screen width
119 rather than using a fixed value.
121 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
124 2009-05-04 Alejandro G. Castro <alex@igalia.com>
126 * hildon/hildon-pannable-area.c,
127 (hildon_pannable_area_class_init): Fixed signals documentation
130 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
132 * configure.ac: post release version bump
133 * debian/changelog: post release version bump
135 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
140 * configure.ac: Bump version.
141 * debian/changelog: Updates.
143 2009-05-01 Alberto Garcia <agarcia@igalia.com>
145 * hildon/hildon-edit-toolbar.c
146 (hildon_edit_toolbar_init):
147 Don't let buttons in HildonEditToolbar receive focus.
149 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
150 typing on an HW arrows key)
152 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
154 * doc/Makefile.am: Fix build.
156 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
158 * doc/Makefile.am: Do not redefine content_files.
160 2009-04-30 Alberto Garcia <agarcia@igalia.com>
168 Renamed src/ to hildon/
173 Include <hildon/hildon.h> directly in all examples.
175 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
177 * src/hildon-sort-dialog.c
178 (hildon_sort_dialog_add_sort_key_with_sorting)
182 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
184 * src/Makefile.am: Move generated sources to CLEANFILES, so that
185 make distcheck passes.
187 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
189 * Makefile.am: Enable gtk-doc during distcheck.
191 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
193 * Makefile.am: Do not distribute the debian/ directory.
195 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
197 * doc/Makefile.am: Add the extra SGML files to content_files,
198 so that they are distributed properly.
200 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
202 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
205 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
207 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
208 (hildon_note_new_information_with_icon_name): Set the "icon" property
209 to preserve soundness.
211 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
213 * src/hildon-font-selection-dialog.c
214 (hildon_font_selection_dialog_set_property): Fail when the "family"
215 property is set to NULL.
217 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
219 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
222 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
224 * src/hildon-time-selector.h:
225 Added HildonTimeSelectorFormatPolicy
226 * src/hildon-time-selector.c:
227 Added PROP_TIME_FORMAT_POLICY
228 (_check_ampm_format): renamed to check_automatic_ampm_format
229 (update_format_policy), (update_format_dependant_columns): new functions
230 (hildon_time_selector_class_init)
231 (hildon_time_selector_contructor)
232 (hildon_time_selector_init)
233 (hildon_time_selector_get_property)
234 (hildon_time_selector_set_property)
235 (hildon_time_selector_get_time)
236 (hildon_time_selector_set_time)
237 * src/hildon-touch-selector.h: new file
238 * src/hildon-touch-selector.c
239 (hildon_touch_selector_emit_changed)
240 (hildon_touch_selector_block_changed)
241 (hildon_touch_selector_unblock_changed)
242 Added functions to allow to block the emission of the "changed" signal
243 * src/hildon-picker-dialog.c
244 (hildon_picker_dialog_show): call the parent show before the custom code
245 * examples/hildon-time-button-example.c
246 Modified, so now you can configure the time format using the new property
248 Added a new property "time-format-policy" that allow to choose the time
249 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
250 case it uses gconf in order to check if the time selector must use
253 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
256 2009-04-28 Alberto Garcia <agarcia@igalia.com>
258 * src/hildon-note.c (hildon_note_init):
259 Label in HildonNote must be left aligned, not centered. This
260 reverts the last commit in HildonNote.
262 Fixes: NB#112933 (text is not left aligned in confirmation dialog
263 is connectivity dialog)
265 2009-04-27 Alberto Garcia <agarcia@igalia.com>
270 * doc/hildon-sections.txt:
271 Added hildon_gtk_window_set_do_not_disturb()
273 2009-04-27 Alberto Garcia <agarcia@igalia.com>
275 * src/hildon-note.c (hildon_note_init): Center label.
277 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
280 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
285 * configure.ac: Bump version.
286 * debian/changelog: Updates.
288 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
290 * src/hildon-note-private.h: Add button-width to the private data.
291 * src/hildon-note.c (+resize_button),
292 (+hildon_note_orientation_update): methods to repack widgets on orientation
294 (screen_size_changed): Call above method for confirmation notes.
295 (hildon_note_realize): Always connect to the "screen-size" changed signal.
296 (hildon_note_rebuild): Store the original width request from buttons.
298 Fixes: NB#109635 (Confirmation notes do not support portrait)
300 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
302 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
303 when it is a progress note.
305 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
307 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
308 in the note, since there are no horizontally arranged contents.
310 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
312 * src/hildon-gtk.c (+set_flag): new generic method to
313 set/delay a flag setting in a window.
314 (hildon_gtk_window_set_progress_indicator):
315 (hildon_gtk_window_set_do_not_disturb),
316 (hildon_gtk_window_set_portrait_flags): use set_flag() to
317 avoid code redundance.
319 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
321 Based on a patch by Alberto Garcia (agarcia@igalia.com)
323 * src/hildon-gtk.c (set_clear_window_flag),
324 (do_set_progress_indicator), (do_set_do_not_disturb),
325 (do_set_portrait_flags),
326 (hildon_gtk_window_set_progress_indicator),
327 (hildon_gtk_window_set_do_not_disturb),
328 (hildon_gtk_window_set_portrait_flags):
329 Allow setting dnd-flag, progress indicator, and portrait flags
330 when the window is not realized.
332 2009-04-24 Alejandro G. Castro <alex@igalia.com>
334 * src/hildon-pannable-area.c,
335 * src/hildon-pannable-area.h: Add the hildon deprecated define to
336 the size request policy function and defines.
338 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
340 * doc/hildon-sections.txt: Add the new API.
341 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
342 method to set the portrait flags.
343 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
345 Fixes: NB#112328 (Adding helpers for setting portrait properties)
347 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
349 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
350 to allow using this method with other flags.
351 (hildon_gtk_window_set_progress_indicator): Update accordingly.
352 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
354 2009-04-22 Alberto Garcia <agarcia@igalia.com>
356 * src/hildon-touch-selector.c
357 (hildon_touch_selector_append_text_column):
358 Make the cell renderer use the smallest width possible.
360 Fixes: NB#108470 (Selected items in multiple selection are either
361 having a tick that is cut or not visible at all.)
363 2009-04-22 Alberto Garcia <agarcia@igalia.com>
365 * src/hildon-touch-selector.c
366 (hildon_touch_selector_append_text_column):
369 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
371 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
372 Use g_strdup_printf() instead of a fixed size buffer.
374 2009-04-21 Alberto Garcia <agarcia@igalia.com>
376 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
377 Close banners when a HildonAppMenu is popped up.
379 Fixes: NB#111027 (Title menu closed immediately if activated when
380 "Invalid e-mail address" banner is shown)
382 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
387 * configure.ac: Bump version.
388 * debian/changelog: Updates.
390 2009-04-20 Alberto Garcia <agarcia@igalia.com>
392 * src/hildon-banner.c (hildon_banner_realize):
393 Mark HildonBanner as supporting portrait mode.
394 Use GDK to set window properties insetad of direct Xlib calls.
396 Fixes: NB#111830 (HildonBanner should be marked as supporting
399 2009-04-20 Alberto Garcia <agarcia@igalia.com>
401 * src/hildon-note.c (hildon_note_rebuild):
402 Hide action area in information notes. Prevents text from being
403 slightly aligned to the left.
405 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
408 2009-04-20 Alberto Garcia <agarcia@igalia.com>
410 Patch by Mox Soini (ext-mox.soini@nokia.com)
412 * src/hildon-banner.c (hildon_banner_create_animation):
413 Use stylus-sized icons in animation banner.
415 Fixes: NB#111206 (stylus sized icon for animation banner)
417 2009-04-20 Alberto Garcia <agarcia@igalia.com>
421 (+hildon_gtk_window_set_do_not_disturb):
422 New API to set the do-not-disturb flag.
424 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
426 2009-04-20 Alberto Garcia <agarcia@igalia.com>
428 * examples/hildon-progress-indicator-example.c: Fix example
430 * src/hildon-gtk.c (set_clear_window_flag)
431 (hildon_gtk_window_set_progress_indicator):
432 Create a generic function for setting flags to a window.
433 Use GDK instead of direct Xlib calls.
435 2009-04-14 Alberto Garcia <agarcia@igalia.com>
437 * src/hildon-button.c (hildon_button_set_arrangement):
438 Due to NB#88126, if one of the labels is too long it will be
439 painted outside the button. The 'value' label is more likely to be
440 the longest one, so we change its packing options in order to
441 truncate it if necessary. As a side effect, the 'title' label will
442 no longer be truncated.
444 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
446 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
451 * configure.ac: Bump version.
452 * debian/changelog: Updates.
454 2009-04-13 Alejandro G. Castro <alex@igalia.com>
456 Deprecation of the hildon_pannable_area_set_size_request_policy
457 API, the only policy properly supported in gtk+ nowadays is the
460 * src/hildon-pannable-area.c,
461 (hildon_pannable_area_size_request): Added a workaround for the
462 size_request to avoid the problems of huge pixmaps in case someone
463 is still using the function.
464 * src/hildon-pannable-area.h: Deprecated the enum with the
467 Fixes: NB#110244 (Problems with the
468 hildon_pannable_area_set_size_request_policy API)
470 2009-04-08 Alejandro G. Castro <alex@igalia.com>
472 * src/hildon-pannable-area.c,
473 (hildon_pannable_area_init),
474 (hildon_pannable_area_size_request),
475 (hildon_pannable_area_style_set),
476 (hildon_pannable_draw_vscroll),
477 (hildon_pannable_draw_hscroll),
478 (hildon_pannable_area_check_scrollbars): Replaced area_width with
479 indicator_width to clarify the use of the attribute.
481 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
486 * configure.ac: Bump version.
487 * debian/changelog: Updates.
489 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
491 * src/hildon-picker-dialog.c
492 * src/hildon-touch-selector.c
493 Reverting the change that tried to avoid the hardcoded height on
494 the picker dialog, as causes problems on the hildon-touch-selector
497 Fixes: NB#110029 (selectors not scrolling to selected value)
499 2009-04-07 Alberto Garcia <agarcia@igalia.com>
501 * src/hildon-touch-selector.c: Fix typos
503 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
505 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
506 Use the event coordinates instead of gdk_window_get_pointer(). Also,
507 request more motions after using it.
509 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
511 * src/hildon-calendar.c (hildon_calendar_expose),
512 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
513 Remove unused variables.
515 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
517 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
520 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
522 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
523 Check the return value of gtk_tree_selection_get_selected()
526 2009-04-06 Alberto Garcia <agarcia@igalia.com>
528 * src/hildon-animation-actor.c
529 * src/hildon-button.c
531 * src/hildon-pannable-area.c
532 * src/hildon-picker-button.c
533 * src/hildon-program.c
534 * src/hildon-remote-texture.c
535 * src/hildon-text-view.c
536 * src/hildon-touch-selector.c
537 * src/hildon-window-stack.c
538 * src/hildon-window.c:
539 Add missing 'Since: 2.2' tags.
541 * doc/hildon-sections.txt:
542 Add some missing symbols.
544 * doc/hildon-docs.sgml:
545 New 'Other' section for HildonAnimationActor and
548 2009-04-06 Alberto Garcia <agarcia@igalia.com>
550 Patch by Iván Gómez (igomez@igalia.com)
554 * doc/hildon-docs.sgml
555 * doc/hildon-sections.txt
559 New chapters on using the Hildon library.
560 Updated the general structure of the reference manual.
561 Other minor documentation fixes.
563 * src/hildon-calendar-popup.c
564 * src/hildon-calendar.c
565 * src/hildon-controlbar.c
566 * src/hildon-date-editor.c
567 * src/hildon-dialog.c
568 * src/hildon-hvolumebar.c
569 * src/hildon-number-editor.c
570 * src/hildon-range-editor.c
571 * src/hildon-sort-dialog.c
572 * src/hildon-time-editor.c
573 * src/hildon-time-picker.c
574 * src/hildon-volumebar-range.c
575 * src/hildon-volumebar.c
576 * src/hildon-vvolumebar.c
577 * src/hildon-weekday-picker.c:
578 Add deprecation notes
580 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
581 Document 'horizontal-movement' and 'vertical-movement' signals.
583 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
588 * configure.ac: Bump version.
589 * debian/changelog: Updates.
591 2009-04-06 Alejandro G. Castro <alex@igalia.com>
593 * src/hildon-pannable-area.c,
594 (hildon_pannable_area_class_init): increased the minimum velocity.
595 (hildon_pannable_area_button_release_cb): Updated the
596 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
597 setup. Review the code to control that last event.
599 Fixes: NB#109790 (Releasing finger in pannable area easily causes
602 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
604 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
606 * src/hildon-get-password-dialog.c
607 (hildon_get_password_set_property),
608 (hildon_get_password_get_property), (create_contents):
609 * src/hildon-login-dialog-private.h:
610 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
611 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
612 (hildon_login_dialog_get_password):
613 * src/hildon-set-password-dialog-private.h:
614 * src/hildon-set-password-dialog.c
615 (hildon_set_password_set_property),
616 (hildon_set_password_get_property), (create_contents),
617 (hildon_set_password_response_change),
618 (hildon_set_password_response_set), (hildon_checkbox_toggled):
620 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
621 instead and look more Fremantle style.
623 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
625 2009-04-03 Alberto Garcia <agarcia@igalia.com>
627 * doc/hildon-sections.txt
628 * src/hildon-window-stack.h
629 * src/hildon-window-stack.c
630 (+hildon_window_stack_get_windows):
631 New API to obtain the list of windows on a stack.
633 2009-04-02 Alberto Garcia <agarcia@igalia.com>
635 * src/hildon-app-menu.c (hildon_app_menu_popup)
636 (hildon_app_menu_class_init, -hildon_app_menu_show):
637 Remove hildon_app_menu_show() and move all its checks to
638 hildon_app_menu_popup()
640 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
642 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
643 (_hildon_picker_dialog_set_selector): removed call to
644 gtk_widget_set_size_request
645 * src/hildon-touch-selector.c
646 (_create_new_column): change the pannable size request policy
648 Avoid to use a hardcoded height for the hildon picker dialog. In order
649 to get that, we needed to change the hildon pannable size request
651 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
653 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
655 * src/hildon-window.c (hildon_window_map): Check for vbox to be
656 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
659 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
661 * debian/control: Depend on osso-system-lock localization package.
662 * src/hildon-code-dialog.c: Obtain the secu_application_title
663 translation from osso-system-lock.
664 * src/hildon-get-password-dialog.c (create_contents): Do not mark
665 for translation the atk related strings, that's not necessary.
666 * src/hildon-set-password-dialog.c (create_contents): Ditto.
667 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
668 cancel button, it is not required.
670 2009-04-02 Alejandro G. Castro <alex@igalia.com>
672 * src/hildon-pannable-area.c,
673 (hildon_pannable_area_class_init): Modified the default value of
674 the overshooting max speed, we have reduced it.
676 2009-04-02 Alberto Garcia <agarcia@igalia.com>
678 * doc/hildon-sections.txt
679 * src/hildon-window-private.h
680 * src/hildon-window.h
681 * src/hildon-window.c (hildon_window_class_init)
682 (hildon_window_init, hildon_window_finalize)
683 (hildon_window_realize, hildon_window_get_property)
684 (hildon_window_set_property, hildon_window_update_markup)
685 (hildon_window_get_markup, hildon_window_set_markup):
686 New "markup" property and hildon_window_{get,set}_markup() methods.
688 * examples/hildon-stackable-window-example.c (new_window):
689 Update example to use hildon_window_set_markup()
691 Fixes: NB#106375 (Need API to retitle a window with a title
694 2009-04-01 Alejandro G. Castro <alex@igalia.com>
696 * src/hildon-pannable-area.c,
697 (hildon_pannable_area_class_init): Changed the default value of
698 the initial_hint to TRUE.
699 (hildon_pannable_area_initial_effect): Changed the initial effect,
700 not the effect is just the fade-out of the scrollbars.
702 Fixes: NB#107775 (No scrollbars can be seen when several items are
703 available in a dialog)
705 2009-04-01 Alberto Garcia <agarcia@igalia.com>
707 * src/hildon-program.c (hildon_program_update_top_most):
710 Fixes: NB#109179 (Memory leak in Hildon program)
712 2009-04-01 Alberto Garcia <agarcia@igalia.com>
714 * src/hildon-banner.c (-get_current_app_window):
715 Remove unused function.
717 2009-04-01 Alejandro G. Castro <alex@igalia.com>
719 * src/hildon-pannable-area.c: Modified the documentation of the
720 get adjustments functions to explain the problem of using the
722 (hildon_pannable_area_class_init): Improved the explanation about
725 2009-04-01 Alberto Garcia <agarcia@igalia.com>
727 * src/hildon-app-menu-private.h
728 * src/hildon-app-menu.c
729 (hildon_app_menu_class_init):
730 Bring back the 'external-border' style property
731 (hildon_app_menu_class_init, hildon_app_menu_init)
732 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
733 Set a fixed width-request for the menu, independent of the number
736 Fixes: NB#94957 (Smoothly opened application menu)
738 2009-03-30 Alberto Garcia <agarcia@igalia.com>
740 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
742 * src/hildon-banner.c
743 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
745 Make sure that the banner is correctly placed the first time it's
747 (hildon_banner_check_position, -check_fullscreen_state):
748 Show the banner in the same place no matter if the window is in
749 fullscreen mode or not.
751 Fixes: NB#107386 (Odd stacking behaviour for information banners)
753 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
755 * src/hildon-touch-selector.c (_default_print_func): reorder
756 concatenation for clarity.
758 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
760 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
761 for multicolumn selectors.
763 Fixes: NB#109099 (Memory leak in Hildon touch selector)
765 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
770 * configure.ac: Bump version.
771 * debian/changelog: Updates.
773 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
775 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
778 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
780 * configure.ac: removed libcangerra-gtk dependency
781 * debian/control: removed libcanberra-gtk dependency
782 * src/Makefile.am: removed libcanberra gtk related flags
783 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
784 context, and manage a global canberra context instead
786 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
788 2009-03-26 Alberto Garcia <agarcia@igalia.com>
790 Patch by Daniel Borgmann (danielb@openismus.com)
792 * src/hildon-edit-toolbar.c:
793 Adjust the left padding.
794 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
795 Paint background of the edit toolbar.
797 Fixes: NB#107897 (Patch to make editmodetoolbar background
798 themeable and adjust margin)
800 2009-03-25 Alberto Garcia <agarcia@igalia.com>
802 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
804 * src/hildon-program.c (hildon_program_update_top_most):
805 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
807 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
808 change when the user tasks in/out of an application)
810 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
812 * configure.ac: added libcangerra-gtk dependency
813 * debian/control: added libcanberra-gtk dependency
814 * src/Makefile.am: added libcanberra gtk related flags
815 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
818 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
820 2009-03-25 Alberto Garcia <agarcia@igalia.com>
822 * src/hildon-program.c (hildon_program_remove_window)
823 (hildon_program_add_window): Add checks for the window
824 parameter. Don't decrease the window counter if the window is not
827 2009-03-24 Alejandro G. Castro <alex@igalia.com>
829 * src/hildon-pannable-area.c,
830 (hildon_pannable_area_realize): Fixed position of the event_window
831 in the realize method.
833 2009-03-24 Alberto Garcia <agarcia@igalia.com>
835 * src/hildon-app-menu-private.h
836 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
837 (hildon_app_menu_map, hildon_app_menu_hide_idle)
838 (hildon_app_menu_key_press, hildon_app_menu_init)
839 (hildon_app_menu_finalize):
840 Make sure that all idle functions are removed when the widget is
843 Fixes: NB#107583 (Hildon app menu crashes in various applications)
845 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
850 * configure.ac: Bump version.
851 * debian/changelog: Updates.
853 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
856 (+hildon_entry_show_placeholder),
857 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
858 that replace hildon_entry_update_contents().
859 (hildon_entry_set_text),
860 (hildon_entry_set_placeholder),
861 (hildon_entry_focus_in_event),
862 (hildon_entry_focus_out_event): Determine when it is needed
863 either to show or hide the placeholder and call the above methods.
865 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
866 when the placeholder text is already set)
868 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
870 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
871 simple GdkPixbufAnim using the new icons for the banner.
872 (hildon_banner_show_animation): Use the above mentioned method to
873 create the animation widget.
875 Fixes: NB#103564 (Make hildon animation banner use individual
876 image files as the animation)
878 2009-03-24 Alejandro G. Castro <alex@igalia.com>
880 * src/hildon-pannable-area.c,
881 (hildon_pannable_leave_notify_event): Check if the child is NULL
882 to avoid sending the leave.
884 2009-03-24 Alejandro G. Castro <alex@igalia.com>
886 * src/hildon-pannable-area.c,
887 (hildon_pannable_area_class_init),
888 (hildon_pannable_leave_notify_event): Added a handler of the
889 leave-notify-signal to consider when no motion notify before
892 Fixes: NB#107494 (Items stay selected when clicking and moving
893 away when inside pannable area)
895 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
900 * configure.ac: Bump version.
901 * debian/changelog: Updates.
903 2009-03-19 Alejandro G. Castro <alex@igalia.com>
905 Patch by Alberto Garcia (agarcia@igalia.com)
907 * src/hildon-date-button.c,
908 (hildon_date_button_class_init),
909 (hildon_date_button_init): Removed the construct property handling
910 and created a default selector in the init method.
911 * src/hildon-picker-button.c,
912 (hildon_picker_button_class_init): Removed the construct flag of the
915 2009-03-18 Alberto Garcia <agarcia@igalia.com>
917 * src/hildon-main.c (hildon_init):
918 Don't allow hildon_init() to be called more than once.
920 Fixes: NB#106607 (hildon_init should issue error message upon
923 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
925 * examples/hildon-pannable-area-touch-list-example.c
926 * examples/hildon-pannagle-area-touch-grid-example.c
927 * examples/hildon-edit-toolbar-example.c
928 * examples/hildon-touch-selector-multi-cells-example.c
929 Removed the call to gtk_rc_parse_string, as it is not required since
932 2009-03-17 Alejandro G. Castro <alex@igalia.com>
934 * src/hildon-pannable-area.c,
935 (hildon_pannable_area_class_init): Modified the default panning
936 threshold of the widget to 6px.
938 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
939 than the threshold value ) within the button is not sending the
942 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
944 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
945 for the treeview in the new column. This way, the touch list will never
948 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
949 be selected manually for the HW keys to work)
951 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
953 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
954 comparison instead of using strcmp(). Fixes a compiler warning as well.
956 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
958 * doc/hildon-docs.sgml: Do not set the library version in the
959 document title, use the releaseinfo tag for that purpose instead.
961 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
963 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
964 Do not jump to the first item if the text in the entry is removed.
966 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
971 * configure.ac: Bump version.
972 * debian/changelog: Updates.
974 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
976 * src/hildon-entry.c (hildon_entry_refresh_contents):
977 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
978 Use "ReversedSecondaryTextColor" for the placeholder text.
980 2009-03-12 Alberto Garcia <agarcia@igalia.com>
982 * src/hildon-text-view.c: Fix compilation warning.
984 2009-03-12 Alberto Garcia <agarcia@igalia.com>
986 * src/hildon-button.c (hildon_button_class_init): Don't make
987 "title" and "value" construction properties, to prevent them from
988 overwriting labels set from derived classes.
990 * src/hildon-picker-button.c
991 (hildon_picker_button_set_selector): Allow setting a NULL selector.
992 (hildon_picker_button_class_init): Make touch-selector a
993 construction property.
995 * src/hildon-date-button.c (hildon_date_button_class_init)
996 (+hildon_date_button_constructed): Add a default date selector if
999 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1001 * src/hildon-touch-selector.c: Small documentation fixes.
1003 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1005 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1007 * src/hildon-entry.c (hildon_entry_refresh_contents),
1008 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1009 widget name, set the logical color directly instead and a boolean
1010 showing_placeholder instead.
1011 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1012 use the widget name here either.
1014 Fixes: NB#105678 (HildonTextView should use logical colours
1015 instead of setting widget name)
1017 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1019 Patch by Daniel Elster (danielk@openismus.com)
1021 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1022 Add user_data parameter.
1023 (hildon_touch_selector_set_print_func_full): New function akin
1024 hildon_touch_selector_set_print_func() but with support for user
1025 data and a destroy callback.
1026 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1027 to clean up the print function user data.
1028 (hildon_touch_selector_class_init): Install dispose function.
1029 (HildonTouchSelectorPrivate::print_user_data),
1030 (HildonTouchSelectorPrivate::print_destroy_func): New private
1032 (hildon_touch_selector_init): Initialize new private members.
1033 (hildon_touch_selector_get_current_text): Pass along user data
1034 to the print function.
1035 (_default_print_func): Add dummy user_data to parameter list.
1036 * hildon-date-selector.c (_custom_print_func): ditto,
1037 * hildon-time-selector.c (_custom_print_func): ditto,
1038 * hildon-touch-selector-entry.c
1039 (hildon_touch_selector_entry_print_func): ditto.
1041 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1043 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1045 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1047 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1049 * src/hildon-pannable-area.c,
1050 (hildon_pannable_area_init),
1051 (hildon_pannable_area_button_press_cb),
1052 (hildon_pannable_area_motion_notify_cb): We have added code to
1053 handle the leave and enter events when using the motion events.
1055 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1057 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1059 * src/hildon-date-button.c (hildon_date_button_get_date)
1060 (hildon_date_button_set_date): Make sure that the button has a
1063 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1065 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1067 * src/hildon-pannable-area.c,
1068 (hildon_pannable_area_class_init),
1069 (hildon_pannable_area_calculate_velocity): Modify the use of the
1070 force and adapt the value.
1072 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1074 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1075 (hildon_app_menu_class_init): Hide the menu if it receives a
1076 delete-event, but don't destroy it
1078 Fixes: NB#104485 (Not able to address the call when application
1079 menu is opened at background)
1081 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1083 * src/hildon-app-menu.c
1084 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1085 Remove the "external-border" style property, let the menu take its
1086 natural size (or the one set by the window manager)
1087 (hildon_app_menu_repack_items):
1088 Don't reshow the menu, avoid flickers.
1090 Partially fixes NB#94957 (Smoothly opened application menu)
1092 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1097 * configure.ac: Bump version.
1098 * debian/changelog: Updates.
1100 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1102 * src/hildon-pannable-area.c,
1103 (hildon_pannable_area_motion_notify_cb): We control that the
1104 direction error margin is used just in case the movement is
1105 allowed in the other direction.
1107 Fixes: NB#105012 (buttons inside a pannable area not getting
1108 release event when dragging/releasing)
1110 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1112 * src/hildon-pannable-area.c,
1113 (hildon_pannable_area_class_init),
1114 (hildon_pannable_area_get_property),
1115 (hildon_pannable_area_set_property),
1116 (hildon_pannable_area_initial_effect),
1117 (hildon_pannable_axis_scroll),
1118 (hildon_pannable_area_button_release_cb): Reviewed the
1119 overshooting effect, now it has its own max
1120 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1121 speed when bouncing.
1123 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1128 * configure.ac: Bump version.
1129 * debian/changelog: Updates.
1131 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1133 * src/hildon-pannable-area.c,
1134 (hildon_pannable_area_class_init): Changed the max speed, now
1135 users can launch the widget very fast. Reduced the default force,
1136 that way it is easier to control the launch speed.
1138 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1140 * src/hildon-pannable-area.c,
1141 (hildon_pannable_area_button_release_cb): Removed this check
1142 because it causes problems when the device is overloaded.
1144 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1146 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1147 add a current_text field to store the text entered in the
1148 touch selector entry.
1149 (_clean_current_selection): clean up the current text as well.
1150 (_save_current_selection), (_restore_current_selection):
1151 Save/restore the text in the entry if the selector is a
1152 HildonTouchSelectorEntry.
1154 Fixes: NB#102541 (value entered in the touch selector entry is not
1155 shown when opened for second time)
1157 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1159 * doc/hildon-sections.txt:
1160 * src/hildon-touch-selector-entry.c
1161 (+hildon_touch_selector_entry_get_entry):
1162 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1164 Fixes: NB#104815 (I need accessor to the entry inside
1165 HildonTouchSelectorEntry)
1167 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1169 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1170 (hildon_app_menu_class_init):
1171 New "filter-vertical-spacing" style property.
1173 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1175 * src/hildon-find-toolbar.c
1176 (hildon_find_toolbar_emit_close)
1177 (hildon_find_toolbar_emit_invalid_input)
1178 (hildon_find_toolbar_entry_activate):
1179 Use g_signal_emit() instead of g_signal_emit_by_name()
1181 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1183 Patch by Mox Soini (ext-mox.soini@nokia.com)
1185 * tests/TEST-CASES.txt
1186 * tests/check-hildon-banner.c
1187 * tests/check-hildon-note.c
1188 * src/hildon-banner.c
1189 * src/hildon-code-dialog.c
1190 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1191 * src/hildon-time-editor.c
1192 * examples/hildon-lookup-example.c (main):
1193 Replace obsolete icon names with new ones.
1195 * src/hildon-find-toolbar-private.h:
1196 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1197 (-hildon_find_toolbar_emit_search):
1198 Remove find button and change icon of close button.
1200 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1202 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1204 * src/hildon-time-button.c (hildon_time_button_new_step):
1205 Use the "touch-selector" property to set the selector directly
1206 when creating the object.
1208 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1210 Added a new example application that allows tuning the pannable
1211 area and replaced defines with properties in order to simplify the
1212 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1213 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1214 PROP_DIRECTION_ERROR_MARGIN.
1216 * examples/hildon-pannable-area-tuning-example.c: New example
1218 * src/hildon-pannable-area.c,
1219 (hildon_pannable_area_class_init),
1220 (hildon_pannable_area_init),
1221 (hildon_pannable_area_get_property),
1222 (hildon_pannable_area_set_property),
1223 (hildon_pannable_area_launch_fade_timeout),
1224 (hildon_pannable_area_adjust_value_changed),
1225 (hildon_pannable_axis_scroll),
1226 (hildon_pannable_area_motion_notify_cb),
1227 (hildon_pannable_area_scroll_cb),
1228 (hildon_pannable_area_button_release_cb): We have converted some
1229 of the defines that control the widget to properties to simplify
1232 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1234 * src/hildon-app-menu.c (hildon_app_menu_map)
1235 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1236 so it's closed if a new window appears.
1238 Fixes: NB#104485 (Not able to address the call when application
1239 menu is opened at background)
1241 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1243 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1244 missing 'break' statement in in 'case' construct to avoid
1247 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1249 * src/hildon-touch-selector-entry.c
1250 (hildon_touch_selector_entry_get_property),
1251 (hildon_touch_selector_entry_set_property): Add missing 'break'
1252 statements in in 'case' constructs to avoid incorrect warnings.
1254 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1256 * src/hildon-time-editor.c
1257 (hildon_time_editor_get_time_separators): Do not crash if
1258 the first label is NULL.
1260 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1262 * src/hildon-date-selector.c (_month_days): Check for month to be
1263 strictly less than 12, since otherwise we may overrun the array.
1265 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1267 * src/hildon-date-button.c (+hildon_date_button_new_full)
1268 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1269 (hildon_date_button_init): Set the date selector using a
1270 construction property, to make it happen after HildonButton's
1271 "value" property is set.
1273 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1274 current date by default)
1276 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1278 * doc/hildon-sections.txt
1279 * src/hildon-program.c
1280 * src/hildon-stackable-window.c
1281 * src/hildon-window.c:
1282 Documentation updates
1284 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1286 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1287 (hildon_window_stack_new, +hildon_window_stack_set_property)
1288 (+hildon_window_stack_get_property)
1289 (hildon_window_stack_class_init)
1290 (+hildon_window_stack_set_window_group)
1291 (+hildon_window_stack_get_window_group):
1292 Make the window group a construction property.
1294 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1296 * doc/hildon-sections.txt
1297 * src/hildon-stackable-window-private.h
1298 * src/hildon-stackable-window.h
1299 * src/hildon-stackable-window.c
1300 (-hildon_stackable_window_set_app_menu)
1301 (-hildon_stackable_window_get_app_menu)
1302 (-hildon_stackable_window_toggle_menu)
1303 (-hildon_stackable_window_finalize)
1304 (hildon_stackable_window_class_init)
1305 (hildon_stackable_window_init)
1306 * src/hildon-window-private.h
1307 * src/hildon-window.h
1308 * src/hildon-window.c (hildon_window_init)
1309 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1310 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1311 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1312 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1313 Moved all HildonAppMenu code to HildonWindow. The menu does not
1314 require a HildonStackableWindow anymore.
1316 * src/hildon-app-menu.c
1317 * src/hildon-program.c
1318 * examples/hildon-app-menu-example.c (main):
1319 Update examples and documentation to reflect HildonAppMenu
1322 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1324 * src/hildon-remote-texture.c
1325 * src/hildon-animation-actor.c:
1326 Don't include unused private headers.
1328 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1330 * src/hildon-program-private.h
1331 * src/hildon-program.c
1332 (hildon_program_set_common_menu)
1333 (hildon_program_get_common_menu)
1334 (hildon_program_set_common_app_menu)
1335 (hildon_program_get_common_app_menu):
1336 Change common menu pointers from GtkWidget* to GtkMenu* and
1337 HildonAppMenu* to avoid unnecessary casts.
1339 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1341 * src/hildon-window.c (hildon_window_set_main_menu):
1342 Removed incorrect 'Since:' tag
1344 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1346 * src/hildon-pannable-area.c,
1347 (hildon_pannable_area_calculate_velocity): We use now the
1348 RATIO_TOLERANCE here to check the distance, fixed typo in the
1350 (hildon_pannable_area_motion_notify_cb): We have to set the type
1351 and time even if we are not sending the motion.
1353 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1355 * doc/hildon-sections.txt
1356 * src/hildon-app-menu.h
1357 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1358 (+hildon_app_menu_get_filters): New methods to get the contents of
1361 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1364 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1366 * src/hildon-app-menu.c (hildon_app_menu_popup):
1369 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1371 * src/hildon-window.h
1372 * src/hildon-window.c (+hildon_window_get_main_menu)
1373 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1374 and deprecated hildon_window_get_menu().
1376 * src/hildon-stackable-window.h
1377 * src/hildon-stackable-window.c
1378 (+hildon_stackable_window_set_app_menu)
1379 (+hildon_stackable_window_get_app_menu)
1380 (hildon_stackable_window_set_main_menu): Created
1381 hildon_stackable_window_{get,set}_app_menu() and deprecated
1382 hildon_stackable_window_set_main_menu().
1384 * doc/hildon-sections.txt
1385 * examples/hildon-app-menu-example.c (main)
1386 * src/hildon-app-menu.c
1387 * src/hildon-program.c:
1388 Updated examples and documentation.
1390 Fixes: NB#103758 (No way to obtain a menu from a
1391 HildonStackableWindow)
1393 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1398 * configure.ac: Bump version.
1399 * debian/changelog: Updates.
1401 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1403 * examples/hildon-remote-texture-example.c: Include
1404 hildon-remote-texture.h explicitely.
1405 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1406 applications not defining _XOPEN_SOURCE which don't require this header.
1408 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1410 * doc/hildon-sections.txt
1411 * src/hildon-app-menu.h
1412 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1413 New function to pop up a HildonAppMenu
1415 * src/hildon-stackable-window.c
1416 (hildon_stackable_window_toggle_menu):
1417 Use hildon_app_menu_popup() to show the menu.
1419 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1421 * src/hildon-app-menu.c (hildon_app_menu_show)
1422 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1423 menu if there's another window between it and its parent window.
1425 Fixes: NB#100468 (Application menu window is launched even when a
1426 new secondary-window/dialog is pending to be shown/realized)
1428 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1430 * src/hildon-window-stack.c (hildon_window_stack_push)
1431 (hildon_window_stack_pop_and_push):
1432 Don't forget to push/pop the first window.
1433 Reverse the window list before calling _push_list()
1435 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1437 * src/hildon-picker-button.h
1438 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1439 Remove "value_changed" slot to avoid ABI breakage
1441 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1443 * src/hildon-pannable-area.c,
1444 (hildon_pannable_area_realize),
1445 (hildon_pannable_area_unrealize),
1446 (hildon_pannable_draw_vscroll),
1447 (hildon_pannable_draw_hscroll): Changed the method to handle the
1448 GC used to draw the transparent scrollbar, this way we avoid
1449 creating the GC all the time when drawing the scrollbars.
1451 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1453 * src/hildon-pannable-area.c,
1454 (hildon_pannable_area_init),
1455 (hildon_pannable_area_remove): Removed some unnecessary casts.
1456 (hildon_pannable_area_dispose): Disconnected some signals before
1457 releasing the adjustments.
1459 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1461 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1462 Make sure that all widgets contained in the toolbar are shown.
1464 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1466 * doc/hildon-sections.txt
1467 * src/hildon-picker-button.h
1468 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1469 (_selection_changed, hildon_picker_button_on_dialog_response)
1470 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1471 New hildon_picker_button_value_changed() method.
1474 * src/hildon-picker-button-private.h
1475 * src/hildon-picker-button.c (hildon_picker_button_init)
1476 (+hildon_picker_button_disable_value_changed): Add protected
1477 function for disabling the "value-changed" signal.
1479 * src/hildon-date-button.c (hildon_date_button_set_date):
1480 Don't emit "value-changed" for each one of the three columns.
1482 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1483 before actual change of values)
1485 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1487 * src/hildon-pannable-area.c,
1488 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1489 for the treeview overshooting.
1491 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1493 * src/hildon-banner.c (+hildon_banner_bind_style):
1494 Renamed from hildon_banner_bind_label_style(), now naming the
1495 banner itself as well.
1496 (hildon_banner_show_information),
1497 (hildon_banner_show_information_with_markup),
1498 (hildon_banner_show_animation), (hildon_banner_show_progress):
1499 Name the widgets and labels, based on their type.
1501 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1504 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1506 * src/hildon-note.c (hildon_note_set_property): call
1507 hildon_note_rename() on HildonNote:note-type set.
1508 (hildon_note_rename): Name the note and its label, based on the
1509 HildonNote:note-type property.
1511 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1514 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1516 * src/hildon-pannable-area.c,
1517 (hildon_pannable_area_class_init),
1518 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1519 panning parameters, increased SPS and deceleration factor. Added
1520 also a margin to control fake directions.
1522 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1524 Patch by Sven Herzberg (sven@imendio.com)
1526 * configure.ac: Add missing AM_PROG_CC_C_0
1527 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1529 See NB#101420 (Update unit tests and fix make check)
1531 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1533 This patch was applied before but reverted because it caused
1534 problems, we have changed the main condition and tested the
1535 regressions we detected before and they work ok. We have done a
1536 complete review of the topmost algorithm in order to get a more
1539 * src/hildon-pannable-area.c,
1540 (hildon_pannable_area_get_topmost): Added a new parameter to
1541 filter the the windows that do not include those events.
1542 (hildon_pannable_area_button_press_cb),
1543 (hildon_pannable_area_button_release_cb),
1544 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1545 topmost function, we have added the new parameter.
1547 Fixes: NB#97458 (Pannable area prevents propagation of button
1550 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1552 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1553 if all columns in the selector have an item selected.
1554 (_on_dialog_response): Stop "response" signal emission if there is
1555 any selector column without selected items.
1557 Fixes: NB#101889 (Picker dialog should not close when nothing is
1558 selected in multiple selection list)
1560 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1562 * src/hildon-font-selection-dialog.c
1563 (hildon_font_selection_dialog_class_init),
1564 (hildon_font_selection_dialog_init): Remove the preview
1565 button and dialog, since previewing with default theming is likely
1566 to be overcomplicated. The :preview property has now no effect.
1567 Update documentation blurbs to inform about this.
1569 Fixes: NB#92297 (Preview content is not clearly visible for
1570 default colour text)
1572 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1574 Reviewed the geometry that handles the children size and
1575 scrollbar, now it tries a size and reviews the results depending
1576 on the scrollbars visibility.
1578 * src/hildon-pannable-area.c,
1579 (hildon_pannable_area_realize): Fixed a typo.
1580 (hildon_pannable_area_child_allocate_calculate): Added this
1581 function to calculate the child allocation.
1582 (hildon_pannable_area_size_allocate): Reviewed the allocation
1584 (hildon_pannable_area_check_scrollbars),
1585 (hildon_pannable_area_refresh): Refactored refresh function, this
1586 way we can call the code handling the scrollbars without causing a
1587 size_request, it is interesting in the allocate.
1588 (hildon_pannable_area_init): Replace the callbacks of the
1589 value_changed and changed signals to propertly deal with the
1591 (hildon_pannable_area_grab_notify),
1592 (hildon_pannable_area_initial_effect),
1593 (hildon_pannable_area_launch_fade_timeout),
1594 (hildon_pannable_area_adjust_changed),
1595 (hildon_pannable_area_adjust_value_changed),
1596 (hildon_pannable_area_redraw),
1597 (hildon_pannable_area_button_press_cb),
1598 (hildon_pannable_area_button_release_cb),
1599 (hildon_pannable_area_scroll_cb),
1600 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1601 code and use the new functions adjust_changed and
1602 adjust_value_changed.
1604 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1605 Contact editor dialog)
1607 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1612 * configure.ac: Bump version.
1613 * debian/changelog: Updates.
1615 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1617 * src/hildon-pannable-area.c,
1618 (hildon_pannable_area_get_topmost),
1619 (hildon_pannable_area_button_press_cb),
1620 (hildon_pannable_area_button_release_cb),
1621 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1622 topmost function adding the event mask. We have to try a
1623 differente approach because it is still causing problems (NB#9745,
1626 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1628 * src/hildon-banner.c:
1629 Update the maximum width of timed banners.
1630 (force_to_wrap_truncated): Enforce the maximum text width if the
1633 Fixes: NB#102413 (The text margins (wrapping) in information
1634 banner should be HILDON_MARGIN_TRIPLE)
1636 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1638 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1640 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1641 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1642 bound when calculating the scroll indicator position.
1644 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1645 treat ->lower correctly)
1647 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1649 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1650 expose event handling, since it is not necessary to draw the focus
1653 Fixes: NB#102467 (Do not show highlight on the text in
1656 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1658 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1659 full height of the toolbar for the button and the label.
1661 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1663 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1664 padding before the label and after the button.
1666 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1668 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1670 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1671 Add a GtkVSeparator between the button and the back arrow.
1672 Let the button have automatic size.
1673 Set a name to the widget for theming handling.
1675 Fixes: NB#101793 (Make edit toolbar the same height as window
1676 title bar (use title area theming))
1678 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1680 * src/hildon-helper.c (attach_new_color_element): Fix memory
1683 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1685 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1687 * examples/hildon-button-example.c (common_buttons_window): Don't
1690 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1692 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1693 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1695 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1697 * src/hildon-gtk.c: Check that the window is realized.
1699 Fixes: NB#102225 (Crash setting the progress indicator to a non
1702 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1704 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1705 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1706 instead of modifying the one in the widget style.
1708 Fixes: NB#101043 (Second row of all the command button are
1709 displayed in transparent mode.)
1711 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1713 * src/hildon-date-button.c
1714 * src/hildon-time-button.c: Add gettext macros
1716 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1718 * src/hildon-date-button.c (hildon_date_button_new):
1719 * src/hildon-time-button.c (hildon_time_button_new_step):
1720 Use new logical strings to set the button default title.
1722 Fixes: NB#99915 (Date and Time options are not localised in Date
1725 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1727 * src/hildon-pannable-area.c
1728 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1729 the PANNING_THRESHOLD.
1731 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1733 * src/hildon-pannable-area.c,
1734 (hildon_pannable_area_class_init): Increased the maximum speed.
1735 (hildon_pannable_area_get_property),
1736 (hildon_pannable_area_set_property),
1737 (hildon_pannable_area_timeout): Added a new low friction mode, it
1738 allows the user avoid friction when launching the widget fast
1739 enough. It is interesting to traverse long lists.
1741 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1743 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1744 (+hildon_stackable_window_delete_event): Ignore delete events if
1745 the window is not the topmost one.
1747 Fixes: NB#101698 (Back button long press and delete-event handling)
1749 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1751 * src/hildon-pannable-area.c,
1752 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1753 gtk-dnd-drag-threshold, it was too big. We have defined our own
1754 dnd define and set a smaller value: PANNIG_THRESHOLD.
1756 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1758 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1759 user-defined icons, use always the default one.
1761 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1763 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1765 This patch was applied before but reverted because it caused
1766 problems, we have changed the main condition and tested the
1767 regressions we detected before and they work ok.
1769 * src/hildon-pannable-area.c,
1770 (hildon_pannable_area_get_topmost): Added a new parameter to
1771 filter the the windows that do not include those events. Added
1772 also a condition when finding the window to filter windows that do
1773 not ask for those events.
1774 (hildon_pannable_area_button_press_cb),
1775 (hildon_pannable_area_button_release_cb),
1776 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1777 topmost function, we have added the new parameter.
1779 Fixes: NB#97458 (Pannable area prevents propagation of button
1782 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1784 * tests/check-hildon-color-button.c (START_TEST): do not leak
1787 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1789 * src/hildon-font-selection-dialog.c
1790 (hildon_font_selection_dialog_get_preview_text): Return NULL
1791 instead of FALSE on the g_return_val_if_fail().
1793 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1795 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1796 * src/hildon-date-selector.c
1797 (hildon_date_selector_select_current_date):
1798 Do not compare unsigned integers to be greater than or equal 0,
1799 because it's always TRUE.
1801 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1803 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1804 (hildon_date_selector_constructor): Do not select the current
1805 date until we are handle the "changed" signal, to avoid having bogus
1806 elements in the days model.
1808 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1810 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1811 for num_days, since _month_days() can return a negative value.
1813 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1815 * src/hildon-caption.c (hildon_caption_size_allocate):
1816 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1817 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1819 Initialize allocation variables to 0, to avoid eventually using
1820 unitialized variables.
1822 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1824 * src/hildon-bread-crumb-trail.c
1825 (hildon_bread_crumb_trail_size_allocate):
1826 * src/hildon-calendar.c (hildon_calendar_set_background):
1827 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1828 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1829 * src/hildon-seekbar.c (hildon_seekbar_init):
1830 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1831 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1832 * src/hildon-touch-selector-entry.c
1833 (hildon_touch_selector_get_text_from_model):
1834 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1835 * src/hildon-window.c (hildon_window_finalize):
1837 Remove many unused variables.
1839 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1841 * src/hildon-seekbar.c: (hildon_seekbar_init),
1842 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1844 Remove unnecessary g_assert() calls.
1846 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1848 * src/hildon-caption.c: (hildon_caption_expose),
1849 (hildon_caption_set_property), (hildon_caption_init),
1850 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1851 (hildon_caption_size_request), (hildon_caption_size_allocate),
1852 (hildon_caption_forall), (hildon_caption_set_separator),
1853 (hildon_caption_activate), (hildon_caption_set_child_expand),
1854 (hildon_caption_set_label_text),
1855 (hildon_caption_get_label_alignment):
1857 Remove unnecessary g_assert() calls.
1859 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1861 * src/hildon-banner.c
1862 (hildon_banner_map, hildon_banner_init): Make banner temporary
1863 before mapping it to avoid closing other temporary windows, but
1864 make it non-temporary afterwards to avoid being closed by other
1865 non-temporary windows.
1866 (-hildon_banner_client_event, hildon_banner_init):
1867 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1869 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1872 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1874 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1877 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1879 * src/hildon-remote-texture.c
1880 * src/hildon-remote-texture.h
1881 * src/hildon-remote-texture-private.h
1882 * examples/hildon-remote-texture-example.c:
1883 Updates/fixes to remote-texture and its example.
1885 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1887 Patch by Mox Soini (ext-mox.soini@nokia.com)
1889 * src/hildon-code-dialog.c: Update logical id.
1890 * src/hildon-set-password-dialog.c: Update logical id.
1892 Fixes: NB#100646 (Logical strings is shown for ok in set
1893 password,Password needed dialogs)
1895 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1898 * src/hildon-remote-texture.c
1899 * src/hildon-remote-texture.h
1900 * src/hildon-remote-texture-private.h
1902 Added remote texture widget (for Clutter shared memory textures)
1904 * examples/hildon-remote-texture-example.c
1905 * examples/Makefile.am
1906 Added example file for remote texture usage
1908 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1910 * configure.ac: post release version bump.
1911 * debian/changelog: version bump.
1913 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1918 * configure.ac: Bump version.
1919 * debian/changelog: Updates.
1921 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1923 * src/hildon-date-selector.c (hildon_date_selector_init)
1924 (hildon_date_selector_constructor): Don't connect to the "changed"
1925 signal until the selector is completely constructed.
1927 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1929 * src/hildon-touch-selector.c: (_create_new_column),
1930 (hildon_touch_selector_append_column),
1931 (hildon_touch_selector_set_column_selection_mode),
1932 (hildon_touch_selector_set_active),
1933 (hildon_touch_selector_select_iter):
1934 Emit the HildonTouchSelector::changed signal every time selection
1935 is changed in any of the methods above. This behavior was already
1936 documented but not fully functional.
1938 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1939 selection is programmatically changed)
1941 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1943 * doc/hildon-sections.txt: Remove obsolete icon
1944 sizes from here as well.
1946 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1948 * examples/hildon-stackable-window-example.c (add_window): Remove
1951 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1953 * src/hildon-app-menu.c
1954 (hildon_app_menu_show): Check whether the parent window of a menu
1955 is topmost before popping it up.
1957 Fixes: NB#100468 (Application menu window is launched even when a
1958 new secondary-window/dialog is pending to be shown/realized.)
1960 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1962 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1965 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1967 Patch by Mox Soini (ext-mox.soini@nokia.com)
1969 * src/hildon-banner.c: (hildon_banner_show_animation):
1970 use stylus size instead of obsolete note size.
1971 * src/hildon-defines.h: Update icon sizes.
1973 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1975 * src/hildon-touch-selector-entry.c:
1976 (hildon_touch_selector_entry_init): Disable unsupported
1978 (hildon_touch_selector_entry_get_text_column): Emit a warning
1979 if an unsupported input modes is used and explicitile state
1980 these modes in the documentation.
1982 Fixes: NB#99802 (Hildon touch selector entry not working properly
1983 for some of the input modes)
1985 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1987 * src/hildon-pannable-area.c,
1988 (hildon_pannable_area_init): Added the changed signal handlers of
1991 Fixes: NB#100320 (HildonPannableArea does not listen to
1992 GtkAdjustment "change" signals)
1994 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1996 * doc/hildon-sections.txt
1997 * src/hildon-window-private.h
1998 * src/hildon-window.h
1999 * src/hildon-window.c (hildon_window_init)
2000 (hildon_window_realize, hildon_window_unrealize)
2001 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2002 (hildon_window_size_request, hildon_window_size_allocate)
2003 (hildon_window_forall, hildon_window_show_all)
2004 (hildon_window_destroy, +paint_edit_toolbar)
2005 (+hildon_window_set_edit_toolbar):
2006 New hildon_window_set_edit_toolbar() method, to add a
2007 HildonEditToolbar to a window without having to pack it manually.
2009 Reorganize hildon_window_size_allocate()
2011 * src/hildon-edit-toolbar.c: Update documentation.
2013 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2014 example to use the new API.
2016 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2018 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2020 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2021 Remove from stack before calling parent's hide.
2023 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2025 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2026 window is removed from the middle of the stack, update the
2027 transiency of the previous one.
2029 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2032 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2034 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2035 block/unblock the signal handler if it's not actually being used.
2036 Fixes some critical warnings.
2038 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2040 Based on a patch by Iván Gómez (igomez@igalia.com)
2042 * src/hildon-banner.c
2046 * src/hildon-pannable-area.c
2047 * src/hildon-picker-dialog.c
2048 * src/hildon-wizard-dialog.h
2049 * src/hildon-wizard-dialog.c: Documentation updates.
2051 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2052 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2054 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2056 * configure.ac: post release version bump.
2057 * debian/changelog: version bump.
2059 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2064 * configure.ac: Bump version.
2065 * debian/changelog: Updates.
2067 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2069 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2070 a stock icon nor change the relief of the back arrow.
2072 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2073 graphics from theme)
2075 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2077 * src/hildon-button.c (hildon_button_set_alignment): Use
2078 priv->alignment if the button has no child yet.
2080 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2082 * src/hildon-button.c: (hildon_button_init): Set the
2083 button style during initialization to give it the proper
2086 Fixes: NB#99713 (HildonButton value label color is wrong)
2088 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2090 * src/hildon-touch-selector.c: Document
2091 hildon_touch_selector_center_on_selected()
2093 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2095 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2096 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2097 all menu items, but not the menu itself.
2098 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2099 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2100 items after adding them to the menu so keyboard accelerators work.
2101 (hildon_app_menu_show): Don't show the menu if it contains items
2102 but none of them are visible.
2104 * examples/hildon-app-menu-example.c (create_menu): Use
2105 gtk_widget_show_all() to show all menu items.
2107 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2109 * src/hildon-picker-dialog.c:
2110 (-_update_title_on_selector_changed_cb),
2111 (-_dialog_update_title): Removed.
2112 (_select_on_selector_changed_cb), (_on_dialog_response),
2113 (on_selector_columns_changed): Do not update the dialog title.
2114 (setup_interaction_mode): Do not connect to
2115 HildonTouchSelector::changed signal if there's a "done" button, as
2116 the dialog title doesn't need to be updated.
2118 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2121 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2123 Patch by Kristian Rietveld (kris@imendio.com)
2125 * src/hildon-touch-selector.c: (_create_new_column): Use new
2126 GtkTreeView::hildon-row-tapped signal to react to user interactions
2127 instead of ::changed.
2129 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2130 with some dynamic tree model)
2132 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2134 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2135 (+screen_size_changed, +label_size_request)
2136 (hildon_note_class_init): Make the Hildon information note have a
2137 minimum height, and make its text hvae a maximum width.
2139 Fixes: NB#98614 (Hildon information note (background) should have
2140 minimum height and maximum text width)
2142 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2144 * src/hildon-banner.h
2145 * src/hildon-banner.c (hildon_banner_show_information)
2146 (hildon_banner_show_informationf)
2147 (hildon_banner_show_information_with_markup): Update documentation
2148 to reflect that the icon_name parameter is not used anymore.
2149 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2150 Remove all code from these functions and mark them as deprecated.
2151 (hildon_banner_show_progress): Mark as deprecated.
2153 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2155 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2157 * src/hildon-pannable-area.c,
2158 (hildon_pannable_area_class_init),
2159 (tranparency_color),
2160 (hildon_pannable_draw_vscroll),
2161 (hildon_pannable_draw_hscroll),
2162 (hildon_pannable_area_expose_event): Added a new way to render the
2163 scrollbars of the pannable area avoiding using cairo at all. This
2164 way we improve the performance of the pannable area rendering. The
2165 cairo rendering procedure is still in the code, we can control
2166 which one to use changing the value of the define
2167 USE_CAIRO_SCROLLBARS.
2169 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2171 * configure.ac: post release version bump.
2172 * debian/changelog: version bump.
2174 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2179 * configure.ac: Bump version.
2180 * debian/changelog: Updates.
2182 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2184 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2185 banners instead of destroying them when they receive a button
2188 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2190 Reverted commit 34028, it was causing regressions, probably the
2191 topmost condition is not correct, we have to check it in more
2192 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2193 propagation of button press events)
2195 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2197 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2198 that the selection is not empty before attempting to retrieve the
2199 current ampm selection.
2201 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2203 * src/hildon-picker-button.c:
2204 (hildon_picker_button_on_dialog_response): Directly update the
2205 button contents when required instead of calling _selection_changed.
2207 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2209 * src/hildon-program.c (hildon_program_update_top_most): Update
2210 'is-topmost' property also when wm_hints is not set.
2212 Fixes: NB#98383 (is-topmost signal is not emitted when task
2213 switcher is clicked.)
2215 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2217 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2221 * src/hildon-animation-actor.c,
2222 * src/hildon-animation-actor.h: Added the animation actor class,
2223 this widget represents an animation actor for WM-assisted
2224 animation effects in the Hildon framework.
2226 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2228 * src/hildon-window-stack-private.h
2229 * src/hildon-window-stack.c
2230 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2231 Avoid calling gtk_widget_show() again indirectly from
2232 hildon_stackable_window_show()
2234 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2236 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2239 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2241 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2242 (hildon_time_selector_init): Move the construction of the hours and
2243 ampm columns to the constructor to preserve the order the columns
2246 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2248 * src/hildon-picker-dialog.c:
2249 (hildon_picker_dialog_class_init): Connect a realize method.
2250 (+hildon_picker_dialog_realize): Setup the interaction mode here
2252 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2253 yet, do it during the realize instead.
2254 (_on_dialog_response):
2255 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2256 if the widget is not realized, to avoid the dialog response before it
2259 Avoid premature responses in the HildonPickerDialog that can cause it
2260 to be hidden before it's even shown.
2262 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2264 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2265 (on_selector_columns_changed), (requires_done_button),
2266 (+prepare_action_area), (setup_interaction_mode),
2267 (_hildon_picker_dialog_set_selector):
2269 Split the interaction mode setup into preparation of the
2270 action area (prepare_action_area()) and the connection of
2271 the signals in setup_interaction_mode() and update the code to
2274 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2276 * src/hildon-pannable-area.c,
2277 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2278 per second to 15, we will check if this is ok regarding
2281 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2283 * src/hildon-pannable-area.c,
2284 (hildon_pannable_axis_scroll): Avoid resize if we already have
2285 reached overshoot_max.
2287 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2289 * src/hildon-pannable-area.c,
2290 (hildon_pannable_area_init),
2291 (hildon_pannable_area_realize),
2292 (hildon_pannable_area_size_allocate),
2293 (hildon_pannable_area_map),
2294 (hildon_pannable_area_unmap),
2295 (hildon_pannable_draw_vscroll),
2296 (hildon_pannable_draw_hscroll),
2297 (hildon_pannable_area_expose_event),
2298 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2299 pannable are to avoid the expose events go to the window and
2300 redraw the window. We save this way that part of the stack and the
2301 paint_boxes. We had to change the positions of the elements when
2304 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2306 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2307 * src/hildon-color-chooser-dialog.c:
2308 (hildon_color_chooser_dialog_init):
2309 * src/hildon-font-selection-dialog.c:
2310 (hildon_font_selection_dialog_init),
2311 (hildon_font_selection_dialog_show_preview):
2312 * src/hildon-get-password-dialog.c:
2313 * src/hildon-login-dialog.c:
2314 * src/hildon-set-password-dialog.c:
2315 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2316 * src/hildon-time-picker.c: (hildon_time_picker_init):
2318 Remove obsolete logical string IDs and update to the appropriate ones.
2320 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2322 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2324 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2325 that happens if the window hasn't been realized yet.
2327 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2328 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2330 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2332 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2333 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2336 Fixes: NB#98537 (Device hangs in account settings dialog)
2338 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2340 * configure.ac: post release version bump.
2341 * debian/changelog: version bump
2343 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2348 * configure.ac: Bump version.
2349 * debian/changelog: Updates.
2351 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2353 Added a new function to the HildonTimeButton widget that allows to
2354 change the step of the minutes in the selector associated with the
2355 button: hildon_time_button_new_step
2357 * src/hildon-time-button.c,
2358 (hildon_time_button_init),
2359 (hildon_time_button_new),
2360 (hildon_time_button_new_step):
2361 * src/hildon-time-button.h: Added the new function and refactored
2363 * examples/hildon-time-button-example.c,
2364 (main): We have replaced the function without parameters with the
2365 function with the steps set to 5
2367 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2369 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2371 * src/hildon-time-selector.c,
2372 (hildon_time_selector_class_init),
2373 (hildon_time_selector_constructor),
2374 (hildon_time_selector_get_property),
2375 (hildon_time_selector_set_property),
2376 (_create_minutes_model),
2377 (hildon_time_selector_new_step),
2378 (hildon_time_selector_set_time),
2379 * src/hildon-time-selector.h: Added a new property to the
2380 HildonTimeSelector (minutes-step), we use that property to control
2381 the steps between the minutes in the list of the selector. We have
2382 added a new function to the API to create a widget changing the
2383 step: hildon_time_selector_new_step.
2385 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2387 * src/hildon-time-selector.c,
2388 (hildon_time_selector_class_init),
2389 (hildon_time_selector_constructor),
2390 (hildon_time_selector_init): Overrided the construct function when
2391 creating the time selector object. We have moved the minutes model
2392 handling code from the init to the new construction function:
2393 hildon_time_selector_constructor.
2395 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2397 * examples/hildon-date-button-example.c: (main): Use the new
2398 hildon_date_button_new_with_year_range() method in the example.
2399 * src/hildon-date-button.c:
2400 (+hildon_date_button_new_with_year_range): New public method
2401 to conveniently create a HildonDateButton with a custom year range
2402 in its HildonDateSelector.
2403 * src/hildon-date-button.h: Add the new public method definition.
2405 Fixes: NB#97908 (Not possible to change the year range in
2406 HildonDateSelector/HildonDateButton)
2408 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2410 * src/hildon-date-selector.c:
2411 (+hildon_date_selector_set_property),
2412 (+hildon_date_selector_get_property),
2413 (hildon_date_selector_class_init): Install new properties "min-year"
2414 and "max-year" to define boundaries for the year column.
2415 (_create_year_model): Use the boundary properties to populate the model.
2416 (+hildon_date_selector_new_with_year_range): New public method to
2417 create a HildonDateSelector with a user defined year range.
2418 (hildon_date_selector_select_current_date): Use the new boundaries to
2419 calculate the iterator of current year.
2420 * src/hildon-date-selector.h: Add the new public method definition.
2422 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2424 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2425 Install a constructor method.
2426 (+hildon_date_selector_construct_ui): construct the widget.
2427 (+hildon_date_selector_constructor): new constructor.
2428 (+hildon_date_selector_init): move out widget construction code to
2429 the new constructor.
2431 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2433 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2434 that there's actually a month or year selected before obtaining them.
2435 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2436 of the HildonTouchSelector::changed signal, as it was emitted on every
2437 single item selection.
2439 Fix some warnings and possible crashers due to the selection restoring.
2441 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2443 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2444 the signal handlers only after creating the dialog instead of on every
2447 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2449 * src/hildon-button.c (hildon_button_init)
2450 * src/hildon-check-button.c (hildon_check_button_init)
2451 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2452 focus when clicked by default.
2454 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2456 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2459 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2461 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2462 Alejandro G. Castro (alex@igalia.com)
2464 * src/hildon-picker-dialog.c:
2465 (hildon_picker_dialog_class_init): install new "center-on-show"
2467 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2468 (hildon_picker_dialog_set_property): add setter code for the new
2470 (hildon_picker_dialog_get_property): add getter code for the new
2472 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2473 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2476 Fixes: NB#92849 (Selected item is not always visible when
2477 HildonTouchSelector is shown)
2479 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2481 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2482 Alejandro G. Castro (alex@igalia.com)
2484 * src/hildon-touch-selector.c:
2485 (_create_new_column): Do not connect to the "realize" signal of the
2487 (hildon_touch_selector_append_column): center on the selected items
2488 when a new column is appended.
2489 (hildon_touch_selector_select_iter): Factor out the code to select a
2490 column to hildon_touch_selector_scroll_to().
2491 (+search_nearest_element): Method to retrieve the nearest selected
2492 element to the visible area of the pannable area in a column.
2493 (+on_realize_cb): scroll to the initially selected item.
2494 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2495 the pannable area is realized, otherwise delay this until it is.
2496 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2497 selected items of a given column.
2498 (+hildon_touch_selector_center_on_selected): Public method to center
2499 all columns on the nearest selected item.
2500 * src/hildon-touch-selector.h: Add definition for
2501 hildon_touch_selector_center_on_selected().
2503 Implement public API to ensure visibility of all selected items in
2504 a HildonTouchSelector.
2506 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2508 Fixed a problem in the fading when calling the scroll_to API, and
2509 improve scrollbar fading handling.
2511 * src/hildon-pannable-area.c,
2512 (hildon_pannable_area_grab_notify): avoid the timeout when the
2514 (hildon_pannable_area_button_press_cb),
2515 (hildon_pannable_area_motion_notify_cb): Code style changes.
2516 (hildon_pannable_area_button_release_cb): Review the conditions
2517 when releasing the mouse button to avoid unrequired fading
2519 (hildon_pannable_area_scroll_to): Do not calculate and set the
2520 velocity if the scroll is not required.
2522 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2524 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2525 Don't check whether the new selector is NULL: it cannot be.
2526 Hold a reference to the selector while doing the replacement.
2528 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2530 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2531 unnecessary size_request in a removed widget.
2533 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2535 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2536 an unnecessary reference tracking that was leaking.
2538 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2540 Added delayed motion notify event handling, this way we can
2541 discard redrawing if more than 25 events arrive per second.
2543 * src/hildon-pannable-area.c,
2544 (hildon_pannable_area_init): Initialized the new private atributes
2545 controlling this timeout
2546 (hildon_pannable_area_dispose): Remove the timeout that controls
2547 the motion notify events.
2548 (hildon_pannable_area_scroll): Added a condition to control the
2549 use of the acceleration.
2550 (hildon_pannable_area_motion_event_scroll_timeout),
2551 (hildon_pannable_area_motion_event_scroll): Added this two
2552 functions, they handle the motion notify events inside the
2554 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2555 to the scroll method with the new function.
2556 (hildon_pannable_area_button_release_cb): We have to remove the
2557 timeout handler and move to the last position if the last motion
2558 events were not handled.
2560 Fixes: NB#97028 (Pannable area updates on every motion event)
2562 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2564 * src/hildon-pannable-area.c,
2565 (hildon_pannable_area_get_topmost): Added a new parameter to
2566 filter the the windows that do not include those events. Added
2567 also a condition when finding the window to filter windows that do
2568 not ask for those events.
2569 (hildon_pannable_area_button_press_cb),
2570 (hildon_pannable_area_button_release_cb),
2571 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2572 topmost function, we have added the new parameter.
2574 Fixes: NB#97458 (Pannable area prevents propagation of button
2577 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2579 * src/hildon-pannable-area.c,
2580 (hildon_pannable_area_initial_effect): Added controls before
2581 launching the timeout and the idle functions.
2582 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2583 of the method, in some situations it can return with TRUE and 0 in
2585 (hildon_pannable_area_button_press_cb): We do not need to set
2586 DELAY for fading out here.
2588 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2590 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2592 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2593 post-cleaning if the selection is not NULL.
2595 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2597 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2598 all items before restoring the selection.
2600 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2602 * src/hildon-touch-selector.c:
2603 (+hildon_touch_selector_unselect_all):
2604 * src/hildon-touch-selector.h: New API to unselect all items in a
2605 column of the touch selector.
2607 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2609 * src/hildon-pannable-area.c,
2610 (hildon_pannable_area_redraw): Added a call to the refresh
2611 function inside the redraw because apparently in some cases the
2612 change in the adjustment does not imply a size allocate.
2614 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2615 despite the view not being scrollable)
2617 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2620 leak. Check for NULL before attempting to set the window title.
2622 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2624 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2625 whether to show or not the 'Done' button each time the dialog is
2626 shown, as it depends on the HildonTouchSelector selection mode.
2628 Fixes: NB#96226 (In multiple selection mode Done button is shown
2629 sometimes in listpicker)
2631 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2633 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2634 for the number of columns in the HildonTouchSelector more than once.
2636 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2638 * src/hildon-touch-selector.c: Minor documentation fixes.
2640 * src/hildon-picker-dialog.c (+_dialog_update_title)
2641 (_select_on_selector_changed_cb)
2642 (_update_title_on_selector_changed_cb)
2643 (on_selector_columns_changed): Update dialog title when there's no
2644 'Done' button and also when the number of columns in the selector
2648 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2649 (+_selection_changed, hildon_picker_button_on_dialog_response)
2650 (hildon_picker_button_selector_selection_changed)
2651 (+hildon_picker_button_selector_columns_changed)
2652 (hildon_picker_button_set_selector): Update button value and emit
2653 'value-changed' when the number of columns in the selector
2657 Fixes: NB#96225 (Dialog titles are not shown according to the
2658 values selected in the list picker)
2660 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2662 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2663 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2664 New "arrow-width" and "arrow-height" style properties to set the
2665 size of the arrow button.
2666 Set name of arrow button ("hildon-edit-toolbar-arrow").
2668 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2669 graphics from theme)
2671 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2673 * src/hildon-picker-button.c:
2674 (hildon_picker_button_selector_selection_changed): Use
2675 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2676 the dialog is present.
2678 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2679 the selection is accepted in the dialog)
2681 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2683 * src/hildon-color-chooser.h
2684 * src/hildon-color-chooser-dialog.h:
2685 Added G_BEGIN_DECLS and G_END_DECLS
2687 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2689 (_clean_current_selection): plug a leak in the list.
2691 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2693 * src/hildon-picker-dialog.c:
2694 (+free_path_list): Method to free a GList of GtkTreePaths.
2695 (_clean_current_selection), (_save_current_selection),
2696 (_restore_current_selection): Save the current selection in
2697 as a list of lists, to support multiple selection properly.
2699 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2701 patch by Claudio Saavedra (csaavedra@igalia.com)
2703 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2704 Store the press position.
2705 (+hildon_text_view_button_release_event): If the release position is
2706 close enough to the press position, move the cursor here. Otherwise,
2708 (hildon_text_view_class_init): Override GtkTextView press, release, and
2709 motion event handlers, disabling this way text selection through
2710 pointer interaction, and allowing the container widget to handle the
2713 Fixes: NB#95828 (HildonTextView functionality)
2715 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2717 Based on a patch by Iván Gómez (igomez@igalia.com)
2719 * src/hildon-button.[ch]
2720 * src/hildon-calendar.c
2721 * src/hildon-check-button.c
2722 * src/hildon-date-editor.c
2723 * src/hildon-date-selector.c
2724 * src/hildon-picker-button.c
2725 * src/hildon-time-editor.c
2726 * src/hildon-time-selector.c
2727 * src/hildon-touch-selector.[ch]:
2728 Documentation updates
2730 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2732 * src/hildon-pannable-area.c,
2733 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2734 threshold, it was required due to X events handling.
2736 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2738 * src/hildon-pannable-area.c,
2739 (hildon_pannable_area_grab_notify),
2740 (hildon_pannable_area_initial_effect),
2741 (hildon_pannable_area_button_press_cb),
2742 (hildon_pannable_area_button_release_cb),
2743 (hildon_pannable_area_scroll_cb),
2744 (hildon_pannable_area_scroll_to): Review the timeout management of
2745 the scrollbar, the frecuency was incorrectly set.
2747 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2749 * src/hildon-picker-button.c:
2750 (+hildon_picker_button_on_dialog_response),
2751 (hildon_picker_button_clicked): Present the dialog instead of
2752 running it with gtk_dialog_run().
2754 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2757 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2759 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2760 (hildon_app_menu_finalize): When a window is hidden it doesn't
2761 emit notify::is-topmost, so make sure than the menu also
2762 disappears in that case.
2763 (parent_window_topmost_notify): Renamed from parent_window_hidden
2765 Fixes: NB#94460 (stackable window's menu is not closed when its
2768 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2770 * src/hildon-touch-selector-entry.c:
2771 (+hildon_touch_selector_entry_set_input_mode),
2772 (+hildon_touch_selector_entry_get_input_mode):
2773 * src/hildon-touch-selector-entry.h: New methods to access the input
2774 mode in the selector's entry.
2776 Fixes: NB#93410 (API required for setting IM mode in
2777 HildonTouchSelectorEntry)
2779 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2781 * configure.ac: post release version bump.
2782 * debian/changelog: version bump
2784 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2789 * configure.ac: Bump version.
2790 * debian/changelog: Updates.
2792 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2794 * src/hildon-touch-selector.c:
2795 (_hildon_touch_selector_has_multiple_selection): No need
2796 to initialize the variables here.
2798 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2800 * src/hildon-note-private.h
2801 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2802 (hildon_note_finalize, hildon_note_rebuild): Close information
2803 notes when they receive a button press.
2805 Fixes: NB#89890 (Information notes does not get disappeared after
2808 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2810 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2811 mark from the wizard title, as it's not really necessary. Also,
2812 do not display the page title if not set.
2814 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2816 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2817 (parent_window_hidden): Use the window's "is-topmost" property to
2818 detect when to hide the menu.
2820 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2822 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2823 (hildon_app_menu_finalize): If the parent window of the menu is
2824 hidden, hide the menu too.
2826 Fixes: NB#94460 (stackable window's menu is not closed when its
2829 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2832 * debian/libhildon1-examples.install
2834 * examples/Makefile.am:
2835 Use dh_install to install all examples.
2836 Use DEB_SRCDIR instead of defining SOURCE_DIR
2838 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2840 * configure.ac: post release version bump.
2841 * debian/changelog: version bump
2843 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2848 * configure.ac: bump version
2849 * debian/changelog: updates
2850 * debian/control: bump gtk+ dependency
2852 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2854 patch by Christian Dywan (christian@imendio.com)
2856 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2857 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2859 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2861 * src/hildon-check-button.c (hildon_check_button_init)
2862 (hildon_check_button_class_init, hildon_check_button_style_set)
2863 (hildon_check_button_apply_style):
2864 New "checkbox-size" style property.
2866 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2867 larger / configurable size)
2869 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2871 * configure.ac: post release version bump.
2872 * debian/changelog: version bump
2874 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2879 * configure.ac: bump version
2880 * debian/changelog: updates
2882 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2884 * doc/hildon-sections.txt
2885 * src/hildon-pannable-area.c
2886 * src/hildon-program.c
2887 * src/hildon-time-editor.c
2888 * src/hildon-touch-selector-entry.c:
2890 More documentation updates.
2892 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2894 * doc/hildon-sections.txt
2895 * src/hildon-caption.c
2896 * src/hildon-code-dialog.c
2897 * src/hildon-color-button.c
2898 * src/hildon-controlbar.c
2899 * src/hildon-date-editor.c
2900 * src/hildon-date-selector.c
2901 * src/hildon-edit-toolbar.c
2902 * src/hildon-find-toolbar.c
2903 * src/hildon-font-selection-dialog.c
2905 * src/hildon-program.c
2906 * src/hildon-range-editor.c
2907 * src/hildon-seekbar.c
2908 * src/hildon-time-editor.c
2909 * src/hildon-time-selector.c
2910 * src/hildon-volumebar-range.c
2911 * src/hildon-volumebar.c
2912 * src/hildon-vvolumebar.c
2913 * src/hildon-weekday-picker.c
2914 * src/hildon-window.c
2915 * src/hildon-wizard-dialog.c:
2917 Lots of documentation fixes.
2919 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2921 Patch contributed by Iván Gómez (igomez@igalia.com)
2923 * src/hildon-check-button.c:
2924 * src/hildon-date-button.c:
2925 * src/hildon-date-selector.c:
2926 * src/hildon-dialog.c:
2927 * src/hildon-edit-toolbar.c:
2928 * src/hildon-entry.c:
2929 * src/hildon-picker-button.c:
2930 * src/hildon-program.c:
2931 * src/hildon-text-view.c:
2932 * src/hildon-time-button.c:
2933 * src/hildon-touch-selector-entry.c:
2934 * src/hildon-window-stack.c:
2936 Add more "since" tags to the new API.
2938 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2940 * doc/hildon-sections.txt: Add below method.
2941 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2942 version for the hildonized scale.
2943 * src/hildon-gtk.h: Add the definition.
2945 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2947 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2949 * doc/hildon-sections.txt: Add missing entries for new methods.
2951 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2953 Added API to pannable are in order to get its adjustments. We
2954 added two properties to manage the values we had in the private
2957 * src/hildon-pannable-area.c:
2958 (hildon_pannable_area_class_init): Added hadjustment and
2959 vadjustment properties in order to expose horizontal and vertical
2961 (hildon_pannable_area_get_property),
2962 (hildon_pannable_area_set_property): Added code to handle the new
2964 (hildon_pannable_area_get_hadjustment),
2965 (hildon_pannable_area_get_vadjustment): API functions to get the
2967 * src/hildon-pannable-area.h:
2968 (hildon_pannable_area_get_hadjustment),
2969 (hildon_pannable_area_get_vadjustment): API functions to get the
2972 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2974 Fixed some leaks, after valgrinding.
2976 * src/hildon-touch-selector.c:
2977 (_default_print_func): Fixed a leak.
2978 (hildon_touch_selector_append_column): Fixed a leak.
2979 * src/hildon-date-button.c:
2980 (hildon_date_button_init): Fixed a leak.
2981 * src/hildon-date-selector.c
2982 (hildon_date_selector_finalize): Fixed a leak.
2984 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2986 Based on a patch by Christian Dywan (christian@imendio.com)
2988 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2990 * src/hildon-gtk.h: Add definition.
2992 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2994 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2996 * src/hildon-picker-button.c: (hildon_picker_button_init),
2997 (hildon_picker_button_new): Set the HildonButton::style property
2998 in the init method, to propagate the value to the derived classes.
3000 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3002 * src/hildon-button.c: (hildon_button_class_init): Do not make
3003 the "style" property a construct property.
3005 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3007 * src/hildon-wizard-dialog.h
3008 * src/hildon-wizard-dialog.c
3009 (hildon_wizard_dialog_set_forward_page_func)
3010 * src/hildon-pannable-area.h
3011 * src/hildon-pannable-area.c
3012 (hildon_pannable_area_set_size_request_policy):
3013 Documentation fixes.
3015 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3017 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3019 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3021 * doc/hildon-sections.txt: Added sections file.
3023 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3026 * src/*.[ch]: Updates.
3028 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3030 * examples/hildon-progress-indicator-example.c: new file
3031 * examples/Makefile.am: include the new example program
3033 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3035 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3037 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3039 * configure.ac: post release version bump
3040 * debian/changelog: version bump
3042 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3047 * configure.ac: bump version
3048 * debian/changelog: updates
3049 * debian/control: bump gtk+ dependency
3051 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3053 * src/hildon-dialog.c: Mark as deprecated.
3054 * src/hildon-dialog.h: Mark as deprecated.
3055 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3056 from HildonDialog and still work, even if
3057 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3058 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3060 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3061 maemo changes) instead)
3063 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3065 * src/hildon-pannable_area.h:
3066 * src/hildon-pannable_area.c:
3067 (hildon_pannable_area_class_init),
3068 (hildon_pannable_area_set_property),
3069 (hildon_pannable_area_get_property),
3070 (hildon_pannable_area_size_request),
3071 (hildon_pannable_area_get_size_request_policy),
3072 (hildon_pannable_area_set_size_request_policy): Added new API
3073 allowing applications to control the request policy. Now they can
3074 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3075 children allocation (HILDON_MOVEMENT_CHILDREN).
3077 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3081 (hildon_gtk_tree_view_set_ui_mode)
3082 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3083 mode of treeviews and iconviews.
3085 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3087 * src/hildon-touch-selector-entry.c:
3088 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3089 of a GtkEntry to get proper theming.
3091 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3092 widget, not GtkEntry)
3094 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3096 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3097 no HildonWizardDialogPageFunc.
3099 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3101 Patch contributed by Iván Gómez (igomez@igalia.com)
3103 * src/hildon-app-menu.c:
3104 * src/hildon-button.c:
3105 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3106 * src/hildon-stackable-window.c:
3107 * src/hildon-time-selector.c:
3108 * src/hildon-touch-selector.c:
3109 * src/hildon-window.c:
3111 Add more "since" tags to the new API in hildon 2.2.
3113 2008-12-05 Tim Janik <timj@imendio.com>
3115 Patch contributed by Christian Dywan (christian@imendio.com)
3117 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3118 HildonSizeType, which are supplied by Gtk+ now.
3120 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3122 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3123 (with maemo changes) instead)
3125 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3127 Patch contributed by Iván Gómez (igomez@igalia.com)
3129 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3132 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3134 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3135 (some_page_func), (main): Update the example to use a
3136 HildonWizardDialogPageFunc function.
3138 * src/hildon-wizard-dialog-private.h: Add private data for
3139 the HildonWizardDialogPageFunc function usage.
3141 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3142 (destroy), (hildon_wizard_dialog_init), (response),
3143 (hildon_wizard_dialog_set_forward_page_func):
3144 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3145 that applications can use to stop a HildonWizardDialog to jump to
3148 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3151 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3153 * src/hildon-program.h
3154 * src/hildon-program-private.h
3155 * src/hildon-program.c (hildon_program_init)
3156 (hildon_program_set_common_app_menu)
3157 (hildon_program_get_common_app_menu):
3158 New API for setting a common HildonAppMenu for all
3159 HildonStackableWindows registered with the HildonProgram.
3161 * src/hildon-stackable-window.c
3162 (hildon_stackable_window_toggle_menu):
3163 Use the common HildonAppMenu if a window doesn't have a specific
3166 * src/hildon-app-menu-private.h
3167 * src/hildon-app-menu.c
3168 (hildon_app_menu_get_parent_window):
3169 Function to obtain the window a HildonAppMenu is attached to.
3170 (hildon_app_menu_set_parent_window):
3171 Hide the menu if the parent window is set to NULL.
3173 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3175 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3176 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3177 search widget to popup.
3179 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3181 * configure.ac: post release version bump
3182 * debian/changelog: version bump
3184 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3189 * configure.ac: bump version
3190 * debian/changelog: updates
3192 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3194 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3196 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3197 (hildon_window_stack_window_realized)
3198 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3199 Set the leader GdkWindow when a window is stacked and realized,
3200 unset it when it's unstacked.
3201 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3203 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3205 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3207 * src/hildon-stackable-window.h
3208 * src/hildon-window-stack.h:
3209 Protect definition of HildonWindowStack using the preprocessor.
3211 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3213 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3214 Fix warning if all menu items are hidden.
3216 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3218 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3220 * src/hildon-controlbar.c:
3221 * src/hildon-hvolumebar.c:
3222 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3223 Multiple scale size defines updates.
3225 Fixes: NB#94322 (Scale Updates)
3227 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3229 * examples/hildon-app-menu-example.c (create_menu)
3230 Show items after adding them to the menu, as in the future the
3231 menu will no longer call gtk_widget_show() on the added items.
3233 * src/hildon-app-menu.c:
3234 Update example as explained above.
3236 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3238 * src/hildon-app-menu.c
3239 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3240 Make sure that all menu items have finger height.
3242 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3244 * src/hildon-picker-dialog.c:
3245 (_on_dialog_response), (_save_current_selection),
3246 (_restore_current_selection), (_clean_current_selection),
3247 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3248 Defined new functions in order to save the current internal selector
3249 selection previous open the dialog, in case that the use cancel the
3250 interaction, so the widget restores the previous selection.
3252 Fixes: NB#92032 (In calendar application, date values in 'new event'
3255 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3257 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3259 * src/hildon-button.c: Add a reference to the button examples in
3260 hildon-button-example.c
3262 * examples/hildon-button-example.c: Added examples of the most
3263 common button layouts.
3265 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3267 * src/hildon-app-menu.c (hildon_app_menu_show)
3268 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3270 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3272 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3274 * src/hildon-picker-dialog.c:
3275 (hildon_picker_dialog_init): Initialize the signal id for
3276 HildonTouchSelector::columns-changed.
3277 (+on_selector_columns_changed): Set up the interaction mode everytime a
3278 column is added or removed from the HildonTouchSelector.
3279 (_hildon_picker_dialog_set_selector): Connect to
3280 HildonTouchSelector::columns-changed and keep track of it.
3282 Make sure to update the interaction mode of the dialog everytime a
3283 column is added or removed in the HildonTouchSelector.
3285 Fixes: NB#93228 (Done button is not shown always in listpicker)
3287 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3289 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3290 a new ::columns-changed signal.
3291 (hildon_touch_selector_append_column): Emit ::columns-changed.
3292 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3294 Add a ::columns-changed signal, emitted when the number of columns in a
3295 HildonTouchSelector changes.
3297 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3299 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3300 (_hildon_picker_dialog_set_selector): Factor out the code
3301 to set up the dialog interaction mode.
3303 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3305 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3306 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3307 to signal_changed_id.
3309 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3311 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3314 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3316 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3317 Updated the logical ids related to ampm format, as now it is required to
3318 show it correctly localized even on languages with no default
3319 abbreviations for am or pm
3320 (_check_am_pm_format): check correctly the 24h format gconf property
3322 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3324 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3326 * src/hildon-button.c: Documentation updates.
3328 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3330 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3331 * src/hildon-caption.c: (hildon_caption_class_init):
3332 * src/hildon-color-button.c: (hildon_color_button_class_init):
3333 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3334 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3335 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3336 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3338 Remove deprecated GTK+ marshalers and replace them with the ones
3339 provided by GLib, for those available, add a marshaler for
3340 BOOLEAN:VOID, which is not available in GLib, and use it.
3342 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3344 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3345 the text from the previous column if there is no
3346 HildonTouchSelectorColumn::text-property set.
3348 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3350 * src/hildon-button.h
3351 * src/hildon-button.c (hildon_button_set_property)
3352 (hildon_button_get_property, hildon_button_class_init)
3353 (hildon_button_set_style, hildon_button_get_style):
3354 New "style" property to change the visual appearance of the
3357 * src/hildon-picker-button.c (hildon_picker_button_new):
3358 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3360 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3361 HildonButton look like PickerButton)
3363 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3365 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3366 column while building the default string.
3368 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3370 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3371 scroll indicator by default.
3373 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3375 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3377 * src/hildon-main.c: Fix the documentation for hildon_init()
3379 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3381 * doc/hildon-docs.sgml
3385 * src/hildon-window-stack-private.h
3386 * src/hildon-window-stack.h
3387 * src/hildon-window-stack.c:
3388 New HildonWindowStack object, that adds support for multiple
3389 stacks of windows per process.
3391 * src/hildon-stackable-window-private.h
3392 * src/hildon-stackable-window.h
3393 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3394 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3395 (hildon_stackable_window_show, hildon_stackable_window_hide)
3396 (hildon_stackable_window_class_init)
3397 (hildon_stackable_window_init):
3398 Use HildonWindowStack for stack management.
3400 * src/hildon-program.c (hildon_program_pop_window_stack)
3401 (hildon_program_peek_window_stack)
3402 (hildon_program_go_to_root_window):
3403 Add a fallback implementation to the deprecated functions using
3406 * examples/hildon-stackable-window-example.c:
3407 Use the new HildonWindowStack API.
3409 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3411 * src/hildon-stackable-window-private.h
3412 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3413 (hildon_stackable_window_hide, hildon_stackable_window_init):
3414 Remove all window stack management.
3416 * src/hildon-program-private.h
3417 * src/hildon-program.h
3418 * src/hildon-program.c (hildon_program_init)
3419 (hildon_program_pop_window_stack)
3420 (hildon_program_peek_window_stack)
3421 (hildon_program_go_to_root_window):
3422 Remove all window stack management and mark functions as
3425 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3427 * src/hildon-app-menu.c (hildon_app_menu_realize):
3428 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3430 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3432 * configure.ac: post release version bump
3433 * debian/changelog: version bump
3435 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3440 * configure.ac: bump version
3441 * debian/changelog: updates
3443 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3445 Based on initial code by Christian Dywan (christian@imendio.com)
3447 * doc/hildon-docs.sgml: Add section for hildon-main.
3448 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3449 * src/Makefile.am: Add new hildon-main.[ch]
3450 * src/hildon-defines.h: Update the icon sizes.
3451 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3452 new library initialization files and register icon sizes.
3453 * src/hildon-main.h: New declarations.
3454 * src/hildon.h: Include hildon-main.h
3456 Add new initialization functions to the library. These methods
3457 will register the hildon specific icon sizes and can be used in the
3458 future for other hildon specific bits.
3460 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3462 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3464 * src/hildon-window.c: (hildon_window_realize),
3465 (hildon_window_notify), (-hildon_window_update_title): Do not set
3466 the application name in the window title.
3468 Fixes: NB#89754 (Applications shouldn't display their names in the
3471 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3473 * src/hildon-note-private.h:
3474 * src/hildon-note.c: (hildon_note_set_property),
3475 (hildon_note_get_property), (hildon_note_class_init),
3476 (hildon_note_init), (hildon_note_finalize),
3477 (hildon_note_new_confirmation_with_icon_name),
3478 (hildon_note_new_information_with_icon_name):
3480 No need to mark as deprecated the actual code. Revert
3481 to avoid missing symbols in widgets using deprecated API.
3483 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3485 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3487 * src/hildon-volumebar.h
3488 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3489 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3491 * src/hildon-helper.h
3492 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3493 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3495 * examples/Makefile.am:
3496 Deprecate hildon-insensitive-example
3498 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3500 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3502 * examples/hildon-pannable-area-buttons-scroll-example.c:
3503 Make all buttons finger height
3505 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3507 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3509 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3510 update the day model only if it is really required, and to avoid the
3511 full-reconstruction aproach. Now it only add or remove the required days.
3513 The purpose of this is avoid superfluous HildonTouchSelector::changed
3516 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3517 with strange parameters)
3519 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3521 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3523 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3524 the WINDOW_TYPE property.
3526 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3528 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3531 Fix dependency to allow parallel compilation with make -jX
3533 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3535 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3536 color frame and some minor tweaks to make it more consistent with
3539 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3540 highlighted but not visible)
3542 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3544 * examples/Makefile.am: Fixed typo in the Makefile.am.
3546 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3548 Reviewed the use of MAEMO_GTK define, now we add the define in the
3549 compilation line, and we also add it to the pc file.
3551 * configure.ac: Added MAEMO_GTK define to the compilation command
3552 and removed it from the config.h.
3554 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3555 do not have to take care about this define if the library was
3559 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3561 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3563 * examples/Makefile.am,
3564 * examples/hildon-pannable-area-buttons-scroll-example.c,
3565 * examples/hildon-pannable-area-gesture-signals-example.c,
3566 * examples/hildon-pannable-area-scroll-jump-example.c,
3567 * examples/hildon-pannable-area-tree-view-example.c:
3568 Renamed the pannable area examples, now they have more meaningful
3571 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3573 * src/hildon-touch-selector.c:
3574 (hildon_touch_selector_set_column_selection_mode): Used of
3575 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3576 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3577 to avoid re-seting the same selection mode.
3579 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3580 breaks HildonPickerDialog)
3582 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3584 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3585 conditional in the Makefile.am
3587 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3589 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3590 Remove unused methods.
3592 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3594 * src/hildon-button.c (hildon_button_init):
3595 Make button images center-aligned by default
3597 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3600 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3601 activated, we have to think about how to deal with both defines
3602 MAEMO_GTK and MAEMO_CHANGES.
3604 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3606 * examples/hildon-app-menu-example.c (create_menu): Make all
3607 buttons finger size.
3609 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3611 Fixed the compilation without maemo gtk adding ifdefs with
3612 MAEMO_GTK define to the code, we have to check this version more
3615 * examples/Makefile.am: Added control to avoid some examples that
3616 just make sense with maemo gtk.
3619 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3620 hildon modes with the define.
3622 * examples/hildon-edit-toolbar-example.c,
3623 (create_icon_view): Create the icon view without hildon-gtk
3624 helpers if we are not using maemo gtk.
3626 * src/hildon-touch-selector.c,
3627 (_create_new_column): Create the treeview without hildon-gtk
3628 helpers if we are not using maemo gtk.
3630 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3632 * src/hildon-pnnable-area.c,
3633 (hildon_pannable_area_dispose),
3634 (hildon_pannable_area_button_press_cb),
3635 (hildon_pannable_area_child_mapped),
3636 (hildon_pannable_area_add),
3637 (hildon_pannable_area_remove): Added code to control the position
3638 of the event_window when adding and removing children from the
3639 pannable. We have to raise the event window when the child is
3642 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3643 selection mode using custom widget inside pannable)
3645 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3647 * configure.ac: post release version bump
3648 * debian/changelog: version bump
3650 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3655 * configure.ac: bump version
3656 * debian/changelog: updates
3658 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3660 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3661 search mode, in order to avoid lose the focus on the treeview when
3662 a hw key (like enter) is pressed.
3664 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3665 in HildonDateSelector dialog)
3667 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3669 * debian/rules: Added --enable-maintainer-mode
3670 * Makefile.am: Added ACLOCAL_AMFLAGS
3672 This allows to properly regenerate the Makefiles if you modify the
3673 configure.ac or any Makefile.am.
3675 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3677 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3678 properties, not needed at all.
3680 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3682 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3684 * src/hildon-note.c: (hildon_note_set_property),
3685 (hildon_note_get_property), (hildon_note_class_init),
3686 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3687 (hildon_note_new_confirmation_add_buttons): Remove icons.
3688 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3689 (hildon_note_new_information_with_icon_name): Deprecate.
3690 (hildon_note_new_confirmation): Act directly, without calling
3691 the deprecated constructor.
3692 (hildon_note_new_information): Act directly, without calling
3693 the deprecated constructor.
3694 * src/hildon-note.h: Mark deprecate methods as such.
3695 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3696 not run tests on the deprecated methods if built with deprecation
3699 Fixes: NB#91688 (Never show icons in information notes/confirmation
3702 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3704 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3705 (hildon_app_menu_key_press): Remove leftover usage of the
3706 private structure in HildonAppMenu struct.
3707 * src/hildon-app-menu.h: Remove leftover private structure
3708 from the HildonAppMenu struct.
3710 Fixes a crasher when using the HildonAppMenu.
3712 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3714 * src/hildon-picker-dialog.c: Use appropriate logical id
3715 for the default "Done" text.
3717 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3719 * configure.ac: post release version bump
3720 * debian/changelog: version bump
3722 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3724 Modified the way to scroll to the current selection just when the touch
3725 selector is shown on the screen, avoiding a g_idle. Added too a property
3726 to configure this behaviour. See hildon_pannable_area_jump_to_child
3727 documentation for more information.
3729 * src/hildon-touch-selector.c
3730 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3731 Added 'initial-scroll' property
3732 (hildon_touch_selector_set_property): Added
3733 (hildon_touch_selector_map): Removed as not required anymore
3734 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3735 only a concrete column, instead of iterate along all the columns
3737 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3742 * configure.ac: bump version
3743 * debian/changelog: updates
3745 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3747 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3748 compilation time warnings.
3750 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3752 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3753 the default value for HildonPannableArea::mov-mode to
3754 HILDON_PANNABLE_AREA_MODE_VERT.
3756 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3758 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3760 Reverting following commit:
3762 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3764 * src/hildon-app-menu-private.h
3765 * src/hildon-app-menu.[ch]
3766 * src/hildon-button.[ch]
3767 * src/hildon-check-button.[ch]
3768 * src/hildon-entry.[ch]
3769 * src/hildon-pannable-area.[ch]
3770 * src/hildon-text-view.[ch]:
3771 Added private field to the object's structure.
3773 because it causes an ABI breakage. We will need to introduce these
3774 changes later at some point. See NB#91636 for an extensive
3775 explanation and status.
3777 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3779 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3781 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3782 remove special cases that are no longer necessary.
3784 Fixes: NB#91016 (Change toolbar sizes, simplification)
3786 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3788 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3789 is shown in the cancel note.
3791 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3793 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3794 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3795 (hildon_seekbar_init): Remove steppers, remove expose event.
3796 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3798 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3800 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3802 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3803 label font to "SmallSystemFont" for vertically arranged buttons.
3805 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3808 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3810 * src/hildon-check-button.c
3811 (hildon_check_button_set_active, hildon_check_button_clicked):
3812 Don't access private parts directly, use getters instead.
3814 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3816 * src/hildon-check-button.c (hildon_check_button_new):
3817 Align the contents of the check button to the left.
3819 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3821 * src/hildon-pannable-area.c,
3822 (hildon_pannable_area_scroll_to),
3823 (hildon_pannable_area_jump_to),
3824 (hildon_pannable_area_scroll_to_child),
3825 (hildon_pannable_area_jump_to_child): Replace the mapped
3826 precondition of these functions with the realized, it is the
3827 correct state of the widget in this case. Changed the
3828 documentation according to this modification.
3830 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3832 Added a new EXTRA_CFLAGS option to add the deprecated define to
3833 the compilation command. This way we can avoid using the define in
3834 the documentation compilation.
3836 * configure.ac: Defined EXTRA_CFLAGS.
3838 * examples/Makefile.am:
3840 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3842 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3844 * src/hildon-picker-dialog.c:
3845 Defined a utility macro with the desired touch selector height
3846 Removed currently unused separator, and title_label variables from
3848 (hildon_picker_dialog_init): Removed code related to the creation
3849 of unused private variables title_label and separator.
3850 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3851 to ensure correct visualization of the touch selector inside the dialog.
3852 * src/hildon-touch-selector.c
3853 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3854 ensure a concrete height of the widget.
3856 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3859 * tests/Makefile.am:
3861 Remove spurious whitespaces.
3863 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3865 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3866 compilation warning after the cancel button removal.
3868 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3870 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3872 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3873 Makefile.am, that way we can choose not to compile some examples
3874 and tests of the deprecated widgets.
3876 * examples/Makefile.am: Divided the sources in deprecated and
3879 * src/Makefile.am: Added undef statement of the deprecated
3880 symbol to the enums file generation process.
3882 * src/hildon-color-chooser-dialog.c
3883 * src/hildon-color-chooser-dialog.h
3884 * src/hildon-color-button.c
3885 * src/hildon-color-button.h
3886 * src/hildon-color-chooser.c
3887 * src/hildon-color-chooser.h
3888 * src/hildon-controlbar.c
3889 * src/hildon-controlbar.h
3890 * src/hildon-date-editor.c
3891 * src/hildon-date-editor.h
3892 * src/hildon-hvolumebar.c
3893 * src/hildon-hvolumebar.h
3894 * src/hildon-private.c
3895 * src/hildon-private.h
3896 * src/hildon-range-editor.c
3897 * src/hildon-range-editor.h
3898 * src/hildon-seekbar.c
3899 * src/hildon-seekbar.h
3900 * src/hildon-time-editor.c
3901 * src/hildon-time-editor.h
3902 * src/hildon-time-picker.c
3903 * src/hildon-time-picker.h
3904 * src/hildon-volumebar.c
3905 * src/hildon-volumebar.h
3906 * src/hildon-vvolumebar.c
3907 * src/hildon-vvolumebar.h
3908 * src/hildon-bread-crumb-trail.h
3909 * src/hildon-bread-crumb-trail.c
3910 * src/hildon-calendar-popup.c
3911 * src/hildon-calendar-popup.h
3912 * src/hildon-weekday-picker.c:
3913 * src/hildon-weekday-picker.h:
3914 * src/hildon-bread-crumb-widget.c:
3915 * src/hildon-bread-crumb-widget.h:
3916 * src/hildon-bread-crumb.c:
3917 * src/hildon-bread-crumb.h:
3918 * src/hildon-calendar.c:
3919 * src/hildon-calendar.h:
3920 * src/hildon-caption.c:
3921 * src/hildon-code-dialog.c:
3922 * src/hildon-code-dialog.h:
3923 * src/hildon-font-selection-dialog.c:
3924 * src/hildon-font-selection-dialog.h:
3925 * src/hildon-get-password-dialog.c:
3926 * src/hildon-get-password-dialog.h:
3927 * src/hildon-login-dialog.c:
3928 * src/hildon-login-dialog.h:
3929 * src/hildon-number-editor.c:
3930 * src/hildon-number-editor.h:
3931 * src/hildon-set-password-dialog.c:
3932 * src/hildon-set-password-dialog.h:
3933 * src/hildon-sort-dialog.c:
3934 * src/hildon-sort-dialog.h: This is the list of deprecated
3937 * src/hildon-touch-selector.c:
3938 * src/hildon-window.c: Added undef statement to avoid compilation
3941 * tests/Makefile.am: Divided the sources in deprecated and
3944 * tests/check_test.c,
3945 (configure_tests): Marked the deprecated code that was adding
3946 suites with deprecated tests.
3948 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3950 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3952 * src/hildon-touch-selector.c: (_default_print_func): Do not
3953 duplicate a string returned by gtk_tree_model_get(), it is already
3956 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3959 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3961 * src/hildon-pannable-area.c
3962 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3963 method, it had problems when adding a widget with viewport the
3964 second time. Now checks if it already has a viewport and uses it.
3966 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3969 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3971 * src/hildon-pannable-area.c,
3972 (hildon_pannable_area_scroll_to),
3973 (hildon_pannable_area_jump_to),
3974 (hildon_pannable_area_scroll_to_child),
3975 (hildon_pannable_area_jump_to_child): Added a precondition to the
3976 scroll and jump to functions: the widget must be mapped before we
3977 can safely call these functions. We have also added documentation
3978 to the functions to explain how to use them in this situation.
3981 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3983 Reviewed the threading handling of the pannable widget, we have
3984 used the gdk_threads_add_timeout function instead of the usual
3985 glib handlers. This avoids some problems with the threads.
3987 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3988 (hildon_pannable_area_initial_effect),
3989 (hildon_pannable_area_scroll_indicator_fade),
3990 (hildon_pannable_area_button_press_cb),
3991 (hildon_pannable_area_timeout),
3992 (hildon_pannable_area_motion_notify_cb),
3993 (hildon_pannable_area_button_release_cb),
3994 (hildon_pannable_area_scroll_cb),
3995 (hildon_pannable_area_scroll_to): Removed the
3996 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3997 gdk_threads_add_timeout.
3999 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4001 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4006 * configure.ac: bump version
4007 * debian/changelog: updates
4009 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4011 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4012 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4013 * src/hildon-color-chooser-dialog.c:
4014 (hildon_color_chooser_dialog_init):
4015 * src/hildon-font-selection-dialog.c:
4016 (hildon_font_selection_dialog_init):
4017 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4019 Remove all cancel/close-like dialogs, as these are not going to be
4022 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4024 * src/hildon-note.c: (hildon_note_rebuild),
4025 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4028 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4030 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4032 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4033 sure all buttons are shown, even the Cancel/Close-like ones.
4035 Fixes: NB#90861 (Custom Confirmation dialogs should be
4036 protected from cancel button removal)
4038 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4040 * debian/control: Change libhildon1-examples dependency from libhildon1
4042 * debian/libhildon1-examples.install
4044 * Makefile.am: Modified the final install directory for the examples on
4045 package libhildon1-examples
4046 * Makefile.static: Update clean target in order to remove all the binary
4049 Changes suggested by Claudio after review new libhildon1-examples package
4051 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4053 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4054 * src/hildon-touch-selector.c: Ditto.
4056 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4058 * debian/control: Added new package libhildon1-examples, in order to pack
4059 the current hildon examples as documentation
4060 * debian/rules: Not to compress .c files, modify some includes on the
4061 examples (as normally are compiled locally, but when installed it will
4062 require to include the installed libhildon1 library), and rename
4064 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4065 install all the example files on the new example package
4066 * examples/Makefile.static: Added static makefile that can be used to
4067 compile the examples, once installed the new example package
4068 * examples: Most of the examples were modified in order to grant that
4069 all use only '#include "hildon.h"', in order to be easy to prepare
4070 it on the example package
4072 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4075 * debian/libhildon1-dev.install
4076 * debian/libhildon1-doc.install:
4077 Move all gtk-doc files to a separate libhildon1-doc package.
4079 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4081 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4083 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4085 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4087 * debian/rules: Fixed a error in order to avoid unnecessary calls
4088 to autogen.sh on package building
4090 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4092 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4094 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4096 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4099 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4101 * src/hildon-picker-button.c
4102 (hildon_picker_button_finalize):
4103 Free priv->done_button_text
4105 * src/hildon-time-button.c
4106 (hildon_time_button_set_time)
4107 * src/hildon-picker-button.c
4108 (hildon_picker_button_clicked)
4109 (hildon_picker_button_selector_selection_changed)
4110 (hildon_picker_button_set_selector)
4111 * src/hildon-date-button.c
4112 (hildon_date_button_set_date):
4113 Free strings returned by hildon_touch_selector_get_current_text()
4115 * src/hildon-button.c (hildon_button_construct_child):
4116 Fix leaks in priv->image and priv->label_box
4118 Fixes: NB#90535 (Memory leak in picker button)
4120 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4122 * src/hildon-button.c: (hildon_button_get_property): Do not access
4123 private elements directly, use getters instead.
4125 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4127 * src/hildon-app-menu-private.h
4128 * src/hildon-app-menu.c
4129 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4130 Store the menu's parent window.
4132 * src/hildon-stackable-window.c
4133 (hildon_stackable_window_toggle_menu)
4134 (hildon_stackable_window_finalize):
4135 Set the menu's parent window when the menu is shown, unset it when
4138 * src/hildon-app-menu.c
4139 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4140 (hildon_app_menu_class_init):
4141 Send unhandled keyboard accelerators to the parent window.
4143 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4145 * src/hildon-stackable-window.c
4146 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4148 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4150 * configure.ac: post release version bump
4152 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4155 * configure.ac: Bump version
4156 * debian/changelog: Updates
4157 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4160 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4162 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4165 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4166 GtkMenu with Hildon style.
4168 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4170 * src/hildon-picker-button.c:
4171 (hildon_picker_button_set_done_button_text): Set the dialog's
4172 done button text here as well.
4174 Fixes: NB#90232 (Picker button does not set the label on done button
4175 for the second time)
4177 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4179 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4182 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4184 * src/hildon-app-menu.c (hildon_app_menu_insert)
4185 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4186 the HildonAppMenu to be activatable using keyboard accelerators
4187 when the menu is not being shown.
4189 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4191 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4193 * src/hildon-stackable-window.c
4194 (hildon_stackable_window_show):
4195 Don't hide old windows automatically when new windows are shown:
4196 this is now a task for the window manager.
4197 (hildon_stackable_window_class_init)
4198 (hildon_stackable_window_hide):
4199 Remove windows from the stack everytime they're hidden.
4200 (hildon_stackable_window_realize):
4201 Don't change the _NET_WM_WINDOW_TYPE property. Use
4202 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4203 it as a stackable window.
4205 * src/hildon-program.c
4206 (hildon_program_pop_window_stack):
4207 Just hide the window to remove it from the stack.
4208 (hildon_program_go_to_root_window):
4209 Don't call gtk_widget_show(), this is now a task for the window
4212 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4214 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4216 * src/hildon-button.c
4217 (hildon_button_construct_child):
4218 Don't pack anything in the button until text or image are
4219 set. This allows adding a custom child after creating the button
4220 with hildon_button_new().
4221 (hildon_button_finalize, hildon_button_class_init)
4222 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4223 alignment and the label box even when they're not packed in the
4226 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4228 * src/hildon-touch-selector.h:
4229 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4230 currently the type definition was using GTK_TYPE_VBOX
4231 * src/hildon-touch-selector.c:
4232 Added some implementation notes in order to clarify that any other widget
4233 added without the column related API will not be included on the
4234 selection logic, and how the widget is freed, as some people ask about
4236 (hildon_touch_selector_remove): Reimplemented in order to free properly
4237 the column related data when you remove the private hbox.
4238 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4239 to get a proper HildonTouchSelectorColumn documentation
4241 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4243 * src/hildon-touch-selector-entry.c:
4244 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4245 text in the GtkEntry and there is no item selected. Fixes a
4248 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4250 * src/hildon-app-menu-private.h
4251 * src/hildon-app-menu.[ch]
4252 * src/hildon-button.[ch]
4253 * src/hildon-check-button.[ch]
4254 * src/hildon-entry.[ch]
4255 * src/hildon-pannable-area.[ch]
4256 * src/hildon-text-view.[ch]:
4257 Added private field to the object's structure.
4259 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4261 * configure.ac: post-release version bump
4263 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4267 * configure.ac: pre-release version bump
4269 * debian/changelog: updates.
4271 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4273 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4274 Disconnect the handler for HildonTouchSelector::changed.
4276 (hildon_picker_button_selector_selection_changed): Update the button
4277 value if the selection change was not triggered by the
4280 (hildon_picker_button_set_selector): connect to
4281 HildonTouchSelector::changed.
4283 Fixes: NB#89650 (Picker button is not updated, when selection in
4284 selector has changed)
4286 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4288 * src/hildon-picker-dialog.c
4289 (hildon_picker_dialog_realize): Removed as not required
4290 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4291 * src/hildon-picker-button.c
4292 (_current_selector_empty): New function, checks if the selector is empty
4293 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4294 if the current selector is empty, in order to avoid to show the dialog
4295 close the dialog in this case (and shows a g_warning).
4297 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4299 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4301 * src/hildon-pannable-area.c,
4302 (hildon_pannable_area_scroll): Added clause to stop movement when
4303 the child of pannable is smaller than one page.
4304 (hildon_pannable_area_scroll_to): Added conditions to avoid
4305 starting the scrolling movement if the child is smaller than one
4306 page, the complete child is in the screen, we do not have to move.
4308 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4310 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4312 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4313 this is managed automatically by the widget when the size of the
4316 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4318 * src/hildon-picker-button.c
4319 (hildon_picker_button_set_done_button_text): Make a copy of the
4320 text, and free the previous value.
4322 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4324 * src/hildon-touch-selector-entry.c:
4325 (hildon_touch_selector_entry_print_func): Return the selected row's
4326 text if the entry is empty.
4328 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4331 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4333 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4335 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4338 * src/hildon-check-button.h
4339 * src/hildon-check-button.c
4340 * examples/hildon-check-button-example.c:
4341 HildonCheckButton is now a new widget. 'toggled' signal added.
4343 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4345 * src/hildon-program-private.h
4346 * src/hildon-program.c (hildon_program_init)
4347 (hildon_program_finalize): Removed unused variables group_leader
4348 and name from HildonProgramPrivate.
4350 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4352 * src/hildon-check-button.c (hildon_check_button_set_active)
4353 (hildon_check_button_get_active, hildon_check_button_new): Use
4354 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4356 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4358 * src/hildon-touch-selector.h
4359 (hildon_touch_selector_set_column_attributes): added deprecation
4360 guard HILDON_DISABLE_DEPRECATED
4361 * src/hildon-time-selector.c
4362 (hildon_time_selector_set_time)
4363 (hildon_time_selector_get_time): Fixed a typo on documentation
4364 * src/hildon-touch-selector.c: update HildonTouchSelector and
4365 HildonTouchSelectorColumn documentation
4366 * src/hildon-touch-selector-entry.c: update "text-column" property
4368 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4369 to be added to the general documentation.
4371 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4373 * examples/hildon-pannable-area-example-4.c,
4375 * examples/hildon-pannable-area-example.c,
4376 (main): Modified the code in order to use the container add, with
4377 viewport treeviews could have problems if they are really big.
4379 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4381 * src/hildon-weekday-picker.c,
4382 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4383 the agreement regarding deprecation in the library.
4385 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4387 * examples/hildon-picker-button-multicolumn-example.c:
4388 (main): Use custom "done" button text.
4390 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4391 (hildon_picker_button_set_property),
4392 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4393 (hildon_picker_button_init),
4394 (+hildon_picker_button_get_done_button_text),
4395 (+hildon_picker_button_set_done_button_text): New methods to customize
4396 the "done" button label in the launched HildonPickerDialog. Also,
4399 * src/hildon-picker-button.h: add the public API.
4401 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4403 * src/hildon-date-selector.h:
4404 * src/hildon-picker-dialog.h:
4405 * src/hildon-time-selector.h:
4406 * src/hildon-touch-selector-column.h:
4407 * src/hildon-touch-selector.h:
4409 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4410 declarations. Fixes gtk-doc warnings.
4412 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4414 * src/hildon-picker-dialog.h
4415 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4416 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4418 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4419 long text is set as label for done button)
4421 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4423 * src/hildon-dialog.c (hildon_dialog_add_button):
4424 Set fixed width to all buttons in the HildonDialog.
4426 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4428 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4430 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4431 Set widget name using class name plus "-finger" or "-thumb".
4433 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4435 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4436 'clicked' when the state of the button is manually changed.
4438 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4440 * src/hildon-app-menu.c (hildon_app_menu_realize)
4441 (hildon_app_menu_unrealize, hildon_app_menu_init)
4442 (hildon_app_menu_class_init, item_visibility_changed):
4443 Change the menu layout when the size of the screen changes.
4444 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4445 Show warning only when changing the number of colums using the
4448 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4450 * debian/compat: Set to 5
4451 * debian/control: Update dependencies.
4452 * debian/libhildon1-dbg.install: Remove.
4453 * debian/libhildon1-dev.install: Update according to cdbs paths.
4454 * debian/libhildon1.install: Update according to cdbs paths.
4455 * debian/rules: Switch to cdbs.
4457 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4459 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4460 'item' variable renamed to 'filter'
4462 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4464 * src/hildon-app-menu.c (hildon_app_menu_insert)
4465 (hildon_app_menu_add_filter, remove_item_from_list)
4466 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4467 Don't leak hidden items when the menu is destroyed.
4469 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4471 * src/hildon-app-menu.c (hildon_app_menu_insert)
4472 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4473 (hildon_app_menu_set_columns, item_visibility_changed)
4474 (filter_visibility_changed, hildon_app_menu_repack_filters)
4475 (hildon_app_menu_repack_items):
4476 Repack items and filters separately.
4478 Don't repack all items, change only the ones that are needed to
4481 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4483 * src/Makefile.am: added hildon-touch-selector-column.h
4485 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4487 * src/hildon-touch-selector.c: added the property "text-column" to the
4488 class HildonTouchSelectorColumn, and related get/set functions
4489 (_default_printf_func): updated to use "text-column" property
4490 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4491 "text-column" in his documentation, as this is now included on
4492 HildonTouchSelectorColumn. The get/set_property can still be used,
4493 working as a wrapper to the concrete column "text-column" property
4494 (_text_column_modified): callback added in order to handle the signal
4495 "notify::text-column" of the concrete HildonTouchSelectorColumn
4496 (hildon_touch_selector_entry_get_text_column)
4497 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4498 modified in order to use the HildonTouchSelectorColumn "text-column"
4500 * src/hildon-time-selector.c:
4501 * src/hildon-date-selector.c:
4502 * examples/hildon-touch-selector-example.c
4503 * examples/hildon-touch-selector-multi-cells-example.c
4504 * examples/hildon-picker-button-multicolumn-example.c
4505 Set the right value to "text-column" property on the creation of a new
4506 column using hildon_touch_selector_append_column()
4508 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4510 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4512 * src/hildon-app-menu.c
4513 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4514 updating the layout of the menu, don't create all widgets again,
4515 just repack the items in their new places.
4517 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4519 * src/hildon-time-selector.c
4520 (hildon_time_selector_get_time)
4521 (hildon_time_selector_set_time)
4522 Added documentation of these public methods
4524 * src/hildon-date-button.h
4525 * src/hildon-touch-selector-column.h
4526 * src/hildon-time-button.h
4527 * src/hildon-picker-dialog.h
4528 * src/hildon-time-selector.h
4529 * src/hildon-picker-button.h
4530 * src/hildon-touch-selector.h
4531 * src/hildon-time-picker.h
4532 * src/hildon-date-selector.h
4533 * src/hildon-touch-selector-entry.h
4534 Modified in order to use hildon-widgets code style
4536 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4538 Added deprecated support to the compilation process using
4539 HILDON_DISABLE_DEPRECATED
4541 * configure.ac: Added the --disable-deprecated to the configure
4544 * src/hildon-weekday-picker.c:
4545 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4546 to use the deprecated support. We will update the other deprecated
4547 widgets status in a new patch.
4549 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4551 * configure.ac: Fixed typo with fatal warnings support, the
4552 variable name was not correct
4554 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4556 * src/hildon-app-menu.c
4557 * src/hildon-program.c: Update documentation.
4559 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4561 * configure.ac: Post-release version bump.
4563 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4568 * configure.ac: Pre-release version bump.
4569 * debian/changelog: Updates.
4571 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4573 * NEWS: Update news for previous releases.
4575 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4577 * examples/hildon-touch-selector-multi-cells-example.c:
4578 (create_selector): Update the example to use
4579 hildon_touch_selector_append_column() with a NULL renderer and set
4580 the renderers later.
4581 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4582 passed a NULL renderer. This is documented behavior now.
4584 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4585 This must be used if the developer wants full control on the layout of
4586 the renderers to be added to the column.
4588 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4590 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4592 * src/hildon-touch-selector.c: Documentation fixes.
4594 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4596 * src/hildon-wizard-dialog-private.h: Remove image and box.
4597 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4598 (hildon_wizard_dialog_set_property), (response): Completely remove
4599 image/icon support, and the containers required for the layout.
4601 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4603 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4605 * src/hildon-app-menu.c: Updated documentation.
4607 * src/hildon-stackable-window.c
4608 (hildon_stackable_window_set_main_menu): Unref the old menu after
4609 ref'ing the new one.
4611 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4613 * src/hildon-stackable-window.c
4614 (hildon_stackable_window_set_main_menu): Unref the previous menu
4615 instead of destroying it.
4617 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4618 floating reference and set has_user_ref_count to FALSE to make
4619 HildonAppMenu act like a normal ref-counted widget and not a
4622 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4625 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4627 * src/hildon-touch-selector-column.h: new file
4628 * src/hildon-touch-selector.h
4629 * src/hildon-touch-selector.c
4630 Implemented GtkCellLayout interface, in order to allow to configure
4631 the cell layout on each individual selector column
4632 (hildon_touch_selector_set_column_attributes): marked as deprecated
4633 * examples/hildon-touch-selector-multi-cells-example.c
4634 Example of how to use the GtkCellLayout interface on the selector
4636 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4638 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4640 * src/hildon-app-menu.h
4641 * src/hildon-app-menu.c
4642 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4643 (hildon_app_menu_append, hildon_app_menu_prepend):
4644 New methods to prepend, insert and move items in the menu.
4646 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4648 * src/hildon-wizard-dialog.c:
4650 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4652 (create_title): Update logical IDs and related code.
4653 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4655 * src/hildon-wizard-dialog.h: Note that
4656 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4657 point, as it is not used anymore.
4659 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4661 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4663 * src/hildon-note.c:
4664 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4665 shown. Do not display an icon in confirmation notes nor information
4667 (hildon_note_set_button_text): Update logical ID for cancel button.
4669 Fixes: NB#88850 (Update HildonNote button strings + signals)
4671 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4673 * src/hildon-stackable-window.c
4674 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4676 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4678 * src/hildon-app-menu-private.h
4679 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4680 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4681 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4682 temporary property 'columns' to change the number of columns.
4684 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4686 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4688 * examples/hildon-note-example.c: (on_information_clicked),
4689 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4690 debugging information.
4691 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4693 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4694 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4695 in order to close: this will be handled by the WM from now on.
4697 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4699 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4701 * src/hildon-app-menu-private.h
4702 * src/hildon-app-menu.c
4703 (hildon_app_menu_append, hildon_app_menu_add_filter)
4704 (button_visibility_changed, hildon_app_menu_apply_style)
4705 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4706 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4707 layout everytime a button (item or filter) is shown or hidden.
4709 * src/hildon-stackable-window.c
4710 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4713 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4715 * src/hildon-touch-selector.c:
4716 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4717 that the treeview inside the touch selector is in fremantle hildon mode
4718 * examples/hildon-date-button-example.c
4719 * examples/hildon-picker-button-multicolumn-example.c
4720 * examples/hildon-touch-selector-entry-example.c
4721 * examples/hildon-touch-selector-example.c
4722 * examples/hildon-time-button-example.c
4723 * examples/hildon-picker-button-example.c:
4724 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4726 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4728 * examples/hildon-text-view-example.c: (main): Remove the
4729 gtkrc bits, now handled by the theme.
4731 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4733 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4736 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4738 * po/Makefile.am: Install properly the mo files.
4739 * po/en_GB.po: Update translation, to ease testing purposes.
4741 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4743 * examples/hildon-picker-button-example.c: (main): Select an item
4744 in the selector before setting it to the button.
4746 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4748 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4749 Update button's value if the selector has an item active.
4751 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4752 'value' with the selector)
4754 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4756 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4757 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4758 (hildon_picker_button_class_init): Plug the finalize method.
4759 (hildon_picker_button_set_selector): If there's a previously set
4760 selector, unref'it before setting a new one.
4762 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4763 HildonTouchSelector)
4765 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4767 * src/hildon-touch-selector-entry.c:
4768 (hildon_touch_selector_entry_changed): Check if there is no text
4769 selected before setting the entry text.
4772 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4774 * src/hildon-touch-selector.h
4775 * src/hildon-touch-selector.c
4776 (hildon_touch_selector_get_active)
4777 (hildon_touch_selector_set_active): New methods to set/get the
4778 index of the selected item.
4780 * src/hildon-picker-button.h
4781 * src/hildon-picker-button.c
4782 (hildon_picker_button_get_active)
4783 (hildon_picker_button_set_active): New methods to set/get the
4784 index of the selected item.
4786 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4788 * configure.ac: post-release version bump.
4790 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4794 * configure.ac: Pre-release version bump.
4795 * debian/changelog: Updates.
4796 * debian/control: Add myself as maintainer and depend on l10n
4799 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4801 * src/hildon-window.c
4802 (hildon_window_set_main_menu)
4803 * src/hildon-stackable-window.c
4804 (hildon_stackable_window_set_main_menu):
4805 Updated documentation.
4807 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4809 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4810 Don't free selector->priv manually.
4813 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4816 (hildon_gtk_window_set_progress_indicator):
4817 * src/hildon-gtk.h: Added the new API
4818 hildon_gtk_window_set_progress_indicator, it changes the state of
4819 the window progress hint.
4821 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4823 * src/hildon-button.c
4824 * src/hildon-stackable-window.c: Minor documentation updates.
4826 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4828 * src/hildon-stackable-window.c: Updated documentation.
4830 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4832 * src/hildon-defines.h: Update margins definitions
4833 to the Fremantle sizes.
4836 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4838 * src/hildon-touch-selector.c,
4839 (_hildon_touch_selector_set_model): Cleaning the code after
4840 review, removed g_print and #if 0 from the code.
4842 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4844 * src/hildon-edit-toolbar.c: Update documentation.
4846 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4848 * src/hildon-check-button.h
4849 * src/hildon-check-button.c
4850 (hildon_check_button_set_label, hildon_check_button_get_label)
4851 * examples/hildon-check-button-example.c
4852 (button_clicked_cb):
4853 Removed deprecated methods.
4855 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4857 * src/hildon-text-view.c:
4858 Add sample code to the documentation.
4860 * src/hildon-entry.h
4861 * src/hildon-text-view.h:
4862 Minor cosmetic changes.
4864 * src/hildon-entry.c:
4865 Add sample code to the documentation.
4866 (hildon_entry_init, hildon_entry_refresh_contents):
4867 Don't allow NULL values in the placeholder.
4869 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4871 * doc/hildon-docs.sgml
4873 * examples/Makefile.am
4874 * examples/hildon-text-view-example.c
4876 * src/hildon-text-view.c
4877 * src/hildon-text-view.h
4879 New HildonTextView widget, with example.
4881 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4883 * po/POTFILES.in: Add missing files with translatable strings.
4884 Partially fixes NB#88287.
4886 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4888 * examples/hildon-pannable-area-example-2.c: (main): No need to
4889 set the cellrenderer height inside hildon touch lists, the theme does
4892 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4894 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4895 they are integrated in the theme.
4897 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4899 * examples/hildon-entry-example.c: Update the example adding
4900 widgets to modify the text and the placeholder of the HildonEntry.
4902 * src/hildon-entry.c: Show the placeholder everytime the widget
4903 is empty and loses the focus.
4905 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4907 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4909 * src/hildon-pannable-area.c,
4910 (hildon_pannable_area_size_request): Fixed bug in height
4911 requisition, avoid increasing size and add border twice.
4913 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4915 * configure.ac: postrelease version bump.
4917 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4921 * configure.ac: Prerelease version bump.
4922 * debian/changelog: update.
4923 * debian/rules: make -dbg package contain useful debugging symbols.
4925 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4927 * src/hildon-dialog.h
4928 * src/hildon-dialog.c
4929 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4930 New methods to add buttons with finger size.
4931 (hildon_dialog_new_with_buttons):
4932 Create buttons with finger size.
4934 * examples/hildon-dialog-example.c (main): Use HildonDialog
4935 methods to add buttons.
4937 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4939 * src/hildon-entry.c: Updated HildonButton documentation.
4941 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4943 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4944 button value label with (FALSE, FALSE) to prevent NB#88126 from
4947 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4949 * examples/hildon-pannable-area-example.c,
4950 (main): Removed examples panning a vbox inside a pannable
4951 area. Check bug NB#87965
4953 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4955 Patch contributed by Kris Rietveld (kris@imendio.com)
4957 * src/hildon-pannable-area.c,
4958 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4959 get_size and get_position, this saves an X server roundtrip.
4961 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4963 * doc/hildon-docs.sgml
4965 * examples/Makefile.am
4966 * examples/hildon-entry-example.c
4968 * src/hildon-entry.c
4969 * src/hildon-entry.h
4971 New HildonEntry widget, with example.
4973 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4975 * src/hildon-button.c (hildon_button_construct_child): Pack the
4976 image with expand == fill == FALSE. This is a workaround for a bug
4979 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4981 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4982 labels for the text column, to make it more look more dynamic.
4984 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4986 * src/hildon-time-selector.c
4987 Define gettext auxiliar macro N_
4988 (_create_minutes_model)
4989 (_create_hours_model)
4990 (_create_ampm_model): use of strftime in order to fill the model
4991 * src/hildon-date-selector.c
4992 (hildon_date_selector_finalize):
4993 (_locales_init): remove the logic related to get the name of the months
4994 using nl_langinfo, as it is not required anymore
4996 (_create_year_model)
4997 (_create_month_model)
4998 (_update_day_model): use of strftime in order to fill the model properly
5001 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5003 * src/hildon-button.h
5004 * src/hildon-button.c (hildon_button_get_image): New method to
5007 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5009 * src/hildon-touch-selector.c:
5010 (hildon_touch_selector_remove_column): Remove from the correct parent
5011 and also remove the list element and free it.
5014 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5016 * src/hildon-time-selector.c
5017 (_create_hours_model): change the range on 12h ampm format in order to use
5018 a 12-11 range instead of previous 01-12 range
5019 (hildon_time_selector_set_time): change the way to select the current time
5020 on 12h ampm format, due the change on the range
5021 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5024 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5026 * src/hildon-touch-selector.c
5027 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5028 in order to allow use this function on multiple row selection mode if
5029 the column is different that the first one
5032 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5034 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5035 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5037 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5039 * src/hildon-date-selector.h: clean some comments, now on the .c
5040 * src/hildon-date-selector.c
5041 (hildon_date_selector_select_month): first implementation
5042 (hildon_date_selector_select_day): added documentation, reimplemented
5043 using hildon_date_selector_select_current_date to avoid repeat code
5046 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5048 Reviewed interaction logic based on device experiences, refactored
5051 * src/hildon-pannable-area.c,
5052 (hildon_pannable_area_class_init): Updated default vmax speed.
5053 (hildon_pannable_area_calculate_velocity): Added this function, it
5054 avoids duplicate valocity calculation. Adjusted calculation to
5055 avoid problems with zero dist events.
5057 (hildon_pannable_area_motion_notify_cb): Now we use the
5058 calculate_velocity function.
5060 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5062 * src/hildon-date-selector.c
5063 (hildon_date_selector_select_current_date): fix the day range check
5064 as it failed using the last day of the current month
5067 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5069 * src/hildon-touch-selector.c
5070 (hildon_touch_selector_get_num_columns): added a parameter validation
5073 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5075 * examples/Makefile.am
5076 * examples/hildon-edit-toolbar-example.c: Example of the
5077 HildonEditToolbar widget.
5079 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5081 * configure.ac: postrelease version bump.
5083 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5087 * configure.ac: prerelease version bump.
5088 * debian/changelog: update.
5090 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5092 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5093 renderer to display stock icons in the touch list. Also, set the sizes
5094 to the recommended in the style guide.
5096 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5097 * src/hildon-touch-selector.h
5098 (hildon_touch_selector_set_active_iter): renamed, now is
5099 hildon_touch_selector_select_iter
5100 (hildon_touch_selector_get_active_iter): renamed, now is
5101 hildon_touch_selector_get_selected
5102 (hildon_touch_selector_unselect_iter): added
5103 * src/hildon-touch-selector.c
5104 Update after API modification (methods renamed)
5105 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5106 order to avoid problems selecting multiple elements on the column
5107 (hildon_touch_selector_unselect_iter): added the implementation
5108 * src/hildon-time-selector.c
5109 * src/hildon-date-selector.c
5110 * src/hildon-touch-selector-entry.c
5111 Update methods calls after hildon-touch-selector.h API modification (methods
5114 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5116 * src/hildon-stackable-window.c
5117 (hildon_stackable_window_finalize): Call the parent class's finalize.
5119 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5121 * examples/hildon-touch-selector-example.c: (create_selector): Use
5122 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5125 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5127 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5128 set a cell background color, to respect theming.
5130 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5132 * doc/hildon-docs.sgml
5135 * src/hildon-edit-toolbar.c
5136 * src/hildon-edit-toolbar.h
5137 * src/hildon.h: New HildonEditToolbar widget.
5139 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5141 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5144 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5145 * src/hildon-touch-selector.c
5146 (_create_new_column): use g_object_set instead of two g_object_set_property
5148 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5149 * src/hildon-touch-selector.c
5150 (_create_new_column): use of hildon_gtk_tree_view_new to create
5151 the treeview, instead of use directly g_object_new
5152 (_create_new_column): update the property name "vindicator-mode" for the
5153 new one "vscrollbar-policy"
5154 * examples/hildon-date-button-example.c
5155 * examples/hildon-picker-button-multicolumn-example.c
5156 * examples/hildon-touch-selector-entry-example.c
5157 * examples/hildon-touch-selector-example.c
5158 * examples/hildon-time-button-example.c
5159 * examples/hildon-picker-button-example.c
5160 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5161 to all the treeviews inside a pannable area.
5163 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5165 * src/hildon-button.h
5166 * src/hildon-button.c (hildon_button_init)
5167 (hildon_button_set_arrangement, hildon_button_set_alignment)
5168 (hildon_button_set_title_alignment)
5169 (hildon_button_set_value_alignment)
5170 (hildon_button_set_image_alignment)
5171 (hildon_button_construct_child): New methods to set the alignment
5172 of the individual components of the button (title, value,
5173 image). Also, new method to alter the xscale and yscale properties
5174 of the GtkAlignment inside the button, so more complex layouts can
5177 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5179 * src/hildon-button.c (hildon_button_style_set)
5180 (hildon_button_class_init, hildon_button_set_arrangement)
5181 (hildon_button_construct_child): Apply style properties
5182 correctly. Use the 'image-spacing' style property too.
5184 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5186 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5187 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5190 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5192 * src/hildon-pannable-area.c,
5193 (hildon_pannable_area_size_request): Fixed problem with
5194 pannable-area size_request.
5196 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5198 Added management for the grab-focus to a child widget, like a
5199 range, we need to fade out the scrollbar when releasing.
5201 * src/hildon-pannable-area.c,
5202 (hildon_pannable_area_init): Connected the grab-focus signal to
5204 (hildon_pannable_area_grab_notify): Added this function in order
5205 to manage the situation when the grab-focus ends. We have to
5206 fade-out the scrollbar.
5208 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5210 * src/hildon-app-menu.c: Minor documentation update.
5212 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5214 * src/hildon-app-menu.c
5215 * examples/hildon-app-menu-example.c (create_menu): Update
5216 examples and documentation to explain how to connect callbacks.
5218 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5220 * examples/hildon-button-example.c
5221 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5222 hildon_stackable_window_new instead of gtk_window_new
5224 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5226 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5227 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5228 (hildon_pannable_area_set_property),
5229 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5230 (hildon_pannable_area_unrealize),
5231 (hildon_pannable_area_size_request),
5232 (hildon_pannable_area_size_allocate),
5233 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5234 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5235 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5236 (hildon_pannable_area_initial_effect),
5237 (hildon_pannable_area_redraw),
5238 (hildon_pannable_area_scroll_indicator_fade),
5239 (hildon_pannable_area_expose_event),
5240 (hildon_pannable_area_get_topmost), (synth_crossing),
5241 (hildon_pannable_area_button_press_cb),
5242 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5243 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5244 (hildon_pannable_area_motion_notify_cb),
5245 (hildon_pannable_area_button_release_cb),
5246 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5247 (hildon_pannable_area_remove),
5248 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5249 chage the code layout to a more GtkWidget like. Review the use of
5252 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5254 * examples/hildon-pannable-area-example-4.c,
5255 (main): Modified the name of the hindicator_mode to
5258 * src/hildon-pannable-area.c,
5259 (hildon_pannable_area_class_init),
5260 (hildon_pannable_area_motion_notify_cb),
5261 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5262 we have reduced the amount of signals and managed reviewed its
5263 rationale. Changed the default decelerate value.
5265 (hildon_pannable_area_add),
5266 (hildon_pannable_area_redraw): Refactored functions.
5268 (hildon_pannable_area_init),
5269 (hildon_pannable_area_get_property),
5270 (hildon_pannable_area_set_property):
5271 (hildon_pannable_draw_vscroll),
5272 (hildon_pannable_draw_hscroll),
5273 (hildon_pannable_area_initial_effect),
5274 (hildon_pannable_area_expose_event),
5275 (hildon_pannable_area_scroll),
5276 (hildon_pannable_area_button_press_cb),
5277 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5278 and vindicator_mode with hscrollbar_policy and
5279 vscrollbar_policy. Replaced hscroll and vscroll with
5280 hscroll_visible and vscroll_visible.
5282 (hildon_pannable_area_refresh): Refactor the function, remove
5283 variables and check the calls to this function, added resize
5284 conditions in case the children change their layout.
5286 (hildon_pannable_area_size_request): Added more detailed
5287 size_request calculation.
5290 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5292 * src/hildon-color-chooser.c
5293 (init_borders): use the correct gtk_border_free instead of g_free, to
5294 avoid a crash when this widget is used (ie: the three color selection
5297 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5299 * src/hildon-check-button.c,
5300 (hildon_check_button_set_active): Fixed problem when setting the
5301 active value, the widget was not redrawn.
5303 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5305 * src/hildon-pannable-area.c,
5306 (hildon_pannable_area_refresh),
5307 (hildon_pannable_area_scroll),
5308 (hildon_pannable_area_motion_notify_cb): Small code style change.
5310 (hildon_pannable_area_class_init): Default initial_hint set to
5311 FALSE, it is not in the specs.
5313 (hildon_pannable_area_initial_effect),
5314 (hildon_pannable_area_expose_event),
5315 (hildon_pannable_area_map),
5316 (hildon_pannable_area_init): Moved the launching point of the
5317 initial effect, it was in map but the sizes where not correct in
5318 that method so we do not know if we have the reproduce it. Now it
5319 is placed in the expose_event method and uses a variable to
5320 reproduce it just once.
5322 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5324 * src/hildon-pannable-area.c,
5325 (hildon_pannable_draw_vscroll),
5326 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5327 position allowed for the scrollbars.
5329 (hildon_pannable_area_size_allocate): Small style change.
5331 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5333 * src/hildon-pannable-area.c,
5334 (hildon_pannable_area_scroll_indicator_fade),
5335 (hildon_pannable_area_button_press_cb),
5336 (hildon_pannable_area_button_release_cb),
5337 (hildon_pannable_area_scroll_cb),
5338 (hildon_pannable_area_expose_event),
5339 (hildon_pannable_area_init): Added the define parameter
5340 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5341 and refactor the fade variable.
5343 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5345 * src/hildon-pannable-area.c,
5346 (hildon_pannable_area_redraw),
5347 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5348 lines, we were reimplemeting the redraw code.
5350 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5352 * src/hildon-pannable-area.c,
5353 (hildon_pannable_area_scroll_cb),
5354 (hildon_pannable_area_realize),
5355 (hildon_pannable_area_class_init): Added scroll_event management
5356 for pannable area, now we can scroll the usual desktop method.
5358 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5359 initialization of the parameters should depend on idle_id.
5361 (hildon_pannable_area_init),
5362 (hildon_pannable_area_map): Small code style modifications
5364 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5366 * src/hildon-pannable-area.c
5367 (hildon_pannable_area_button_press_cb),
5368 (hildon_pannable_area_motion_notify_cb),
5369 (hildon_pannable_area_button_release_cb),
5370 (hildon_pannable_area_size_allocate),
5371 (hildon_pannable_area_scroll_to): Improved the timeouts
5372 management, we avoid creating them each time.
5374 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5376 * src/hildon-pannable-area.c:
5377 (hildon_pannable_area_refresh),
5378 (hildon_pannable_area_motion_notify_cb),
5379 (hildon_pannable_area_class_init):
5380 * src/hildon-pannable-area.h:
5381 * src/hildon-touch-selector.c
5382 (_create_new_column):
5383 * examples/hildon-pannable-area-example-4.c:
5384 (horizontal_movement),
5385 (vertical_movement),
5387 Replaced the names of enums in the HildonPannableArea:
5388 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5389 HILDON_MOVEMENT_MODE_*
5390 - HILDON_PANNABLE_AREA_MOV_* ->
5392 - Removed HildonPannableAreaIndicatorMode, now we
5395 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5397 * examples/hildon-pannable-area-touch-grid-example.c
5398 * examples/hildon-pannable-area-touch-list-example.c: Fix
5399 compilation warnings.
5401 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5403 * src/hildon-gtk.c (hildon_gtk_button_new)
5404 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5405 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5406 images overriding the value of the "gtk-button-images" setting.
5408 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5410 * src/hildon-check-button.c (hildon_check_button_new):
5411 Instead of using a custom container, display the label and the
5412 checkbox using the standard GtkButton API.
5414 * examples/hildon-check-button-example.c (main): Don't use
5415 hildon_check_button_set_label() anymore
5417 * src/hildon-check-button.h
5418 * src/hildon-check-button.c
5419 (hildon_check_button_set_label, hildon_check_button_get_label):
5420 Set as deprecated, now we're using gtk_button_{get,set}_label()
5422 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5424 * src/hildon-pannable-area.c,
5425 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5426 GtkTreeview first line we detected it after the inclusion of the
5427 GtkWindowImpl in gtk+. We now check if the window is visible, not
5428 just if the pointer is over the window.
5429 (hildon_pannable_axis_scroll),
5430 (hildon_pannable_area_expose_event): Small style changes.
5432 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5434 * src/hildon-button.c: Update documentation.
5436 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5438 * examples/hildon-button-example.c: Add a switch to show images in
5441 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5443 * doc/hildon-docs.sgml: Some docs reorganization.
5445 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5447 * examples/hildon-pannable-area-touch-list-example.c
5449 * examples/hildon-pannable-area-touch-grid-example.c
5450 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5451 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5452 Fix memory leak when setting the tree model.
5454 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5458 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5460 * doc/hildon.types: Remove duplicated hildon_window_get_type
5461 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5462 documentation comment.
5464 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5466 * doc/Makefile.am: Complete list of private headers.
5468 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5470 * doc/hildon-docs.sgml
5471 * src/hildon-app-menu.c
5472 * src/hildon-bread-crumb.c
5473 * src/hildon-button.c
5475 * src/hildon-program.c
5476 * src/hildon-stackable-window.c
5477 * src/hildon-window.c: Lots of documentation updates.
5479 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5481 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5483 * configure.ac: Require Gtk+ 2.12.9 at least
5485 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5487 * src/hildon-pannable-area.c
5488 (hildon_pannable_area_scroll_indicator_fade),
5489 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5490 to protect the return of this timeout callbacks, avoiding deadlocks.
5492 2008-08-12 Christian Dywan <christian@imendio.com>
5495 * src/hildon-*.h: Ensure a consistent include order,
5496 include <gtk/gtk.h> instead of particular files and
5497 only include the topmost header in the gtk stack. See NB #39857
5499 2008-08-12 Christian Dywan <christian@imendio.com>
5501 * src/hildon-picker-dialog.c
5502 * src/hildon-touch-selector.c: Fix warnings about unused and
5503 uninitialized variables.
5505 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5507 * examples/Makefile.am
5508 * examples/hildon-check-button-example.c: Example of the hildon
5511 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5513 * src/hildon-window.h
5514 * src/hildon-window.c (hildon_window_class_init)
5515 (hildon_window_unset_program): Don't make
5516 hildon_window_unset_program a virtual function anymore.
5518 * src/hildon-stackable-window.c: Update documentation
5520 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5523 * doc/hildon-docs.sgml
5524 * doc/visual_index.xml
5525 * src/hildon-defines.c
5527 * src/hildon-helper.c
5528 * src/hildon-range-editor.c: Lots of documentation fixes.
5530 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5532 * examples/hildon-picker-button-multicolumn-example.c
5533 (create_touch_selector): Fix compilation warning.
5535 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5537 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5538 (hildon_pannable_area_button_release_cb)
5539 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5541 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5543 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5546 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5548 * src/hildon-bread-crumb-trail.h
5549 * src/hildon-date-editor.c
5550 * src/hildon-date-selector.c
5551 * src/hildon-pannable-area.c
5552 * src/hildon-picker-dialog.c
5553 * src/hildon-time-selector.c
5554 * src/hildon-touch-selector-entry.c
5555 * src/hildon-touch-selector.c
5556 * src/hildon-touch-selector.h: Misc documentation fixes
5558 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5560 * examples/hildon-date-editor-example.c (main): Updated date
5563 * examples/hildon-note-example.c (on_confirmation_clicked):
5564 Updated confirmation note example.
5566 * src/hildon-date-editor.c
5567 * src/hildon-note.c: Updated sample programs in documentation.
5570 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5572 * src/hildon-date-button.h:
5573 * src/hildon-picker-button.h:
5574 * src/hildon-time-button.c:
5575 * src/hildon-time-button.h:
5577 Some declarations changes to allow gtk-doc to document the widgets
5580 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5582 * src/hildon-date-button.c: Document the widget.
5583 * src/hildon-time-button.c: Document the widget.
5585 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5587 * src/hildon-picker-button.c: Document the widget.
5588 * src/hildon-touch-selector-entry.c: Document the widget.
5590 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5592 * doc/hildon-docs.sgml
5595 * src/hildon-check-button.h
5596 * src/hildon-check-button.c: New functions to create the Hildon
5600 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5602 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5604 * src/hildon-button.h
5605 * src/hildon-button.c
5606 (hildon_button_add_title_size_group)
5607 (hildon_button_add_value_size_group)
5608 (hildon_button_add_image_size_group)
5609 (hildon_button_add_size_groups): New functions to set size groups
5610 for the button labels and image.
5611 (hildon_button_new_full): Removed
5613 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5615 * src/hildon-time-selector.c
5616 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5617 in order to avoid a crash if gconf is not available
5619 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5621 * src/hildon-button.c (hildon_button_set_arrangement)
5622 (hildon_button_construct_child): Don't construct the button child
5623 before setting the arrangement.
5625 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5627 * src/hildon-program-private.h
5628 * src/hildon-program.c
5629 * src/hildon-program.h
5630 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5631 (hildon_program_peek_window_stack)
5632 (hildon_program_pop_window_stack)
5633 (hildon_program_go_to_root_window): HildonProgram now has a
5634 separate list for stackable windows. Functions are provided to
5635 manage that list with a stack-like API.
5637 * src/hildon-stackable-window.c: Stackable window management is
5638 now much simpler with the new HildonProgram API. Windows no
5639 longer need to be manually added to the program, they're
5640 automatically pushed to the top of the stack when shown.
5642 * examples/hildon-stackable-window-example.c: Updated example to
5643 reflect the API changes.
5645 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5647 * src/hildon-touch-selector.c: Comment out unimplemented
5648 hildon_touch_selector_insert_column() to avoid a compile warning.
5650 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5652 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5653 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5654 (hildon_touch_selector_set_column_selection_mode),
5655 (_hildon_touch_selector_set_model),
5656 (hildon_touch_selector_set_model):
5658 Complete review of HildonTouchSelector documentation.
5660 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5662 * doc/hildon-docs.sgml
5666 * src/hildon-gtk.c: Convenience functions for standard Gtk
5667 widgets, used to easily perform frequent operations.
5669 * src/hildon-button-helpers.h
5670 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5672 * src/hildon-helper.h
5673 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5674 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5676 * src/hildon-button.h
5677 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5679 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5681 * src/hildon-button.c (hildon_button_init)
5682 (hildon_button_set_arrangement, hildon_button_construct_child):
5683 Pack the image and the labels inside the same GtkAlignment so
5684 gtk_button_set_alignment() can be used
5686 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5688 * src/hildon-button.h
5689 * src/hildon-button.c
5690 (hildon_button_init, hildon_button_set_image)
5691 (hildon_button_set_image_position)
5692 (hildon_button_construct_child): New functions to add an image to
5695 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5697 * src/hildon-date-button.c
5698 * src/hildon-picker-button.c
5699 * src/hildon-time-button.c
5700 * src/hildon-button.c:
5701 (hildon_button_class_init): "size-flags" renamed to "size"
5702 (hildon_button_set_title): Hide the title label if set to NULL.
5704 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5706 HildonButtonFlags split into HildonButtonArrangement (to set the
5707 button layout) and HildonSizeType (which can be used for any
5710 * src/hildon-button.h
5711 * src/hildon-button.c
5712 (hildon_button_class_init)
5713 (hildon_button_set_arrangement)
5714 (hildon_button_set_property): New "size-flags"
5715 property. "arrangement-flags" renamed to "arrangement".
5716 (hildon_button_new, hildon_button_new_with_text)
5717 (hildon_button_new_full): Constructors updated to reflect type changes.
5719 * src/hildon-helper.h
5720 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5721 to set the size of a widget.
5725 * src/hildon-button-helpers.c
5726 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5728 * src/hildon-date-button.c
5729 * src/hildon-date-button.h
5730 * src/hildon-picker-button.c
5731 * src/hildon-picker-button.h
5732 * src/hildon-time-button.c
5733 * src/hildon-time-button.h: Updated widgets to reflect
5734 HildonButton API changes.
5736 * examples/hildon-button-example.c
5737 * examples/hildon-date-button-example.c
5738 * examples/hildon-picker-button-example.c
5739 * examples/hildon-picker-button-multicolumn-example.c
5740 * examples/hildon-time-button-example.c
5741 * examples/hildon-touch-selector-entry-example.c
5742 * examples/hildon-touch-selector-example.c: Updated examples to
5743 reflect HildonButton API changes.
5745 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5747 * doc/hildon-docs.sgml:
5749 * examples/Makefile.am:
5750 * examples/hildon-touch-selector-entry-example.c:
5752 * src/hildon-touch-selector-entry.c:
5753 * src/hildon-touch-selector-entry.h:
5756 Moved HildonTouchSelectorEntry from sandbox. Added its
5757 documentation and examples.
5759 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5761 * src/hildon-touch-selector.h:
5762 * examples/hildon-picker-button-multicolumn-example.c:
5763 (hildon_touch_selector_append_text_column): Add a gboolean
5764 parameter to determine if text must be centered in the column.
5766 * src/hildon-date-selector.c: (hildon_date_selector_init):
5767 * src/hildon-time-selector.c: (hildon_time_selector_init):
5768 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5769 (create_touch_selector): Update widgets and example to reflect
5772 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5774 * src/hildon-touch-selector.c:
5775 (hildon_touch_selector_set_active_iter): Set also the cursor in
5778 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5780 * doc/hildon-docs.sgml
5783 * src/hildon-toggle-button.c
5784 * src/hildon-toggle-button.h
5785 * src/hildon.h: Removed HildonToggleButton widget, a derived
5786 class is not necessary for this.
5788 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5790 * src/hildon-pannable-area.c,
5791 (hildon_pannable_area_realize),
5792 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5795 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5797 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5798 "done" button the default widget for the dialog.
5800 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5802 * src/hildon-touch-selector.c:
5803 (hildon_touch_selector_class_init),
5804 (hildon_touch_selector_get_property),
5805 (_hildon_touch_selector_set_model),
5806 (_hildon_touch_selector_has_multiple_selection),
5807 (hildon_touch_selector_has_multiple_selection):
5808 Add a "has-multiple-selection" property with a virtual
5809 has_multiple_selection() method to allow derived classes to
5810 override the default value for it. See the method and property
5811 documentation for details.
5813 * src/hildon-touch-selector.h: Add the new API.
5815 * src/hildon-picker-dialog.c: (requires_done_button): Call
5816 hildon_touch_selector_has_multiple_selection() instead of
5817 determining the need for a button itself.
5819 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5821 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5822 (_hildon_touch_selector_set_model),
5823 (hildon_touch_selector_set_model): Move working code to
5824 _hildon_touch_selector_set_mode(). Call the class method instead.
5826 * src/hildon-touch-selector.h: Add (*set_model) to
5827 HildonTouchSelectorClass.
5829 Make hildon_touch_selector_set_model() a virtual method, so that
5830 derived classes can extend it and do fancy stuff with the model.
5832 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5834 * configure.ac: Set back the tarname in AC_INIT to hildon.
5836 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5840 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5841 instead of libesd (NB#86876). Volume handling is still an open issue.
5843 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5846 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5848 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5849 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5850 derived class to ease placement of an entry widget in
5851 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5852 end, where the selector columns are packed now.
5854 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5856 * src/hildon-picker-button.c: Removed the simple _text() API.
5857 * src/hildon-picker-button.h: Likewise.
5859 * src/hildon-touch-selector.h:
5860 * src/hildon-touch-selector.c:
5861 (hildon_touch_selector_new_text),
5862 (hildon_touch_selector_append_text),
5863 (hildon_touch_selector_prepend_text),
5864 (hildon_touch_selector_insert_text):
5866 Moved the simple _text() API from HildonPickerButton to
5867 HildonTouchPicker, to provide better escalability and not to tie
5868 that API to HildonPickerButton.
5870 * examples/hildon-picker-button-example.c: (main): Example updated.
5872 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5874 * src/hildon-button.c: Updated documentation.
5876 * examples/hildon-button-example.c: Add the posibility to create
5877 the buttons using horizontal layout for title and value.
5879 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5881 * src/hildon-app-menu-private.h
5882 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5883 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5884 GtkSizeGroup for the filters, use the 'homogeneous' property of
5887 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5889 * examples/hildon-button-example.c: Updated example.
5891 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5893 * doc/hildon-docs.sgml:
5896 Update documentation.
5898 * examples/Makefile.am: Update renamed examples.
5900 * examples/hildon-picker-button-multicolumn-example.c:
5901 (create_touch_selector), (main): Update after the rename.
5903 * examples/hildon-touch-picker-example.c: Removed.
5904 * examples/hildon-touch-selector-example.c: (value_changed),
5905 (create_selector), (get_visible_content), (main): Renamed from
5906 hildon-touch-picker-example.c
5908 * src/Makefile.am: Updated renamed files.
5910 * src/hildon-date-button.c: (hildon_date_button_init),
5911 (hildon_date_button_get_date), (hildon_date_button_set_date):
5912 * src/hildon-date-selector.c: (hildon_date_selector_init),
5913 (_custom_print_func), (_update_day_model),
5914 (_manage_selector_change_cb),
5915 (hildon_date_selector_select_current_date),
5916 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5917 * src/hildon-date-selector.h:
5918 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5919 (hildon_picker_button_set_property),
5920 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5921 (hildon_picker_button_init), (hildon_picker_button_new_text),
5922 (hildon_picker_button_append_text),
5923 (hildon_picker_button_prepend_text),
5924 (hildon_picker_button_insert_text),
5925 (hildon_picker_button_set_selector),
5926 (hildon_picker_button_get_selector):
5927 * src/hildon-picker-button.h:
5928 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5929 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5930 (_update_title_on_selector_changed_cb), (requires_done_button),
5931 (_hildon_picker_dialog_set_selector),
5932 (hildon_picker_dialog_set_selector),
5933 (hildon_picker_dialog_get_selector):
5934 * src/hildon-picker-dialog.h:
5935 * src/hildon-time-button.c: (hildon_time_button_init),
5936 (hildon_time_button_get_time), (hildon_time_button_set_time):
5937 * src/hildon-time-selector.c: (hildon_time_selector_init),
5938 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5939 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5940 * src/hildon-time-selector.h:
5943 Massive code updates after the rename.
5945 * src/hildon-touch-picker.c: Removed.
5946 * src/hildon-touch-picker.h: Removed.
5948 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5949 (hildon_touch_selector_init), (hildon_touch_selector_map),
5950 (hildon_touch_selector_remove), (_default_print_func),
5951 (_selection_changed_cb), (_create_new_column),
5952 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5953 (hildon_touch_selector_append_text_column),
5954 (hildon_touch_selector_remove_column),
5955 (hildon_touch_selector_set_column_attributes),
5956 (hildon_touch_selector_insert_column),
5957 (hildon_touch_selector_get_num_columns),
5958 (hildon_touch_selector_get_column_selection_mode),
5959 (hildon_touch_selector_set_column_selection_mode),
5960 (hildon_touch_selector_set_print_func),
5961 (hildon_touch_selector_get_print_func),
5962 (hildon_touch_selector_get_active_iter),
5963 (hildon_touch_selector_set_active_iter),
5964 (hildon_touch_selector_get_selected_rows),
5965 (hildon_touch_selector_get_model),
5966 (hildon_touch_selector_set_model),
5967 (hildon_touch_selector_get_current_text),
5968 (_hildon_touch_selector_center_on_selected_items):
5969 * src/hildon-touch-selector.h: Renamed from
5970 hildon-touch-picker.[ch]
5972 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5973 references, code examples, and related documentation.
5975 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5977 * doc/hildon-docs.sgml
5980 * src/hildon-toggle-button.c
5981 * src/hildon-toggle-button.h
5982 * src/hildon.h: New HildonToggleButton widget.
5984 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5986 * src/hildon-button.c: Add API documentation.
5987 (hildon_button_set_size_groups): Check input parameters
5989 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5991 * src/hildon-pannable-area.c
5992 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5993 effect after reaching the movement thredshold. This way we start
5994 using the distance after passing the thredshold.
5996 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5998 * src/hildon-button.c: (hildon_button_set_property): Use the
5999 appropriate g_value_get_flags() method.
6001 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6003 * doc/hildon-docs.sgml:
6006 Add the touch pickers, picker dialogs, and picker button widgets
6007 to the documentation.
6009 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6011 * src/hildon-button.c: (hildon_button_set_property),
6012 (hildon_button_class_init): Make "arrangement-flags" a proper
6013 G_TYPE_FLAGS derived property.
6015 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6017 * examples/Makefile.am: Add below examples.
6018 * examples/hildon-date-button-example.c:
6019 * examples/hildon-picker-button-example.c:
6020 * examples/hildon-picker-button-multicolumn-example.c:
6021 * examples/hildon-time-button-example.c:
6022 * examples/hildon-touch-picker-example.c:
6024 Add examples for the recently added touch pickers,
6025 picker dialogs, and picker button widgets.
6027 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6029 * src/hildon-button.c: Add some API documentation
6031 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6033 * src/hildon-button.h
6034 * src/hildon-button.c
6036 (hildon_button_new_with_text): New constructor to create a button
6037 with no text at all.
6038 (hildon_button_init, hildon_button_set_arrangement)
6039 (hildon_button_set_title, hildon_button_set_value)
6040 (hildon_button_set_text)
6041 (hildon_button_construct_child): Hide the value when it's not used
6042 so the rest of the text is properly aligned.
6043 Allow creating buttons with arbitrary widgets inside (not just
6044 title/value labels).
6046 * examples/hildon-button-example.c (vertical_buttons_window)
6047 (horizontal_buttons_window): Update example to use new API.
6049 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6051 * src/Makefile.am: Added HildonTimeButton.
6052 * src/hildon-time-button.c: Added missing LGPL header.
6053 * src/hildon-time-button.h: Added missing LGPL header.
6054 * src/hildon.h: Add hildon-time-button.h
6056 Copied HildonTimeButton from sandbox to trunk. Future work on this
6057 widget must take place in trunk.
6059 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6061 * src/Makefile.am: Added HildonDateButton.
6062 * src/hildon-date-button.c: Update includes.
6063 * src/hildon.h: Add hildon-date-button.h
6065 Copied HildonDateButton from sandbox to trunk. Future work on this
6066 widget must take place in trunk.
6068 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6070 * src/Makefile.am: Added HildonPickerButton.
6071 * src/hildon-picker-button.h: Update includes.
6072 * src/hildon.h: Add hildon-picker-button.h
6074 Copied HildonPickerButton from sandbox to trunk. Future work on
6075 this widget must take place in trunk.
6077 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6079 * src/Makefile.am: Added HildonPickerDialog.
6080 * src/hildon-picker-dialog.c: Update includes.
6081 * src/hildon.h: Add hildon-picker-dialog.h
6083 Copied HildonPickerDialog from sandbox to trunk. Future work
6084 on this widget must take place in trunk.
6086 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6088 * src/Makefile.am: Added HildonTimeSelector.
6089 * src/hildon.h: Add hildon-time-selector.h
6091 Copied HildonTimeSelector widget from sandbox to trunk. Future
6092 work on this widget must happen in trunk.
6094 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6096 * src/Makefile.am: Added HildonDateSelector.
6097 * src/hildon.h: Add hildon-date-selector.h
6099 Copied HildonDateSelector widget from sandbox to trunk. Future
6100 work on this widget must happen in trunk.
6102 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6104 * src/Makefile.am: Added HildonTouchPicker.
6105 * src/hildon-touch-picker.c: Update includes.
6106 * src/hildon.h: Add hildon-touch-picker.h
6108 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6109 on this widget must happen in trunk.
6111 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6113 * src/hildon-pannable-area.c:
6114 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6116 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6118 * examples/hildon-app-menu-example.c (main): Let the window
6121 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6123 * src/hildon-pannable-area.c
6124 (hildon_pannable_area_class_init): Set the min value of the
6125 overshoot properties to zero, which points out that not
6126 overshooting allowed.
6128 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6130 Modified the procedure to get the widget at a point inside the
6131 pannable area when using the movement type signals. Now the user
6132 has to call a function to get the child, that way we just
6133 calculate the child in case the user really want to use it and not
6136 * src/hildon-marshalers.list: Modified the marshallers, now we do
6137 not have the widget as a parameter.
6139 * src/hildon-pannable-area.c
6140 (hildon_pannable_area_motion_notify_cb),
6141 (hildon_pannable_area_class_init),
6142 (hildon_pannable_get_child_widget_at): Removed the widget
6143 parameter from the signal callback. We have also refactored the
6144 emission of the signals.
6146 * src/hildon-pannable-area.h: Added a new method to the API to
6147 calculate a widget at a point inside the pannable area,
6148 hildon_pannable_get_child_widget_at.
6150 * examples/hildon-pannable-area-example-4.c
6151 (horizontal_movement): Modified the example to use the new API,
6152 added condition to control which widget is under the event. This
6153 way we can avoid scrolling laterally over other widgets.
6155 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6157 * src/hildon-pannable-area.c
6158 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6159 modes, we stop getting the pointer events due to returning the
6160 callback without properly calling the get pointer again. Fixed
6161 also an error using the hscroll and vscroll.
6163 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6165 * src/hildon-app-menu-private.h
6166 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6167 (hildon_app_menu_button_release, hildon_app_menu_init)
6168 (hildon_app_menu_class_init): Don't hide the menu on button
6169 release if the user didn't press outside first.
6171 * src/hildon-window.h
6172 * src/hildon-window.c (hildon_window_toggle_menu)
6173 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6174 hildon_window_toggle_menu a virtual function for the stackable
6175 window to override it.
6177 * src/hildon-stackable-window.h
6178 * src/hildon-stackable-window-private.h
6179 * src/hildon-stackable-window.c
6180 (hildon_stackable_window_realize)
6181 (hildon_stackable_window_finalize)
6182 (hildon_stackable_window_class_init)
6183 (hildon_stackable_window_init)
6184 (hildon_stackable_window_set_main_menu): New function to set the
6185 app menu of a HildonStackableWindow.
6187 * examples/hildon-app-menu-example.c: Remove the button to show
6188 the app menu, now it'll be shown when clicking on the title bar
6191 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6193 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6194 set the widget name if the arrangement flags do not specify
6197 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6199 * src/hildon-button.c: (hildon_button_set_property),
6200 (hildon_button_class_init), (hildon_button_new_full),
6201 (hildon_button_set_arrangement): Added "arrangement-flags"
6204 Make the HildonButtonFlags a construction-only property, to allow
6205 subclasses to set them properly.
6207 2008-07-21 Tim Janik <timj@imendio.com>
6209 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6210 insertion position after backspace, so additional digits are appended,
6213 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6215 * src/hildon-pannable-area.c,
6216 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6217 TODO list, it was complete and removed the g_debug and g_print
6220 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6222 Added the movement modes to the hildon-pannable-area, with this
6223 modes the developers can control in which directions the widget
6224 can scroll. They can also connect to signals in order to do
6225 something when that happens, allowing applications scroll. There
6226 is an example uploaded showing how to use it.
6228 * examples/Makefile.am:
6229 * examples/hildon-pannable-area-example-4.c: Added this example of
6230 an application using the modes.
6232 * src/hildon-marshalers.list: Added a new marshaller for the new
6235 * src/hildon-pannable-area.h: Added new enumerations and flags in
6236 order to control the movement modes and the new signals to warn
6237 about the movements in the area.
6239 * src/hildon-pannable-area.c:
6240 (hildon_pannable_axis_scroll),
6241 (hildon_pannable_area_scroll),
6242 (hildon_pannable_area_motion_notify_cb),
6243 (hildon_pannable_area_get_property),
6244 (hildon_pannable_area_set_property),
6245 (hildon_pannable_area_map),
6246 (hildon_pannable_area_class_init),
6247 (hildon_pannable_area_init),
6248 (hildon_pannable_area_jump_to): Added the modes to control the
6249 movement in the widget. We have added properties to control it,
6250 signals to warn about the movements and refactored some code.
6252 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6254 Changes required in order to allow vfast_factor set to zero to
6257 * src/hildon-pannable-area.c:
6258 (hildon_pannable_area_button_press_cb): Changed the condition, it
6259 is required for not allowing click when vfast_factor is zero.
6260 (hildon_pannable_area_timeout): Initialized velocity variables
6261 when we stop moving, it was less than 1 but not zero and we need
6262 to check zero in some situations.
6263 (hildon_pannable_area_class_init): Changed the default value of
6264 the speed factor, now the button_press is just sent in case the
6265 speed is 2 per cent of the max speed.
6266 (hildon_pannable_area_init): Initialization with 0.
6268 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6270 * src/hildon-pannable-area.c,
6271 (hildon_pannable_area_get_topmost): replaced
6272 gdk_window_get_children with gdk_window_peek_children, this way we
6273 do not have to free the list because it is not a copy.
6275 (hildon_pannable_axis_scroll),
6276 (hildon_pannable_area_scroll),
6277 (hildon_pannable_area_timeout),
6278 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6279 two parameters that were only used inside the
6280 hildon_pannable_area_scroll function.
6282 * examples/hildon-pannable-area-example.c,
6283 (get_sawtooth_label): Fixed small memory leak.
6285 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6287 More checks for the case where the overshoot is bigger than the
6290 * src/hildon-pannable-area.c:
6291 (hildon_pannable_draw_vscroll),
6292 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6293 to draw the slider of the scrollbar under the other scrollbar.
6294 (hildon_pannable_area_expose_event): added new checks to control
6295 the drawing of the overshooting area rectangle, in case it is too
6296 big for the area of the widget.
6297 (hildon_pannable_area_size_allocate): add more checks to avoid
6298 setting a position to the child widget outside the area.
6300 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6302 * src/hildon-pannable-area.c
6303 (hildon_pannable_area_size_allocate): Added conditions to control
6304 when overshooting is bigger than the allocated space for the
6305 children, this avoids negative allocations.
6307 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6309 * doc/hildon-docs.sgml
6311 * examples/Makefile.am
6312 * examples/hildon-button-example.c
6314 * src/hildon-button.c
6315 * src/hildon-button.h
6316 * src/hildon.h: Initial version of the new HildonButton widget,
6319 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6321 * src/hildon-pannable-area.c:
6322 (hildon_pannable_area_button_press_cb),
6323 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6324 (hildon_pannable_area_motion_notify_cb),
6325 (hildon_pannable_area_button_release_cb),
6326 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6327 (hildon_pannable_area_jump_to_child):
6329 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6331 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6333 * examples/Makefile.am
6334 * examples/hildon-pannable-area-touch-grid-example.c
6335 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6336 the Hildon Touch List and Hildon Touch Grid using the
6337 HildonPannableArea widget.
6339 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6341 * src/hildon-pannable-area.c,
6342 (hildon_pannable_area_button_press_cb),
6343 (hildon_pannable_area_refresh),
6344 (hildon_pannable_area_scroll),
6345 (hildon_pannable_area_motion_notify_cb),
6346 (hildon_pannable_area_button_release_cb),
6347 (hildon_pannable_area_expose_event),
6348 (hildon_pannable_area_add),
6349 (hildon_pannable_area_remove),
6350 (hildon_pannable_area_realize),
6351 (hildon_pannable_area_size_allocate),
6352 (hildon_pannable_area_class_init),
6353 (hildon_pannable_area_init),
6354 (hildon_pannable_area_scroll_to_child),
6355 (hildon_pannable_area_jump_to_child): Fixed the problem of
6356 removing the child from the GtkBin, we have rearranged the widget
6357 hierarchy, now there is no GtkAlignment which was not doing
6358 anything interesting but breaking some of the assumptions of
6359 GtkContainer. Now developers if they want to add a GtkAlignment
6360 they could, but it is not inside the area.
6362 We had to review the whole allocation/expose process, now it is
6363 improved and we save at least three signals which would be saving
6364 some time when rendering the widget. The allocation of the
6365 scrollbars is now made in the allocate method as usual.
6367 We have also added some conditions in order to control when there
6368 is no child of the pannable area. Maybe we will need more work
6371 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6373 * src/hildon-pannable-area.c,
6374 (hildon_pannable_area_dispose): Released the fade-out timeout when
6375 disposing the widget.
6377 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6379 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6380 zero, we are going to use that property in order to deactivate the
6382 (hildon_pannable_axis_scroll),
6383 (hildon_pannable_area_size_allocate): Added conditions to control
6384 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6385 call, now it is called in all situations and we can remove calls
6386 in the allocate method.
6387 (hildon_pannable_area_map): Control the situation when
6388 overshoot_max is zero, we do not need the timeout.
6389 (hildon_pannable_area_class_init): Added documentation in order to
6390 point out that setting zero to overshoot_max means deactivate
6393 NOTE: removed trailing whitespaces from my previous comments of
6396 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6398 * src/hildon-pannable-area.c
6399 (hildon_pannable_area_get_property),
6400 (hildon_pannable_area_set_property),
6401 (hildon_pannable_area_map),
6402 (hildon_pannable_area_class_init),
6403 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6404 to cause the widget give a hint about its panning abilities upon
6407 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6409 * src/hildon-pannable-area.c: Several documentation improvements.
6411 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6413 * src/hildon-program.c
6414 * src/hildon-stackable-window.c: Update documentation.
6416 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6418 * src/hildon-stackable-window.c (get_previous_window_if_last):
6419 Renamed get_last_window()
6420 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6421 (hildon_stackable_window_unset_program):
6423 (get_previous_window_if_last):
6424 Detect if the window hasn't been added to a HildonProgram.
6426 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6428 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6430 * src/hildon-pannable-area.c
6431 (hildon_pannable_area_button_press_cb),
6432 (hildon_pannable_axis_scroll),
6433 (hildon_pannable_area_scroll),
6434 (hildon_pannable_area_timeout),
6435 (hildon_pannable_calculate_vel_factor),
6436 (hildon_pannable_area_get_property),
6437 (hildon_pannable_area_set_property),
6438 (hildon_pannable_area_class_init),
6439 (hildon_pannable_area_init),
6440 (hildon_pannable_area_scroll_to),
6441 (hildon_pannable_area_jump_to),
6442 (hildon_pannable_area_scroll_to_child),
6443 (hildon_pannable_area_jump_to_child):
6444 * src/hildon-pannable-area.h: Added the new API functions:
6445 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6446 hildon_pannable_area_scroll_to_child,
6447 hildon_pannable_area_jump_to_child
6450 * examples/Makefile.am
6451 * examples/hildon-pannable-area-example-2.c
6452 * examples/hildon-pannable-area-example-3.c: Added these two new
6453 examples in order to test and show how the new APIs work.
6455 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6457 * examples/hildon-stackable-window-example.c (new_window):
6458 * src/Makefile.am (noinst_HEADERS):
6459 * src/hildon-program.c (hildon_program_go_to_root_window):
6460 * src/hildon-program.h:
6461 * src/hildon-stackable-window-private.h:
6462 * src/hildon-stackable-window.c:
6463 * src/hildon-stackable-window.h:
6464 Create hildon-stackable-window-private.h
6465 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6467 * examples/hildon-app-menu-example.c (create_menu):
6468 * examples/hildon-hvolumebar-insensitive-example.c (main):
6469 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6470 * examples/hildon-toolbar-seekbar-example.c (main):
6471 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6472 * src/hildon-banner.c (hildon_banner_set_property):
6473 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6474 Fix compilation warnings
6476 * src/hildon-window.c:
6479 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6481 * src/hildon-stackable-window.c
6482 (hildon_stackable_window_unset_program):
6483 Calculate correctly whether to show the previous window if the
6484 last one is removed from the stack.
6485 (hildon_stackable_window_go_to_root_window):
6486 Send delete events starting from the topmost window.
6487 Stop if one of the windows is not destroyed.
6489 (hildon_stackable_window_delete_event)
6490 (hildon_stackable_window_class_init):
6491 Ignore the delete event if the window is not the topmost one.
6493 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6495 * src/hildon-pannable-area.c
6496 (hildon_pannable_area_expose_event): Fixed a problem when
6497 selecting the background color of the scrollbars.
6499 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6501 * examples/hildon-stackable-window-example.c
6502 * src/hildon-stackable-window.c
6503 * src/hildon-stackable-window.h
6504 hildon_stackable_window_go_home() renamed to
6505 hildon_stackable_window_go_to_root_window()
6506 Send delete events to windows rather than closing them with
6507 gtk_widget_destroy()
6509 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6511 * src/hildon-pannable-area.c
6512 (hildon_pannable_area_button_release_cb): Fix overshooting in
6515 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6517 * src/hildon-pannable-area.c
6518 (hildon_pannable_area_init): Initially show the scroll indicators.
6519 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6521 Add initial effect showing the widget is pannable.
6523 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6525 * src/hildon-pannable-area.c
6526 (hildon_pannable_area_class_init)
6527 (hildon_pannable_area_set_property)
6528 (hildon_pannable_area_get_property)
6529 (hildon_pannable_area_button_press_cb):
6530 New 'velocity_fast_factor' property to decide which velocity is
6533 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6535 * src/hildon-pannable-area.c
6536 (hildon_pannable_draw_hscroll)
6537 (hildon_pannable_draw_vscroll):
6538 Use float variables to calculate the size of the scrollbars to
6539 avoid error propagation and resizing during scrolling.
6541 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6543 * src/hildon-pannable-area.c
6544 (hildon_pannable_draw_vscroll)
6545 (hildon_pannable_draw_hscroll):
6546 Define a minimum size for the scroll bars
6548 * src/hildon-stackable-window.c
6549 (hildon_stackable_window_go_home): Fix compilation warning
6550 (get_last_window): Minor optimizations
6551 (hildon_stackable_window_class_init): Fix initialization of
6554 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6556 * src/hildon-stackable-window.c: Fixed typos in doc
6558 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6560 * src/hildon-pannable-area.c
6561 (hildon_pannable_area_scroll):
6562 Calculate here whether we need to scroll instead of using the booleans
6563 that tell us whether to /draw/ the scrolling bars.
6565 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6567 * src/hildon-app-menu.h
6569 * src/hildon-app-menu.c
6570 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6571 multiple filter groups related code and API. Now we support only
6573 * examples/hildon-app-menu-example.c:
6575 Update to reflect API changes.
6577 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6579 * src/hildon-stackable-window.c
6580 (hildon_stackable_window_class_init):
6581 Add hildon_stackable_window_realize.
6582 (hildon_stackable_window_realize):
6583 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6584 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6585 to apply theming and behavior specific to HildonStackableWindow
6588 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6590 * src/hildon-note.c (hildon_note_button_release):
6591 Close information notes also when tapping on them
6593 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6595 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6596 ELASTICITY, refactor and review, fix some issues with drawing
6599 * src/hildon-pannable-area.c:
6600 (hildon_pannable_area_button_press_cb): removed the conditions to
6601 avoid clicks when overshooting. It is not required
6603 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6604 define. Refatored and reviewed the code, now we do not need to
6605 manage velocity in motion_notify.
6607 (hildon_pannable_area_motion_notify_cb): We have moved the code
6608 that controls the area_scroll to the axis_scroll function and get
6609 rid of duplicated code.
6611 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6613 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6615 (hildon_pannable_draw_vscroll),
6616 (hildon_pannable_draw_hscroll): Fixed the problems with the
6617 scrollbar drawing, now we do not use two surfaces, it is easier
6618 and saves resources.
6620 (hildon_pannable_area_get_property): Style modification.
6622 (hildon_pannable_area_class_init): Changed some default values.
6624 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6626 * src/hildon-stackable-window.c: Fix some typos in the
6629 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6631 * src/hildon-dialog.c:
6632 Change indentation style
6635 (hildon_note_button_release):
6636 Use root coordinates to check if the release event happened
6639 * src/hildon-app-menu.c
6640 (hildon_app_menu_button_release):
6641 Remove unnecessary check
6643 * examples/hildon-app-menu-example.c
6645 Add cast to fix warning
6647 * src/hildon-app-menu.c
6648 (hildon_app_menu_class_init):
6649 New inner-border style property.
6650 Set all default spacings to 16
6651 (hildon_app_menu_init):
6652 Use vertical-spacing to set the space between filter buttons and
6653 regular menu buttons.
6654 Set the default container border using the inner-border value.
6656 * examples/hildon-app-menu-example.c
6658 Don't set the menu border explicitly, now we have the inner-border
6659 style property for that.
6661 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6663 * src/hildon-app-menu.c (hildon_app_menu_init):
6664 Make the window modal
6666 * src/hildon-note.c (hildon_note_map)
6667 * src/hildon-app-menu.c (hildon_app_menu_map):
6668 Destroy the grab window if we're unable to grab the pointer
6670 * src/hildon-app-menu-private.h
6671 * src/hildon-app-menu.c
6672 (hildon_app_menu_init, hildon_app_menu_finalize)
6673 (hildon_app_menu_map, hildon_app_menu_unmap)
6674 (hildon_app_menu_button_release)
6675 (grab_transfer_window_get):
6676 Bring back the grab window
6677 (hildon_app_menu_realize):
6678 Decorate the window, set WM hint for Matchbox
6680 * src/hildon-note.c (hildon_note_realize):
6681 * src/hildon-banner.c (hildon_banner_realize):
6682 Add WM hints for Matchbox
6684 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6686 * src/hildon-app-menu-private.h
6687 * src/hildon-app-menu.c
6688 (hildon_app_menu_init, hildon_app_menu_finalize)
6689 (hildon_app_menu_map, hildon_app_menu_unmap)
6690 (hildon_app_menu_button_release):
6691 Remove the grab window, it's not needed anymore
6693 * src/hildon-program.c
6694 Fixed typo in documentation
6696 * src/hildon-app-menu.h
6697 * src/hildon-app-menu.c
6698 * examples/hildon-app-menu-example.c
6699 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6701 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6704 Added new transfer_window and close_if_pressed_outside private
6706 (hildon_note_rebuild):
6707 Don't add a cancel button to the information note. It will be
6708 closed when tapping outside
6709 Remove the comment about the OK button in the documentation
6710 (hildon_note_realize):
6711 Set the notification type hint
6712 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6713 Grab/ungrab pointer and keyboard if the note has to be closed when
6715 (hildon_note_button_release):
6716 Close the note when tapping outside (if applicable)
6718 * src/hildon-app-menu.c
6719 Grab/ungrab pointer and keyboard on map/unmap
6720 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6721 Close the menu on button release, not button press
6723 * src/hildon-banner.c
6724 (hildon_banner_set_property)
6725 (hildon_banner_check_position):
6726 Make the banner use the full width of the screen
6727 (hildon_banner_show_information)
6728 (hildon_banner_show_information_with_markup):
6729 Don't display an icon by default
6731 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6733 Added fading scrollbars and adapted all the overshooting code to
6734 horizontal scrolling. We have also fixed bugs with overshooting
6735 and current fading implementation.
6737 * src/hildon-pannable-area.c
6738 (hildon_pannable_area_scroll_indicator_fade): Time out function
6739 used to change the transparency of the scrollbars.
6741 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6742 control and fixed a problem with fading, we now remove the fade
6743 timeout before adding a new one.
6745 (hildon_pannable_axis_scroll):
6746 (hildon_pannable_area_scroll):
6747 (hildon_pannable_area_timeout): Added this functions so we can use
6748 the scroll code both for vertical and horizontal.
6750 (hildon_pannable_area_motion_notify_cb):
6751 (hildon_pannable_area_button_release_cb): Added the horizontal
6752 scrolling control, fixed a problem with the overshooting timeout.
6754 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6755 painting of the scrolls.
6757 (hildon_pannable_draw_vscroll):
6758 (hildon_pannable_draw_hscroll):
6759 (hildon_pannable_area_expose_event):
6760 Draw both scrollbars and rectangles in the overshooting area.
6762 (hildon_pannable_area_get_property):
6763 (hildon_pannable_area_set_property):
6764 Modified the overshoot property to overshoot_max
6766 (hildon_pannable_area_map):
6767 Replaced the comments symbols.
6769 (hildon_pannable_area_size_allocate):
6770 (hildon_pannable_area_class_init):
6771 (hildon_pannable_area_init): Added horizontal scroll, fading
6772 effect properties, fixed a problem when overshooting in the bottom
6775 * examples/hildon-pannable-area-example.c:
6776 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6777 looks better in the example.
6779 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6781 * src/hildon-window.c
6782 * src/hildon-window.h
6783 (hildon_window_class_init)
6784 (hildon_window_unset_program)
6785 (hildon_window_unset_program_real):
6786 Make unset_program a virtual function
6788 * src/hildon-stackable-window.c
6789 * src/hildon-stackable-window.h
6790 Added hildon_stackable_window_go_home()
6792 * examples/Makefile.am
6793 * examples/hildon-stackable-window-example.c
6794 HildonStackableWindow example
6796 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6798 * hildon-pannable-area.c: Added the overshoot property and removed
6799 the OVERSHOOT define. Fixed an indent style error.
6800 (hildon_pannable_area_motion_notify_cb):
6801 (hildon_pannable_area_get_property):
6802 (hildon_pannable_area_set_property): Add overshoot property.
6804 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6807 (hildon_pannable_area_class_init): Installed the new property.
6809 * hildon-pannable-area-example.c: Added a sawtooth function, this
6810 way it is easier to check the movement in the pannable.
6811 (get_sawtooth_label): Added this function.
6812 (main): Now we get the labels from the new get_sawtooth_label
6815 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6817 * src/hildon-app-menu.h
6818 * src/hildon-app-menu.c
6819 Renamed API variables for consistency
6821 (hildon_app_menu_popup): Use also the default window size to
6822 decide where to place the menu
6824 (hildon_app_menu_init, hildon_app_menu_class_init): New
6825 external-border style property
6827 2008-05-26 Michael Natterer <mitch@imendio.com>
6829 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6830 widget_class->tap_and_hold_setup signal slot doesn't exist any
6831 longer, stop overriding it.
6833 (hildon_time_editor_init): g_signal_connect() to the
6834 tap-and-hold-setup signal instead.
6836 (hildon_time_editor_entry_keypress): add cast to fix warning.
6838 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6840 * doc/hildon-docs.sgml
6842 * examples/Makefile.am
6843 * examples/hildon-app-menu-example.c
6845 * src/hildon-app-menu-private.h
6846 * src/hildon-app-menu.c
6847 * src/hildon-app-menu.h
6849 New HildonAppMenu widget
6851 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6853 Rearranged the inheritance of the pannable area, now it inherits
6854 from GtkBin. This will allow us to control the event_window and
6855 the allocation process of the widget, required for some effects.
6857 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6858 GtkBin structures. * src/hildon-pannable-area.c: Added the
6859 event_window variable.
6860 (hildon_pannable_area_button_press_cb):
6861 (hildon_pannable_area_button_release_cb):
6862 (hildon_pannable_area_motion_notify_cb):
6863 Changed the signature of the method, now we override the event
6864 callback instead of connecting to the signal.
6866 (hildon_pannable_area_realize):
6867 (hildon_pannable_area_unrealize):
6868 (hildon_pannable_area_map):
6869 (hildon_pannable_area_unmap):
6870 (hildon_pannable_area_size_allocate):
6871 Added functions to control the widget construction. We add a
6872 INPUT_ONLY window and we put it over the widgets inside the
6873 container, this event_window handles the events.
6875 (hildon_pannable_area_class_init):
6876 Replaced the signal connections with overrides of the event
6879 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6881 Bouncing effect added when touching the borders, you can change
6882 the elasticity of the border changing the ELASTICITY define.
6884 * src/hildon-pannable-area.c: Added ELASTICITY define.
6885 (hildon_pannable_area_timeout): Added inverse velocity when
6886 touching the border of the child widget, that causes a bounce.
6888 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6890 Improved performance, we now do not go to the X server in order to
6891 get the list of window children. Apparently the effect is the
6892 same, we have to be careful and check if this breaks something in
6895 * src/hildon-pannable-area.c:
6896 (get_ordered_children): Removed this function.
6897 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6898 the children windows function with gdk_window_get_children.
6900 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6902 * src/hildon-pannable-area.c:
6903 (hildon_pannable_area_dispose): Fixed a crash when closing the
6904 window and kinetics is activated.
6906 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6908 * src/hildon-pannable-area.h
6909 * src/hildon-pannable-area.c
6910 Changed indentation style to meet the one used in Hildon
6912 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6914 Reviewed the interaction of the AUTO mode, now we use the time
6915 attribute of the events and calculate the velocity in the motion,
6916 doing a gimp like calculation. The velocity is calculated in each
6917 motion event using the last velocity and the current one, the
6918 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6920 * src/hildon-pannable-area.c: Replaced the time based algorithm
6922 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6923 timeout for the AUTO mode when we are still moving the cursor. We
6924 added also the velocity calculation in this function.
6925 (hildon_pannable_area_button_release_cb): launch the timeout in
6926 case we are in AUTO mode. There are still some constants here that
6927 come from the old implementation that should be reviewed and
6930 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6932 * doc/hildon-docs.sgml
6935 * src/hildon-stackable-window.c
6936 * src/hildon-stackable-window.h
6938 New HildonStackableWindow widget
6940 * examples/hildon-dialog-example.c
6941 * examples/hildon-pannable-area-example.c
6944 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6946 * src/hildon-dialog.c
6947 (hildon_dialog_new_with_buttons): New constructor.
6949 * examples/hildon-dialog-example.c
6950 (main): Update the example to use the new
6951 hildon_dialog_new_with_buttons().
6953 * examples/hildon-pannable-area-example.c
6954 (main): Update example.
6956 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6958 * doc/hildon-docs.sgml
6960 Added HildonPannableArea to the documentation.
6962 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6964 * doc/visual_index.xml
6965 Fix reference to HildonLoginDialog in documentation
6967 * doc/hildon-docs.sgml
6969 * examples/Makefile.am
6970 * examples/hildon-dialog-example.c
6972 * src/hildon-dialog.c
6973 * src/hildon-dialog.h
6975 New HildonDialog widget.
6977 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6979 * src/hildon-pannable-area.c
6980 Merge latest changes (r4318, r4342) from libmokoui trunk
6982 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6984 * examples/Makefile.am
6985 * examples/hildon-pannable-area-example.c
6987 * src/hildon-pannable-area.c
6988 * src/hildon-pannable-area.h
6990 New HildonPannableArea widget.
6992 2008-04-15 18:05:19 <timj@imendio.com>
6994 * src/hildon-banner.c: revert the recent change, that introduced
6995 gtk_window_present() calls. this reopens:
6996 Bug 78481 - [freetest] information banners are hidden under browser menu
6997 But resolves another variant of:
6998 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7000 2008-04-15 13:21:13 <timj@imendio.com>
7002 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7003 recreated its layout, spotted by Kris. this fixes all remaining
7004 artefacts and stability issues with the banner code. in particular:
7005 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7007 2008-04-14 16:52:59 <timj@imendio.com>
7009 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7010 operating on unrealized widgets, fixes:
7011 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7013 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7015 2008-04-09 Kristian Rietveld <kris@imendio.com>
7017 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7018 makes banner disappear.
7019 Fixes: NB#79182: info banner flickering with certain message lengts.
7021 * src/hildon-banner.c (hildon_banner_constructor),
7022 (hildon_banner_init), (hildon_banner_set_text),
7023 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7024 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7025 FALSE, reset size requests of label and banner,
7026 (force_to_wrap_truncated): when the text is too wide, always enforce
7027 the maximum possible width instead of recalculating it from the
7028 layout; enforce the maximum banner height of 3 lines,
7029 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7030 nicer wrapping and no truncated chars if space gets tight.
7032 * src/hildon-banner-private.h: add has_been_wrapped and
7033 has_been_truncated fields.
7035 2008-04-07 Sven Herzberg <sven@imendio.com>
7037 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7038 local values in hildon_date_editor_size_allocate
7040 * src/hildon-date-editor.c: moved the real allocation code into the
7043 2008-04-07 Sven Herzberg <sven@imendio.com>
7045 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7046 local values in hildon_date_editor_size_allocate
7048 * src/hildon-date-editor.c: merged the two if() branches together
7050 2008-04-07 Sven Herzberg <sven@imendio.com>
7052 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7053 local values in hildon_date_editor_size_allocate
7055 * src/hildon-date-editor.c: changed the arguments of the if()
7058 2008-04-07 Sven Herzberg <sven@imendio.com>
7060 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7061 local values in hildon_date_editor_size_allocate
7063 * src/hildon-date-editor.c: split the calculation of the allocation
7064 from the real allocation
7066 2008-03-27 Michael Natterer <mitch@imendio.com>
7068 Fixes: NB#81696: The passcode is not overwritten even after
7071 * src/hildon-code-dialog.c
7072 (hildon_code_dialog_button_clicked)
7073 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7074 because that doesn't overwrite selected text. Instead, emit the
7075 "commit" signal on the entry's im_context so the entry's normal
7076 insert logic is triggered. Set the cursor to the end of the entry
7077 after each insert operation so that we *only* insert in the middle
7078 of the text if something was selected.
7080 2008-03-27 Michael Natterer <mitch@imendio.com>
7082 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7083 selector cannot be opened
7085 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7086 when the popup color selector is created. Please connect to this
7087 signal in order to set the dialog's help ID.
7089 2008-03-25 Sven Herzberg <sven@imendio.com>
7091 Fixes: MB#1212: Hide info banners (infoprints) on click
7093 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7094 extracted the close event simulation into an extra function
7095 (hildon_banner_button_press_event): simulate a close event and destroy
7096 the widget if the event wasn't handled
7097 (hildon_banner_class_init): added the button_press_event handler
7098 (hildon_banner_init): added button-press events to the widget
7100 2008-03-25 Sven Herzberg <sven@imendio.com>
7102 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7103 Patch from: Mohammad Anwari <mdamt@maemo.org>
7105 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7106 instead of the right in RTL mode
7107 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7108 breadcrumb button list in RTL mode
7109 * src/hildon-caption.c: mirror the appearance of the caption widget in
7111 * src/hildon-date-editor.c: mirror appearance of the date editor in
7113 * src/hildon-time-editor.c: mirror appearance of the time editor in
7115 * src/hildon-window.c: fix the position of the popup in RTL mode
7117 2008-03-25 Sven Herzberg <sven@imendio.com>
7119 Amendment to the fix of NB#22072. Fix compilation.
7121 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7123 2008-03-19 Sven Herzberg <sven@imendio.com>
7125 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7128 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7129 timeout id properly when the timeout will disappear this leaves no
7130 artifacts around in the destroy(); there will only be the timeout
7131 created by hildon_banner_ensure_timeout() and adding a new timeout
7132 will also work if the timeout gets removed because the timeout_handler
7135 2008-03-19 Michael Natterer <mitch@imendio.com>
7137 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7139 * src/hildon-volumebar.c
7140 * src/hildon-vvolumebar.c
7141 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7142 the widget becomes focussable at all.
7144 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7145 set the focus to wither the mute button or the volumebar.
7147 Remove own "can-focus" property and instead listen to
7148 notify::can-focus in order to update the widget's state.
7150 Implement GtkWidget::focus() and make sure we can also *leave* the
7151 widget, not only enter it, depending on volumebar orientation and
7152 requested focus direction.
7154 Clean up set_mute() to cooperate nicely with all the above.
7156 2008-03-04 Michael Natterer <mitch@imendio.com>
7158 Fixes: NB#78481: information banners are hidden under browser menu
7160 * src/hildon-banner.c: call gtk_window_present() on the banners so
7161 they are risen if they are already visible.
7163 2008-03-03 Sven Herzberg <sven@imendio.com>
7165 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7167 * examples/hildon-window-menu-example.c: (main): extended the window
7168 menu example to serve as a testcase for automatically added
7169 accelerator groups, too
7170 * src/hildon-window.c: (hildon_window_add_accel_group),
7171 (hildon_window_set_menu): added patch by Tommi Komulainen
7173 2008-03-03 Sven Herzberg <sven@imendio.com>
7175 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7177 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7178 knowledge about the border allocators used within GTK+
7180 2008-02-26 Sven Herzberg <sven@imendio.com>
7182 Fixes: MB#2981: Build with asserts broken
7184 * src/hildon-date-editor.c,
7185 * src/hildon-number-editor.c,
7186 * src/hildon-time-editor.c,
7187 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7188 the proper GType instance check
7190 2008-02-25 Sven Herzberg <sven@imendio.com>
7192 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7194 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7195 * examples/hildon-window-menu-example.c: (main): explicitly show
7197 * src/hildon-window.c:
7198 (hildon_window_set_main_menu): moved most of the code from set_menu()
7199 to this place; skipped the call to gtk_widget_show_all(); also didn't
7200 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7201 (hildon_window_set_menu): removed most of the code, just keep the
7202 questionable gtk_widget_show_all()
7203 * src/hildon-window.h: added the new function and deprecate the old
7206 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7212 * debian/changelog: Updating.
7214 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7217 * pkgconfig/Makefile.am:
7218 * pkgconfig/hildon.pc.in:
7221 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7222 use newly created API_MAJOR_VERSION.
7224 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7230 * debian/changelog: Updating.
7232 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7234 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7236 Add outer_border style property, we use it but don't define it (!).
7240 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7242 * examples/hildon-bread-crumb-trail-example.c (main):
7246 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7248 Fix logic for the bread crumb trail node removal.
7252 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7258 * debian/changelog: Updating.
7260 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7262 Patch by Alejandro to get/set passwords dialogs accesibility.
7264 * hildon-1/src/hildon-get-password-dialog.c:
7265 * hildon-1/src/hildon-set-password-dialog.c:
7266 Set atk_set_name to the passwd entries in order to allow
7267 accessibility by name on this entries.
7269 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7274 * debian/control: Updating gtk dep.
7276 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7278 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7279 USE_MAEMO_GTK is enabled.
7281 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7283 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7284 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7286 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7292 * debian/changelog: Updating.
7294 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7296 * examples/Makefile.am:
7297 * examples/hildon-logical-color-example.c:
7298 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7299 applied + adding a test case. Fixes: NB#71660.
7301 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7303 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7304 to be visible, fixes warning on map for windows without toolbars.
7306 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7308 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7309 2.11.0, add a check for that besides the MAEMO_GTK check.
7311 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7317 * debian/changelog: Updating.
7319 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7321 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7322 visibility. Fixes: NB#70842 and MB#615.
7324 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7326 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7327 set the separator as no-show-all so it doesn't unintentionally appear when
7328 someone does a show_all.
7330 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7332 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7333 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7334 toplevel item. Fixes: NB#62031
7336 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7338 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7339 fix the name of the function in the docs.
7341 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7347 * debian/changelog: Updating.
7349 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7351 * examples/hildon-banner-long-example.c: Adding a test-case for long
7354 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7356 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7358 * src/hildon-color-chooser-dialog.c:
7359 * src/hildon-color-chooser.c:
7360 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7361 memory leaks in font selector and color selector. Fixes: NB#70499 and
7364 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7366 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7368 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7370 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7371 little bit bigger. Fixes: #NB63694.
7373 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7379 * debian/changelog: Updating.
7381 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7384 * doc/hildon-docs.sgml:
7385 * doc/images/bread-crumb-trail.png:
7386 * doc/images/calendar-popup.png:
7387 * doc/images/caption.png:
7388 * doc/images/code-dialog.png:
7389 * doc/images/color-button.png:
7390 * doc/images/color-chooser-dialog.png:
7391 * doc/images/color-chooser.png:
7392 * doc/images/controlbar.png:
7393 * doc/images/date-editor.png:
7394 * doc/images/font-selection-dialog.png:
7395 * doc/images/get-password-dialog.png:
7396 * doc/images/hvolumebar.png:
7397 * doc/images/login-dialog.png:
7398 * doc/images/note.png:
7399 * doc/images/number-editor.png:
7400 * doc/images/range-editor.png:
7401 * doc/images/seekbar.png:
7402 * doc/images/set-password-dialog.png:
7403 * doc/images/sort-dialog.png:
7404 * doc/images/time-editor.png:
7405 * doc/images/time-picker.png:
7406 * doc/images/vvolumebar.png:
7407 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7408 Adding the bread-crumb-trial and helpers to the documentation.
7410 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7412 * examples/hildon-find-toolbar-example.c:
7413 * src/hildon-find-toolbar.c:
7414 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7415 actually continue firing the other handlers if connected. Adding a new
7417 hildon_find_toolbar_get_last_index that gets the index of the most
7418 recently added (last) item. Fixes: NB#52301.
7420 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7422 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7423 behaviour. Fixes: NB#68610.
7425 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7427 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7430 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7432 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7433 when realizing the banner. Should make the infonbanner effect a bit more
7436 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7438 * src/hildon-volumebar.c:
7439 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7440 hildon_volumebar_set_range_insensitive_message and
7441 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7443 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7445 * src/hildon-window.c: Fixing the border freeing on destroy.
7447 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7449 * src/hildon-code-dialog-private.h:
7450 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7451 kw keyboard support in HildonCodeDialog.
7453 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7459 * debian/changelog: Updating.
7461 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7463 * src/hildon-date-editor.c:
7464 * src/hildon-number-editor.c:
7465 * src/hildon-private.c:
7466 * src/hildon-private.h:
7467 * src/hildon-time-editor.c:
7468 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7469 handling in subclassed composite widgets. Fixes: NB#66628.
7471 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7473 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7474 from destroy_ callback as it introduces problems in async dbus signal
7475 handlers. Fixes NB#66673.
7477 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7479 * examples/hildon-hvolumebar-example.c:
7480 * src/hildon-volumebar.c: Improving the focus handling in the
7481 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7482 set_property accessor so that "mute" property can be actually set. I'm
7483 scared that nobody noticed it's totally broken.
7485 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7487 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7490 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7492 * src/hildon-calendar.c:
7493 * src/hildon-number-editor.c:
7494 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7495 matches the spec of 6 chars per second. Fixes: NB#60489.
7497 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7499 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7500 gtk_style_lookup_color sometime returns FALSE even though color was
7501 found and values were filled properly. Weird. Removing the warning for the
7504 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7506 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7507 expand vertically. Adding some extra space to the find toolbar buttons to
7508 make them thumbable. Fixes NB#66060.
7510 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7512 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7513 popup with "Ok" and "Cancel". Fixes NB#59299.
7515 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7517 * src/hildon-calendar.c: Process all window updates before executing next
7518 timeout. Fixes: NB#54146.
7520 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7526 * debian/changelog: Updating.
7528 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7530 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7531 the client event and ignore it, since we use the delete event to close
7534 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7536 * src/hildon-helper.c: Remove the bogus warning about color not being
7537 found. Fixes NB#58352.
7539 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7541 * examples/Makefile.am:
7542 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7543 HildonSeekbar widget inside a toolbar.
7545 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7547 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7548 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7549 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7550 don't want to be closed by non-temporary windows on map.
7552 Also use G_DEFINE_TYPE instead of manually typed code.
7554 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7561 * debian/rules: Updating.
7563 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7565 * examples/Makefile.am:
7566 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7567 bug NB#61128. Strangely it works.
7569 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7571 * src/hildon-date-editor.c: When the date editor entry has been changed
7572 but the numbers of characters < max, turn off the skip validation flag.
7573 Prevents a situation when we enter first a valid year and later re-write
7574 it with an invalid one. Fixes NB#60154.
7576 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7578 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7579 code dialog. Fixes NB#64355.
7581 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7583 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7584 switching the page. Fixes NB#49374.
7586 * examples/Makefile.am:
7587 * examples/hildon-wizard-dialog-example.c: Adding an example for
7588 HildonWizardDialog that shows how to handle manual sensitivity setting on
7591 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7595 * src/hildon-version.h.in:
7596 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7598 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7600 * src/hildon-volumebar.c: Updating the docs.
7602 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7608 * debian/changelog: Updating.
7610 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7612 * src/hildon-find-toolbar.c:
7613 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7614 selected item: hildon_find_toolbar_set_active,
7615 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7616 hildon_find_toolbar_get_active_iter . They correspond to respective
7617 GtkComboBox functions.
7619 * examples/Makefile.am:
7620 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7623 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7625 * examples/Makefile.am:
7626 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7629 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7630 when font size > 32 and we pack a focusable widget inside. Actually using
7631 the default response would work too, but since we don't show default
7632 response state in any way (no theming) it would not be visible to the
7633 user. Fixes NB#63430.
7635 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7637 * src/hildon-date-editor.c: Adding the missing variable setter in the
7638 set_property handler. Fixes NB#54182.
7640 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7642 * src/hildon-window.h: Changing the long key press time from 1500ms to
7643 800ms as requested in NB#63700. I have a bad feeling about this, let's
7644 see... Fixes NB#63700.
7646 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7648 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7649 hildon_time_picker_map, hildon_time_picker_realize,
7650 hildon_time_picker_style_set): Split the contents of map to more
7651 appropriate functions; set window decorations on realize and update
7652 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7654 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7659 * debian/changelog: Updating.
7661 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7663 * src/Makefile.am: fixed installation of the header files
7665 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7671 * debian/changelog: Updating.
7673 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7675 * configure.ac: Removing some remaining of --enable-xan.
7677 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7679 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7680 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7682 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7683 2.10.12-osso6 because the move-focus signal needs to be available in
7686 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7688 * examples/Makefile.am:
7689 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7690 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7691 fine. Prolly NB#61128 is fixed now.
7693 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7695 * src/hildon-volumebar.c:
7696 * src/hildon-volumebar.h: Adding the
7697 hildon_volumebar_set_range_insensitive_message and
7698 hildon_volumebar_set_range_insensitive_messagef functions to set
7699 insensitive message on the slider of the volumebar. Fixes NB#61129.
7701 * examples/Makefile.am:
7702 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7703 test the new insensitive messsage functionality on HildonVolumebar.
7705 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7707 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7710 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7712 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7713 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7714 button on after clearing the trail.
7716 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7718 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7720 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7722 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7723 by splitting the installed headers in generated and non-generated groups. Use
7724 only the non-generated headers to create the hildon-enum-types.h file.
7726 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7728 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7730 * src/hildon-window.c: Hide the window before performing the destroy.
7731 Should make the app closing a little tiny bit more snappy.
7733 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7735 * src/hildon-seekbar.c: add gtkrange.h header
7736 * src/hildon-caption.c: remove unused variable
7738 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7740 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7743 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7749 * debian/changelog: Updating.
7751 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7753 * src/hildon-window.c (hildon_window_window_state_event,
7754 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7755 escape timeout on focus-out-event rather than notify::is-topmost; the
7756 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7758 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7760 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7761 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7763 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7765 * src/hildon-window: actually, you need to use the macro always, there's
7766 no private pointer in the instance structure. We should have cleaned this up
7767 when we had the chance...
7769 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7771 * src/hildon-window.c: do not get the private date from HildonWindow before
7772 it passes the g_return_if_fail check. Once it's passed the test, there's no
7773 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7774 if you are only going to access the data once. Whitespace cleanups.
7776 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7778 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7779 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7781 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7787 * debian/changelog: Updating.
7789 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7791 * src/hildon-window.c: When destroying the window, remove (if exists) the
7792 escape timeout handler. Fixes #NB59276.
7794 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7796 * src/hildon-banner.c: When realizing the widget, set the window
7797 transiency. Setting the transiency in the gobject constructor is not
7798 good, as the widget is not realized at that point. Fixes: #NB56624.
7800 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7802 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7803 Add padding for future expansions.
7805 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7807 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7808 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7809 will fake an activation on the previous to the last item of the trail, so
7810 the effect can be overrided by the developer as usual.
7811 Also change the callback for the back button to do the same thing, so its
7812 effect can be overrided too. Fixes: NB#58982
7814 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7816 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7817 HildonCaption. Fixes NB#52379.
7819 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7821 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7822 the internal state of the trail after the user has had the chance of executing
7823 his handler for the signal. Specifically, it may happen that the activated button
7824 is removed and the user still lets the default handler run. This would segfault
7827 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7829 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7830 scrollbar to the preview dialog. Fixes NB#54147.
7832 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7834 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7835 max/min year properties can be altered, so the client can modify it
7836 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7838 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7840 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7841 hildonlike by default. Fixing a problem with disappearing arrows when
7842 scrolling through months and years. Fixes NB#54127.
7844 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7846 * examples/hildon-date-editor-example.c: Adding error callback to the date
7849 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7855 * configure.ac: Updating.
7857 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7859 * configure.ac: Adding a special '--enable-xan' configure option that
7860 turns off the -Werror compilation setting. Usefull for development.
7862 * src/hildon-calendar.c:
7863 * src/hildon-number-editor.c:
7864 * src/hildon-time-picker.c: Adding the 5* multiplier to
7867 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7869 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7870 instead of g_object_ref + gtk_object_sink.
7872 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7878 * debian/changelog: Updating.
7880 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7882 * src/hildon-color-chooser-dialog.c:
7883 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7884 straight from Tommi labs.
7886 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7888 * examples/hildon-finger-example.c: Correcting the header file path.
7890 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7891 the changed signal. Fixes a small memory leak.
7893 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7897 * src/hildon-banner.c: Importing several usefull fixes from the
7898 ubuntu-mobile branch.
7900 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7902 * examples/Makefile.am:
7903 * examples/hildon-finger-example.c: Adding a finger-checking code
7906 * src/hildon-font-selection-dialog.c: Do not allocate the color
7907 structure using the g_new. Fixes NB#54061.
7909 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7911 * src/hildon-helper.c: Correcting tabs in file.
7913 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7915 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7916 control the visibility of the children.
7918 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7920 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7926 * debian/changelog: Updating.
7928 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7930 * src/hildon-bread-crumb-trail.c:
7931 (hildon_bread_crumb_trail_size_allocate):
7933 Make the back button always a square.
7935 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7937 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7938 from the .c file as it's a private file.
7940 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7942 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7943 uses slightly bigger height.
7945 * src/hildon-font-selection-dialog.c: Adding some checks before
7946 freeing memory in the font selection dialog.
7948 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7950 * src/hildon-font-selection-dialog.c: Adding a small check when
7953 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7954 buttons sensitivity on page switching.
7956 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7958 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7959 internal details of adding a bread crumb to the trail.
7961 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7967 * debian/changelog: Updating.
7969 * src/hildon-bread-crumb-trail.h:
7970 * src/hildon-bread-crumb.h: Changing the API guard to
7971 HILDON_ENABLE_UNSTABLE_API.
7973 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7981 * src/hildon-helper.h: Updating.
7983 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7991 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7995 * src/hildon-helper.h: Small fix to make the package actually compile.
7997 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7999 * src/hildon-bread-crumb-trail.h:
8000 * src/hildon-bread-crumb.h:
8002 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8003 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8005 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8007 * examples/hildon-bread-crumb-trail-example.c:
8009 * src/hildon-bread-crumb-trail.c:
8010 * src/hildon-bread-crumb-trail.h:
8011 * src/hildon-bread-crumb.c:
8012 * src/hildon-bread-crumb.h:
8013 * src/hildon-marshalers.list:
8014 * src/hildon-bread-crumb-widget.c:
8015 * src/hildon-bread-crumb-widget.h:
8017 Slight change in the widget design. The bread crumb trail API is
8018 unchanged, but HildonBreadCrumb is now an interface. A *private*
8019 implementation, hildon-bread-crumb-widget, is provided and used
8020 internally by the trail for the push_text/push_icon functions.
8022 The generic push API is still available, so anyone can implement
8023 and use its own bread crumb widget.
8025 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8027 * debian/rules: Fixing the shlibs.
8029 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8031 * src/hildon-banner.c: Fixing a problem with timed banners having
8032 their parrent destroyed before they are.
8034 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8036 * src/hildon-bread-crumb.c:
8037 * src/hildon-bread-crumb.h:
8039 Make the get_natural_size function a vfunc.
8041 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8043 * src/hildon-bread-crumb.c:
8044 * src/hildon-bread-crumb-trail.c:
8048 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8055 * debian/changelog: Updating for release.
8057 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8059 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8060 don't leak the pango layout.
8062 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8065 * examples/hildon-bread-crumb-trail-example.c:
8069 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8071 * debian/changelog: Removing the bug-fixed entries that were actually
8072 resolved as WONTFIX.
8074 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8077 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8079 * src/hildon-bread-crumb-trail.c:
8080 * src/hildon-bread-crumb-trail.h:
8081 * src/hildon-bread-crumb.c:
8082 * src/hildon-bread-crumb.h:
8086 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8088 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8089 until it's passed the type check.
8091 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8093 * examples/hildon-bread-crumb-trail-example.c
8097 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8099 * examples/Makefile.am
8100 * examples/hildon-bread-crumb-trail-example.c
8102 * src/hildon-bread-crumb-trail.c
8103 * src/hildon-bread-crumb-trail.h
8104 * src/hildon-bread-crumb.c
8105 * src/hildon-bread-crumb.h
8107 New HildonBreadCrumbTrail widget.
8109 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8111 * src/hildon-range-editor.c (hildon_range_editor_init),
8112 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8113 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8114 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8115 hildon_time_editor_class_init, hildon_time_editor_init),
8116 src/hildon-get-password-dialog.c (invalid_input,
8117 hildon_get_password_set_property, hildon_get_password_get_property,
8118 create_contents, hildon_get_password_dialog_set_max_characters),
8119 src/hildon-set-password-dialog.c (create_contents),
8120 src/hildon-date-editor.c (hildon_date_editor_init),
8121 src/hildon-login-dialog.c (hildon_login_dialog_init),
8122 src/hildon-number-editor.c (hildon_number_editor_init),
8123 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8124 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8125 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8126 configure option and adding the respective checks in the code.
8127 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8128 hildon_calendar_drag_data_received): fixed some build warnings.
8130 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8132 * debian/changelog: A 1.0.0 release notes.