1 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-pannable-area.c
4 (hildon_pannable_calculate_vel_factor): Correct the sum of the
7 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
9 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
10 Reduce the default value for 'scroll_time' to 1 second, since the
11 current initial scrolling takes too much time.
13 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
15 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
16 calculate velocity factor during initialization, since the properties
19 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
21 * hildon/hildon-pannable-area.c
22 (hildon_pannable_area_set_property): Calculate the velocity factor
23 after setting the deceleration property and not after.
25 2009-05-20 Alberto Garcia <agarcia@igalia.com>
27 * hildon/hildon-entry.c
28 (hildon_entry_class_init, +set_property, hildon_entry_new)
29 * hildon/hildon-check-button.c
30 (hildon_check_button_class_init)
31 (+set_property, hildon_check_button_new):
32 Make the theme size a property.
34 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
35 others) do too much in the _new function)
37 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
39 * configure.ac: post release version bump
40 * debian/changelog: post release version bump
42 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
47 * configure.ac: Bump version.
48 * debian/changelog: Updates.
50 2009-05-15 Alberto Garcia <agarcia@igalia.com>
53 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
54 New API function to take a screenshot of a window
56 Fixes: NB#106374 (Need API to take a loading screenshot)
58 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
60 * hildon/hildon-time-selector.c
61 (update_format_policy): prevent to use hours and minutes unitialized
63 2009-05-15 Alberto Garcia <agarcia@igalia.com>
65 * hildon/hildon-window.c (hildon_window_size_request):
66 Always request the full size of the screen (minus the title bar if
67 not in fullscreen mode).
69 Fixes: NB#107486 (HildonWindow should size itself properly)
71 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
73 * hildon/hildon-note-private.h: Add idle_handler to the private data.
74 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
75 (on_show_cb), (sound_handling): Disconnect the idle handler for
76 the sound when the note is finalized to avoid possible crashes.
78 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
81 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
83 * src/hildon-animation-actor.c,
84 * src/hildon-remote-texture.c:
85 Added proper object cleanup to remove signal handler and object
86 references as HildonAnimationActor and HildonRemoteTexture
87 objects get destroyed.
89 Fixes: NB#116682 (Destroying parented animation actors when
90 parent in unmapped leads to crash)
92 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
94 Based on a patch by Christian Dywan (christian@imendio.com)
96 * doc/hildon-sections.txt:
97 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
98 * hildon/hildon-helper.h: New file size formatting method.
100 * debian/control: Depend on osso-filemanager l10n package for
101 proper localization strings.
103 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
105 * tests/Makefile.am: Include top_srcdir to make possible to build
106 tests in a different builddir.
107 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
108 on a different builddir.
110 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
112 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
113 (hildon_touch_selector_remove): Disconnect model's signal handler
116 Fixes: NB#116289 (Hildon home crashes while adding task
119 2009-05-11 Alberto Garcia <agarcia@igalia.com>
121 * hildon/hildon-button.c
122 (hildon_button_set_title, hildon_button_set_value):
123 Hide labels containing an empty string.
125 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
127 * configure.ac: post release version bump
128 * debian/changelog: post release version bump
130 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
135 * configure.ac: Bump version.
136 * debian/changelog: Updates.
138 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
140 * hildon/hildon-note-private.h: Removed sound_signal_handler
141 * hildon/hildon-note.c
142 (on_show_cb): new callback on note "show" event, this simply adds
143 a idle, with the function sound_handling
144 (sound_handling): removed the sound_signal_handler management
145 (hildon_note_init): connect note "show" event to on_show_cb
146 (hildon_note_realize): remove the connection to "expose-event"
148 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
149 device?' confirmation note)
151 2009-05-08 Alberto Garcia <agarcia@igalia.com>
153 * hildon/hildon-note.c
154 (hildon_note_new_information_with_icon_name)
155 (hildon_note_new_confirmation_with_icon_name):
156 Terminate the list of parameters in g_object_set() calls
158 Fixes: NB#115166 (Formatting memory card is not taking place)
160 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
162 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
163 "dialog-information" role for the sound being played.
165 2009-05-06 Alberto Garcia <agarcia@igalia.com>
167 * hildon/hildon-app-menu.c (hildon_app_menu_init):
168 Don't make the menu a modal window, it causes strange interactions
169 with the pointer grab and it's not really needed.
171 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
173 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
175 * hildon/hildon-touch-selector.[ch]
176 (hildon_touch_selector_optimal_size_request): function added to get a
177 optimal size request from the touch selector, when you want a dialog to
178 show as much of the selector
179 * hildon/hildon-picker-dialog.c:
180 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
181 (hildon_app_menu_class_init):
182 New "max-height-landscape" and "max-height-portrait" style properties
183 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
184 (hildon_picker_dialog_get_max_height): returns the maximum height using
185 the style properties defined and checking the current portrait/landscape
187 (_hildon_picker_dialog_set_selector): removed the set_size_request
189 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
191 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
193 * hildon/hildon-bread-crumb-trail.c:
194 * hildon/hildon-bread-crumb.c:
195 * hildon/hildon-seekbar.c:
196 Add reference to replacements for these deprecated widgets.
198 Fixes: MB#4461 (Documentation: All deprecations should mention
201 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
203 * examples/hildon-remote-texture-example.c
205 Change the include to the hildon-remote-texture in order to compile
206 properly the examples on the installed libhildon1-examples package
208 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
210 * tests/Makefile.am: Add check for HildonPickerButton.
211 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
212 (START_TEST), (create_hildon_picker_button_suite): Add three simple
213 checks for the HildonPickerButton.
214 * tests/check_test.c (configure_tests): Add the test suite.
215 * tests/test_suites.h: likewise.
217 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
219 * hildon/hildon-touch-selector.c
220 (+on_row_changed): Emit HildonTouchSelector:changed when the
221 contents of a selected row change.
222 (_create_new_column), (_hildon_touch_selector_set_model): connect
223 to GtkTreeModel:row-changed on a newly set model.
225 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
227 2009-05-05 Alberto Garcia <agarcia@igalia.com>
229 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
231 * hildon/hildon-banner.c (hildon_banner_destroy)
232 (hildon_banner_show_progress, hildon_banner_set_fraction):
233 Remove the progress bar from HildonBanner and use a progress
236 Fixes: NB#113761 (Update progress banner to use progress
239 2009-05-04 Alberto Garcia <agarcia@igalia.com>
241 * hildon/hildon-banner.c:
242 Calculate size of the banner label using the actual screen width
243 rather than using a fixed value.
245 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
248 2009-05-04 Alejandro G. Castro <alex@igalia.com>
250 * hildon/hildon-pannable-area.c,
251 (hildon_pannable_area_class_init): Fixed signals documentation
254 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
256 * configure.ac: post release version bump
257 * debian/changelog: post release version bump
259 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
264 * configure.ac: Bump version.
265 * debian/changelog: Updates.
267 2009-05-01 Alberto Garcia <agarcia@igalia.com>
269 * hildon/hildon-edit-toolbar.c
270 (hildon_edit_toolbar_init):
271 Don't let buttons in HildonEditToolbar receive focus.
273 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
274 typing on an HW arrows key)
276 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
278 * doc/Makefile.am: Fix build.
280 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
282 * doc/Makefile.am: Do not redefine content_files.
284 2009-04-30 Alberto Garcia <agarcia@igalia.com>
292 Renamed src/ to hildon/
297 Include <hildon/hildon.h> directly in all examples.
299 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
301 * src/hildon-sort-dialog.c
302 (hildon_sort_dialog_add_sort_key_with_sorting)
306 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
308 * src/Makefile.am: Move generated sources to CLEANFILES, so that
309 make distcheck passes.
311 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
313 * Makefile.am: Enable gtk-doc during distcheck.
315 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
317 * Makefile.am: Do not distribute the debian/ directory.
319 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
321 * doc/Makefile.am: Add the extra SGML files to content_files,
322 so that they are distributed properly.
324 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
326 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
329 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
331 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
332 (hildon_note_new_information_with_icon_name): Set the "icon" property
333 to preserve soundness.
335 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
337 * src/hildon-font-selection-dialog.c
338 (hildon_font_selection_dialog_set_property): Fail when the "family"
339 property is set to NULL.
341 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
343 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
346 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
348 * src/hildon-time-selector.h:
349 Added HildonTimeSelectorFormatPolicy
350 * src/hildon-time-selector.c:
351 Added PROP_TIME_FORMAT_POLICY
352 (_check_ampm_format): renamed to check_automatic_ampm_format
353 (update_format_policy), (update_format_dependant_columns): new functions
354 (hildon_time_selector_class_init)
355 (hildon_time_selector_contructor)
356 (hildon_time_selector_init)
357 (hildon_time_selector_get_property)
358 (hildon_time_selector_set_property)
359 (hildon_time_selector_get_time)
360 (hildon_time_selector_set_time)
361 * src/hildon-touch-selector.h: new file
362 * src/hildon-touch-selector.c
363 (hildon_touch_selector_emit_changed)
364 (hildon_touch_selector_block_changed)
365 (hildon_touch_selector_unblock_changed)
366 Added functions to allow to block the emission of the "changed" signal
367 * src/hildon-picker-dialog.c
368 (hildon_picker_dialog_show): call the parent show before the custom code
369 * examples/hildon-time-button-example.c
370 Modified, so now you can configure the time format using the new property
372 Added a new property "time-format-policy" that allow to choose the time
373 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
374 case it uses gconf in order to check if the time selector must use
377 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
380 2009-04-28 Alberto Garcia <agarcia@igalia.com>
382 * src/hildon-note.c (hildon_note_init):
383 Label in HildonNote must be left aligned, not centered. This
384 reverts the last commit in HildonNote.
386 Fixes: NB#112933 (text is not left aligned in confirmation dialog
387 is connectivity dialog)
389 2009-04-27 Alberto Garcia <agarcia@igalia.com>
394 * doc/hildon-sections.txt:
395 Added hildon_gtk_window_set_do_not_disturb()
397 2009-04-27 Alberto Garcia <agarcia@igalia.com>
399 * src/hildon-note.c (hildon_note_init): Center label.
401 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
404 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
409 * configure.ac: Bump version.
410 * debian/changelog: Updates.
412 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
414 * src/hildon-note-private.h: Add button-width to the private data.
415 * src/hildon-note.c (+resize_button),
416 (+hildon_note_orientation_update): methods to repack widgets on orientation
418 (screen_size_changed): Call above method for confirmation notes.
419 (hildon_note_realize): Always connect to the "screen-size" changed signal.
420 (hildon_note_rebuild): Store the original width request from buttons.
422 Fixes: NB#109635 (Confirmation notes do not support portrait)
424 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
426 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
427 when it is a progress note.
429 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
431 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
432 in the note, since there are no horizontally arranged contents.
434 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
436 * src/hildon-gtk.c (+set_flag): new generic method to
437 set/delay a flag setting in a window.
438 (hildon_gtk_window_set_progress_indicator):
439 (hildon_gtk_window_set_do_not_disturb),
440 (hildon_gtk_window_set_portrait_flags): use set_flag() to
441 avoid code redundance.
443 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
445 Based on a patch by Alberto Garcia (agarcia@igalia.com)
447 * src/hildon-gtk.c (set_clear_window_flag),
448 (do_set_progress_indicator), (do_set_do_not_disturb),
449 (do_set_portrait_flags),
450 (hildon_gtk_window_set_progress_indicator),
451 (hildon_gtk_window_set_do_not_disturb),
452 (hildon_gtk_window_set_portrait_flags):
453 Allow setting dnd-flag, progress indicator, and portrait flags
454 when the window is not realized.
456 2009-04-24 Alejandro G. Castro <alex@igalia.com>
458 * src/hildon-pannable-area.c,
459 * src/hildon-pannable-area.h: Add the hildon deprecated define to
460 the size request policy function and defines.
462 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
464 * doc/hildon-sections.txt: Add the new API.
465 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
466 method to set the portrait flags.
467 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
469 Fixes: NB#112328 (Adding helpers for setting portrait properties)
471 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
473 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
474 to allow using this method with other flags.
475 (hildon_gtk_window_set_progress_indicator): Update accordingly.
476 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
478 2009-04-22 Alberto Garcia <agarcia@igalia.com>
480 * src/hildon-touch-selector.c
481 (hildon_touch_selector_append_text_column):
482 Make the cell renderer use the smallest width possible.
484 Fixes: NB#108470 (Selected items in multiple selection are either
485 having a tick that is cut or not visible at all.)
487 2009-04-22 Alberto Garcia <agarcia@igalia.com>
489 * src/hildon-touch-selector.c
490 (hildon_touch_selector_append_text_column):
493 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
495 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
496 Use g_strdup_printf() instead of a fixed size buffer.
498 2009-04-21 Alberto Garcia <agarcia@igalia.com>
500 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
501 Close banners when a HildonAppMenu is popped up.
503 Fixes: NB#111027 (Title menu closed immediately if activated when
504 "Invalid e-mail address" banner is shown)
506 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
511 * configure.ac: Bump version.
512 * debian/changelog: Updates.
514 2009-04-20 Alberto Garcia <agarcia@igalia.com>
516 * src/hildon-banner.c (hildon_banner_realize):
517 Mark HildonBanner as supporting portrait mode.
518 Use GDK to set window properties insetad of direct Xlib calls.
520 Fixes: NB#111830 (HildonBanner should be marked as supporting
523 2009-04-20 Alberto Garcia <agarcia@igalia.com>
525 * src/hildon-note.c (hildon_note_rebuild):
526 Hide action area in information notes. Prevents text from being
527 slightly aligned to the left.
529 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
532 2009-04-20 Alberto Garcia <agarcia@igalia.com>
534 Patch by Mox Soini (ext-mox.soini@nokia.com)
536 * src/hildon-banner.c (hildon_banner_create_animation):
537 Use stylus-sized icons in animation banner.
539 Fixes: NB#111206 (stylus sized icon for animation banner)
541 2009-04-20 Alberto Garcia <agarcia@igalia.com>
545 (+hildon_gtk_window_set_do_not_disturb):
546 New API to set the do-not-disturb flag.
548 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
550 2009-04-20 Alberto Garcia <agarcia@igalia.com>
552 * examples/hildon-progress-indicator-example.c: Fix example
554 * src/hildon-gtk.c (set_clear_window_flag)
555 (hildon_gtk_window_set_progress_indicator):
556 Create a generic function for setting flags to a window.
557 Use GDK instead of direct Xlib calls.
559 2009-04-14 Alberto Garcia <agarcia@igalia.com>
561 * src/hildon-button.c (hildon_button_set_arrangement):
562 Due to NB#88126, if one of the labels is too long it will be
563 painted outside the button. The 'value' label is more likely to be
564 the longest one, so we change its packing options in order to
565 truncate it if necessary. As a side effect, the 'title' label will
566 no longer be truncated.
568 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
570 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
575 * configure.ac: Bump version.
576 * debian/changelog: Updates.
578 2009-04-13 Alejandro G. Castro <alex@igalia.com>
580 Deprecation of the hildon_pannable_area_set_size_request_policy
581 API, the only policy properly supported in gtk+ nowadays is the
584 * src/hildon-pannable-area.c,
585 (hildon_pannable_area_size_request): Added a workaround for the
586 size_request to avoid the problems of huge pixmaps in case someone
587 is still using the function.
588 * src/hildon-pannable-area.h: Deprecated the enum with the
591 Fixes: NB#110244 (Problems with the
592 hildon_pannable_area_set_size_request_policy API)
594 2009-04-08 Alejandro G. Castro <alex@igalia.com>
596 * src/hildon-pannable-area.c,
597 (hildon_pannable_area_init),
598 (hildon_pannable_area_size_request),
599 (hildon_pannable_area_style_set),
600 (hildon_pannable_draw_vscroll),
601 (hildon_pannable_draw_hscroll),
602 (hildon_pannable_area_check_scrollbars): Replaced area_width with
603 indicator_width to clarify the use of the attribute.
605 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
610 * configure.ac: Bump version.
611 * debian/changelog: Updates.
613 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
615 * src/hildon-picker-dialog.c
616 * src/hildon-touch-selector.c
617 Reverting the change that tried to avoid the hardcoded height on
618 the picker dialog, as causes problems on the hildon-touch-selector
621 Fixes: NB#110029 (selectors not scrolling to selected value)
623 2009-04-07 Alberto Garcia <agarcia@igalia.com>
625 * src/hildon-touch-selector.c: Fix typos
627 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
629 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
630 Use the event coordinates instead of gdk_window_get_pointer(). Also,
631 request more motions after using it.
633 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
635 * src/hildon-calendar.c (hildon_calendar_expose),
636 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
637 Remove unused variables.
639 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
641 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
644 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
646 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
647 Check the return value of gtk_tree_selection_get_selected()
650 2009-04-06 Alberto Garcia <agarcia@igalia.com>
652 * src/hildon-animation-actor.c
653 * src/hildon-button.c
655 * src/hildon-pannable-area.c
656 * src/hildon-picker-button.c
657 * src/hildon-program.c
658 * src/hildon-remote-texture.c
659 * src/hildon-text-view.c
660 * src/hildon-touch-selector.c
661 * src/hildon-window-stack.c
662 * src/hildon-window.c:
663 Add missing 'Since: 2.2' tags.
665 * doc/hildon-sections.txt:
666 Add some missing symbols.
668 * doc/hildon-docs.sgml:
669 New 'Other' section for HildonAnimationActor and
672 2009-04-06 Alberto Garcia <agarcia@igalia.com>
674 Patch by Iván Gómez (igomez@igalia.com)
678 * doc/hildon-docs.sgml
679 * doc/hildon-sections.txt
683 New chapters on using the Hildon library.
684 Updated the general structure of the reference manual.
685 Other minor documentation fixes.
687 * src/hildon-calendar-popup.c
688 * src/hildon-calendar.c
689 * src/hildon-controlbar.c
690 * src/hildon-date-editor.c
691 * src/hildon-dialog.c
692 * src/hildon-hvolumebar.c
693 * src/hildon-number-editor.c
694 * src/hildon-range-editor.c
695 * src/hildon-sort-dialog.c
696 * src/hildon-time-editor.c
697 * src/hildon-time-picker.c
698 * src/hildon-volumebar-range.c
699 * src/hildon-volumebar.c
700 * src/hildon-vvolumebar.c
701 * src/hildon-weekday-picker.c:
702 Add deprecation notes
704 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
705 Document 'horizontal-movement' and 'vertical-movement' signals.
707 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
712 * configure.ac: Bump version.
713 * debian/changelog: Updates.
715 2009-04-06 Alejandro G. Castro <alex@igalia.com>
717 * src/hildon-pannable-area.c,
718 (hildon_pannable_area_class_init): increased the minimum velocity.
719 (hildon_pannable_area_button_release_cb): Updated the
720 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
721 setup. Review the code to control that last event.
723 Fixes: NB#109790 (Releasing finger in pannable area easily causes
726 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
728 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
730 * src/hildon-get-password-dialog.c
731 (hildon_get_password_set_property),
732 (hildon_get_password_get_property), (create_contents):
733 * src/hildon-login-dialog-private.h:
734 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
735 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
736 (hildon_login_dialog_get_password):
737 * src/hildon-set-password-dialog-private.h:
738 * src/hildon-set-password-dialog.c
739 (hildon_set_password_set_property),
740 (hildon_set_password_get_property), (create_contents),
741 (hildon_set_password_response_change),
742 (hildon_set_password_response_set), (hildon_checkbox_toggled):
744 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
745 instead and look more Fremantle style.
747 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
749 2009-04-03 Alberto Garcia <agarcia@igalia.com>
751 * doc/hildon-sections.txt
752 * src/hildon-window-stack.h
753 * src/hildon-window-stack.c
754 (+hildon_window_stack_get_windows):
755 New API to obtain the list of windows on a stack.
757 2009-04-02 Alberto Garcia <agarcia@igalia.com>
759 * src/hildon-app-menu.c (hildon_app_menu_popup)
760 (hildon_app_menu_class_init, -hildon_app_menu_show):
761 Remove hildon_app_menu_show() and move all its checks to
762 hildon_app_menu_popup()
764 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
766 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
767 (_hildon_picker_dialog_set_selector): removed call to
768 gtk_widget_set_size_request
769 * src/hildon-touch-selector.c
770 (_create_new_column): change the pannable size request policy
772 Avoid to use a hardcoded height for the hildon picker dialog. In order
773 to get that, we needed to change the hildon pannable size request
775 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
777 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
779 * src/hildon-window.c (hildon_window_map): Check for vbox to be
780 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
783 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
785 * debian/control: Depend on osso-system-lock localization package.
786 * src/hildon-code-dialog.c: Obtain the secu_application_title
787 translation from osso-system-lock.
788 * src/hildon-get-password-dialog.c (create_contents): Do not mark
789 for translation the atk related strings, that's not necessary.
790 * src/hildon-set-password-dialog.c (create_contents): Ditto.
791 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
792 cancel button, it is not required.
794 2009-04-02 Alejandro G. Castro <alex@igalia.com>
796 * src/hildon-pannable-area.c,
797 (hildon_pannable_area_class_init): Modified the default value of
798 the overshooting max speed, we have reduced it.
800 2009-04-02 Alberto Garcia <agarcia@igalia.com>
802 * doc/hildon-sections.txt
803 * src/hildon-window-private.h
804 * src/hildon-window.h
805 * src/hildon-window.c (hildon_window_class_init)
806 (hildon_window_init, hildon_window_finalize)
807 (hildon_window_realize, hildon_window_get_property)
808 (hildon_window_set_property, hildon_window_update_markup)
809 (hildon_window_get_markup, hildon_window_set_markup):
810 New "markup" property and hildon_window_{get,set}_markup() methods.
812 * examples/hildon-stackable-window-example.c (new_window):
813 Update example to use hildon_window_set_markup()
815 Fixes: NB#106375 (Need API to retitle a window with a title
818 2009-04-01 Alejandro G. Castro <alex@igalia.com>
820 * src/hildon-pannable-area.c,
821 (hildon_pannable_area_class_init): Changed the default value of
822 the initial_hint to TRUE.
823 (hildon_pannable_area_initial_effect): Changed the initial effect,
824 not the effect is just the fade-out of the scrollbars.
826 Fixes: NB#107775 (No scrollbars can be seen when several items are
827 available in a dialog)
829 2009-04-01 Alberto Garcia <agarcia@igalia.com>
831 * src/hildon-program.c (hildon_program_update_top_most):
834 Fixes: NB#109179 (Memory leak in Hildon program)
836 2009-04-01 Alberto Garcia <agarcia@igalia.com>
838 * src/hildon-banner.c (-get_current_app_window):
839 Remove unused function.
841 2009-04-01 Alejandro G. Castro <alex@igalia.com>
843 * src/hildon-pannable-area.c: Modified the documentation of the
844 get adjustments functions to explain the problem of using the
846 (hildon_pannable_area_class_init): Improved the explanation about
849 2009-04-01 Alberto Garcia <agarcia@igalia.com>
851 * src/hildon-app-menu-private.h
852 * src/hildon-app-menu.c
853 (hildon_app_menu_class_init):
854 Bring back the 'external-border' style property
855 (hildon_app_menu_class_init, hildon_app_menu_init)
856 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
857 Set a fixed width-request for the menu, independent of the number
860 Fixes: NB#94957 (Smoothly opened application menu)
862 2009-03-30 Alberto Garcia <agarcia@igalia.com>
864 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
866 * src/hildon-banner.c
867 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
869 Make sure that the banner is correctly placed the first time it's
871 (hildon_banner_check_position, -check_fullscreen_state):
872 Show the banner in the same place no matter if the window is in
873 fullscreen mode or not.
875 Fixes: NB#107386 (Odd stacking behaviour for information banners)
877 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
879 * src/hildon-touch-selector.c (_default_print_func): reorder
880 concatenation for clarity.
882 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
884 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
885 for multicolumn selectors.
887 Fixes: NB#109099 (Memory leak in Hildon touch selector)
889 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
894 * configure.ac: Bump version.
895 * debian/changelog: Updates.
897 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
899 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
902 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
904 * configure.ac: removed libcangerra-gtk dependency
905 * debian/control: removed libcanberra-gtk dependency
906 * src/Makefile.am: removed libcanberra gtk related flags
907 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
908 context, and manage a global canberra context instead
910 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
912 2009-03-26 Alberto Garcia <agarcia@igalia.com>
914 Patch by Daniel Borgmann (danielb@openismus.com)
916 * src/hildon-edit-toolbar.c:
917 Adjust the left padding.
918 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
919 Paint background of the edit toolbar.
921 Fixes: NB#107897 (Patch to make editmodetoolbar background
922 themeable and adjust margin)
924 2009-03-25 Alberto Garcia <agarcia@igalia.com>
926 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
928 * src/hildon-program.c (hildon_program_update_top_most):
929 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
931 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
932 change when the user tasks in/out of an application)
934 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
936 * configure.ac: added libcangerra-gtk dependency
937 * debian/control: added libcanberra-gtk dependency
938 * src/Makefile.am: added libcanberra gtk related flags
939 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
942 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
944 2009-03-25 Alberto Garcia <agarcia@igalia.com>
946 * src/hildon-program.c (hildon_program_remove_window)
947 (hildon_program_add_window): Add checks for the window
948 parameter. Don't decrease the window counter if the window is not
951 2009-03-24 Alejandro G. Castro <alex@igalia.com>
953 * src/hildon-pannable-area.c,
954 (hildon_pannable_area_realize): Fixed position of the event_window
955 in the realize method.
957 2009-03-24 Alberto Garcia <agarcia@igalia.com>
959 * src/hildon-app-menu-private.h
960 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
961 (hildon_app_menu_map, hildon_app_menu_hide_idle)
962 (hildon_app_menu_key_press, hildon_app_menu_init)
963 (hildon_app_menu_finalize):
964 Make sure that all idle functions are removed when the widget is
967 Fixes: NB#107583 (Hildon app menu crashes in various applications)
969 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
974 * configure.ac: Bump version.
975 * debian/changelog: Updates.
977 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
980 (+hildon_entry_show_placeholder),
981 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
982 that replace hildon_entry_update_contents().
983 (hildon_entry_set_text),
984 (hildon_entry_set_placeholder),
985 (hildon_entry_focus_in_event),
986 (hildon_entry_focus_out_event): Determine when it is needed
987 either to show or hide the placeholder and call the above methods.
989 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
990 when the placeholder text is already set)
992 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
994 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
995 simple GdkPixbufAnim using the new icons for the banner.
996 (hildon_banner_show_animation): Use the above mentioned method to
997 create the animation widget.
999 Fixes: NB#103564 (Make hildon animation banner use individual
1000 image files as the animation)
1002 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1004 * src/hildon-pannable-area.c,
1005 (hildon_pannable_leave_notify_event): Check if the child is NULL
1006 to avoid sending the leave.
1008 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1010 * src/hildon-pannable-area.c,
1011 (hildon_pannable_area_class_init),
1012 (hildon_pannable_leave_notify_event): Added a handler of the
1013 leave-notify-signal to consider when no motion notify before
1016 Fixes: NB#107494 (Items stay selected when clicking and moving
1017 away when inside pannable area)
1019 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1024 * configure.ac: Bump version.
1025 * debian/changelog: Updates.
1027 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1029 Patch by Alberto Garcia (agarcia@igalia.com)
1031 * src/hildon-date-button.c,
1032 (hildon_date_button_class_init),
1033 (hildon_date_button_init): Removed the construct property handling
1034 and created a default selector in the init method.
1035 * src/hildon-picker-button.c,
1036 (hildon_picker_button_class_init): Removed the construct flag of the
1039 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1041 * src/hildon-main.c (hildon_init):
1042 Don't allow hildon_init() to be called more than once.
1044 Fixes: NB#106607 (hildon_init should issue error message upon
1047 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1049 * examples/hildon-pannable-area-touch-list-example.c
1050 * examples/hildon-pannagle-area-touch-grid-example.c
1051 * examples/hildon-edit-toolbar-example.c
1052 * examples/hildon-touch-selector-multi-cells-example.c
1053 Removed the call to gtk_rc_parse_string, as it is not required since
1056 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1058 * src/hildon-pannable-area.c,
1059 (hildon_pannable_area_class_init): Modified the default panning
1060 threshold of the widget to 6px.
1062 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1063 than the threshold value ) within the button is not sending the
1066 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1068 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1069 for the treeview in the new column. This way, the touch list will never
1072 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1073 be selected manually for the HW keys to work)
1075 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1077 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1078 comparison instead of using strcmp(). Fixes a compiler warning as well.
1080 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1082 * doc/hildon-docs.sgml: Do not set the library version in the
1083 document title, use the releaseinfo tag for that purpose instead.
1085 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1087 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1088 Do not jump to the first item if the text in the entry is removed.
1090 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1095 * configure.ac: Bump version.
1096 * debian/changelog: Updates.
1098 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1100 * src/hildon-entry.c (hildon_entry_refresh_contents):
1101 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1102 Use "ReversedSecondaryTextColor" for the placeholder text.
1104 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1106 * src/hildon-text-view.c: Fix compilation warning.
1108 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1110 * src/hildon-button.c (hildon_button_class_init): Don't make
1111 "title" and "value" construction properties, to prevent them from
1112 overwriting labels set from derived classes.
1114 * src/hildon-picker-button.c
1115 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1116 (hildon_picker_button_class_init): Make touch-selector a
1117 construction property.
1119 * src/hildon-date-button.c (hildon_date_button_class_init)
1120 (+hildon_date_button_constructed): Add a default date selector if
1123 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1125 * src/hildon-touch-selector.c: Small documentation fixes.
1127 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1129 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1131 * src/hildon-entry.c (hildon_entry_refresh_contents),
1132 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1133 widget name, set the logical color directly instead and a boolean
1134 showing_placeholder instead.
1135 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1136 use the widget name here either.
1138 Fixes: NB#105678 (HildonTextView should use logical colours
1139 instead of setting widget name)
1141 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1143 Patch by Daniel Elster (danielk@openismus.com)
1145 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1146 Add user_data parameter.
1147 (hildon_touch_selector_set_print_func_full): New function akin
1148 hildon_touch_selector_set_print_func() but with support for user
1149 data and a destroy callback.
1150 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1151 to clean up the print function user data.
1152 (hildon_touch_selector_class_init): Install dispose function.
1153 (HildonTouchSelectorPrivate::print_user_data),
1154 (HildonTouchSelectorPrivate::print_destroy_func): New private
1156 (hildon_touch_selector_init): Initialize new private members.
1157 (hildon_touch_selector_get_current_text): Pass along user data
1158 to the print function.
1159 (_default_print_func): Add dummy user_data to parameter list.
1160 * hildon-date-selector.c (_custom_print_func): ditto,
1161 * hildon-time-selector.c (_custom_print_func): ditto,
1162 * hildon-touch-selector-entry.c
1163 (hildon_touch_selector_entry_print_func): ditto.
1165 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1167 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1169 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1171 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1173 * src/hildon-pannable-area.c,
1174 (hildon_pannable_area_init),
1175 (hildon_pannable_area_button_press_cb),
1176 (hildon_pannable_area_motion_notify_cb): We have added code to
1177 handle the leave and enter events when using the motion events.
1179 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1181 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1183 * src/hildon-date-button.c (hildon_date_button_get_date)
1184 (hildon_date_button_set_date): Make sure that the button has a
1187 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1189 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1191 * src/hildon-pannable-area.c,
1192 (hildon_pannable_area_class_init),
1193 (hildon_pannable_area_calculate_velocity): Modify the use of the
1194 force and adapt the value.
1196 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1198 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1199 (hildon_app_menu_class_init): Hide the menu if it receives a
1200 delete-event, but don't destroy it
1202 Fixes: NB#104485 (Not able to address the call when application
1203 menu is opened at background)
1205 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1207 * src/hildon-app-menu.c
1208 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1209 Remove the "external-border" style property, let the menu take its
1210 natural size (or the one set by the window manager)
1211 (hildon_app_menu_repack_items):
1212 Don't reshow the menu, avoid flickers.
1214 Partially fixes NB#94957 (Smoothly opened application menu)
1216 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1221 * configure.ac: Bump version.
1222 * debian/changelog: Updates.
1224 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1226 * src/hildon-pannable-area.c,
1227 (hildon_pannable_area_motion_notify_cb): We control that the
1228 direction error margin is used just in case the movement is
1229 allowed in the other direction.
1231 Fixes: NB#105012 (buttons inside a pannable area not getting
1232 release event when dragging/releasing)
1234 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1236 * src/hildon-pannable-area.c,
1237 (hildon_pannable_area_class_init),
1238 (hildon_pannable_area_get_property),
1239 (hildon_pannable_area_set_property),
1240 (hildon_pannable_area_initial_effect),
1241 (hildon_pannable_axis_scroll),
1242 (hildon_pannable_area_button_release_cb): Reviewed the
1243 overshooting effect, now it has its own max
1244 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1245 speed when bouncing.
1247 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1252 * configure.ac: Bump version.
1253 * debian/changelog: Updates.
1255 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1257 * src/hildon-pannable-area.c,
1258 (hildon_pannable_area_class_init): Changed the max speed, now
1259 users can launch the widget very fast. Reduced the default force,
1260 that way it is easier to control the launch speed.
1262 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1264 * src/hildon-pannable-area.c,
1265 (hildon_pannable_area_button_release_cb): Removed this check
1266 because it causes problems when the device is overloaded.
1268 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1270 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1271 add a current_text field to store the text entered in the
1272 touch selector entry.
1273 (_clean_current_selection): clean up the current text as well.
1274 (_save_current_selection), (_restore_current_selection):
1275 Save/restore the text in the entry if the selector is a
1276 HildonTouchSelectorEntry.
1278 Fixes: NB#102541 (value entered in the touch selector entry is not
1279 shown when opened for second time)
1281 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1283 * doc/hildon-sections.txt:
1284 * src/hildon-touch-selector-entry.c
1285 (+hildon_touch_selector_entry_get_entry):
1286 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1288 Fixes: NB#104815 (I need accessor to the entry inside
1289 HildonTouchSelectorEntry)
1291 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1293 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1294 (hildon_app_menu_class_init):
1295 New "filter-vertical-spacing" style property.
1297 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1299 * src/hildon-find-toolbar.c
1300 (hildon_find_toolbar_emit_close)
1301 (hildon_find_toolbar_emit_invalid_input)
1302 (hildon_find_toolbar_entry_activate):
1303 Use g_signal_emit() instead of g_signal_emit_by_name()
1305 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1307 Patch by Mox Soini (ext-mox.soini@nokia.com)
1309 * tests/TEST-CASES.txt
1310 * tests/check-hildon-banner.c
1311 * tests/check-hildon-note.c
1312 * src/hildon-banner.c
1313 * src/hildon-code-dialog.c
1314 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1315 * src/hildon-time-editor.c
1316 * examples/hildon-lookup-example.c (main):
1317 Replace obsolete icon names with new ones.
1319 * src/hildon-find-toolbar-private.h:
1320 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1321 (-hildon_find_toolbar_emit_search):
1322 Remove find button and change icon of close button.
1324 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1326 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1328 * src/hildon-time-button.c (hildon_time_button_new_step):
1329 Use the "touch-selector" property to set the selector directly
1330 when creating the object.
1332 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1334 Added a new example application that allows tuning the pannable
1335 area and replaced defines with properties in order to simplify the
1336 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1337 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1338 PROP_DIRECTION_ERROR_MARGIN.
1340 * examples/hildon-pannable-area-tuning-example.c: New example
1342 * src/hildon-pannable-area.c,
1343 (hildon_pannable_area_class_init),
1344 (hildon_pannable_area_init),
1345 (hildon_pannable_area_get_property),
1346 (hildon_pannable_area_set_property),
1347 (hildon_pannable_area_launch_fade_timeout),
1348 (hildon_pannable_area_adjust_value_changed),
1349 (hildon_pannable_axis_scroll),
1350 (hildon_pannable_area_motion_notify_cb),
1351 (hildon_pannable_area_scroll_cb),
1352 (hildon_pannable_area_button_release_cb): We have converted some
1353 of the defines that control the widget to properties to simplify
1356 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1358 * src/hildon-app-menu.c (hildon_app_menu_map)
1359 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1360 so it's closed if a new window appears.
1362 Fixes: NB#104485 (Not able to address the call when application
1363 menu is opened at background)
1365 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1367 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1368 missing 'break' statement in in 'case' construct to avoid
1371 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1373 * src/hildon-touch-selector-entry.c
1374 (hildon_touch_selector_entry_get_property),
1375 (hildon_touch_selector_entry_set_property): Add missing 'break'
1376 statements in in 'case' constructs to avoid incorrect warnings.
1378 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1380 * src/hildon-time-editor.c
1381 (hildon_time_editor_get_time_separators): Do not crash if
1382 the first label is NULL.
1384 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1386 * src/hildon-date-selector.c (_month_days): Check for month to be
1387 strictly less than 12, since otherwise we may overrun the array.
1389 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1391 * src/hildon-date-button.c (+hildon_date_button_new_full)
1392 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1393 (hildon_date_button_init): Set the date selector using a
1394 construction property, to make it happen after HildonButton's
1395 "value" property is set.
1397 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1398 current date by default)
1400 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1402 * doc/hildon-sections.txt
1403 * src/hildon-program.c
1404 * src/hildon-stackable-window.c
1405 * src/hildon-window.c:
1406 Documentation updates
1408 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1410 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1411 (hildon_window_stack_new, +hildon_window_stack_set_property)
1412 (+hildon_window_stack_get_property)
1413 (hildon_window_stack_class_init)
1414 (+hildon_window_stack_set_window_group)
1415 (+hildon_window_stack_get_window_group):
1416 Make the window group a construction property.
1418 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1420 * doc/hildon-sections.txt
1421 * src/hildon-stackable-window-private.h
1422 * src/hildon-stackable-window.h
1423 * src/hildon-stackable-window.c
1424 (-hildon_stackable_window_set_app_menu)
1425 (-hildon_stackable_window_get_app_menu)
1426 (-hildon_stackable_window_toggle_menu)
1427 (-hildon_stackable_window_finalize)
1428 (hildon_stackable_window_class_init)
1429 (hildon_stackable_window_init)
1430 * src/hildon-window-private.h
1431 * src/hildon-window.h
1432 * src/hildon-window.c (hildon_window_init)
1433 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1434 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1435 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1436 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1437 Moved all HildonAppMenu code to HildonWindow. The menu does not
1438 require a HildonStackableWindow anymore.
1440 * src/hildon-app-menu.c
1441 * src/hildon-program.c
1442 * examples/hildon-app-menu-example.c (main):
1443 Update examples and documentation to reflect HildonAppMenu
1446 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1448 * src/hildon-remote-texture.c
1449 * src/hildon-animation-actor.c:
1450 Don't include unused private headers.
1452 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1454 * src/hildon-program-private.h
1455 * src/hildon-program.c
1456 (hildon_program_set_common_menu)
1457 (hildon_program_get_common_menu)
1458 (hildon_program_set_common_app_menu)
1459 (hildon_program_get_common_app_menu):
1460 Change common menu pointers from GtkWidget* to GtkMenu* and
1461 HildonAppMenu* to avoid unnecessary casts.
1463 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1465 * src/hildon-window.c (hildon_window_set_main_menu):
1466 Removed incorrect 'Since:' tag
1468 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1470 * src/hildon-pannable-area.c,
1471 (hildon_pannable_area_calculate_velocity): We use now the
1472 RATIO_TOLERANCE here to check the distance, fixed typo in the
1474 (hildon_pannable_area_motion_notify_cb): We have to set the type
1475 and time even if we are not sending the motion.
1477 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1479 * doc/hildon-sections.txt
1480 * src/hildon-app-menu.h
1481 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1482 (+hildon_app_menu_get_filters): New methods to get the contents of
1485 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1488 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1490 * src/hildon-app-menu.c (hildon_app_menu_popup):
1493 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1495 * src/hildon-window.h
1496 * src/hildon-window.c (+hildon_window_get_main_menu)
1497 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1498 and deprecated hildon_window_get_menu().
1500 * src/hildon-stackable-window.h
1501 * src/hildon-stackable-window.c
1502 (+hildon_stackable_window_set_app_menu)
1503 (+hildon_stackable_window_get_app_menu)
1504 (hildon_stackable_window_set_main_menu): Created
1505 hildon_stackable_window_{get,set}_app_menu() and deprecated
1506 hildon_stackable_window_set_main_menu().
1508 * doc/hildon-sections.txt
1509 * examples/hildon-app-menu-example.c (main)
1510 * src/hildon-app-menu.c
1511 * src/hildon-program.c:
1512 Updated examples and documentation.
1514 Fixes: NB#103758 (No way to obtain a menu from a
1515 HildonStackableWindow)
1517 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1522 * configure.ac: Bump version.
1523 * debian/changelog: Updates.
1525 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1527 * examples/hildon-remote-texture-example.c: Include
1528 hildon-remote-texture.h explicitely.
1529 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1530 applications not defining _XOPEN_SOURCE which don't require this header.
1532 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1534 * doc/hildon-sections.txt
1535 * src/hildon-app-menu.h
1536 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1537 New function to pop up a HildonAppMenu
1539 * src/hildon-stackable-window.c
1540 (hildon_stackable_window_toggle_menu):
1541 Use hildon_app_menu_popup() to show the menu.
1543 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1545 * src/hildon-app-menu.c (hildon_app_menu_show)
1546 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1547 menu if there's another window between it and its parent window.
1549 Fixes: NB#100468 (Application menu window is launched even when a
1550 new secondary-window/dialog is pending to be shown/realized)
1552 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1554 * src/hildon-window-stack.c (hildon_window_stack_push)
1555 (hildon_window_stack_pop_and_push):
1556 Don't forget to push/pop the first window.
1557 Reverse the window list before calling _push_list()
1559 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1561 * src/hildon-picker-button.h
1562 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1563 Remove "value_changed" slot to avoid ABI breakage
1565 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1567 * src/hildon-pannable-area.c,
1568 (hildon_pannable_area_realize),
1569 (hildon_pannable_area_unrealize),
1570 (hildon_pannable_draw_vscroll),
1571 (hildon_pannable_draw_hscroll): Changed the method to handle the
1572 GC used to draw the transparent scrollbar, this way we avoid
1573 creating the GC all the time when drawing the scrollbars.
1575 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1577 * src/hildon-pannable-area.c,
1578 (hildon_pannable_area_init),
1579 (hildon_pannable_area_remove): Removed some unnecessary casts.
1580 (hildon_pannable_area_dispose): Disconnected some signals before
1581 releasing the adjustments.
1583 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1585 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1586 Make sure that all widgets contained in the toolbar are shown.
1588 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1590 * doc/hildon-sections.txt
1591 * src/hildon-picker-button.h
1592 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1593 (_selection_changed, hildon_picker_button_on_dialog_response)
1594 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1595 New hildon_picker_button_value_changed() method.
1598 * src/hildon-picker-button-private.h
1599 * src/hildon-picker-button.c (hildon_picker_button_init)
1600 (+hildon_picker_button_disable_value_changed): Add protected
1601 function for disabling the "value-changed" signal.
1603 * src/hildon-date-button.c (hildon_date_button_set_date):
1604 Don't emit "value-changed" for each one of the three columns.
1606 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1607 before actual change of values)
1609 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1611 * src/hildon-pannable-area.c,
1612 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1613 for the treeview overshooting.
1615 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1617 * src/hildon-banner.c (+hildon_banner_bind_style):
1618 Renamed from hildon_banner_bind_label_style(), now naming the
1619 banner itself as well.
1620 (hildon_banner_show_information),
1621 (hildon_banner_show_information_with_markup),
1622 (hildon_banner_show_animation), (hildon_banner_show_progress):
1623 Name the widgets and labels, based on their type.
1625 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1628 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1630 * src/hildon-note.c (hildon_note_set_property): call
1631 hildon_note_rename() on HildonNote:note-type set.
1632 (hildon_note_rename): Name the note and its label, based on the
1633 HildonNote:note-type property.
1635 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1638 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1640 * src/hildon-pannable-area.c,
1641 (hildon_pannable_area_class_init),
1642 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1643 panning parameters, increased SPS and deceleration factor. Added
1644 also a margin to control fake directions.
1646 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1648 Patch by Sven Herzberg (sven@imendio.com)
1650 * configure.ac: Add missing AM_PROG_CC_C_0
1651 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1653 See NB#101420 (Update unit tests and fix make check)
1655 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1657 This patch was applied before but reverted because it caused
1658 problems, we have changed the main condition and tested the
1659 regressions we detected before and they work ok. We have done a
1660 complete review of the topmost algorithm in order to get a more
1663 * src/hildon-pannable-area.c,
1664 (hildon_pannable_area_get_topmost): Added a new parameter to
1665 filter the the windows that do not include those events.
1666 (hildon_pannable_area_button_press_cb),
1667 (hildon_pannable_area_button_release_cb),
1668 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1669 topmost function, we have added the new parameter.
1671 Fixes: NB#97458 (Pannable area prevents propagation of button
1674 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1676 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1677 if all columns in the selector have an item selected.
1678 (_on_dialog_response): Stop "response" signal emission if there is
1679 any selector column without selected items.
1681 Fixes: NB#101889 (Picker dialog should not close when nothing is
1682 selected in multiple selection list)
1684 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1686 * src/hildon-font-selection-dialog.c
1687 (hildon_font_selection_dialog_class_init),
1688 (hildon_font_selection_dialog_init): Remove the preview
1689 button and dialog, since previewing with default theming is likely
1690 to be overcomplicated. The :preview property has now no effect.
1691 Update documentation blurbs to inform about this.
1693 Fixes: NB#92297 (Preview content is not clearly visible for
1694 default colour text)
1696 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1698 Reviewed the geometry that handles the children size and
1699 scrollbar, now it tries a size and reviews the results depending
1700 on the scrollbars visibility.
1702 * src/hildon-pannable-area.c,
1703 (hildon_pannable_area_realize): Fixed a typo.
1704 (hildon_pannable_area_child_allocate_calculate): Added this
1705 function to calculate the child allocation.
1706 (hildon_pannable_area_size_allocate): Reviewed the allocation
1708 (hildon_pannable_area_check_scrollbars),
1709 (hildon_pannable_area_refresh): Refactored refresh function, this
1710 way we can call the code handling the scrollbars without causing a
1711 size_request, it is interesting in the allocate.
1712 (hildon_pannable_area_init): Replace the callbacks of the
1713 value_changed and changed signals to propertly deal with the
1715 (hildon_pannable_area_grab_notify),
1716 (hildon_pannable_area_initial_effect),
1717 (hildon_pannable_area_launch_fade_timeout),
1718 (hildon_pannable_area_adjust_changed),
1719 (hildon_pannable_area_adjust_value_changed),
1720 (hildon_pannable_area_redraw),
1721 (hildon_pannable_area_button_press_cb),
1722 (hildon_pannable_area_button_release_cb),
1723 (hildon_pannable_area_scroll_cb),
1724 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1725 code and use the new functions adjust_changed and
1726 adjust_value_changed.
1728 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1729 Contact editor dialog)
1731 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1736 * configure.ac: Bump version.
1737 * debian/changelog: Updates.
1739 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1741 * src/hildon-pannable-area.c,
1742 (hildon_pannable_area_get_topmost),
1743 (hildon_pannable_area_button_press_cb),
1744 (hildon_pannable_area_button_release_cb),
1745 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1746 topmost function adding the event mask. We have to try a
1747 differente approach because it is still causing problems (NB#9745,
1750 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1752 * src/hildon-banner.c:
1753 Update the maximum width of timed banners.
1754 (force_to_wrap_truncated): Enforce the maximum text width if the
1757 Fixes: NB#102413 (The text margins (wrapping) in information
1758 banner should be HILDON_MARGIN_TRIPLE)
1760 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1762 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1764 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1765 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1766 bound when calculating the scroll indicator position.
1768 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1769 treat ->lower correctly)
1771 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1773 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1774 expose event handling, since it is not necessary to draw the focus
1777 Fixes: NB#102467 (Do not show highlight on the text in
1780 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1782 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1783 full height of the toolbar for the button and the label.
1785 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1787 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1788 padding before the label and after the button.
1790 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1792 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1794 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1795 Add a GtkVSeparator between the button and the back arrow.
1796 Let the button have automatic size.
1797 Set a name to the widget for theming handling.
1799 Fixes: NB#101793 (Make edit toolbar the same height as window
1800 title bar (use title area theming))
1802 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1804 * src/hildon-helper.c (attach_new_color_element): Fix memory
1807 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1809 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1811 * examples/hildon-button-example.c (common_buttons_window): Don't
1814 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1816 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1817 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1819 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1821 * src/hildon-gtk.c: Check that the window is realized.
1823 Fixes: NB#102225 (Crash setting the progress indicator to a non
1826 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1828 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1829 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1830 instead of modifying the one in the widget style.
1832 Fixes: NB#101043 (Second row of all the command button are
1833 displayed in transparent mode.)
1835 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1837 * src/hildon-date-button.c
1838 * src/hildon-time-button.c: Add gettext macros
1840 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1842 * src/hildon-date-button.c (hildon_date_button_new):
1843 * src/hildon-time-button.c (hildon_time_button_new_step):
1844 Use new logical strings to set the button default title.
1846 Fixes: NB#99915 (Date and Time options are not localised in Date
1849 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1851 * src/hildon-pannable-area.c
1852 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1853 the PANNING_THRESHOLD.
1855 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1857 * src/hildon-pannable-area.c,
1858 (hildon_pannable_area_class_init): Increased the maximum speed.
1859 (hildon_pannable_area_get_property),
1860 (hildon_pannable_area_set_property),
1861 (hildon_pannable_area_timeout): Added a new low friction mode, it
1862 allows the user avoid friction when launching the widget fast
1863 enough. It is interesting to traverse long lists.
1865 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1867 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1868 (+hildon_stackable_window_delete_event): Ignore delete events if
1869 the window is not the topmost one.
1871 Fixes: NB#101698 (Back button long press and delete-event handling)
1873 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1875 * src/hildon-pannable-area.c,
1876 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1877 gtk-dnd-drag-threshold, it was too big. We have defined our own
1878 dnd define and set a smaller value: PANNIG_THRESHOLD.
1880 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1882 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1883 user-defined icons, use always the default one.
1885 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1887 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1889 This patch was applied before but reverted because it caused
1890 problems, we have changed the main condition and tested the
1891 regressions we detected before and they work ok.
1893 * src/hildon-pannable-area.c,
1894 (hildon_pannable_area_get_topmost): Added a new parameter to
1895 filter the the windows that do not include those events. Added
1896 also a condition when finding the window to filter windows that do
1897 not ask for those events.
1898 (hildon_pannable_area_button_press_cb),
1899 (hildon_pannable_area_button_release_cb),
1900 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1901 topmost function, we have added the new parameter.
1903 Fixes: NB#97458 (Pannable area prevents propagation of button
1906 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1908 * tests/check-hildon-color-button.c (START_TEST): do not leak
1911 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1913 * src/hildon-font-selection-dialog.c
1914 (hildon_font_selection_dialog_get_preview_text): Return NULL
1915 instead of FALSE on the g_return_val_if_fail().
1917 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1919 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1920 * src/hildon-date-selector.c
1921 (hildon_date_selector_select_current_date):
1922 Do not compare unsigned integers to be greater than or equal 0,
1923 because it's always TRUE.
1925 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1927 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1928 (hildon_date_selector_constructor): Do not select the current
1929 date until we are handle the "changed" signal, to avoid having bogus
1930 elements in the days model.
1932 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1934 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1935 for num_days, since _month_days() can return a negative value.
1937 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1939 * src/hildon-caption.c (hildon_caption_size_allocate):
1940 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1941 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1943 Initialize allocation variables to 0, to avoid eventually using
1944 unitialized variables.
1946 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1948 * src/hildon-bread-crumb-trail.c
1949 (hildon_bread_crumb_trail_size_allocate):
1950 * src/hildon-calendar.c (hildon_calendar_set_background):
1951 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1952 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1953 * src/hildon-seekbar.c (hildon_seekbar_init):
1954 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1955 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1956 * src/hildon-touch-selector-entry.c
1957 (hildon_touch_selector_get_text_from_model):
1958 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1959 * src/hildon-window.c (hildon_window_finalize):
1961 Remove many unused variables.
1963 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1965 * src/hildon-seekbar.c: (hildon_seekbar_init),
1966 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1968 Remove unnecessary g_assert() calls.
1970 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1972 * src/hildon-caption.c: (hildon_caption_expose),
1973 (hildon_caption_set_property), (hildon_caption_init),
1974 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1975 (hildon_caption_size_request), (hildon_caption_size_allocate),
1976 (hildon_caption_forall), (hildon_caption_set_separator),
1977 (hildon_caption_activate), (hildon_caption_set_child_expand),
1978 (hildon_caption_set_label_text),
1979 (hildon_caption_get_label_alignment):
1981 Remove unnecessary g_assert() calls.
1983 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1985 * src/hildon-banner.c
1986 (hildon_banner_map, hildon_banner_init): Make banner temporary
1987 before mapping it to avoid closing other temporary windows, but
1988 make it non-temporary afterwards to avoid being closed by other
1989 non-temporary windows.
1990 (-hildon_banner_client_event, hildon_banner_init):
1991 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1993 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1996 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1998 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2001 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2003 * src/hildon-remote-texture.c
2004 * src/hildon-remote-texture.h
2005 * src/hildon-remote-texture-private.h
2006 * examples/hildon-remote-texture-example.c:
2007 Updates/fixes to remote-texture and its example.
2009 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2011 Patch by Mox Soini (ext-mox.soini@nokia.com)
2013 * src/hildon-code-dialog.c: Update logical id.
2014 * src/hildon-set-password-dialog.c: Update logical id.
2016 Fixes: NB#100646 (Logical strings is shown for ok in set
2017 password,Password needed dialogs)
2019 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2022 * src/hildon-remote-texture.c
2023 * src/hildon-remote-texture.h
2024 * src/hildon-remote-texture-private.h
2026 Added remote texture widget (for Clutter shared memory textures)
2028 * examples/hildon-remote-texture-example.c
2029 * examples/Makefile.am
2030 Added example file for remote texture usage
2032 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2034 * configure.ac: post release version bump.
2035 * debian/changelog: version bump.
2037 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2042 * configure.ac: Bump version.
2043 * debian/changelog: Updates.
2045 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2047 * src/hildon-date-selector.c (hildon_date_selector_init)
2048 (hildon_date_selector_constructor): Don't connect to the "changed"
2049 signal until the selector is completely constructed.
2051 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2053 * src/hildon-touch-selector.c: (_create_new_column),
2054 (hildon_touch_selector_append_column),
2055 (hildon_touch_selector_set_column_selection_mode),
2056 (hildon_touch_selector_set_active),
2057 (hildon_touch_selector_select_iter):
2058 Emit the HildonTouchSelector::changed signal every time selection
2059 is changed in any of the methods above. This behavior was already
2060 documented but not fully functional.
2062 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2063 selection is programmatically changed)
2065 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2067 * doc/hildon-sections.txt: Remove obsolete icon
2068 sizes from here as well.
2070 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2072 * examples/hildon-stackable-window-example.c (add_window): Remove
2075 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2077 * src/hildon-app-menu.c
2078 (hildon_app_menu_show): Check whether the parent window of a menu
2079 is topmost before popping it up.
2081 Fixes: NB#100468 (Application menu window is launched even when a
2082 new secondary-window/dialog is pending to be shown/realized.)
2084 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2086 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2089 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2091 Patch by Mox Soini (ext-mox.soini@nokia.com)
2093 * src/hildon-banner.c: (hildon_banner_show_animation):
2094 use stylus size instead of obsolete note size.
2095 * src/hildon-defines.h: Update icon sizes.
2097 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2099 * src/hildon-touch-selector-entry.c:
2100 (hildon_touch_selector_entry_init): Disable unsupported
2102 (hildon_touch_selector_entry_get_text_column): Emit a warning
2103 if an unsupported input modes is used and explicitile state
2104 these modes in the documentation.
2106 Fixes: NB#99802 (Hildon touch selector entry not working properly
2107 for some of the input modes)
2109 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2111 * src/hildon-pannable-area.c,
2112 (hildon_pannable_area_init): Added the changed signal handlers of
2115 Fixes: NB#100320 (HildonPannableArea does not listen to
2116 GtkAdjustment "change" signals)
2118 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2120 * doc/hildon-sections.txt
2121 * src/hildon-window-private.h
2122 * src/hildon-window.h
2123 * src/hildon-window.c (hildon_window_init)
2124 (hildon_window_realize, hildon_window_unrealize)
2125 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2126 (hildon_window_size_request, hildon_window_size_allocate)
2127 (hildon_window_forall, hildon_window_show_all)
2128 (hildon_window_destroy, +paint_edit_toolbar)
2129 (+hildon_window_set_edit_toolbar):
2130 New hildon_window_set_edit_toolbar() method, to add a
2131 HildonEditToolbar to a window without having to pack it manually.
2133 Reorganize hildon_window_size_allocate()
2135 * src/hildon-edit-toolbar.c: Update documentation.
2137 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2138 example to use the new API.
2140 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2142 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2144 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2145 Remove from stack before calling parent's hide.
2147 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2149 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2150 window is removed from the middle of the stack, update the
2151 transiency of the previous one.
2153 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2156 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2158 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2159 block/unblock the signal handler if it's not actually being used.
2160 Fixes some critical warnings.
2162 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2164 Based on a patch by Iván Gómez (igomez@igalia.com)
2166 * src/hildon-banner.c
2170 * src/hildon-pannable-area.c
2171 * src/hildon-picker-dialog.c
2172 * src/hildon-wizard-dialog.h
2173 * src/hildon-wizard-dialog.c: Documentation updates.
2175 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2176 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2178 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2180 * configure.ac: post release version bump.
2181 * debian/changelog: version bump.
2183 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2188 * configure.ac: Bump version.
2189 * debian/changelog: Updates.
2191 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2193 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2194 a stock icon nor change the relief of the back arrow.
2196 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2197 graphics from theme)
2199 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2201 * src/hildon-button.c (hildon_button_set_alignment): Use
2202 priv->alignment if the button has no child yet.
2204 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2206 * src/hildon-button.c: (hildon_button_init): Set the
2207 button style during initialization to give it the proper
2210 Fixes: NB#99713 (HildonButton value label color is wrong)
2212 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2214 * src/hildon-touch-selector.c: Document
2215 hildon_touch_selector_center_on_selected()
2217 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2219 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2220 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2221 all menu items, but not the menu itself.
2222 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2223 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2224 items after adding them to the menu so keyboard accelerators work.
2225 (hildon_app_menu_show): Don't show the menu if it contains items
2226 but none of them are visible.
2228 * examples/hildon-app-menu-example.c (create_menu): Use
2229 gtk_widget_show_all() to show all menu items.
2231 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2233 * src/hildon-picker-dialog.c:
2234 (-_update_title_on_selector_changed_cb),
2235 (-_dialog_update_title): Removed.
2236 (_select_on_selector_changed_cb), (_on_dialog_response),
2237 (on_selector_columns_changed): Do not update the dialog title.
2238 (setup_interaction_mode): Do not connect to
2239 HildonTouchSelector::changed signal if there's a "done" button, as
2240 the dialog title doesn't need to be updated.
2242 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2245 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2247 Patch by Kristian Rietveld (kris@imendio.com)
2249 * src/hildon-touch-selector.c: (_create_new_column): Use new
2250 GtkTreeView::hildon-row-tapped signal to react to user interactions
2251 instead of ::changed.
2253 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2254 with some dynamic tree model)
2256 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2258 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2259 (+screen_size_changed, +label_size_request)
2260 (hildon_note_class_init): Make the Hildon information note have a
2261 minimum height, and make its text hvae a maximum width.
2263 Fixes: NB#98614 (Hildon information note (background) should have
2264 minimum height and maximum text width)
2266 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2268 * src/hildon-banner.h
2269 * src/hildon-banner.c (hildon_banner_show_information)
2270 (hildon_banner_show_informationf)
2271 (hildon_banner_show_information_with_markup): Update documentation
2272 to reflect that the icon_name parameter is not used anymore.
2273 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2274 Remove all code from these functions and mark them as deprecated.
2275 (hildon_banner_show_progress): Mark as deprecated.
2277 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2279 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2281 * src/hildon-pannable-area.c,
2282 (hildon_pannable_area_class_init),
2283 (tranparency_color),
2284 (hildon_pannable_draw_vscroll),
2285 (hildon_pannable_draw_hscroll),
2286 (hildon_pannable_area_expose_event): Added a new way to render the
2287 scrollbars of the pannable area avoiding using cairo at all. This
2288 way we improve the performance of the pannable area rendering. The
2289 cairo rendering procedure is still in the code, we can control
2290 which one to use changing the value of the define
2291 USE_CAIRO_SCROLLBARS.
2293 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2295 * configure.ac: post release version bump.
2296 * debian/changelog: version bump.
2298 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2303 * configure.ac: Bump version.
2304 * debian/changelog: Updates.
2306 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2308 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2309 banners instead of destroying them when they receive a button
2312 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2314 Reverted commit 34028, it was causing regressions, probably the
2315 topmost condition is not correct, we have to check it in more
2316 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2317 propagation of button press events)
2319 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2321 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2322 that the selection is not empty before attempting to retrieve the
2323 current ampm selection.
2325 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2327 * src/hildon-picker-button.c:
2328 (hildon_picker_button_on_dialog_response): Directly update the
2329 button contents when required instead of calling _selection_changed.
2331 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2333 * src/hildon-program.c (hildon_program_update_top_most): Update
2334 'is-topmost' property also when wm_hints is not set.
2336 Fixes: NB#98383 (is-topmost signal is not emitted when task
2337 switcher is clicked.)
2339 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2341 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2345 * src/hildon-animation-actor.c,
2346 * src/hildon-animation-actor.h: Added the animation actor class,
2347 this widget represents an animation actor for WM-assisted
2348 animation effects in the Hildon framework.
2350 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2352 * src/hildon-window-stack-private.h
2353 * src/hildon-window-stack.c
2354 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2355 Avoid calling gtk_widget_show() again indirectly from
2356 hildon_stackable_window_show()
2358 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2360 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2363 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2365 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2366 (hildon_time_selector_init): Move the construction of the hours and
2367 ampm columns to the constructor to preserve the order the columns
2370 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2372 * src/hildon-picker-dialog.c:
2373 (hildon_picker_dialog_class_init): Connect a realize method.
2374 (+hildon_picker_dialog_realize): Setup the interaction mode here
2376 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2377 yet, do it during the realize instead.
2378 (_on_dialog_response):
2379 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2380 if the widget is not realized, to avoid the dialog response before it
2383 Avoid premature responses in the HildonPickerDialog that can cause it
2384 to be hidden before it's even shown.
2386 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2388 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2389 (on_selector_columns_changed), (requires_done_button),
2390 (+prepare_action_area), (setup_interaction_mode),
2391 (_hildon_picker_dialog_set_selector):
2393 Split the interaction mode setup into preparation of the
2394 action area (prepare_action_area()) and the connection of
2395 the signals in setup_interaction_mode() and update the code to
2398 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2400 * src/hildon-pannable-area.c,
2401 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2402 per second to 15, we will check if this is ok regarding
2405 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2407 * src/hildon-pannable-area.c,
2408 (hildon_pannable_axis_scroll): Avoid resize if we already have
2409 reached overshoot_max.
2411 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2413 * src/hildon-pannable-area.c,
2414 (hildon_pannable_area_init),
2415 (hildon_pannable_area_realize),
2416 (hildon_pannable_area_size_allocate),
2417 (hildon_pannable_area_map),
2418 (hildon_pannable_area_unmap),
2419 (hildon_pannable_draw_vscroll),
2420 (hildon_pannable_draw_hscroll),
2421 (hildon_pannable_area_expose_event),
2422 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2423 pannable are to avoid the expose events go to the window and
2424 redraw the window. We save this way that part of the stack and the
2425 paint_boxes. We had to change the positions of the elements when
2428 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2430 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2431 * src/hildon-color-chooser-dialog.c:
2432 (hildon_color_chooser_dialog_init):
2433 * src/hildon-font-selection-dialog.c:
2434 (hildon_font_selection_dialog_init),
2435 (hildon_font_selection_dialog_show_preview):
2436 * src/hildon-get-password-dialog.c:
2437 * src/hildon-login-dialog.c:
2438 * src/hildon-set-password-dialog.c:
2439 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2440 * src/hildon-time-picker.c: (hildon_time_picker_init):
2442 Remove obsolete logical string IDs and update to the appropriate ones.
2444 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2446 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2448 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2449 that happens if the window hasn't been realized yet.
2451 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2452 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2454 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2456 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2457 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2460 Fixes: NB#98537 (Device hangs in account settings dialog)
2462 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2464 * configure.ac: post release version bump.
2465 * debian/changelog: version bump
2467 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2472 * configure.ac: Bump version.
2473 * debian/changelog: Updates.
2475 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2477 Added a new function to the HildonTimeButton widget that allows to
2478 change the step of the minutes in the selector associated with the
2479 button: hildon_time_button_new_step
2481 * src/hildon-time-button.c,
2482 (hildon_time_button_init),
2483 (hildon_time_button_new),
2484 (hildon_time_button_new_step):
2485 * src/hildon-time-button.h: Added the new function and refactored
2487 * examples/hildon-time-button-example.c,
2488 (main): We have replaced the function without parameters with the
2489 function with the steps set to 5
2491 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2493 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2495 * src/hildon-time-selector.c,
2496 (hildon_time_selector_class_init),
2497 (hildon_time_selector_constructor),
2498 (hildon_time_selector_get_property),
2499 (hildon_time_selector_set_property),
2500 (_create_minutes_model),
2501 (hildon_time_selector_new_step),
2502 (hildon_time_selector_set_time),
2503 * src/hildon-time-selector.h: Added a new property to the
2504 HildonTimeSelector (minutes-step), we use that property to control
2505 the steps between the minutes in the list of the selector. We have
2506 added a new function to the API to create a widget changing the
2507 step: hildon_time_selector_new_step.
2509 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2511 * src/hildon-time-selector.c,
2512 (hildon_time_selector_class_init),
2513 (hildon_time_selector_constructor),
2514 (hildon_time_selector_init): Overrided the construct function when
2515 creating the time selector object. We have moved the minutes model
2516 handling code from the init to the new construction function:
2517 hildon_time_selector_constructor.
2519 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2521 * examples/hildon-date-button-example.c: (main): Use the new
2522 hildon_date_button_new_with_year_range() method in the example.
2523 * src/hildon-date-button.c:
2524 (+hildon_date_button_new_with_year_range): New public method
2525 to conveniently create a HildonDateButton with a custom year range
2526 in its HildonDateSelector.
2527 * src/hildon-date-button.h: Add the new public method definition.
2529 Fixes: NB#97908 (Not possible to change the year range in
2530 HildonDateSelector/HildonDateButton)
2532 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2534 * src/hildon-date-selector.c:
2535 (+hildon_date_selector_set_property),
2536 (+hildon_date_selector_get_property),
2537 (hildon_date_selector_class_init): Install new properties "min-year"
2538 and "max-year" to define boundaries for the year column.
2539 (_create_year_model): Use the boundary properties to populate the model.
2540 (+hildon_date_selector_new_with_year_range): New public method to
2541 create a HildonDateSelector with a user defined year range.
2542 (hildon_date_selector_select_current_date): Use the new boundaries to
2543 calculate the iterator of current year.
2544 * src/hildon-date-selector.h: Add the new public method definition.
2546 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2548 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2549 Install a constructor method.
2550 (+hildon_date_selector_construct_ui): construct the widget.
2551 (+hildon_date_selector_constructor): new constructor.
2552 (+hildon_date_selector_init): move out widget construction code to
2553 the new constructor.
2555 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2557 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2558 that there's actually a month or year selected before obtaining them.
2559 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2560 of the HildonTouchSelector::changed signal, as it was emitted on every
2561 single item selection.
2563 Fix some warnings and possible crashers due to the selection restoring.
2565 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2567 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2568 the signal handlers only after creating the dialog instead of on every
2571 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2573 * src/hildon-button.c (hildon_button_init)
2574 * src/hildon-check-button.c (hildon_check_button_init)
2575 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2576 focus when clicked by default.
2578 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2580 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2583 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2585 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2586 Alejandro G. Castro (alex@igalia.com)
2588 * src/hildon-picker-dialog.c:
2589 (hildon_picker_dialog_class_init): install new "center-on-show"
2591 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2592 (hildon_picker_dialog_set_property): add setter code for the new
2594 (hildon_picker_dialog_get_property): add getter code for the new
2596 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2597 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2600 Fixes: NB#92849 (Selected item is not always visible when
2601 HildonTouchSelector is shown)
2603 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2605 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2606 Alejandro G. Castro (alex@igalia.com)
2608 * src/hildon-touch-selector.c:
2609 (_create_new_column): Do not connect to the "realize" signal of the
2611 (hildon_touch_selector_append_column): center on the selected items
2612 when a new column is appended.
2613 (hildon_touch_selector_select_iter): Factor out the code to select a
2614 column to hildon_touch_selector_scroll_to().
2615 (+search_nearest_element): Method to retrieve the nearest selected
2616 element to the visible area of the pannable area in a column.
2617 (+on_realize_cb): scroll to the initially selected item.
2618 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2619 the pannable area is realized, otherwise delay this until it is.
2620 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2621 selected items of a given column.
2622 (+hildon_touch_selector_center_on_selected): Public method to center
2623 all columns on the nearest selected item.
2624 * src/hildon-touch-selector.h: Add definition for
2625 hildon_touch_selector_center_on_selected().
2627 Implement public API to ensure visibility of all selected items in
2628 a HildonTouchSelector.
2630 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2632 Fixed a problem in the fading when calling the scroll_to API, and
2633 improve scrollbar fading handling.
2635 * src/hildon-pannable-area.c,
2636 (hildon_pannable_area_grab_notify): avoid the timeout when the
2638 (hildon_pannable_area_button_press_cb),
2639 (hildon_pannable_area_motion_notify_cb): Code style changes.
2640 (hildon_pannable_area_button_release_cb): Review the conditions
2641 when releasing the mouse button to avoid unrequired fading
2643 (hildon_pannable_area_scroll_to): Do not calculate and set the
2644 velocity if the scroll is not required.
2646 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2648 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2649 Don't check whether the new selector is NULL: it cannot be.
2650 Hold a reference to the selector while doing the replacement.
2652 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2654 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2655 unnecessary size_request in a removed widget.
2657 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2659 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2660 an unnecessary reference tracking that was leaking.
2662 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2664 Added delayed motion notify event handling, this way we can
2665 discard redrawing if more than 25 events arrive per second.
2667 * src/hildon-pannable-area.c,
2668 (hildon_pannable_area_init): Initialized the new private atributes
2669 controlling this timeout
2670 (hildon_pannable_area_dispose): Remove the timeout that controls
2671 the motion notify events.
2672 (hildon_pannable_area_scroll): Added a condition to control the
2673 use of the acceleration.
2674 (hildon_pannable_area_motion_event_scroll_timeout),
2675 (hildon_pannable_area_motion_event_scroll): Added this two
2676 functions, they handle the motion notify events inside the
2678 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2679 to the scroll method with the new function.
2680 (hildon_pannable_area_button_release_cb): We have to remove the
2681 timeout handler and move to the last position if the last motion
2682 events were not handled.
2684 Fixes: NB#97028 (Pannable area updates on every motion event)
2686 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2688 * src/hildon-pannable-area.c,
2689 (hildon_pannable_area_get_topmost): Added a new parameter to
2690 filter the the windows that do not include those events. Added
2691 also a condition when finding the window to filter windows that do
2692 not ask for those events.
2693 (hildon_pannable_area_button_press_cb),
2694 (hildon_pannable_area_button_release_cb),
2695 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2696 topmost function, we have added the new parameter.
2698 Fixes: NB#97458 (Pannable area prevents propagation of button
2701 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2703 * src/hildon-pannable-area.c,
2704 (hildon_pannable_area_initial_effect): Added controls before
2705 launching the timeout and the idle functions.
2706 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2707 of the method, in some situations it can return with TRUE and 0 in
2709 (hildon_pannable_area_button_press_cb): We do not need to set
2710 DELAY for fading out here.
2712 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2714 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2716 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2717 post-cleaning if the selection is not NULL.
2719 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2721 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2722 all items before restoring the selection.
2724 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2726 * src/hildon-touch-selector.c:
2727 (+hildon_touch_selector_unselect_all):
2728 * src/hildon-touch-selector.h: New API to unselect all items in a
2729 column of the touch selector.
2731 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2733 * src/hildon-pannable-area.c,
2734 (hildon_pannable_area_redraw): Added a call to the refresh
2735 function inside the redraw because apparently in some cases the
2736 change in the adjustment does not imply a size allocate.
2738 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2739 despite the view not being scrollable)
2741 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2743 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2744 leak. Check for NULL before attempting to set the window title.
2746 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2748 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2749 whether to show or not the 'Done' button each time the dialog is
2750 shown, as it depends on the HildonTouchSelector selection mode.
2752 Fixes: NB#96226 (In multiple selection mode Done button is shown
2753 sometimes in listpicker)
2755 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2757 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2758 for the number of columns in the HildonTouchSelector more than once.
2760 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2762 * src/hildon-touch-selector.c: Minor documentation fixes.
2764 * src/hildon-picker-dialog.c (+_dialog_update_title)
2765 (_select_on_selector_changed_cb)
2766 (_update_title_on_selector_changed_cb)
2767 (on_selector_columns_changed): Update dialog title when there's no
2768 'Done' button and also when the number of columns in the selector
2772 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2773 (+_selection_changed, hildon_picker_button_on_dialog_response)
2774 (hildon_picker_button_selector_selection_changed)
2775 (+hildon_picker_button_selector_columns_changed)
2776 (hildon_picker_button_set_selector): Update button value and emit
2777 'value-changed' when the number of columns in the selector
2781 Fixes: NB#96225 (Dialog titles are not shown according to the
2782 values selected in the list picker)
2784 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2786 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2787 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2788 New "arrow-width" and "arrow-height" style properties to set the
2789 size of the arrow button.
2790 Set name of arrow button ("hildon-edit-toolbar-arrow").
2792 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2793 graphics from theme)
2795 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2797 * src/hildon-picker-button.c:
2798 (hildon_picker_button_selector_selection_changed): Use
2799 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2800 the dialog is present.
2802 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2803 the selection is accepted in the dialog)
2805 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2807 * src/hildon-color-chooser.h
2808 * src/hildon-color-chooser-dialog.h:
2809 Added G_BEGIN_DECLS and G_END_DECLS
2811 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2813 (_clean_current_selection): plug a leak in the list.
2815 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2817 * src/hildon-picker-dialog.c:
2818 (+free_path_list): Method to free a GList of GtkTreePaths.
2819 (_clean_current_selection), (_save_current_selection),
2820 (_restore_current_selection): Save the current selection in
2821 as a list of lists, to support multiple selection properly.
2823 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2825 patch by Claudio Saavedra (csaavedra@igalia.com)
2827 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2828 Store the press position.
2829 (+hildon_text_view_button_release_event): If the release position is
2830 close enough to the press position, move the cursor here. Otherwise,
2832 (hildon_text_view_class_init): Override GtkTextView press, release, and
2833 motion event handlers, disabling this way text selection through
2834 pointer interaction, and allowing the container widget to handle the
2837 Fixes: NB#95828 (HildonTextView functionality)
2839 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2841 Based on a patch by Iván Gómez (igomez@igalia.com)
2843 * src/hildon-button.[ch]
2844 * src/hildon-calendar.c
2845 * src/hildon-check-button.c
2846 * src/hildon-date-editor.c
2847 * src/hildon-date-selector.c
2848 * src/hildon-picker-button.c
2849 * src/hildon-time-editor.c
2850 * src/hildon-time-selector.c
2851 * src/hildon-touch-selector.[ch]:
2852 Documentation updates
2854 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2856 * src/hildon-pannable-area.c,
2857 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2858 threshold, it was required due to X events handling.
2860 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2862 * src/hildon-pannable-area.c,
2863 (hildon_pannable_area_grab_notify),
2864 (hildon_pannable_area_initial_effect),
2865 (hildon_pannable_area_button_press_cb),
2866 (hildon_pannable_area_button_release_cb),
2867 (hildon_pannable_area_scroll_cb),
2868 (hildon_pannable_area_scroll_to): Review the timeout management of
2869 the scrollbar, the frecuency was incorrectly set.
2871 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2873 * src/hildon-picker-button.c:
2874 (+hildon_picker_button_on_dialog_response),
2875 (hildon_picker_button_clicked): Present the dialog instead of
2876 running it with gtk_dialog_run().
2878 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2881 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2883 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2884 (hildon_app_menu_finalize): When a window is hidden it doesn't
2885 emit notify::is-topmost, so make sure than the menu also
2886 disappears in that case.
2887 (parent_window_topmost_notify): Renamed from parent_window_hidden
2889 Fixes: NB#94460 (stackable window's menu is not closed when its
2892 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/hildon-touch-selector-entry.c:
2895 (+hildon_touch_selector_entry_set_input_mode),
2896 (+hildon_touch_selector_entry_get_input_mode):
2897 * src/hildon-touch-selector-entry.h: New methods to access the input
2898 mode in the selector's entry.
2900 Fixes: NB#93410 (API required for setting IM mode in
2901 HildonTouchSelectorEntry)
2903 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2905 * configure.ac: post release version bump.
2906 * debian/changelog: version bump
2908 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2913 * configure.ac: Bump version.
2914 * debian/changelog: Updates.
2916 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2918 * src/hildon-touch-selector.c:
2919 (_hildon_touch_selector_has_multiple_selection): No need
2920 to initialize the variables here.
2922 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2924 * src/hildon-note-private.h
2925 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2926 (hildon_note_finalize, hildon_note_rebuild): Close information
2927 notes when they receive a button press.
2929 Fixes: NB#89890 (Information notes does not get disappeared after
2932 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2934 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2935 mark from the wizard title, as it's not really necessary. Also,
2936 do not display the page title if not set.
2938 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2940 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2941 (parent_window_hidden): Use the window's "is-topmost" property to
2942 detect when to hide the menu.
2944 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2946 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2947 (hildon_app_menu_finalize): If the parent window of the menu is
2948 hidden, hide the menu too.
2950 Fixes: NB#94460 (stackable window's menu is not closed when its
2953 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2956 * debian/libhildon1-examples.install
2958 * examples/Makefile.am:
2959 Use dh_install to install all examples.
2960 Use DEB_SRCDIR instead of defining SOURCE_DIR
2962 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2964 * configure.ac: post release version bump.
2965 * debian/changelog: version bump
2967 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2972 * configure.ac: bump version
2973 * debian/changelog: updates
2974 * debian/control: bump gtk+ dependency
2976 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2978 patch by Christian Dywan (christian@imendio.com)
2980 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2981 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2983 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2985 * src/hildon-check-button.c (hildon_check_button_init)
2986 (hildon_check_button_class_init, hildon_check_button_style_set)
2987 (hildon_check_button_apply_style):
2988 New "checkbox-size" style property.
2990 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2991 larger / configurable size)
2993 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2995 * configure.ac: post release version bump.
2996 * debian/changelog: version bump
2998 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3003 * configure.ac: bump version
3004 * debian/changelog: updates
3006 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3008 * doc/hildon-sections.txt
3009 * src/hildon-pannable-area.c
3010 * src/hildon-program.c
3011 * src/hildon-time-editor.c
3012 * src/hildon-touch-selector-entry.c:
3014 More documentation updates.
3016 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3018 * doc/hildon-sections.txt
3019 * src/hildon-caption.c
3020 * src/hildon-code-dialog.c
3021 * src/hildon-color-button.c
3022 * src/hildon-controlbar.c
3023 * src/hildon-date-editor.c
3024 * src/hildon-date-selector.c
3025 * src/hildon-edit-toolbar.c
3026 * src/hildon-find-toolbar.c
3027 * src/hildon-font-selection-dialog.c
3029 * src/hildon-program.c
3030 * src/hildon-range-editor.c
3031 * src/hildon-seekbar.c
3032 * src/hildon-time-editor.c
3033 * src/hildon-time-selector.c
3034 * src/hildon-volumebar-range.c
3035 * src/hildon-volumebar.c
3036 * src/hildon-vvolumebar.c
3037 * src/hildon-weekday-picker.c
3038 * src/hildon-window.c
3039 * src/hildon-wizard-dialog.c:
3041 Lots of documentation fixes.
3043 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3045 Patch contributed by Iván Gómez (igomez@igalia.com)
3047 * src/hildon-check-button.c:
3048 * src/hildon-date-button.c:
3049 * src/hildon-date-selector.c:
3050 * src/hildon-dialog.c:
3051 * src/hildon-edit-toolbar.c:
3052 * src/hildon-entry.c:
3053 * src/hildon-picker-button.c:
3054 * src/hildon-program.c:
3055 * src/hildon-text-view.c:
3056 * src/hildon-time-button.c:
3057 * src/hildon-touch-selector-entry.c:
3058 * src/hildon-window-stack.c:
3060 Add more "since" tags to the new API.
3062 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3064 * doc/hildon-sections.txt: Add below method.
3065 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3066 version for the hildonized scale.
3067 * src/hildon-gtk.h: Add the definition.
3069 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3071 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3073 * doc/hildon-sections.txt: Add missing entries for new methods.
3075 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3077 Added API to pannable are in order to get its adjustments. We
3078 added two properties to manage the values we had in the private
3081 * src/hildon-pannable-area.c:
3082 (hildon_pannable_area_class_init): Added hadjustment and
3083 vadjustment properties in order to expose horizontal and vertical
3085 (hildon_pannable_area_get_property),
3086 (hildon_pannable_area_set_property): Added code to handle the new
3088 (hildon_pannable_area_get_hadjustment),
3089 (hildon_pannable_area_get_vadjustment): API functions to get the
3091 * src/hildon-pannable-area.h:
3092 (hildon_pannable_area_get_hadjustment),
3093 (hildon_pannable_area_get_vadjustment): API functions to get the
3096 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3098 Fixed some leaks, after valgrinding.
3100 * src/hildon-touch-selector.c:
3101 (_default_print_func): Fixed a leak.
3102 (hildon_touch_selector_append_column): Fixed a leak.
3103 * src/hildon-date-button.c:
3104 (hildon_date_button_init): Fixed a leak.
3105 * src/hildon-date-selector.c
3106 (hildon_date_selector_finalize): Fixed a leak.
3108 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3110 Based on a patch by Christian Dywan (christian@imendio.com)
3112 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3114 * src/hildon-gtk.h: Add definition.
3116 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3118 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3120 * src/hildon-picker-button.c: (hildon_picker_button_init),
3121 (hildon_picker_button_new): Set the HildonButton::style property
3122 in the init method, to propagate the value to the derived classes.
3124 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3126 * src/hildon-button.c: (hildon_button_class_init): Do not make
3127 the "style" property a construct property.
3129 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3131 * src/hildon-wizard-dialog.h
3132 * src/hildon-wizard-dialog.c
3133 (hildon_wizard_dialog_set_forward_page_func)
3134 * src/hildon-pannable-area.h
3135 * src/hildon-pannable-area.c
3136 (hildon_pannable_area_set_size_request_policy):
3137 Documentation fixes.
3139 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3141 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3143 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3145 * doc/hildon-sections.txt: Added sections file.
3147 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3150 * src/*.[ch]: Updates.
3152 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3154 * examples/hildon-progress-indicator-example.c: new file
3155 * examples/Makefile.am: include the new example program
3157 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3159 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3161 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3163 * configure.ac: post release version bump
3164 * debian/changelog: version bump
3166 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3171 * configure.ac: bump version
3172 * debian/changelog: updates
3173 * debian/control: bump gtk+ dependency
3175 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3177 * src/hildon-dialog.c: Mark as deprecated.
3178 * src/hildon-dialog.h: Mark as deprecated.
3179 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3180 from HildonDialog and still work, even if
3181 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3182 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3184 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3185 maemo changes) instead)
3187 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3189 * src/hildon-pannable_area.h:
3190 * src/hildon-pannable_area.c:
3191 (hildon_pannable_area_class_init),
3192 (hildon_pannable_area_set_property),
3193 (hildon_pannable_area_get_property),
3194 (hildon_pannable_area_size_request),
3195 (hildon_pannable_area_get_size_request_policy),
3196 (hildon_pannable_area_set_size_request_policy): Added new API
3197 allowing applications to control the request policy. Now they can
3198 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3199 children allocation (HILDON_MOVEMENT_CHILDREN).
3201 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3205 (hildon_gtk_tree_view_set_ui_mode)
3206 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3207 mode of treeviews and iconviews.
3209 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3211 * src/hildon-touch-selector-entry.c:
3212 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3213 of a GtkEntry to get proper theming.
3215 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3216 widget, not GtkEntry)
3218 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3220 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3221 no HildonWizardDialogPageFunc.
3223 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3225 Patch contributed by Iván Gómez (igomez@igalia.com)
3227 * src/hildon-app-menu.c:
3228 * src/hildon-button.c:
3229 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3230 * src/hildon-stackable-window.c:
3231 * src/hildon-time-selector.c:
3232 * src/hildon-touch-selector.c:
3233 * src/hildon-window.c:
3235 Add more "since" tags to the new API in hildon 2.2.
3237 2008-12-05 Tim Janik <timj@imendio.com>
3239 Patch contributed by Christian Dywan (christian@imendio.com)
3241 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3242 HildonSizeType, which are supplied by Gtk+ now.
3244 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3246 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3247 (with maemo changes) instead)
3249 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3251 Patch contributed by Iván Gómez (igomez@igalia.com)
3253 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3256 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3258 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3259 (some_page_func), (main): Update the example to use a
3260 HildonWizardDialogPageFunc function.
3262 * src/hildon-wizard-dialog-private.h: Add private data for
3263 the HildonWizardDialogPageFunc function usage.
3265 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3266 (destroy), (hildon_wizard_dialog_init), (response),
3267 (hildon_wizard_dialog_set_forward_page_func):
3268 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3269 that applications can use to stop a HildonWizardDialog to jump to
3272 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3275 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3277 * src/hildon-program.h
3278 * src/hildon-program-private.h
3279 * src/hildon-program.c (hildon_program_init)
3280 (hildon_program_set_common_app_menu)
3281 (hildon_program_get_common_app_menu):
3282 New API for setting a common HildonAppMenu for all
3283 HildonStackableWindows registered with the HildonProgram.
3285 * src/hildon-stackable-window.c
3286 (hildon_stackable_window_toggle_menu):
3287 Use the common HildonAppMenu if a window doesn't have a specific
3290 * src/hildon-app-menu-private.h
3291 * src/hildon-app-menu.c
3292 (hildon_app_menu_get_parent_window):
3293 Function to obtain the window a HildonAppMenu is attached to.
3294 (hildon_app_menu_set_parent_window):
3295 Hide the menu if the parent window is set to NULL.
3297 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3299 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3300 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3301 search widget to popup.
3303 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3305 * configure.ac: post release version bump
3306 * debian/changelog: version bump
3308 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3313 * configure.ac: bump version
3314 * debian/changelog: updates
3316 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3318 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3320 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3321 (hildon_window_stack_window_realized)
3322 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3323 Set the leader GdkWindow when a window is stacked and realized,
3324 unset it when it's unstacked.
3325 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3327 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3329 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3331 * src/hildon-stackable-window.h
3332 * src/hildon-window-stack.h:
3333 Protect definition of HildonWindowStack using the preprocessor.
3335 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3337 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3338 Fix warning if all menu items are hidden.
3340 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3342 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3344 * src/hildon-controlbar.c:
3345 * src/hildon-hvolumebar.c:
3346 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3347 Multiple scale size defines updates.
3349 Fixes: NB#94322 (Scale Updates)
3351 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3353 * examples/hildon-app-menu-example.c (create_menu)
3354 Show items after adding them to the menu, as in the future the
3355 menu will no longer call gtk_widget_show() on the added items.
3357 * src/hildon-app-menu.c:
3358 Update example as explained above.
3360 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3362 * src/hildon-app-menu.c
3363 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3364 Make sure that all menu items have finger height.
3366 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3368 * src/hildon-picker-dialog.c:
3369 (_on_dialog_response), (_save_current_selection),
3370 (_restore_current_selection), (_clean_current_selection),
3371 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3372 Defined new functions in order to save the current internal selector
3373 selection previous open the dialog, in case that the use cancel the
3374 interaction, so the widget restores the previous selection.
3376 Fixes: NB#92032 (In calendar application, date values in 'new event'
3379 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3381 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3383 * src/hildon-button.c: Add a reference to the button examples in
3384 hildon-button-example.c
3386 * examples/hildon-button-example.c: Added examples of the most
3387 common button layouts.
3389 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3391 * src/hildon-app-menu.c (hildon_app_menu_show)
3392 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3394 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3396 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3398 * src/hildon-picker-dialog.c:
3399 (hildon_picker_dialog_init): Initialize the signal id for
3400 HildonTouchSelector::columns-changed.
3401 (+on_selector_columns_changed): Set up the interaction mode everytime a
3402 column is added or removed from the HildonTouchSelector.
3403 (_hildon_picker_dialog_set_selector): Connect to
3404 HildonTouchSelector::columns-changed and keep track of it.
3406 Make sure to update the interaction mode of the dialog everytime a
3407 column is added or removed in the HildonTouchSelector.
3409 Fixes: NB#93228 (Done button is not shown always in listpicker)
3411 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3413 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3414 a new ::columns-changed signal.
3415 (hildon_touch_selector_append_column): Emit ::columns-changed.
3416 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3418 Add a ::columns-changed signal, emitted when the number of columns in a
3419 HildonTouchSelector changes.
3421 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3423 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3424 (_hildon_picker_dialog_set_selector): Factor out the code
3425 to set up the dialog interaction mode.
3427 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3429 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3430 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3431 to signal_changed_id.
3433 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3435 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3438 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3440 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3441 Updated the logical ids related to ampm format, as now it is required to
3442 show it correctly localized even on languages with no default
3443 abbreviations for am or pm
3444 (_check_am_pm_format): check correctly the 24h format gconf property
3446 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3448 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3450 * src/hildon-button.c: Documentation updates.
3452 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3454 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3455 * src/hildon-caption.c: (hildon_caption_class_init):
3456 * src/hildon-color-button.c: (hildon_color_button_class_init):
3457 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3458 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3459 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3460 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3462 Remove deprecated GTK+ marshalers and replace them with the ones
3463 provided by GLib, for those available, add a marshaler for
3464 BOOLEAN:VOID, which is not available in GLib, and use it.
3466 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3468 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3469 the text from the previous column if there is no
3470 HildonTouchSelectorColumn::text-property set.
3472 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3474 * src/hildon-button.h
3475 * src/hildon-button.c (hildon_button_set_property)
3476 (hildon_button_get_property, hildon_button_class_init)
3477 (hildon_button_set_style, hildon_button_get_style):
3478 New "style" property to change the visual appearance of the
3481 * src/hildon-picker-button.c (hildon_picker_button_new):
3482 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3484 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3485 HildonButton look like PickerButton)
3487 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3489 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3490 column while building the default string.
3492 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3494 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3495 scroll indicator by default.
3497 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3499 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3501 * src/hildon-main.c: Fix the documentation for hildon_init()
3503 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3505 * doc/hildon-docs.sgml
3509 * src/hildon-window-stack-private.h
3510 * src/hildon-window-stack.h
3511 * src/hildon-window-stack.c:
3512 New HildonWindowStack object, that adds support for multiple
3513 stacks of windows per process.
3515 * src/hildon-stackable-window-private.h
3516 * src/hildon-stackable-window.h
3517 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3518 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3519 (hildon_stackable_window_show, hildon_stackable_window_hide)
3520 (hildon_stackable_window_class_init)
3521 (hildon_stackable_window_init):
3522 Use HildonWindowStack for stack management.
3524 * src/hildon-program.c (hildon_program_pop_window_stack)
3525 (hildon_program_peek_window_stack)
3526 (hildon_program_go_to_root_window):
3527 Add a fallback implementation to the deprecated functions using
3530 * examples/hildon-stackable-window-example.c:
3531 Use the new HildonWindowStack API.
3533 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3535 * src/hildon-stackable-window-private.h
3536 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3537 (hildon_stackable_window_hide, hildon_stackable_window_init):
3538 Remove all window stack management.
3540 * src/hildon-program-private.h
3541 * src/hildon-program.h
3542 * src/hildon-program.c (hildon_program_init)
3543 (hildon_program_pop_window_stack)
3544 (hildon_program_peek_window_stack)
3545 (hildon_program_go_to_root_window):
3546 Remove all window stack management and mark functions as
3549 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3551 * src/hildon-app-menu.c (hildon_app_menu_realize):
3552 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3554 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3556 * configure.ac: post release version bump
3557 * debian/changelog: version bump
3559 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3564 * configure.ac: bump version
3565 * debian/changelog: updates
3567 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3569 Based on initial code by Christian Dywan (christian@imendio.com)
3571 * doc/hildon-docs.sgml: Add section for hildon-main.
3572 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3573 * src/Makefile.am: Add new hildon-main.[ch]
3574 * src/hildon-defines.h: Update the icon sizes.
3575 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3576 new library initialization files and register icon sizes.
3577 * src/hildon-main.h: New declarations.
3578 * src/hildon.h: Include hildon-main.h
3580 Add new initialization functions to the library. These methods
3581 will register the hildon specific icon sizes and can be used in the
3582 future for other hildon specific bits.
3584 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3586 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3588 * src/hildon-window.c: (hildon_window_realize),
3589 (hildon_window_notify), (-hildon_window_update_title): Do not set
3590 the application name in the window title.
3592 Fixes: NB#89754 (Applications shouldn't display their names in the
3595 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3597 * src/hildon-note-private.h:
3598 * src/hildon-note.c: (hildon_note_set_property),
3599 (hildon_note_get_property), (hildon_note_class_init),
3600 (hildon_note_init), (hildon_note_finalize),
3601 (hildon_note_new_confirmation_with_icon_name),
3602 (hildon_note_new_information_with_icon_name):
3604 No need to mark as deprecated the actual code. Revert
3605 to avoid missing symbols in widgets using deprecated API.
3607 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3609 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3611 * src/hildon-volumebar.h
3612 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3613 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3615 * src/hildon-helper.h
3616 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3617 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3619 * examples/Makefile.am:
3620 Deprecate hildon-insensitive-example
3622 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3624 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3626 * examples/hildon-pannable-area-buttons-scroll-example.c:
3627 Make all buttons finger height
3629 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3631 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3633 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3634 update the day model only if it is really required, and to avoid the
3635 full-reconstruction aproach. Now it only add or remove the required days.
3637 The purpose of this is avoid superfluous HildonTouchSelector::changed
3640 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3641 with strange parameters)
3643 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3645 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3647 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3648 the WINDOW_TYPE property.
3650 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3652 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3655 Fix dependency to allow parallel compilation with make -jX
3657 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3659 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3660 color frame and some minor tweaks to make it more consistent with
3663 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3664 highlighted but not visible)
3666 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3668 * examples/Makefile.am: Fixed typo in the Makefile.am.
3670 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3672 Reviewed the use of MAEMO_GTK define, now we add the define in the
3673 compilation line, and we also add it to the pc file.
3675 * configure.ac: Added MAEMO_GTK define to the compilation command
3676 and removed it from the config.h.
3678 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3679 do not have to take care about this define if the library was
3683 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3685 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3687 * examples/Makefile.am,
3688 * examples/hildon-pannable-area-buttons-scroll-example.c,
3689 * examples/hildon-pannable-area-gesture-signals-example.c,
3690 * examples/hildon-pannable-area-scroll-jump-example.c,
3691 * examples/hildon-pannable-area-tree-view-example.c:
3692 Renamed the pannable area examples, now they have more meaningful
3695 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3697 * src/hildon-touch-selector.c:
3698 (hildon_touch_selector_set_column_selection_mode): Used of
3699 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3700 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3701 to avoid re-seting the same selection mode.
3703 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3704 breaks HildonPickerDialog)
3706 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3708 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3709 conditional in the Makefile.am
3711 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3713 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3714 Remove unused methods.
3716 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3718 * src/hildon-button.c (hildon_button_init):
3719 Make button images center-aligned by default
3721 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3724 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3725 activated, we have to think about how to deal with both defines
3726 MAEMO_GTK and MAEMO_CHANGES.
3728 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3730 * examples/hildon-app-menu-example.c (create_menu): Make all
3731 buttons finger size.
3733 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3735 Fixed the compilation without maemo gtk adding ifdefs with
3736 MAEMO_GTK define to the code, we have to check this version more
3739 * examples/Makefile.am: Added control to avoid some examples that
3740 just make sense with maemo gtk.
3743 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3744 hildon modes with the define.
3746 * examples/hildon-edit-toolbar-example.c,
3747 (create_icon_view): Create the icon view without hildon-gtk
3748 helpers if we are not using maemo gtk.
3750 * src/hildon-touch-selector.c,
3751 (_create_new_column): Create the treeview without hildon-gtk
3752 helpers if we are not using maemo gtk.
3754 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3756 * src/hildon-pnnable-area.c,
3757 (hildon_pannable_area_dispose),
3758 (hildon_pannable_area_button_press_cb),
3759 (hildon_pannable_area_child_mapped),
3760 (hildon_pannable_area_add),
3761 (hildon_pannable_area_remove): Added code to control the position
3762 of the event_window when adding and removing children from the
3763 pannable. We have to raise the event window when the child is
3766 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3767 selection mode using custom widget inside pannable)
3769 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3771 * configure.ac: post release version bump
3772 * debian/changelog: version bump
3774 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3779 * configure.ac: bump version
3780 * debian/changelog: updates
3782 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3784 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3785 search mode, in order to avoid lose the focus on the treeview when
3786 a hw key (like enter) is pressed.
3788 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3789 in HildonDateSelector dialog)
3791 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3793 * debian/rules: Added --enable-maintainer-mode
3794 * Makefile.am: Added ACLOCAL_AMFLAGS
3796 This allows to properly regenerate the Makefiles if you modify the
3797 configure.ac or any Makefile.am.
3799 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3801 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3802 properties, not needed at all.
3804 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3806 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3808 * src/hildon-note.c: (hildon_note_set_property),
3809 (hildon_note_get_property), (hildon_note_class_init),
3810 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3811 (hildon_note_new_confirmation_add_buttons): Remove icons.
3812 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3813 (hildon_note_new_information_with_icon_name): Deprecate.
3814 (hildon_note_new_confirmation): Act directly, without calling
3815 the deprecated constructor.
3816 (hildon_note_new_information): Act directly, without calling
3817 the deprecated constructor.
3818 * src/hildon-note.h: Mark deprecate methods as such.
3819 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3820 not run tests on the deprecated methods if built with deprecation
3823 Fixes: NB#91688 (Never show icons in information notes/confirmation
3826 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3828 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3829 (hildon_app_menu_key_press): Remove leftover usage of the
3830 private structure in HildonAppMenu struct.
3831 * src/hildon-app-menu.h: Remove leftover private structure
3832 from the HildonAppMenu struct.
3834 Fixes a crasher when using the HildonAppMenu.
3836 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3838 * src/hildon-picker-dialog.c: Use appropriate logical id
3839 for the default "Done" text.
3841 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3843 * configure.ac: post release version bump
3844 * debian/changelog: version bump
3846 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3848 Modified the way to scroll to the current selection just when the touch
3849 selector is shown on the screen, avoiding a g_idle. Added too a property
3850 to configure this behaviour. See hildon_pannable_area_jump_to_child
3851 documentation for more information.
3853 * src/hildon-touch-selector.c
3854 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3855 Added 'initial-scroll' property
3856 (hildon_touch_selector_set_property): Added
3857 (hildon_touch_selector_map): Removed as not required anymore
3858 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3859 only a concrete column, instead of iterate along all the columns
3861 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3866 * configure.ac: bump version
3867 * debian/changelog: updates
3869 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3871 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3872 compilation time warnings.
3874 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3876 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3877 the default value for HildonPannableArea::mov-mode to
3878 HILDON_PANNABLE_AREA_MODE_VERT.
3880 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3882 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3884 Reverting following commit:
3886 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3888 * src/hildon-app-menu-private.h
3889 * src/hildon-app-menu.[ch]
3890 * src/hildon-button.[ch]
3891 * src/hildon-check-button.[ch]
3892 * src/hildon-entry.[ch]
3893 * src/hildon-pannable-area.[ch]
3894 * src/hildon-text-view.[ch]:
3895 Added private field to the object's structure.
3897 because it causes an ABI breakage. We will need to introduce these
3898 changes later at some point. See NB#91636 for an extensive
3899 explanation and status.
3901 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3903 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3905 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3906 remove special cases that are no longer necessary.
3908 Fixes: NB#91016 (Change toolbar sizes, simplification)
3910 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3912 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3913 is shown in the cancel note.
3915 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3917 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3918 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3919 (hildon_seekbar_init): Remove steppers, remove expose event.
3920 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3922 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3924 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3926 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3927 label font to "SmallSystemFont" for vertically arranged buttons.
3929 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3932 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3934 * src/hildon-check-button.c
3935 (hildon_check_button_set_active, hildon_check_button_clicked):
3936 Don't access private parts directly, use getters instead.
3938 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3940 * src/hildon-check-button.c (hildon_check_button_new):
3941 Align the contents of the check button to the left.
3943 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3945 * src/hildon-pannable-area.c,
3946 (hildon_pannable_area_scroll_to),
3947 (hildon_pannable_area_jump_to),
3948 (hildon_pannable_area_scroll_to_child),
3949 (hildon_pannable_area_jump_to_child): Replace the mapped
3950 precondition of these functions with the realized, it is the
3951 correct state of the widget in this case. Changed the
3952 documentation according to this modification.
3954 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3956 Added a new EXTRA_CFLAGS option to add the deprecated define to
3957 the compilation command. This way we can avoid using the define in
3958 the documentation compilation.
3960 * configure.ac: Defined EXTRA_CFLAGS.
3962 * examples/Makefile.am:
3964 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3966 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3968 * src/hildon-picker-dialog.c:
3969 Defined a utility macro with the desired touch selector height
3970 Removed currently unused separator, and title_label variables from
3972 (hildon_picker_dialog_init): Removed code related to the creation
3973 of unused private variables title_label and separator.
3974 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3975 to ensure correct visualization of the touch selector inside the dialog.
3976 * src/hildon-touch-selector.c
3977 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3978 ensure a concrete height of the widget.
3980 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3983 * tests/Makefile.am:
3985 Remove spurious whitespaces.
3987 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3989 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3990 compilation warning after the cancel button removal.
3992 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3994 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3996 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3997 Makefile.am, that way we can choose not to compile some examples
3998 and tests of the deprecated widgets.
4000 * examples/Makefile.am: Divided the sources in deprecated and
4003 * src/Makefile.am: Added undef statement of the deprecated
4004 symbol to the enums file generation process.
4006 * src/hildon-color-chooser-dialog.c
4007 * src/hildon-color-chooser-dialog.h
4008 * src/hildon-color-button.c
4009 * src/hildon-color-button.h
4010 * src/hildon-color-chooser.c
4011 * src/hildon-color-chooser.h
4012 * src/hildon-controlbar.c
4013 * src/hildon-controlbar.h
4014 * src/hildon-date-editor.c
4015 * src/hildon-date-editor.h
4016 * src/hildon-hvolumebar.c
4017 * src/hildon-hvolumebar.h
4018 * src/hildon-private.c
4019 * src/hildon-private.h
4020 * src/hildon-range-editor.c
4021 * src/hildon-range-editor.h
4022 * src/hildon-seekbar.c
4023 * src/hildon-seekbar.h
4024 * src/hildon-time-editor.c
4025 * src/hildon-time-editor.h
4026 * src/hildon-time-picker.c
4027 * src/hildon-time-picker.h
4028 * src/hildon-volumebar.c
4029 * src/hildon-volumebar.h
4030 * src/hildon-vvolumebar.c
4031 * src/hildon-vvolumebar.h
4032 * src/hildon-bread-crumb-trail.h
4033 * src/hildon-bread-crumb-trail.c
4034 * src/hildon-calendar-popup.c
4035 * src/hildon-calendar-popup.h
4036 * src/hildon-weekday-picker.c:
4037 * src/hildon-weekday-picker.h:
4038 * src/hildon-bread-crumb-widget.c:
4039 * src/hildon-bread-crumb-widget.h:
4040 * src/hildon-bread-crumb.c:
4041 * src/hildon-bread-crumb.h:
4042 * src/hildon-calendar.c:
4043 * src/hildon-calendar.h:
4044 * src/hildon-caption.c:
4045 * src/hildon-code-dialog.c:
4046 * src/hildon-code-dialog.h:
4047 * src/hildon-font-selection-dialog.c:
4048 * src/hildon-font-selection-dialog.h:
4049 * src/hildon-get-password-dialog.c:
4050 * src/hildon-get-password-dialog.h:
4051 * src/hildon-login-dialog.c:
4052 * src/hildon-login-dialog.h:
4053 * src/hildon-number-editor.c:
4054 * src/hildon-number-editor.h:
4055 * src/hildon-set-password-dialog.c:
4056 * src/hildon-set-password-dialog.h:
4057 * src/hildon-sort-dialog.c:
4058 * src/hildon-sort-dialog.h: This is the list of deprecated
4061 * src/hildon-touch-selector.c:
4062 * src/hildon-window.c: Added undef statement to avoid compilation
4065 * tests/Makefile.am: Divided the sources in deprecated and
4068 * tests/check_test.c,
4069 (configure_tests): Marked the deprecated code that was adding
4070 suites with deprecated tests.
4072 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4074 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4076 * src/hildon-touch-selector.c: (_default_print_func): Do not
4077 duplicate a string returned by gtk_tree_model_get(), it is already
4080 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4083 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4085 * src/hildon-pannable-area.c
4086 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4087 method, it had problems when adding a widget with viewport the
4088 second time. Now checks if it already has a viewport and uses it.
4090 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4093 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4095 * src/hildon-pannable-area.c,
4096 (hildon_pannable_area_scroll_to),
4097 (hildon_pannable_area_jump_to),
4098 (hildon_pannable_area_scroll_to_child),
4099 (hildon_pannable_area_jump_to_child): Added a precondition to the
4100 scroll and jump to functions: the widget must be mapped before we
4101 can safely call these functions. We have also added documentation
4102 to the functions to explain how to use them in this situation.
4105 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4107 Reviewed the threading handling of the pannable widget, we have
4108 used the gdk_threads_add_timeout function instead of the usual
4109 glib handlers. This avoids some problems with the threads.
4111 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4112 (hildon_pannable_area_initial_effect),
4113 (hildon_pannable_area_scroll_indicator_fade),
4114 (hildon_pannable_area_button_press_cb),
4115 (hildon_pannable_area_timeout),
4116 (hildon_pannable_area_motion_notify_cb),
4117 (hildon_pannable_area_button_release_cb),
4118 (hildon_pannable_area_scroll_cb),
4119 (hildon_pannable_area_scroll_to): Removed the
4120 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4121 gdk_threads_add_timeout.
4123 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4125 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4130 * configure.ac: bump version
4131 * debian/changelog: updates
4133 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4135 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4136 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4137 * src/hildon-color-chooser-dialog.c:
4138 (hildon_color_chooser_dialog_init):
4139 * src/hildon-font-selection-dialog.c:
4140 (hildon_font_selection_dialog_init):
4141 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4143 Remove all cancel/close-like dialogs, as these are not going to be
4146 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4148 * src/hildon-note.c: (hildon_note_rebuild),
4149 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4152 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4154 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4156 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4157 sure all buttons are shown, even the Cancel/Close-like ones.
4159 Fixes: NB#90861 (Custom Confirmation dialogs should be
4160 protected from cancel button removal)
4162 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4164 * debian/control: Change libhildon1-examples dependency from libhildon1
4166 * debian/libhildon1-examples.install
4168 * Makefile.am: Modified the final install directory for the examples on
4169 package libhildon1-examples
4170 * Makefile.static: Update clean target in order to remove all the binary
4173 Changes suggested by Claudio after review new libhildon1-examples package
4175 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4177 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4178 * src/hildon-touch-selector.c: Ditto.
4180 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4182 * debian/control: Added new package libhildon1-examples, in order to pack
4183 the current hildon examples as documentation
4184 * debian/rules: Not to compress .c files, modify some includes on the
4185 examples (as normally are compiled locally, but when installed it will
4186 require to include the installed libhildon1 library), and rename
4188 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4189 install all the example files on the new example package
4190 * examples/Makefile.static: Added static makefile that can be used to
4191 compile the examples, once installed the new example package
4192 * examples: Most of the examples were modified in order to grant that
4193 all use only '#include "hildon.h"', in order to be easy to prepare
4194 it on the example package
4196 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4199 * debian/libhildon1-dev.install
4200 * debian/libhildon1-doc.install:
4201 Move all gtk-doc files to a separate libhildon1-doc package.
4203 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4205 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4207 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4209 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4211 * debian/rules: Fixed a error in order to avoid unnecessary calls
4212 to autogen.sh on package building
4214 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4216 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4218 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4220 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4223 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4225 * src/hildon-picker-button.c
4226 (hildon_picker_button_finalize):
4227 Free priv->done_button_text
4229 * src/hildon-time-button.c
4230 (hildon_time_button_set_time)
4231 * src/hildon-picker-button.c
4232 (hildon_picker_button_clicked)
4233 (hildon_picker_button_selector_selection_changed)
4234 (hildon_picker_button_set_selector)
4235 * src/hildon-date-button.c
4236 (hildon_date_button_set_date):
4237 Free strings returned by hildon_touch_selector_get_current_text()
4239 * src/hildon-button.c (hildon_button_construct_child):
4240 Fix leaks in priv->image and priv->label_box
4242 Fixes: NB#90535 (Memory leak in picker button)
4244 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4246 * src/hildon-button.c: (hildon_button_get_property): Do not access
4247 private elements directly, use getters instead.
4249 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4251 * src/hildon-app-menu-private.h
4252 * src/hildon-app-menu.c
4253 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4254 Store the menu's parent window.
4256 * src/hildon-stackable-window.c
4257 (hildon_stackable_window_toggle_menu)
4258 (hildon_stackable_window_finalize):
4259 Set the menu's parent window when the menu is shown, unset it when
4262 * src/hildon-app-menu.c
4263 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4264 (hildon_app_menu_class_init):
4265 Send unhandled keyboard accelerators to the parent window.
4267 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4269 * src/hildon-stackable-window.c
4270 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4272 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4274 * configure.ac: post release version bump
4276 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4279 * configure.ac: Bump version
4280 * debian/changelog: Updates
4281 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4284 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4286 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4289 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4290 GtkMenu with Hildon style.
4292 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4294 * src/hildon-picker-button.c:
4295 (hildon_picker_button_set_done_button_text): Set the dialog's
4296 done button text here as well.
4298 Fixes: NB#90232 (Picker button does not set the label on done button
4299 for the second time)
4301 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4303 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4306 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4308 * src/hildon-app-menu.c (hildon_app_menu_insert)
4309 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4310 the HildonAppMenu to be activatable using keyboard accelerators
4311 when the menu is not being shown.
4313 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4315 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4317 * src/hildon-stackable-window.c
4318 (hildon_stackable_window_show):
4319 Don't hide old windows automatically when new windows are shown:
4320 this is now a task for the window manager.
4321 (hildon_stackable_window_class_init)
4322 (hildon_stackable_window_hide):
4323 Remove windows from the stack everytime they're hidden.
4324 (hildon_stackable_window_realize):
4325 Don't change the _NET_WM_WINDOW_TYPE property. Use
4326 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4327 it as a stackable window.
4329 * src/hildon-program.c
4330 (hildon_program_pop_window_stack):
4331 Just hide the window to remove it from the stack.
4332 (hildon_program_go_to_root_window):
4333 Don't call gtk_widget_show(), this is now a task for the window
4336 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4338 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4340 * src/hildon-button.c
4341 (hildon_button_construct_child):
4342 Don't pack anything in the button until text or image are
4343 set. This allows adding a custom child after creating the button
4344 with hildon_button_new().
4345 (hildon_button_finalize, hildon_button_class_init)
4346 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4347 alignment and the label box even when they're not packed in the
4350 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4352 * src/hildon-touch-selector.h:
4353 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4354 currently the type definition was using GTK_TYPE_VBOX
4355 * src/hildon-touch-selector.c:
4356 Added some implementation notes in order to clarify that any other widget
4357 added without the column related API will not be included on the
4358 selection logic, and how the widget is freed, as some people ask about
4360 (hildon_touch_selector_remove): Reimplemented in order to free properly
4361 the column related data when you remove the private hbox.
4362 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4363 to get a proper HildonTouchSelectorColumn documentation
4365 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4367 * src/hildon-touch-selector-entry.c:
4368 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4369 text in the GtkEntry and there is no item selected. Fixes a
4372 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4374 * src/hildon-app-menu-private.h
4375 * src/hildon-app-menu.[ch]
4376 * src/hildon-button.[ch]
4377 * src/hildon-check-button.[ch]
4378 * src/hildon-entry.[ch]
4379 * src/hildon-pannable-area.[ch]
4380 * src/hildon-text-view.[ch]:
4381 Added private field to the object's structure.
4383 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4385 * configure.ac: post-release version bump
4387 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4391 * configure.ac: pre-release version bump
4393 * debian/changelog: updates.
4395 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4397 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4398 Disconnect the handler for HildonTouchSelector::changed.
4400 (hildon_picker_button_selector_selection_changed): Update the button
4401 value if the selection change was not triggered by the
4404 (hildon_picker_button_set_selector): connect to
4405 HildonTouchSelector::changed.
4407 Fixes: NB#89650 (Picker button is not updated, when selection in
4408 selector has changed)
4410 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4412 * src/hildon-picker-dialog.c
4413 (hildon_picker_dialog_realize): Removed as not required
4414 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4415 * src/hildon-picker-button.c
4416 (_current_selector_empty): New function, checks if the selector is empty
4417 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4418 if the current selector is empty, in order to avoid to show the dialog
4419 close the dialog in this case (and shows a g_warning).
4421 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4423 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4425 * src/hildon-pannable-area.c,
4426 (hildon_pannable_area_scroll): Added clause to stop movement when
4427 the child of pannable is smaller than one page.
4428 (hildon_pannable_area_scroll_to): Added conditions to avoid
4429 starting the scrolling movement if the child is smaller than one
4430 page, the complete child is in the screen, we do not have to move.
4432 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4434 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4436 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4437 this is managed automatically by the widget when the size of the
4440 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4442 * src/hildon-picker-button.c
4443 (hildon_picker_button_set_done_button_text): Make a copy of the
4444 text, and free the previous value.
4446 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4448 * src/hildon-touch-selector-entry.c:
4449 (hildon_touch_selector_entry_print_func): Return the selected row's
4450 text if the entry is empty.
4452 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4455 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4457 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4459 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4462 * src/hildon-check-button.h
4463 * src/hildon-check-button.c
4464 * examples/hildon-check-button-example.c:
4465 HildonCheckButton is now a new widget. 'toggled' signal added.
4467 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4469 * src/hildon-program-private.h
4470 * src/hildon-program.c (hildon_program_init)
4471 (hildon_program_finalize): Removed unused variables group_leader
4472 and name from HildonProgramPrivate.
4474 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4476 * src/hildon-check-button.c (hildon_check_button_set_active)
4477 (hildon_check_button_get_active, hildon_check_button_new): Use
4478 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4480 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4482 * src/hildon-touch-selector.h
4483 (hildon_touch_selector_set_column_attributes): added deprecation
4484 guard HILDON_DISABLE_DEPRECATED
4485 * src/hildon-time-selector.c
4486 (hildon_time_selector_set_time)
4487 (hildon_time_selector_get_time): Fixed a typo on documentation
4488 * src/hildon-touch-selector.c: update HildonTouchSelector and
4489 HildonTouchSelectorColumn documentation
4490 * src/hildon-touch-selector-entry.c: update "text-column" property
4492 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4493 to be added to the general documentation.
4495 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4497 * examples/hildon-pannable-area-example-4.c,
4499 * examples/hildon-pannable-area-example.c,
4500 (main): Modified the code in order to use the container add, with
4501 viewport treeviews could have problems if they are really big.
4503 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4505 * src/hildon-weekday-picker.c,
4506 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4507 the agreement regarding deprecation in the library.
4509 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4511 * examples/hildon-picker-button-multicolumn-example.c:
4512 (main): Use custom "done" button text.
4514 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4515 (hildon_picker_button_set_property),
4516 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4517 (hildon_picker_button_init),
4518 (+hildon_picker_button_get_done_button_text),
4519 (+hildon_picker_button_set_done_button_text): New methods to customize
4520 the "done" button label in the launched HildonPickerDialog. Also,
4523 * src/hildon-picker-button.h: add the public API.
4525 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4527 * src/hildon-date-selector.h:
4528 * src/hildon-picker-dialog.h:
4529 * src/hildon-time-selector.h:
4530 * src/hildon-touch-selector-column.h:
4531 * src/hildon-touch-selector.h:
4533 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4534 declarations. Fixes gtk-doc warnings.
4536 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4538 * src/hildon-picker-dialog.h
4539 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4540 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4542 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4543 long text is set as label for done button)
4545 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4547 * src/hildon-dialog.c (hildon_dialog_add_button):
4548 Set fixed width to all buttons in the HildonDialog.
4550 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4552 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4554 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4555 Set widget name using class name plus "-finger" or "-thumb".
4557 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4559 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4560 'clicked' when the state of the button is manually changed.
4562 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4564 * src/hildon-app-menu.c (hildon_app_menu_realize)
4565 (hildon_app_menu_unrealize, hildon_app_menu_init)
4566 (hildon_app_menu_class_init, item_visibility_changed):
4567 Change the menu layout when the size of the screen changes.
4568 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4569 Show warning only when changing the number of colums using the
4572 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4574 * debian/compat: Set to 5
4575 * debian/control: Update dependencies.
4576 * debian/libhildon1-dbg.install: Remove.
4577 * debian/libhildon1-dev.install: Update according to cdbs paths.
4578 * debian/libhildon1.install: Update according to cdbs paths.
4579 * debian/rules: Switch to cdbs.
4581 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4583 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4584 'item' variable renamed to 'filter'
4586 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4588 * src/hildon-app-menu.c (hildon_app_menu_insert)
4589 (hildon_app_menu_add_filter, remove_item_from_list)
4590 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4591 Don't leak hidden items when the menu is destroyed.
4593 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4595 * src/hildon-app-menu.c (hildon_app_menu_insert)
4596 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4597 (hildon_app_menu_set_columns, item_visibility_changed)
4598 (filter_visibility_changed, hildon_app_menu_repack_filters)
4599 (hildon_app_menu_repack_items):
4600 Repack items and filters separately.
4602 Don't repack all items, change only the ones that are needed to
4605 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4607 * src/Makefile.am: added hildon-touch-selector-column.h
4609 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4611 * src/hildon-touch-selector.c: added the property "text-column" to the
4612 class HildonTouchSelectorColumn, and related get/set functions
4613 (_default_printf_func): updated to use "text-column" property
4614 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4615 "text-column" in his documentation, as this is now included on
4616 HildonTouchSelectorColumn. The get/set_property can still be used,
4617 working as a wrapper to the concrete column "text-column" property
4618 (_text_column_modified): callback added in order to handle the signal
4619 "notify::text-column" of the concrete HildonTouchSelectorColumn
4620 (hildon_touch_selector_entry_get_text_column)
4621 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4622 modified in order to use the HildonTouchSelectorColumn "text-column"
4624 * src/hildon-time-selector.c:
4625 * src/hildon-date-selector.c:
4626 * examples/hildon-touch-selector-example.c
4627 * examples/hildon-touch-selector-multi-cells-example.c
4628 * examples/hildon-picker-button-multicolumn-example.c
4629 Set the right value to "text-column" property on the creation of a new
4630 column using hildon_touch_selector_append_column()
4632 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4634 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4636 * src/hildon-app-menu.c
4637 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4638 updating the layout of the menu, don't create all widgets again,
4639 just repack the items in their new places.
4641 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4643 * src/hildon-time-selector.c
4644 (hildon_time_selector_get_time)
4645 (hildon_time_selector_set_time)
4646 Added documentation of these public methods
4648 * src/hildon-date-button.h
4649 * src/hildon-touch-selector-column.h
4650 * src/hildon-time-button.h
4651 * src/hildon-picker-dialog.h
4652 * src/hildon-time-selector.h
4653 * src/hildon-picker-button.h
4654 * src/hildon-touch-selector.h
4655 * src/hildon-time-picker.h
4656 * src/hildon-date-selector.h
4657 * src/hildon-touch-selector-entry.h
4658 Modified in order to use hildon-widgets code style
4660 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4662 Added deprecated support to the compilation process using
4663 HILDON_DISABLE_DEPRECATED
4665 * configure.ac: Added the --disable-deprecated to the configure
4668 * src/hildon-weekday-picker.c:
4669 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4670 to use the deprecated support. We will update the other deprecated
4671 widgets status in a new patch.
4673 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4675 * configure.ac: Fixed typo with fatal warnings support, the
4676 variable name was not correct
4678 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4680 * src/hildon-app-menu.c
4681 * src/hildon-program.c: Update documentation.
4683 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4685 * configure.ac: Post-release version bump.
4687 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4692 * configure.ac: Pre-release version bump.
4693 * debian/changelog: Updates.
4695 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4697 * NEWS: Update news for previous releases.
4699 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4701 * examples/hildon-touch-selector-multi-cells-example.c:
4702 (create_selector): Update the example to use
4703 hildon_touch_selector_append_column() with a NULL renderer and set
4704 the renderers later.
4705 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4706 passed a NULL renderer. This is documented behavior now.
4708 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4709 This must be used if the developer wants full control on the layout of
4710 the renderers to be added to the column.
4712 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4714 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4716 * src/hildon-touch-selector.c: Documentation fixes.
4718 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4720 * src/hildon-wizard-dialog-private.h: Remove image and box.
4721 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4722 (hildon_wizard_dialog_set_property), (response): Completely remove
4723 image/icon support, and the containers required for the layout.
4725 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4727 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4729 * src/hildon-app-menu.c: Updated documentation.
4731 * src/hildon-stackable-window.c
4732 (hildon_stackable_window_set_main_menu): Unref the old menu after
4733 ref'ing the new one.
4735 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4737 * src/hildon-stackable-window.c
4738 (hildon_stackable_window_set_main_menu): Unref the previous menu
4739 instead of destroying it.
4741 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4742 floating reference and set has_user_ref_count to FALSE to make
4743 HildonAppMenu act like a normal ref-counted widget and not a
4746 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4749 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4751 * src/hildon-touch-selector-column.h: new file
4752 * src/hildon-touch-selector.h
4753 * src/hildon-touch-selector.c
4754 Implemented GtkCellLayout interface, in order to allow to configure
4755 the cell layout on each individual selector column
4756 (hildon_touch_selector_set_column_attributes): marked as deprecated
4757 * examples/hildon-touch-selector-multi-cells-example.c
4758 Example of how to use the GtkCellLayout interface on the selector
4760 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4762 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4764 * src/hildon-app-menu.h
4765 * src/hildon-app-menu.c
4766 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4767 (hildon_app_menu_append, hildon_app_menu_prepend):
4768 New methods to prepend, insert and move items in the menu.
4770 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4772 * src/hildon-wizard-dialog.c:
4774 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4776 (create_title): Update logical IDs and related code.
4777 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4779 * src/hildon-wizard-dialog.h: Note that
4780 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4781 point, as it is not used anymore.
4783 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4785 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4787 * src/hildon-note.c:
4788 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4789 shown. Do not display an icon in confirmation notes nor information
4791 (hildon_note_set_button_text): Update logical ID for cancel button.
4793 Fixes: NB#88850 (Update HildonNote button strings + signals)
4795 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4797 * src/hildon-stackable-window.c
4798 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4800 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4802 * src/hildon-app-menu-private.h
4803 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4804 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4805 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4806 temporary property 'columns' to change the number of columns.
4808 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4810 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4812 * examples/hildon-note-example.c: (on_information_clicked),
4813 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4814 debugging information.
4815 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4817 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4818 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4819 in order to close: this will be handled by the WM from now on.
4821 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4823 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4825 * src/hildon-app-menu-private.h
4826 * src/hildon-app-menu.c
4827 (hildon_app_menu_append, hildon_app_menu_add_filter)
4828 (button_visibility_changed, hildon_app_menu_apply_style)
4829 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4830 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4831 layout everytime a button (item or filter) is shown or hidden.
4833 * src/hildon-stackable-window.c
4834 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4837 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4839 * src/hildon-touch-selector.c:
4840 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4841 that the treeview inside the touch selector is in fremantle hildon mode
4842 * examples/hildon-date-button-example.c
4843 * examples/hildon-picker-button-multicolumn-example.c
4844 * examples/hildon-touch-selector-entry-example.c
4845 * examples/hildon-touch-selector-example.c
4846 * examples/hildon-time-button-example.c
4847 * examples/hildon-picker-button-example.c:
4848 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4850 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4852 * examples/hildon-text-view-example.c: (main): Remove the
4853 gtkrc bits, now handled by the theme.
4855 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4857 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4860 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4862 * po/Makefile.am: Install properly the mo files.
4863 * po/en_GB.po: Update translation, to ease testing purposes.
4865 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4867 * examples/hildon-picker-button-example.c: (main): Select an item
4868 in the selector before setting it to the button.
4870 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4872 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4873 Update button's value if the selector has an item active.
4875 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4876 'value' with the selector)
4878 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4880 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4881 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4882 (hildon_picker_button_class_init): Plug the finalize method.
4883 (hildon_picker_button_set_selector): If there's a previously set
4884 selector, unref'it before setting a new one.
4886 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4887 HildonTouchSelector)
4889 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4891 * src/hildon-touch-selector-entry.c:
4892 (hildon_touch_selector_entry_changed): Check if there is no text
4893 selected before setting the entry text.
4896 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4898 * src/hildon-touch-selector.h
4899 * src/hildon-touch-selector.c
4900 (hildon_touch_selector_get_active)
4901 (hildon_touch_selector_set_active): New methods to set/get the
4902 index of the selected item.
4904 * src/hildon-picker-button.h
4905 * src/hildon-picker-button.c
4906 (hildon_picker_button_get_active)
4907 (hildon_picker_button_set_active): New methods to set/get the
4908 index of the selected item.
4910 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4912 * configure.ac: post-release version bump.
4914 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4918 * configure.ac: Pre-release version bump.
4919 * debian/changelog: Updates.
4920 * debian/control: Add myself as maintainer and depend on l10n
4923 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4925 * src/hildon-window.c
4926 (hildon_window_set_main_menu)
4927 * src/hildon-stackable-window.c
4928 (hildon_stackable_window_set_main_menu):
4929 Updated documentation.
4931 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4933 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4934 Don't free selector->priv manually.
4937 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4940 (hildon_gtk_window_set_progress_indicator):
4941 * src/hildon-gtk.h: Added the new API
4942 hildon_gtk_window_set_progress_indicator, it changes the state of
4943 the window progress hint.
4945 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4947 * src/hildon-button.c
4948 * src/hildon-stackable-window.c: Minor documentation updates.
4950 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4952 * src/hildon-stackable-window.c: Updated documentation.
4954 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4956 * src/hildon-defines.h: Update margins definitions
4957 to the Fremantle sizes.
4960 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4962 * src/hildon-touch-selector.c,
4963 (_hildon_touch_selector_set_model): Cleaning the code after
4964 review, removed g_print and #if 0 from the code.
4966 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4968 * src/hildon-edit-toolbar.c: Update documentation.
4970 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4972 * src/hildon-check-button.h
4973 * src/hildon-check-button.c
4974 (hildon_check_button_set_label, hildon_check_button_get_label)
4975 * examples/hildon-check-button-example.c
4976 (button_clicked_cb):
4977 Removed deprecated methods.
4979 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4981 * src/hildon-text-view.c:
4982 Add sample code to the documentation.
4984 * src/hildon-entry.h
4985 * src/hildon-text-view.h:
4986 Minor cosmetic changes.
4988 * src/hildon-entry.c:
4989 Add sample code to the documentation.
4990 (hildon_entry_init, hildon_entry_refresh_contents):
4991 Don't allow NULL values in the placeholder.
4993 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4995 * doc/hildon-docs.sgml
4997 * examples/Makefile.am
4998 * examples/hildon-text-view-example.c
5000 * src/hildon-text-view.c
5001 * src/hildon-text-view.h
5003 New HildonTextView widget, with example.
5005 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5007 * po/POTFILES.in: Add missing files with translatable strings.
5008 Partially fixes NB#88287.
5010 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5012 * examples/hildon-pannable-area-example-2.c: (main): No need to
5013 set the cellrenderer height inside hildon touch lists, the theme does
5016 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5018 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5019 they are integrated in the theme.
5021 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5023 * examples/hildon-entry-example.c: Update the example adding
5024 widgets to modify the text and the placeholder of the HildonEntry.
5026 * src/hildon-entry.c: Show the placeholder everytime the widget
5027 is empty and loses the focus.
5029 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5031 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5033 * src/hildon-pannable-area.c,
5034 (hildon_pannable_area_size_request): Fixed bug in height
5035 requisition, avoid increasing size and add border twice.
5037 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5039 * configure.ac: postrelease version bump.
5041 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5045 * configure.ac: Prerelease version bump.
5046 * debian/changelog: update.
5047 * debian/rules: make -dbg package contain useful debugging symbols.
5049 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5051 * src/hildon-dialog.h
5052 * src/hildon-dialog.c
5053 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5054 New methods to add buttons with finger size.
5055 (hildon_dialog_new_with_buttons):
5056 Create buttons with finger size.
5058 * examples/hildon-dialog-example.c (main): Use HildonDialog
5059 methods to add buttons.
5061 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5063 * src/hildon-entry.c: Updated HildonButton documentation.
5065 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5067 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5068 button value label with (FALSE, FALSE) to prevent NB#88126 from
5071 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5073 * examples/hildon-pannable-area-example.c,
5074 (main): Removed examples panning a vbox inside a pannable
5075 area. Check bug NB#87965
5077 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5079 Patch contributed by Kris Rietveld (kris@imendio.com)
5081 * src/hildon-pannable-area.c,
5082 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5083 get_size and get_position, this saves an X server roundtrip.
5085 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5087 * doc/hildon-docs.sgml
5089 * examples/Makefile.am
5090 * examples/hildon-entry-example.c
5092 * src/hildon-entry.c
5093 * src/hildon-entry.h
5095 New HildonEntry widget, with example.
5097 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5099 * src/hildon-button.c (hildon_button_construct_child): Pack the
5100 image with expand == fill == FALSE. This is a workaround for a bug
5103 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5105 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5106 labels for the text column, to make it more look more dynamic.
5108 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5110 * src/hildon-time-selector.c
5111 Define gettext auxiliar macro N_
5112 (_create_minutes_model)
5113 (_create_hours_model)
5114 (_create_ampm_model): use of strftime in order to fill the model
5115 * src/hildon-date-selector.c
5116 (hildon_date_selector_finalize):
5117 (_locales_init): remove the logic related to get the name of the months
5118 using nl_langinfo, as it is not required anymore
5120 (_create_year_model)
5121 (_create_month_model)
5122 (_update_day_model): use of strftime in order to fill the model properly
5125 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5127 * src/hildon-button.h
5128 * src/hildon-button.c (hildon_button_get_image): New method to
5131 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5133 * src/hildon-touch-selector.c:
5134 (hildon_touch_selector_remove_column): Remove from the correct parent
5135 and also remove the list element and free it.
5138 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5140 * src/hildon-time-selector.c
5141 (_create_hours_model): change the range on 12h ampm format in order to use
5142 a 12-11 range instead of previous 01-12 range
5143 (hildon_time_selector_set_time): change the way to select the current time
5144 on 12h ampm format, due the change on the range
5145 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5148 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5150 * src/hildon-touch-selector.c
5151 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5152 in order to allow use this function on multiple row selection mode if
5153 the column is different that the first one
5156 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5158 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5159 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5161 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5163 * src/hildon-date-selector.h: clean some comments, now on the .c
5164 * src/hildon-date-selector.c
5165 (hildon_date_selector_select_month): first implementation
5166 (hildon_date_selector_select_day): added documentation, reimplemented
5167 using hildon_date_selector_select_current_date to avoid repeat code
5170 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5172 Reviewed interaction logic based on device experiences, refactored
5175 * src/hildon-pannable-area.c,
5176 (hildon_pannable_area_class_init): Updated default vmax speed.
5177 (hildon_pannable_area_calculate_velocity): Added this function, it
5178 avoids duplicate valocity calculation. Adjusted calculation to
5179 avoid problems with zero dist events.
5181 (hildon_pannable_area_motion_notify_cb): Now we use the
5182 calculate_velocity function.
5184 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5186 * src/hildon-date-selector.c
5187 (hildon_date_selector_select_current_date): fix the day range check
5188 as it failed using the last day of the current month
5191 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5193 * src/hildon-touch-selector.c
5194 (hildon_touch_selector_get_num_columns): added a parameter validation
5197 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5199 * examples/Makefile.am
5200 * examples/hildon-edit-toolbar-example.c: Example of the
5201 HildonEditToolbar widget.
5203 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5205 * configure.ac: postrelease version bump.
5207 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5211 * configure.ac: prerelease version bump.
5212 * debian/changelog: update.
5214 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5216 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5217 renderer to display stock icons in the touch list. Also, set the sizes
5218 to the recommended in the style guide.
5220 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5221 * src/hildon-touch-selector.h
5222 (hildon_touch_selector_set_active_iter): renamed, now is
5223 hildon_touch_selector_select_iter
5224 (hildon_touch_selector_get_active_iter): renamed, now is
5225 hildon_touch_selector_get_selected
5226 (hildon_touch_selector_unselect_iter): added
5227 * src/hildon-touch-selector.c
5228 Update after API modification (methods renamed)
5229 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5230 order to avoid problems selecting multiple elements on the column
5231 (hildon_touch_selector_unselect_iter): added the implementation
5232 * src/hildon-time-selector.c
5233 * src/hildon-date-selector.c
5234 * src/hildon-touch-selector-entry.c
5235 Update methods calls after hildon-touch-selector.h API modification (methods
5238 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5240 * src/hildon-stackable-window.c
5241 (hildon_stackable_window_finalize): Call the parent class's finalize.
5243 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5245 * examples/hildon-touch-selector-example.c: (create_selector): Use
5246 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5249 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5251 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5252 set a cell background color, to respect theming.
5254 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5256 * doc/hildon-docs.sgml
5259 * src/hildon-edit-toolbar.c
5260 * src/hildon-edit-toolbar.h
5261 * src/hildon.h: New HildonEditToolbar widget.
5263 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5265 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5268 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5269 * src/hildon-touch-selector.c
5270 (_create_new_column): use g_object_set instead of two g_object_set_property
5272 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5273 * src/hildon-touch-selector.c
5274 (_create_new_column): use of hildon_gtk_tree_view_new to create
5275 the treeview, instead of use directly g_object_new
5276 (_create_new_column): update the property name "vindicator-mode" for the
5277 new one "vscrollbar-policy"
5278 * examples/hildon-date-button-example.c
5279 * examples/hildon-picker-button-multicolumn-example.c
5280 * examples/hildon-touch-selector-entry-example.c
5281 * examples/hildon-touch-selector-example.c
5282 * examples/hildon-time-button-example.c
5283 * examples/hildon-picker-button-example.c
5284 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5285 to all the treeviews inside a pannable area.
5287 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5289 * src/hildon-button.h
5290 * src/hildon-button.c (hildon_button_init)
5291 (hildon_button_set_arrangement, hildon_button_set_alignment)
5292 (hildon_button_set_title_alignment)
5293 (hildon_button_set_value_alignment)
5294 (hildon_button_set_image_alignment)
5295 (hildon_button_construct_child): New methods to set the alignment
5296 of the individual components of the button (title, value,
5297 image). Also, new method to alter the xscale and yscale properties
5298 of the GtkAlignment inside the button, so more complex layouts can
5301 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5303 * src/hildon-button.c (hildon_button_style_set)
5304 (hildon_button_class_init, hildon_button_set_arrangement)
5305 (hildon_button_construct_child): Apply style properties
5306 correctly. Use the 'image-spacing' style property too.
5308 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5310 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5311 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5314 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5316 * src/hildon-pannable-area.c,
5317 (hildon_pannable_area_size_request): Fixed problem with
5318 pannable-area size_request.
5320 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5322 Added management for the grab-focus to a child widget, like a
5323 range, we need to fade out the scrollbar when releasing.
5325 * src/hildon-pannable-area.c,
5326 (hildon_pannable_area_init): Connected the grab-focus signal to
5328 (hildon_pannable_area_grab_notify): Added this function in order
5329 to manage the situation when the grab-focus ends. We have to
5330 fade-out the scrollbar.
5332 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5334 * src/hildon-app-menu.c: Minor documentation update.
5336 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5338 * src/hildon-app-menu.c
5339 * examples/hildon-app-menu-example.c (create_menu): Update
5340 examples and documentation to explain how to connect callbacks.
5342 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5344 * examples/hildon-button-example.c
5345 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5346 hildon_stackable_window_new instead of gtk_window_new
5348 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5350 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5351 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5352 (hildon_pannable_area_set_property),
5353 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5354 (hildon_pannable_area_unrealize),
5355 (hildon_pannable_area_size_request),
5356 (hildon_pannable_area_size_allocate),
5357 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5358 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5359 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5360 (hildon_pannable_area_initial_effect),
5361 (hildon_pannable_area_redraw),
5362 (hildon_pannable_area_scroll_indicator_fade),
5363 (hildon_pannable_area_expose_event),
5364 (hildon_pannable_area_get_topmost), (synth_crossing),
5365 (hildon_pannable_area_button_press_cb),
5366 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5367 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5368 (hildon_pannable_area_motion_notify_cb),
5369 (hildon_pannable_area_button_release_cb),
5370 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5371 (hildon_pannable_area_remove),
5372 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5373 chage the code layout to a more GtkWidget like. Review the use of
5376 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5378 * examples/hildon-pannable-area-example-4.c,
5379 (main): Modified the name of the hindicator_mode to
5382 * src/hildon-pannable-area.c,
5383 (hildon_pannable_area_class_init),
5384 (hildon_pannable_area_motion_notify_cb),
5385 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5386 we have reduced the amount of signals and managed reviewed its
5387 rationale. Changed the default decelerate value.
5389 (hildon_pannable_area_add),
5390 (hildon_pannable_area_redraw): Refactored functions.
5392 (hildon_pannable_area_init),
5393 (hildon_pannable_area_get_property),
5394 (hildon_pannable_area_set_property):
5395 (hildon_pannable_draw_vscroll),
5396 (hildon_pannable_draw_hscroll),
5397 (hildon_pannable_area_initial_effect),
5398 (hildon_pannable_area_expose_event),
5399 (hildon_pannable_area_scroll),
5400 (hildon_pannable_area_button_press_cb),
5401 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5402 and vindicator_mode with hscrollbar_policy and
5403 vscrollbar_policy. Replaced hscroll and vscroll with
5404 hscroll_visible and vscroll_visible.
5406 (hildon_pannable_area_refresh): Refactor the function, remove
5407 variables and check the calls to this function, added resize
5408 conditions in case the children change their layout.
5410 (hildon_pannable_area_size_request): Added more detailed
5411 size_request calculation.
5414 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5416 * src/hildon-color-chooser.c
5417 (init_borders): use the correct gtk_border_free instead of g_free, to
5418 avoid a crash when this widget is used (ie: the three color selection
5421 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5423 * src/hildon-check-button.c,
5424 (hildon_check_button_set_active): Fixed problem when setting the
5425 active value, the widget was not redrawn.
5427 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5429 * src/hildon-pannable-area.c,
5430 (hildon_pannable_area_refresh),
5431 (hildon_pannable_area_scroll),
5432 (hildon_pannable_area_motion_notify_cb): Small code style change.
5434 (hildon_pannable_area_class_init): Default initial_hint set to
5435 FALSE, it is not in the specs.
5437 (hildon_pannable_area_initial_effect),
5438 (hildon_pannable_area_expose_event),
5439 (hildon_pannable_area_map),
5440 (hildon_pannable_area_init): Moved the launching point of the
5441 initial effect, it was in map but the sizes where not correct in
5442 that method so we do not know if we have the reproduce it. Now it
5443 is placed in the expose_event method and uses a variable to
5444 reproduce it just once.
5446 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5448 * src/hildon-pannable-area.c,
5449 (hildon_pannable_draw_vscroll),
5450 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5451 position allowed for the scrollbars.
5453 (hildon_pannable_area_size_allocate): Small style change.
5455 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5457 * src/hildon-pannable-area.c,
5458 (hildon_pannable_area_scroll_indicator_fade),
5459 (hildon_pannable_area_button_press_cb),
5460 (hildon_pannable_area_button_release_cb),
5461 (hildon_pannable_area_scroll_cb),
5462 (hildon_pannable_area_expose_event),
5463 (hildon_pannable_area_init): Added the define parameter
5464 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5465 and refactor the fade variable.
5467 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5469 * src/hildon-pannable-area.c,
5470 (hildon_pannable_area_redraw),
5471 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5472 lines, we were reimplemeting the redraw code.
5474 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5476 * src/hildon-pannable-area.c,
5477 (hildon_pannable_area_scroll_cb),
5478 (hildon_pannable_area_realize),
5479 (hildon_pannable_area_class_init): Added scroll_event management
5480 for pannable area, now we can scroll the usual desktop method.
5482 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5483 initialization of the parameters should depend on idle_id.
5485 (hildon_pannable_area_init),
5486 (hildon_pannable_area_map): Small code style modifications
5488 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5490 * src/hildon-pannable-area.c
5491 (hildon_pannable_area_button_press_cb),
5492 (hildon_pannable_area_motion_notify_cb),
5493 (hildon_pannable_area_button_release_cb),
5494 (hildon_pannable_area_size_allocate),
5495 (hildon_pannable_area_scroll_to): Improved the timeouts
5496 management, we avoid creating them each time.
5498 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5500 * src/hildon-pannable-area.c:
5501 (hildon_pannable_area_refresh),
5502 (hildon_pannable_area_motion_notify_cb),
5503 (hildon_pannable_area_class_init):
5504 * src/hildon-pannable-area.h:
5505 * src/hildon-touch-selector.c
5506 (_create_new_column):
5507 * examples/hildon-pannable-area-example-4.c:
5508 (horizontal_movement),
5509 (vertical_movement),
5511 Replaced the names of enums in the HildonPannableArea:
5512 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5513 HILDON_MOVEMENT_MODE_*
5514 - HILDON_PANNABLE_AREA_MOV_* ->
5516 - Removed HildonPannableAreaIndicatorMode, now we
5519 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5521 * examples/hildon-pannable-area-touch-grid-example.c
5522 * examples/hildon-pannable-area-touch-list-example.c: Fix
5523 compilation warnings.
5525 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5527 * src/hildon-gtk.c (hildon_gtk_button_new)
5528 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5529 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5530 images overriding the value of the "gtk-button-images" setting.
5532 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5534 * src/hildon-check-button.c (hildon_check_button_new):
5535 Instead of using a custom container, display the label and the
5536 checkbox using the standard GtkButton API.
5538 * examples/hildon-check-button-example.c (main): Don't use
5539 hildon_check_button_set_label() anymore
5541 * src/hildon-check-button.h
5542 * src/hildon-check-button.c
5543 (hildon_check_button_set_label, hildon_check_button_get_label):
5544 Set as deprecated, now we're using gtk_button_{get,set}_label()
5546 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5548 * src/hildon-pannable-area.c,
5549 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5550 GtkTreeview first line we detected it after the inclusion of the
5551 GtkWindowImpl in gtk+. We now check if the window is visible, not
5552 just if the pointer is over the window.
5553 (hildon_pannable_axis_scroll),
5554 (hildon_pannable_area_expose_event): Small style changes.
5556 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5558 * src/hildon-button.c: Update documentation.
5560 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5562 * examples/hildon-button-example.c: Add a switch to show images in
5565 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5567 * doc/hildon-docs.sgml: Some docs reorganization.
5569 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5571 * examples/hildon-pannable-area-touch-list-example.c
5573 * examples/hildon-pannable-area-touch-grid-example.c
5574 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5575 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5576 Fix memory leak when setting the tree model.
5578 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5582 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5584 * doc/hildon.types: Remove duplicated hildon_window_get_type
5585 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5586 documentation comment.
5588 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5590 * doc/Makefile.am: Complete list of private headers.
5592 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5594 * doc/hildon-docs.sgml
5595 * src/hildon-app-menu.c
5596 * src/hildon-bread-crumb.c
5597 * src/hildon-button.c
5599 * src/hildon-program.c
5600 * src/hildon-stackable-window.c
5601 * src/hildon-window.c: Lots of documentation updates.
5603 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5605 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5607 * configure.ac: Require Gtk+ 2.12.9 at least
5609 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5611 * src/hildon-pannable-area.c
5612 (hildon_pannable_area_scroll_indicator_fade),
5613 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5614 to protect the return of this timeout callbacks, avoiding deadlocks.
5616 2008-08-12 Christian Dywan <christian@imendio.com>
5619 * src/hildon-*.h: Ensure a consistent include order,
5620 include <gtk/gtk.h> instead of particular files and
5621 only include the topmost header in the gtk stack. See NB #39857
5623 2008-08-12 Christian Dywan <christian@imendio.com>
5625 * src/hildon-picker-dialog.c
5626 * src/hildon-touch-selector.c: Fix warnings about unused and
5627 uninitialized variables.
5629 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5631 * examples/Makefile.am
5632 * examples/hildon-check-button-example.c: Example of the hildon
5635 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5637 * src/hildon-window.h
5638 * src/hildon-window.c (hildon_window_class_init)
5639 (hildon_window_unset_program): Don't make
5640 hildon_window_unset_program a virtual function anymore.
5642 * src/hildon-stackable-window.c: Update documentation
5644 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5647 * doc/hildon-docs.sgml
5648 * doc/visual_index.xml
5649 * src/hildon-defines.c
5651 * src/hildon-helper.c
5652 * src/hildon-range-editor.c: Lots of documentation fixes.
5654 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5656 * examples/hildon-picker-button-multicolumn-example.c
5657 (create_touch_selector): Fix compilation warning.
5659 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5661 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5662 (hildon_pannable_area_button_release_cb)
5663 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5665 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5667 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5670 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5672 * src/hildon-bread-crumb-trail.h
5673 * src/hildon-date-editor.c
5674 * src/hildon-date-selector.c
5675 * src/hildon-pannable-area.c
5676 * src/hildon-picker-dialog.c
5677 * src/hildon-time-selector.c
5678 * src/hildon-touch-selector-entry.c
5679 * src/hildon-touch-selector.c
5680 * src/hildon-touch-selector.h: Misc documentation fixes
5682 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5684 * examples/hildon-date-editor-example.c (main): Updated date
5687 * examples/hildon-note-example.c (on_confirmation_clicked):
5688 Updated confirmation note example.
5690 * src/hildon-date-editor.c
5691 * src/hildon-note.c: Updated sample programs in documentation.
5694 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5696 * src/hildon-date-button.h:
5697 * src/hildon-picker-button.h:
5698 * src/hildon-time-button.c:
5699 * src/hildon-time-button.h:
5701 Some declarations changes to allow gtk-doc to document the widgets
5704 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5706 * src/hildon-date-button.c: Document the widget.
5707 * src/hildon-time-button.c: Document the widget.
5709 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5711 * src/hildon-picker-button.c: Document the widget.
5712 * src/hildon-touch-selector-entry.c: Document the widget.
5714 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5716 * doc/hildon-docs.sgml
5719 * src/hildon-check-button.h
5720 * src/hildon-check-button.c: New functions to create the Hildon
5724 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5726 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5728 * src/hildon-button.h
5729 * src/hildon-button.c
5730 (hildon_button_add_title_size_group)
5731 (hildon_button_add_value_size_group)
5732 (hildon_button_add_image_size_group)
5733 (hildon_button_add_size_groups): New functions to set size groups
5734 for the button labels and image.
5735 (hildon_button_new_full): Removed
5737 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5739 * src/hildon-time-selector.c
5740 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5741 in order to avoid a crash if gconf is not available
5743 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5745 * src/hildon-button.c (hildon_button_set_arrangement)
5746 (hildon_button_construct_child): Don't construct the button child
5747 before setting the arrangement.
5749 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5751 * src/hildon-program-private.h
5752 * src/hildon-program.c
5753 * src/hildon-program.h
5754 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5755 (hildon_program_peek_window_stack)
5756 (hildon_program_pop_window_stack)
5757 (hildon_program_go_to_root_window): HildonProgram now has a
5758 separate list for stackable windows. Functions are provided to
5759 manage that list with a stack-like API.
5761 * src/hildon-stackable-window.c: Stackable window management is
5762 now much simpler with the new HildonProgram API. Windows no
5763 longer need to be manually added to the program, they're
5764 automatically pushed to the top of the stack when shown.
5766 * examples/hildon-stackable-window-example.c: Updated example to
5767 reflect the API changes.
5769 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5771 * src/hildon-touch-selector.c: Comment out unimplemented
5772 hildon_touch_selector_insert_column() to avoid a compile warning.
5774 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5776 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5777 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5778 (hildon_touch_selector_set_column_selection_mode),
5779 (_hildon_touch_selector_set_model),
5780 (hildon_touch_selector_set_model):
5782 Complete review of HildonTouchSelector documentation.
5784 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5786 * doc/hildon-docs.sgml
5790 * src/hildon-gtk.c: Convenience functions for standard Gtk
5791 widgets, used to easily perform frequent operations.
5793 * src/hildon-button-helpers.h
5794 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5796 * src/hildon-helper.h
5797 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5798 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5800 * src/hildon-button.h
5801 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5803 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5805 * src/hildon-button.c (hildon_button_init)
5806 (hildon_button_set_arrangement, hildon_button_construct_child):
5807 Pack the image and the labels inside the same GtkAlignment so
5808 gtk_button_set_alignment() can be used
5810 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5812 * src/hildon-button.h
5813 * src/hildon-button.c
5814 (hildon_button_init, hildon_button_set_image)
5815 (hildon_button_set_image_position)
5816 (hildon_button_construct_child): New functions to add an image to
5819 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5821 * src/hildon-date-button.c
5822 * src/hildon-picker-button.c
5823 * src/hildon-time-button.c
5824 * src/hildon-button.c:
5825 (hildon_button_class_init): "size-flags" renamed to "size"
5826 (hildon_button_set_title): Hide the title label if set to NULL.
5828 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5830 HildonButtonFlags split into HildonButtonArrangement (to set the
5831 button layout) and HildonSizeType (which can be used for any
5834 * src/hildon-button.h
5835 * src/hildon-button.c
5836 (hildon_button_class_init)
5837 (hildon_button_set_arrangement)
5838 (hildon_button_set_property): New "size-flags"
5839 property. "arrangement-flags" renamed to "arrangement".
5840 (hildon_button_new, hildon_button_new_with_text)
5841 (hildon_button_new_full): Constructors updated to reflect type changes.
5843 * src/hildon-helper.h
5844 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5845 to set the size of a widget.
5849 * src/hildon-button-helpers.c
5850 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5852 * src/hildon-date-button.c
5853 * src/hildon-date-button.h
5854 * src/hildon-picker-button.c
5855 * src/hildon-picker-button.h
5856 * src/hildon-time-button.c
5857 * src/hildon-time-button.h: Updated widgets to reflect
5858 HildonButton API changes.
5860 * examples/hildon-button-example.c
5861 * examples/hildon-date-button-example.c
5862 * examples/hildon-picker-button-example.c
5863 * examples/hildon-picker-button-multicolumn-example.c
5864 * examples/hildon-time-button-example.c
5865 * examples/hildon-touch-selector-entry-example.c
5866 * examples/hildon-touch-selector-example.c: Updated examples to
5867 reflect HildonButton API changes.
5869 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5871 * doc/hildon-docs.sgml:
5873 * examples/Makefile.am:
5874 * examples/hildon-touch-selector-entry-example.c:
5876 * src/hildon-touch-selector-entry.c:
5877 * src/hildon-touch-selector-entry.h:
5880 Moved HildonTouchSelectorEntry from sandbox. Added its
5881 documentation and examples.
5883 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5885 * src/hildon-touch-selector.h:
5886 * examples/hildon-picker-button-multicolumn-example.c:
5887 (hildon_touch_selector_append_text_column): Add a gboolean
5888 parameter to determine if text must be centered in the column.
5890 * src/hildon-date-selector.c: (hildon_date_selector_init):
5891 * src/hildon-time-selector.c: (hildon_time_selector_init):
5892 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5893 (create_touch_selector): Update widgets and example to reflect
5896 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5898 * src/hildon-touch-selector.c:
5899 (hildon_touch_selector_set_active_iter): Set also the cursor in
5902 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5904 * doc/hildon-docs.sgml
5907 * src/hildon-toggle-button.c
5908 * src/hildon-toggle-button.h
5909 * src/hildon.h: Removed HildonToggleButton widget, a derived
5910 class is not necessary for this.
5912 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5914 * src/hildon-pannable-area.c,
5915 (hildon_pannable_area_realize),
5916 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5919 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5921 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5922 "done" button the default widget for the dialog.
5924 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5926 * src/hildon-touch-selector.c:
5927 (hildon_touch_selector_class_init),
5928 (hildon_touch_selector_get_property),
5929 (_hildon_touch_selector_set_model),
5930 (_hildon_touch_selector_has_multiple_selection),
5931 (hildon_touch_selector_has_multiple_selection):
5932 Add a "has-multiple-selection" property with a virtual
5933 has_multiple_selection() method to allow derived classes to
5934 override the default value for it. See the method and property
5935 documentation for details.
5937 * src/hildon-touch-selector.h: Add the new API.
5939 * src/hildon-picker-dialog.c: (requires_done_button): Call
5940 hildon_touch_selector_has_multiple_selection() instead of
5941 determining the need for a button itself.
5943 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5945 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5946 (_hildon_touch_selector_set_model),
5947 (hildon_touch_selector_set_model): Move working code to
5948 _hildon_touch_selector_set_mode(). Call the class method instead.
5950 * src/hildon-touch-selector.h: Add (*set_model) to
5951 HildonTouchSelectorClass.
5953 Make hildon_touch_selector_set_model() a virtual method, so that
5954 derived classes can extend it and do fancy stuff with the model.
5956 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5958 * configure.ac: Set back the tarname in AC_INIT to hildon.
5960 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5964 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5965 instead of libesd (NB#86876). Volume handling is still an open issue.
5967 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5970 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5972 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5973 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5974 derived class to ease placement of an entry widget in
5975 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5976 end, where the selector columns are packed now.
5978 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5980 * src/hildon-picker-button.c: Removed the simple _text() API.
5981 * src/hildon-picker-button.h: Likewise.
5983 * src/hildon-touch-selector.h:
5984 * src/hildon-touch-selector.c:
5985 (hildon_touch_selector_new_text),
5986 (hildon_touch_selector_append_text),
5987 (hildon_touch_selector_prepend_text),
5988 (hildon_touch_selector_insert_text):
5990 Moved the simple _text() API from HildonPickerButton to
5991 HildonTouchPicker, to provide better escalability and not to tie
5992 that API to HildonPickerButton.
5994 * examples/hildon-picker-button-example.c: (main): Example updated.
5996 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5998 * src/hildon-button.c: Updated documentation.
6000 * examples/hildon-button-example.c: Add the posibility to create
6001 the buttons using horizontal layout for title and value.
6003 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6005 * src/hildon-app-menu-private.h
6006 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6007 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6008 GtkSizeGroup for the filters, use the 'homogeneous' property of
6011 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6013 * examples/hildon-button-example.c: Updated example.
6015 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6017 * doc/hildon-docs.sgml:
6020 Update documentation.
6022 * examples/Makefile.am: Update renamed examples.
6024 * examples/hildon-picker-button-multicolumn-example.c:
6025 (create_touch_selector), (main): Update after the rename.
6027 * examples/hildon-touch-picker-example.c: Removed.
6028 * examples/hildon-touch-selector-example.c: (value_changed),
6029 (create_selector), (get_visible_content), (main): Renamed from
6030 hildon-touch-picker-example.c
6032 * src/Makefile.am: Updated renamed files.
6034 * src/hildon-date-button.c: (hildon_date_button_init),
6035 (hildon_date_button_get_date), (hildon_date_button_set_date):
6036 * src/hildon-date-selector.c: (hildon_date_selector_init),
6037 (_custom_print_func), (_update_day_model),
6038 (_manage_selector_change_cb),
6039 (hildon_date_selector_select_current_date),
6040 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6041 * src/hildon-date-selector.h:
6042 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6043 (hildon_picker_button_set_property),
6044 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6045 (hildon_picker_button_init), (hildon_picker_button_new_text),
6046 (hildon_picker_button_append_text),
6047 (hildon_picker_button_prepend_text),
6048 (hildon_picker_button_insert_text),
6049 (hildon_picker_button_set_selector),
6050 (hildon_picker_button_get_selector):
6051 * src/hildon-picker-button.h:
6052 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6053 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6054 (_update_title_on_selector_changed_cb), (requires_done_button),
6055 (_hildon_picker_dialog_set_selector),
6056 (hildon_picker_dialog_set_selector),
6057 (hildon_picker_dialog_get_selector):
6058 * src/hildon-picker-dialog.h:
6059 * src/hildon-time-button.c: (hildon_time_button_init),
6060 (hildon_time_button_get_time), (hildon_time_button_set_time):
6061 * src/hildon-time-selector.c: (hildon_time_selector_init),
6062 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6063 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6064 * src/hildon-time-selector.h:
6067 Massive code updates after the rename.
6069 * src/hildon-touch-picker.c: Removed.
6070 * src/hildon-touch-picker.h: Removed.
6072 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6073 (hildon_touch_selector_init), (hildon_touch_selector_map),
6074 (hildon_touch_selector_remove), (_default_print_func),
6075 (_selection_changed_cb), (_create_new_column),
6076 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6077 (hildon_touch_selector_append_text_column),
6078 (hildon_touch_selector_remove_column),
6079 (hildon_touch_selector_set_column_attributes),
6080 (hildon_touch_selector_insert_column),
6081 (hildon_touch_selector_get_num_columns),
6082 (hildon_touch_selector_get_column_selection_mode),
6083 (hildon_touch_selector_set_column_selection_mode),
6084 (hildon_touch_selector_set_print_func),
6085 (hildon_touch_selector_get_print_func),
6086 (hildon_touch_selector_get_active_iter),
6087 (hildon_touch_selector_set_active_iter),
6088 (hildon_touch_selector_get_selected_rows),
6089 (hildon_touch_selector_get_model),
6090 (hildon_touch_selector_set_model),
6091 (hildon_touch_selector_get_current_text),
6092 (_hildon_touch_selector_center_on_selected_items):
6093 * src/hildon-touch-selector.h: Renamed from
6094 hildon-touch-picker.[ch]
6096 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6097 references, code examples, and related documentation.
6099 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6101 * doc/hildon-docs.sgml
6104 * src/hildon-toggle-button.c
6105 * src/hildon-toggle-button.h
6106 * src/hildon.h: New HildonToggleButton widget.
6108 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6110 * src/hildon-button.c: Add API documentation.
6111 (hildon_button_set_size_groups): Check input parameters
6113 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6115 * src/hildon-pannable-area.c
6116 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6117 effect after reaching the movement thredshold. This way we start
6118 using the distance after passing the thredshold.
6120 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6122 * src/hildon-button.c: (hildon_button_set_property): Use the
6123 appropriate g_value_get_flags() method.
6125 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6127 * doc/hildon-docs.sgml:
6130 Add the touch pickers, picker dialogs, and picker button widgets
6131 to the documentation.
6133 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6135 * src/hildon-button.c: (hildon_button_set_property),
6136 (hildon_button_class_init): Make "arrangement-flags" a proper
6137 G_TYPE_FLAGS derived property.
6139 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6141 * examples/Makefile.am: Add below examples.
6142 * examples/hildon-date-button-example.c:
6143 * examples/hildon-picker-button-example.c:
6144 * examples/hildon-picker-button-multicolumn-example.c:
6145 * examples/hildon-time-button-example.c:
6146 * examples/hildon-touch-picker-example.c:
6148 Add examples for the recently added touch pickers,
6149 picker dialogs, and picker button widgets.
6151 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6153 * src/hildon-button.c: Add some API documentation
6155 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6157 * src/hildon-button.h
6158 * src/hildon-button.c
6160 (hildon_button_new_with_text): New constructor to create a button
6161 with no text at all.
6162 (hildon_button_init, hildon_button_set_arrangement)
6163 (hildon_button_set_title, hildon_button_set_value)
6164 (hildon_button_set_text)
6165 (hildon_button_construct_child): Hide the value when it's not used
6166 so the rest of the text is properly aligned.
6167 Allow creating buttons with arbitrary widgets inside (not just
6168 title/value labels).
6170 * examples/hildon-button-example.c (vertical_buttons_window)
6171 (horizontal_buttons_window): Update example to use new API.
6173 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6175 * src/Makefile.am: Added HildonTimeButton.
6176 * src/hildon-time-button.c: Added missing LGPL header.
6177 * src/hildon-time-button.h: Added missing LGPL header.
6178 * src/hildon.h: Add hildon-time-button.h
6180 Copied HildonTimeButton from sandbox to trunk. Future work on this
6181 widget must take place in trunk.
6183 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6185 * src/Makefile.am: Added HildonDateButton.
6186 * src/hildon-date-button.c: Update includes.
6187 * src/hildon.h: Add hildon-date-button.h
6189 Copied HildonDateButton from sandbox to trunk. Future work on this
6190 widget must take place in trunk.
6192 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6194 * src/Makefile.am: Added HildonPickerButton.
6195 * src/hildon-picker-button.h: Update includes.
6196 * src/hildon.h: Add hildon-picker-button.h
6198 Copied HildonPickerButton from sandbox to trunk. Future work on
6199 this widget must take place in trunk.
6201 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6203 * src/Makefile.am: Added HildonPickerDialog.
6204 * src/hildon-picker-dialog.c: Update includes.
6205 * src/hildon.h: Add hildon-picker-dialog.h
6207 Copied HildonPickerDialog from sandbox to trunk. Future work
6208 on this widget must take place in trunk.
6210 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6212 * src/Makefile.am: Added HildonTimeSelector.
6213 * src/hildon.h: Add hildon-time-selector.h
6215 Copied HildonTimeSelector widget from sandbox to trunk. Future
6216 work on this widget must happen in trunk.
6218 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6220 * src/Makefile.am: Added HildonDateSelector.
6221 * src/hildon.h: Add hildon-date-selector.h
6223 Copied HildonDateSelector widget from sandbox to trunk. Future
6224 work on this widget must happen in trunk.
6226 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6228 * src/Makefile.am: Added HildonTouchPicker.
6229 * src/hildon-touch-picker.c: Update includes.
6230 * src/hildon.h: Add hildon-touch-picker.h
6232 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6233 on this widget must happen in trunk.
6235 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6237 * src/hildon-pannable-area.c:
6238 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6240 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6242 * examples/hildon-app-menu-example.c (main): Let the window
6245 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6247 * src/hildon-pannable-area.c
6248 (hildon_pannable_area_class_init): Set the min value of the
6249 overshoot properties to zero, which points out that not
6250 overshooting allowed.
6252 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6254 Modified the procedure to get the widget at a point inside the
6255 pannable area when using the movement type signals. Now the user
6256 has to call a function to get the child, that way we just
6257 calculate the child in case the user really want to use it and not
6260 * src/hildon-marshalers.list: Modified the marshallers, now we do
6261 not have the widget as a parameter.
6263 * src/hildon-pannable-area.c
6264 (hildon_pannable_area_motion_notify_cb),
6265 (hildon_pannable_area_class_init),
6266 (hildon_pannable_get_child_widget_at): Removed the widget
6267 parameter from the signal callback. We have also refactored the
6268 emission of the signals.
6270 * src/hildon-pannable-area.h: Added a new method to the API to
6271 calculate a widget at a point inside the pannable area,
6272 hildon_pannable_get_child_widget_at.
6274 * examples/hildon-pannable-area-example-4.c
6275 (horizontal_movement): Modified the example to use the new API,
6276 added condition to control which widget is under the event. This
6277 way we can avoid scrolling laterally over other widgets.
6279 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6281 * src/hildon-pannable-area.c
6282 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6283 modes, we stop getting the pointer events due to returning the
6284 callback without properly calling the get pointer again. Fixed
6285 also an error using the hscroll and vscroll.
6287 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6289 * src/hildon-app-menu-private.h
6290 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6291 (hildon_app_menu_button_release, hildon_app_menu_init)
6292 (hildon_app_menu_class_init): Don't hide the menu on button
6293 release if the user didn't press outside first.
6295 * src/hildon-window.h
6296 * src/hildon-window.c (hildon_window_toggle_menu)
6297 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6298 hildon_window_toggle_menu a virtual function for the stackable
6299 window to override it.
6301 * src/hildon-stackable-window.h
6302 * src/hildon-stackable-window-private.h
6303 * src/hildon-stackable-window.c
6304 (hildon_stackable_window_realize)
6305 (hildon_stackable_window_finalize)
6306 (hildon_stackable_window_class_init)
6307 (hildon_stackable_window_init)
6308 (hildon_stackable_window_set_main_menu): New function to set the
6309 app menu of a HildonStackableWindow.
6311 * examples/hildon-app-menu-example.c: Remove the button to show
6312 the app menu, now it'll be shown when clicking on the title bar
6315 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6317 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6318 set the widget name if the arrangement flags do not specify
6321 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6323 * src/hildon-button.c: (hildon_button_set_property),
6324 (hildon_button_class_init), (hildon_button_new_full),
6325 (hildon_button_set_arrangement): Added "arrangement-flags"
6328 Make the HildonButtonFlags a construction-only property, to allow
6329 subclasses to set them properly.
6331 2008-07-21 Tim Janik <timj@imendio.com>
6333 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6334 insertion position after backspace, so additional digits are appended,
6337 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6339 * src/hildon-pannable-area.c,
6340 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6341 TODO list, it was complete and removed the g_debug and g_print
6344 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6346 Added the movement modes to the hildon-pannable-area, with this
6347 modes the developers can control in which directions the widget
6348 can scroll. They can also connect to signals in order to do
6349 something when that happens, allowing applications scroll. There
6350 is an example uploaded showing how to use it.
6352 * examples/Makefile.am:
6353 * examples/hildon-pannable-area-example-4.c: Added this example of
6354 an application using the modes.
6356 * src/hildon-marshalers.list: Added a new marshaller for the new
6359 * src/hildon-pannable-area.h: Added new enumerations and flags in
6360 order to control the movement modes and the new signals to warn
6361 about the movements in the area.
6363 * src/hildon-pannable-area.c:
6364 (hildon_pannable_axis_scroll),
6365 (hildon_pannable_area_scroll),
6366 (hildon_pannable_area_motion_notify_cb),
6367 (hildon_pannable_area_get_property),
6368 (hildon_pannable_area_set_property),
6369 (hildon_pannable_area_map),
6370 (hildon_pannable_area_class_init),
6371 (hildon_pannable_area_init),
6372 (hildon_pannable_area_jump_to): Added the modes to control the
6373 movement in the widget. We have added properties to control it,
6374 signals to warn about the movements and refactored some code.
6376 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6378 Changes required in order to allow vfast_factor set to zero to
6381 * src/hildon-pannable-area.c:
6382 (hildon_pannable_area_button_press_cb): Changed the condition, it
6383 is required for not allowing click when vfast_factor is zero.
6384 (hildon_pannable_area_timeout): Initialized velocity variables
6385 when we stop moving, it was less than 1 but not zero and we need
6386 to check zero in some situations.
6387 (hildon_pannable_area_class_init): Changed the default value of
6388 the speed factor, now the button_press is just sent in case the
6389 speed is 2 per cent of the max speed.
6390 (hildon_pannable_area_init): Initialization with 0.
6392 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6394 * src/hildon-pannable-area.c,
6395 (hildon_pannable_area_get_topmost): replaced
6396 gdk_window_get_children with gdk_window_peek_children, this way we
6397 do not have to free the list because it is not a copy.
6399 (hildon_pannable_axis_scroll),
6400 (hildon_pannable_area_scroll),
6401 (hildon_pannable_area_timeout),
6402 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6403 two parameters that were only used inside the
6404 hildon_pannable_area_scroll function.
6406 * examples/hildon-pannable-area-example.c,
6407 (get_sawtooth_label): Fixed small memory leak.
6409 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6411 More checks for the case where the overshoot is bigger than the
6414 * src/hildon-pannable-area.c:
6415 (hildon_pannable_draw_vscroll),
6416 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6417 to draw the slider of the scrollbar under the other scrollbar.
6418 (hildon_pannable_area_expose_event): added new checks to control
6419 the drawing of the overshooting area rectangle, in case it is too
6420 big for the area of the widget.
6421 (hildon_pannable_area_size_allocate): add more checks to avoid
6422 setting a position to the child widget outside the area.
6424 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6426 * src/hildon-pannable-area.c
6427 (hildon_pannable_area_size_allocate): Added conditions to control
6428 when overshooting is bigger than the allocated space for the
6429 children, this avoids negative allocations.
6431 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6433 * doc/hildon-docs.sgml
6435 * examples/Makefile.am
6436 * examples/hildon-button-example.c
6438 * src/hildon-button.c
6439 * src/hildon-button.h
6440 * src/hildon.h: Initial version of the new HildonButton widget,
6443 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6445 * src/hildon-pannable-area.c:
6446 (hildon_pannable_area_button_press_cb),
6447 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6448 (hildon_pannable_area_motion_notify_cb),
6449 (hildon_pannable_area_button_release_cb),
6450 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6451 (hildon_pannable_area_jump_to_child):
6453 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6455 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6457 * examples/Makefile.am
6458 * examples/hildon-pannable-area-touch-grid-example.c
6459 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6460 the Hildon Touch List and Hildon Touch Grid using the
6461 HildonPannableArea widget.
6463 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6465 * src/hildon-pannable-area.c,
6466 (hildon_pannable_area_button_press_cb),
6467 (hildon_pannable_area_refresh),
6468 (hildon_pannable_area_scroll),
6469 (hildon_pannable_area_motion_notify_cb),
6470 (hildon_pannable_area_button_release_cb),
6471 (hildon_pannable_area_expose_event),
6472 (hildon_pannable_area_add),
6473 (hildon_pannable_area_remove),
6474 (hildon_pannable_area_realize),
6475 (hildon_pannable_area_size_allocate),
6476 (hildon_pannable_area_class_init),
6477 (hildon_pannable_area_init),
6478 (hildon_pannable_area_scroll_to_child),
6479 (hildon_pannable_area_jump_to_child): Fixed the problem of
6480 removing the child from the GtkBin, we have rearranged the widget
6481 hierarchy, now there is no GtkAlignment which was not doing
6482 anything interesting but breaking some of the assumptions of
6483 GtkContainer. Now developers if they want to add a GtkAlignment
6484 they could, but it is not inside the area.
6486 We had to review the whole allocation/expose process, now it is
6487 improved and we save at least three signals which would be saving
6488 some time when rendering the widget. The allocation of the
6489 scrollbars is now made in the allocate method as usual.
6491 We have also added some conditions in order to control when there
6492 is no child of the pannable area. Maybe we will need more work
6495 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6497 * src/hildon-pannable-area.c,
6498 (hildon_pannable_area_dispose): Released the fade-out timeout when
6499 disposing the widget.
6501 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6503 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6504 zero, we are going to use that property in order to deactivate the
6506 (hildon_pannable_axis_scroll),
6507 (hildon_pannable_area_size_allocate): Added conditions to control
6508 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6509 call, now it is called in all situations and we can remove calls
6510 in the allocate method.
6511 (hildon_pannable_area_map): Control the situation when
6512 overshoot_max is zero, we do not need the timeout.
6513 (hildon_pannable_area_class_init): Added documentation in order to
6514 point out that setting zero to overshoot_max means deactivate
6517 NOTE: removed trailing whitespaces from my previous comments of
6520 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6522 * src/hildon-pannable-area.c
6523 (hildon_pannable_area_get_property),
6524 (hildon_pannable_area_set_property),
6525 (hildon_pannable_area_map),
6526 (hildon_pannable_area_class_init),
6527 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6528 to cause the widget give a hint about its panning abilities upon
6531 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6533 * src/hildon-pannable-area.c: Several documentation improvements.
6535 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6537 * src/hildon-program.c
6538 * src/hildon-stackable-window.c: Update documentation.
6540 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6542 * src/hildon-stackable-window.c (get_previous_window_if_last):
6543 Renamed get_last_window()
6544 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6545 (hildon_stackable_window_unset_program):
6547 (get_previous_window_if_last):
6548 Detect if the window hasn't been added to a HildonProgram.
6550 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6552 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6554 * src/hildon-pannable-area.c
6555 (hildon_pannable_area_button_press_cb),
6556 (hildon_pannable_axis_scroll),
6557 (hildon_pannable_area_scroll),
6558 (hildon_pannable_area_timeout),
6559 (hildon_pannable_calculate_vel_factor),
6560 (hildon_pannable_area_get_property),
6561 (hildon_pannable_area_set_property),
6562 (hildon_pannable_area_class_init),
6563 (hildon_pannable_area_init),
6564 (hildon_pannable_area_scroll_to),
6565 (hildon_pannable_area_jump_to),
6566 (hildon_pannable_area_scroll_to_child),
6567 (hildon_pannable_area_jump_to_child):
6568 * src/hildon-pannable-area.h: Added the new API functions:
6569 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6570 hildon_pannable_area_scroll_to_child,
6571 hildon_pannable_area_jump_to_child
6574 * examples/Makefile.am
6575 * examples/hildon-pannable-area-example-2.c
6576 * examples/hildon-pannable-area-example-3.c: Added these two new
6577 examples in order to test and show how the new APIs work.
6579 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6581 * examples/hildon-stackable-window-example.c (new_window):
6582 * src/Makefile.am (noinst_HEADERS):
6583 * src/hildon-program.c (hildon_program_go_to_root_window):
6584 * src/hildon-program.h:
6585 * src/hildon-stackable-window-private.h:
6586 * src/hildon-stackable-window.c:
6587 * src/hildon-stackable-window.h:
6588 Create hildon-stackable-window-private.h
6589 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6591 * examples/hildon-app-menu-example.c (create_menu):
6592 * examples/hildon-hvolumebar-insensitive-example.c (main):
6593 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6594 * examples/hildon-toolbar-seekbar-example.c (main):
6595 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6596 * src/hildon-banner.c (hildon_banner_set_property):
6597 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6598 Fix compilation warnings
6600 * src/hildon-window.c:
6603 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6605 * src/hildon-stackable-window.c
6606 (hildon_stackable_window_unset_program):
6607 Calculate correctly whether to show the previous window if the
6608 last one is removed from the stack.
6609 (hildon_stackable_window_go_to_root_window):
6610 Send delete events starting from the topmost window.
6611 Stop if one of the windows is not destroyed.
6613 (hildon_stackable_window_delete_event)
6614 (hildon_stackable_window_class_init):
6615 Ignore the delete event if the window is not the topmost one.
6617 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6619 * src/hildon-pannable-area.c
6620 (hildon_pannable_area_expose_event): Fixed a problem when
6621 selecting the background color of the scrollbars.
6623 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6625 * examples/hildon-stackable-window-example.c
6626 * src/hildon-stackable-window.c
6627 * src/hildon-stackable-window.h
6628 hildon_stackable_window_go_home() renamed to
6629 hildon_stackable_window_go_to_root_window()
6630 Send delete events to windows rather than closing them with
6631 gtk_widget_destroy()
6633 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6635 * src/hildon-pannable-area.c
6636 (hildon_pannable_area_button_release_cb): Fix overshooting in
6639 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6641 * src/hildon-pannable-area.c
6642 (hildon_pannable_area_init): Initially show the scroll indicators.
6643 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6645 Add initial effect showing the widget is pannable.
6647 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6649 * src/hildon-pannable-area.c
6650 (hildon_pannable_area_class_init)
6651 (hildon_pannable_area_set_property)
6652 (hildon_pannable_area_get_property)
6653 (hildon_pannable_area_button_press_cb):
6654 New 'velocity_fast_factor' property to decide which velocity is
6657 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6659 * src/hildon-pannable-area.c
6660 (hildon_pannable_draw_hscroll)
6661 (hildon_pannable_draw_vscroll):
6662 Use float variables to calculate the size of the scrollbars to
6663 avoid error propagation and resizing during scrolling.
6665 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6667 * src/hildon-pannable-area.c
6668 (hildon_pannable_draw_vscroll)
6669 (hildon_pannable_draw_hscroll):
6670 Define a minimum size for the scroll bars
6672 * src/hildon-stackable-window.c
6673 (hildon_stackable_window_go_home): Fix compilation warning
6674 (get_last_window): Minor optimizations
6675 (hildon_stackable_window_class_init): Fix initialization of
6678 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6680 * src/hildon-stackable-window.c: Fixed typos in doc
6682 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6684 * src/hildon-pannable-area.c
6685 (hildon_pannable_area_scroll):
6686 Calculate here whether we need to scroll instead of using the booleans
6687 that tell us whether to /draw/ the scrolling bars.
6689 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6691 * src/hildon-app-menu.h
6693 * src/hildon-app-menu.c
6694 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6695 multiple filter groups related code and API. Now we support only
6697 * examples/hildon-app-menu-example.c:
6699 Update to reflect API changes.
6701 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6703 * src/hildon-stackable-window.c
6704 (hildon_stackable_window_class_init):
6705 Add hildon_stackable_window_realize.
6706 (hildon_stackable_window_realize):
6707 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6708 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6709 to apply theming and behavior specific to HildonStackableWindow
6712 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6714 * src/hildon-note.c (hildon_note_button_release):
6715 Close information notes also when tapping on them
6717 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6719 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6720 ELASTICITY, refactor and review, fix some issues with drawing
6723 * src/hildon-pannable-area.c:
6724 (hildon_pannable_area_button_press_cb): removed the conditions to
6725 avoid clicks when overshooting. It is not required
6727 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6728 define. Refatored and reviewed the code, now we do not need to
6729 manage velocity in motion_notify.
6731 (hildon_pannable_area_motion_notify_cb): We have moved the code
6732 that controls the area_scroll to the axis_scroll function and get
6733 rid of duplicated code.
6735 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6737 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6739 (hildon_pannable_draw_vscroll),
6740 (hildon_pannable_draw_hscroll): Fixed the problems with the
6741 scrollbar drawing, now we do not use two surfaces, it is easier
6742 and saves resources.
6744 (hildon_pannable_area_get_property): Style modification.
6746 (hildon_pannable_area_class_init): Changed some default values.
6748 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6750 * src/hildon-stackable-window.c: Fix some typos in the
6753 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6755 * src/hildon-dialog.c:
6756 Change indentation style
6759 (hildon_note_button_release):
6760 Use root coordinates to check if the release event happened
6763 * src/hildon-app-menu.c
6764 (hildon_app_menu_button_release):
6765 Remove unnecessary check
6767 * examples/hildon-app-menu-example.c
6769 Add cast to fix warning
6771 * src/hildon-app-menu.c
6772 (hildon_app_menu_class_init):
6773 New inner-border style property.
6774 Set all default spacings to 16
6775 (hildon_app_menu_init):
6776 Use vertical-spacing to set the space between filter buttons and
6777 regular menu buttons.
6778 Set the default container border using the inner-border value.
6780 * examples/hildon-app-menu-example.c
6782 Don't set the menu border explicitly, now we have the inner-border
6783 style property for that.
6785 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6787 * src/hildon-app-menu.c (hildon_app_menu_init):
6788 Make the window modal
6790 * src/hildon-note.c (hildon_note_map)
6791 * src/hildon-app-menu.c (hildon_app_menu_map):
6792 Destroy the grab window if we're unable to grab the pointer
6794 * src/hildon-app-menu-private.h
6795 * src/hildon-app-menu.c
6796 (hildon_app_menu_init, hildon_app_menu_finalize)
6797 (hildon_app_menu_map, hildon_app_menu_unmap)
6798 (hildon_app_menu_button_release)
6799 (grab_transfer_window_get):
6800 Bring back the grab window
6801 (hildon_app_menu_realize):
6802 Decorate the window, set WM hint for Matchbox
6804 * src/hildon-note.c (hildon_note_realize):
6805 * src/hildon-banner.c (hildon_banner_realize):
6806 Add WM hints for Matchbox
6808 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6810 * src/hildon-app-menu-private.h
6811 * src/hildon-app-menu.c
6812 (hildon_app_menu_init, hildon_app_menu_finalize)
6813 (hildon_app_menu_map, hildon_app_menu_unmap)
6814 (hildon_app_menu_button_release):
6815 Remove the grab window, it's not needed anymore
6817 * src/hildon-program.c
6818 Fixed typo in documentation
6820 * src/hildon-app-menu.h
6821 * src/hildon-app-menu.c
6822 * examples/hildon-app-menu-example.c
6823 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6825 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6828 Added new transfer_window and close_if_pressed_outside private
6830 (hildon_note_rebuild):
6831 Don't add a cancel button to the information note. It will be
6832 closed when tapping outside
6833 Remove the comment about the OK button in the documentation
6834 (hildon_note_realize):
6835 Set the notification type hint
6836 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6837 Grab/ungrab pointer and keyboard if the note has to be closed when
6839 (hildon_note_button_release):
6840 Close the note when tapping outside (if applicable)
6842 * src/hildon-app-menu.c
6843 Grab/ungrab pointer and keyboard on map/unmap
6844 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6845 Close the menu on button release, not button press
6847 * src/hildon-banner.c
6848 (hildon_banner_set_property)
6849 (hildon_banner_check_position):
6850 Make the banner use the full width of the screen
6851 (hildon_banner_show_information)
6852 (hildon_banner_show_information_with_markup):
6853 Don't display an icon by default
6855 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6857 Added fading scrollbars and adapted all the overshooting code to
6858 horizontal scrolling. We have also fixed bugs with overshooting
6859 and current fading implementation.
6861 * src/hildon-pannable-area.c
6862 (hildon_pannable_area_scroll_indicator_fade): Time out function
6863 used to change the transparency of the scrollbars.
6865 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6866 control and fixed a problem with fading, we now remove the fade
6867 timeout before adding a new one.
6869 (hildon_pannable_axis_scroll):
6870 (hildon_pannable_area_scroll):
6871 (hildon_pannable_area_timeout): Added this functions so we can use
6872 the scroll code both for vertical and horizontal.
6874 (hildon_pannable_area_motion_notify_cb):
6875 (hildon_pannable_area_button_release_cb): Added the horizontal
6876 scrolling control, fixed a problem with the overshooting timeout.
6878 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6879 painting of the scrolls.
6881 (hildon_pannable_draw_vscroll):
6882 (hildon_pannable_draw_hscroll):
6883 (hildon_pannable_area_expose_event):
6884 Draw both scrollbars and rectangles in the overshooting area.
6886 (hildon_pannable_area_get_property):
6887 (hildon_pannable_area_set_property):
6888 Modified the overshoot property to overshoot_max
6890 (hildon_pannable_area_map):
6891 Replaced the comments symbols.
6893 (hildon_pannable_area_size_allocate):
6894 (hildon_pannable_area_class_init):
6895 (hildon_pannable_area_init): Added horizontal scroll, fading
6896 effect properties, fixed a problem when overshooting in the bottom
6899 * examples/hildon-pannable-area-example.c:
6900 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6901 looks better in the example.
6903 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6905 * src/hildon-window.c
6906 * src/hildon-window.h
6907 (hildon_window_class_init)
6908 (hildon_window_unset_program)
6909 (hildon_window_unset_program_real):
6910 Make unset_program a virtual function
6912 * src/hildon-stackable-window.c
6913 * src/hildon-stackable-window.h
6914 Added hildon_stackable_window_go_home()
6916 * examples/Makefile.am
6917 * examples/hildon-stackable-window-example.c
6918 HildonStackableWindow example
6920 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6922 * hildon-pannable-area.c: Added the overshoot property and removed
6923 the OVERSHOOT define. Fixed an indent style error.
6924 (hildon_pannable_area_motion_notify_cb):
6925 (hildon_pannable_area_get_property):
6926 (hildon_pannable_area_set_property): Add overshoot property.
6928 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6931 (hildon_pannable_area_class_init): Installed the new property.
6933 * hildon-pannable-area-example.c: Added a sawtooth function, this
6934 way it is easier to check the movement in the pannable.
6935 (get_sawtooth_label): Added this function.
6936 (main): Now we get the labels from the new get_sawtooth_label
6939 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6941 * src/hildon-app-menu.h
6942 * src/hildon-app-menu.c
6943 Renamed API variables for consistency
6945 (hildon_app_menu_popup): Use also the default window size to
6946 decide where to place the menu
6948 (hildon_app_menu_init, hildon_app_menu_class_init): New
6949 external-border style property
6951 2008-05-26 Michael Natterer <mitch@imendio.com>
6953 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6954 widget_class->tap_and_hold_setup signal slot doesn't exist any
6955 longer, stop overriding it.
6957 (hildon_time_editor_init): g_signal_connect() to the
6958 tap-and-hold-setup signal instead.
6960 (hildon_time_editor_entry_keypress): add cast to fix warning.
6962 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6964 * doc/hildon-docs.sgml
6966 * examples/Makefile.am
6967 * examples/hildon-app-menu-example.c
6969 * src/hildon-app-menu-private.h
6970 * src/hildon-app-menu.c
6971 * src/hildon-app-menu.h
6973 New HildonAppMenu widget
6975 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6977 Rearranged the inheritance of the pannable area, now it inherits
6978 from GtkBin. This will allow us to control the event_window and
6979 the allocation process of the widget, required for some effects.
6981 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6982 GtkBin structures. * src/hildon-pannable-area.c: Added the
6983 event_window variable.
6984 (hildon_pannable_area_button_press_cb):
6985 (hildon_pannable_area_button_release_cb):
6986 (hildon_pannable_area_motion_notify_cb):
6987 Changed the signature of the method, now we override the event
6988 callback instead of connecting to the signal.
6990 (hildon_pannable_area_realize):
6991 (hildon_pannable_area_unrealize):
6992 (hildon_pannable_area_map):
6993 (hildon_pannable_area_unmap):
6994 (hildon_pannable_area_size_allocate):
6995 Added functions to control the widget construction. We add a
6996 INPUT_ONLY window and we put it over the widgets inside the
6997 container, this event_window handles the events.
6999 (hildon_pannable_area_class_init):
7000 Replaced the signal connections with overrides of the event
7003 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7005 Bouncing effect added when touching the borders, you can change
7006 the elasticity of the border changing the ELASTICITY define.
7008 * src/hildon-pannable-area.c: Added ELASTICITY define.
7009 (hildon_pannable_area_timeout): Added inverse velocity when
7010 touching the border of the child widget, that causes a bounce.
7012 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7014 Improved performance, we now do not go to the X server in order to
7015 get the list of window children. Apparently the effect is the
7016 same, we have to be careful and check if this breaks something in
7019 * src/hildon-pannable-area.c:
7020 (get_ordered_children): Removed this function.
7021 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7022 the children windows function with gdk_window_get_children.
7024 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7026 * src/hildon-pannable-area.c:
7027 (hildon_pannable_area_dispose): Fixed a crash when closing the
7028 window and kinetics is activated.
7030 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7032 * src/hildon-pannable-area.h
7033 * src/hildon-pannable-area.c
7034 Changed indentation style to meet the one used in Hildon
7036 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7038 Reviewed the interaction of the AUTO mode, now we use the time
7039 attribute of the events and calculate the velocity in the motion,
7040 doing a gimp like calculation. The velocity is calculated in each
7041 motion event using the last velocity and the current one, the
7042 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7044 * src/hildon-pannable-area.c: Replaced the time based algorithm
7046 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7047 timeout for the AUTO mode when we are still moving the cursor. We
7048 added also the velocity calculation in this function.
7049 (hildon_pannable_area_button_release_cb): launch the timeout in
7050 case we are in AUTO mode. There are still some constants here that
7051 come from the old implementation that should be reviewed and
7054 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7056 * doc/hildon-docs.sgml
7059 * src/hildon-stackable-window.c
7060 * src/hildon-stackable-window.h
7062 New HildonStackableWindow widget
7064 * examples/hildon-dialog-example.c
7065 * examples/hildon-pannable-area-example.c
7068 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7070 * src/hildon-dialog.c
7071 (hildon_dialog_new_with_buttons): New constructor.
7073 * examples/hildon-dialog-example.c
7074 (main): Update the example to use the new
7075 hildon_dialog_new_with_buttons().
7077 * examples/hildon-pannable-area-example.c
7078 (main): Update example.
7080 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7082 * doc/hildon-docs.sgml
7084 Added HildonPannableArea to the documentation.
7086 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7088 * doc/visual_index.xml
7089 Fix reference to HildonLoginDialog in documentation
7091 * doc/hildon-docs.sgml
7093 * examples/Makefile.am
7094 * examples/hildon-dialog-example.c
7096 * src/hildon-dialog.c
7097 * src/hildon-dialog.h
7099 New HildonDialog widget.
7101 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7103 * src/hildon-pannable-area.c
7104 Merge latest changes (r4318, r4342) from libmokoui trunk
7106 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7108 * examples/Makefile.am
7109 * examples/hildon-pannable-area-example.c
7111 * src/hildon-pannable-area.c
7112 * src/hildon-pannable-area.h
7114 New HildonPannableArea widget.
7116 2008-04-15 18:05:19 <timj@imendio.com>
7118 * src/hildon-banner.c: revert the recent change, that introduced
7119 gtk_window_present() calls. this reopens:
7120 Bug 78481 - [freetest] information banners are hidden under browser menu
7121 But resolves another variant of:
7122 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7124 2008-04-15 13:21:13 <timj@imendio.com>
7126 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7127 recreated its layout, spotted by Kris. this fixes all remaining
7128 artefacts and stability issues with the banner code. in particular:
7129 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7131 2008-04-14 16:52:59 <timj@imendio.com>
7133 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7134 operating on unrealized widgets, fixes:
7135 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7137 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7139 2008-04-09 Kristian Rietveld <kris@imendio.com>
7141 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7142 makes banner disappear.
7143 Fixes: NB#79182: info banner flickering with certain message lengts.
7145 * src/hildon-banner.c (hildon_banner_constructor),
7146 (hildon_banner_init), (hildon_banner_set_text),
7147 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7148 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7149 FALSE, reset size requests of label and banner,
7150 (force_to_wrap_truncated): when the text is too wide, always enforce
7151 the maximum possible width instead of recalculating it from the
7152 layout; enforce the maximum banner height of 3 lines,
7153 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7154 nicer wrapping and no truncated chars if space gets tight.
7156 * src/hildon-banner-private.h: add has_been_wrapped and
7157 has_been_truncated fields.
7159 2008-04-07 Sven Herzberg <sven@imendio.com>
7161 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7162 local values in hildon_date_editor_size_allocate
7164 * src/hildon-date-editor.c: moved the real allocation code into the
7167 2008-04-07 Sven Herzberg <sven@imendio.com>
7169 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7170 local values in hildon_date_editor_size_allocate
7172 * src/hildon-date-editor.c: merged the two if() branches together
7174 2008-04-07 Sven Herzberg <sven@imendio.com>
7176 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7177 local values in hildon_date_editor_size_allocate
7179 * src/hildon-date-editor.c: changed the arguments of the if()
7182 2008-04-07 Sven Herzberg <sven@imendio.com>
7184 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7185 local values in hildon_date_editor_size_allocate
7187 * src/hildon-date-editor.c: split the calculation of the allocation
7188 from the real allocation
7190 2008-03-27 Michael Natterer <mitch@imendio.com>
7192 Fixes: NB#81696: The passcode is not overwritten even after
7195 * src/hildon-code-dialog.c
7196 (hildon_code_dialog_button_clicked)
7197 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7198 because that doesn't overwrite selected text. Instead, emit the
7199 "commit" signal on the entry's im_context so the entry's normal
7200 insert logic is triggered. Set the cursor to the end of the entry
7201 after each insert operation so that we *only* insert in the middle
7202 of the text if something was selected.
7204 2008-03-27 Michael Natterer <mitch@imendio.com>
7206 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7207 selector cannot be opened
7209 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7210 when the popup color selector is created. Please connect to this
7211 signal in order to set the dialog's help ID.
7213 2008-03-25 Sven Herzberg <sven@imendio.com>
7215 Fixes: MB#1212: Hide info banners (infoprints) on click
7217 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7218 extracted the close event simulation into an extra function
7219 (hildon_banner_button_press_event): simulate a close event and destroy
7220 the widget if the event wasn't handled
7221 (hildon_banner_class_init): added the button_press_event handler
7222 (hildon_banner_init): added button-press events to the widget
7224 2008-03-25 Sven Herzberg <sven@imendio.com>
7226 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7227 Patch from: Mohammad Anwari <mdamt@maemo.org>
7229 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7230 instead of the right in RTL mode
7231 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7232 breadcrumb button list in RTL mode
7233 * src/hildon-caption.c: mirror the appearance of the caption widget in
7235 * src/hildon-date-editor.c: mirror appearance of the date editor in
7237 * src/hildon-time-editor.c: mirror appearance of the time editor in
7239 * src/hildon-window.c: fix the position of the popup in RTL mode
7241 2008-03-25 Sven Herzberg <sven@imendio.com>
7243 Amendment to the fix of NB#22072. Fix compilation.
7245 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7247 2008-03-19 Sven Herzberg <sven@imendio.com>
7249 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7252 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7253 timeout id properly when the timeout will disappear this leaves no
7254 artifacts around in the destroy(); there will only be the timeout
7255 created by hildon_banner_ensure_timeout() and adding a new timeout
7256 will also work if the timeout gets removed because the timeout_handler
7259 2008-03-19 Michael Natterer <mitch@imendio.com>
7261 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7263 * src/hildon-volumebar.c
7264 * src/hildon-vvolumebar.c
7265 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7266 the widget becomes focussable at all.
7268 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7269 set the focus to wither the mute button or the volumebar.
7271 Remove own "can-focus" property and instead listen to
7272 notify::can-focus in order to update the widget's state.
7274 Implement GtkWidget::focus() and make sure we can also *leave* the
7275 widget, not only enter it, depending on volumebar orientation and
7276 requested focus direction.
7278 Clean up set_mute() to cooperate nicely with all the above.
7280 2008-03-04 Michael Natterer <mitch@imendio.com>
7282 Fixes: NB#78481: information banners are hidden under browser menu
7284 * src/hildon-banner.c: call gtk_window_present() on the banners so
7285 they are risen if they are already visible.
7287 2008-03-03 Sven Herzberg <sven@imendio.com>
7289 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7291 * examples/hildon-window-menu-example.c: (main): extended the window
7292 menu example to serve as a testcase for automatically added
7293 accelerator groups, too
7294 * src/hildon-window.c: (hildon_window_add_accel_group),
7295 (hildon_window_set_menu): added patch by Tommi Komulainen
7297 2008-03-03 Sven Herzberg <sven@imendio.com>
7299 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7301 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7302 knowledge about the border allocators used within GTK+
7304 2008-02-26 Sven Herzberg <sven@imendio.com>
7306 Fixes: MB#2981: Build with asserts broken
7308 * src/hildon-date-editor.c,
7309 * src/hildon-number-editor.c,
7310 * src/hildon-time-editor.c,
7311 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7312 the proper GType instance check
7314 2008-02-25 Sven Herzberg <sven@imendio.com>
7316 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7318 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7319 * examples/hildon-window-menu-example.c: (main): explicitly show
7321 * src/hildon-window.c:
7322 (hildon_window_set_main_menu): moved most of the code from set_menu()
7323 to this place; skipped the call to gtk_widget_show_all(); also didn't
7324 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7325 (hildon_window_set_menu): removed most of the code, just keep the
7326 questionable gtk_widget_show_all()
7327 * src/hildon-window.h: added the new function and deprecate the old
7330 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7336 * debian/changelog: Updating.
7338 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7341 * pkgconfig/Makefile.am:
7342 * pkgconfig/hildon.pc.in:
7345 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7346 use newly created API_MAJOR_VERSION.
7348 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7354 * debian/changelog: Updating.
7356 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7358 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7360 Add outer_border style property, we use it but don't define it (!).
7364 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7366 * examples/hildon-bread-crumb-trail-example.c (main):
7370 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7372 Fix logic for the bread crumb trail node removal.
7376 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7382 * debian/changelog: Updating.
7384 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7386 Patch by Alejandro to get/set passwords dialogs accesibility.
7388 * hildon-1/src/hildon-get-password-dialog.c:
7389 * hildon-1/src/hildon-set-password-dialog.c:
7390 Set atk_set_name to the passwd entries in order to allow
7391 accessibility by name on this entries.
7393 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7398 * debian/control: Updating gtk dep.
7400 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7402 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7403 USE_MAEMO_GTK is enabled.
7405 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7407 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7408 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7410 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7416 * debian/changelog: Updating.
7418 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7420 * examples/Makefile.am:
7421 * examples/hildon-logical-color-example.c:
7422 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7423 applied + adding a test case. Fixes: NB#71660.
7425 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7427 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7428 to be visible, fixes warning on map for windows without toolbars.
7430 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7432 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7433 2.11.0, add a check for that besides the MAEMO_GTK check.
7435 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7441 * debian/changelog: Updating.
7443 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7445 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7446 visibility. Fixes: NB#70842 and MB#615.
7448 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7450 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7451 set the separator as no-show-all so it doesn't unintentionally appear when
7452 someone does a show_all.
7454 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7456 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7457 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7458 toplevel item. Fixes: NB#62031
7460 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7462 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7463 fix the name of the function in the docs.
7465 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7471 * debian/changelog: Updating.
7473 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7475 * examples/hildon-banner-long-example.c: Adding a test-case for long
7478 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7480 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7482 * src/hildon-color-chooser-dialog.c:
7483 * src/hildon-color-chooser.c:
7484 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7485 memory leaks in font selector and color selector. Fixes: NB#70499 and
7488 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7490 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7492 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7494 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7495 little bit bigger. Fixes: #NB63694.
7497 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7503 * debian/changelog: Updating.
7505 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7508 * doc/hildon-docs.sgml:
7509 * doc/images/bread-crumb-trail.png:
7510 * doc/images/calendar-popup.png:
7511 * doc/images/caption.png:
7512 * doc/images/code-dialog.png:
7513 * doc/images/color-button.png:
7514 * doc/images/color-chooser-dialog.png:
7515 * doc/images/color-chooser.png:
7516 * doc/images/controlbar.png:
7517 * doc/images/date-editor.png:
7518 * doc/images/font-selection-dialog.png:
7519 * doc/images/get-password-dialog.png:
7520 * doc/images/hvolumebar.png:
7521 * doc/images/login-dialog.png:
7522 * doc/images/note.png:
7523 * doc/images/number-editor.png:
7524 * doc/images/range-editor.png:
7525 * doc/images/seekbar.png:
7526 * doc/images/set-password-dialog.png:
7527 * doc/images/sort-dialog.png:
7528 * doc/images/time-editor.png:
7529 * doc/images/time-picker.png:
7530 * doc/images/vvolumebar.png:
7531 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7532 Adding the bread-crumb-trial and helpers to the documentation.
7534 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7536 * examples/hildon-find-toolbar-example.c:
7537 * src/hildon-find-toolbar.c:
7538 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7539 actually continue firing the other handlers if connected. Adding a new
7541 hildon_find_toolbar_get_last_index that gets the index of the most
7542 recently added (last) item. Fixes: NB#52301.
7544 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7546 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7547 behaviour. Fixes: NB#68610.
7549 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7551 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7554 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7556 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7557 when realizing the banner. Should make the infonbanner effect a bit more
7560 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7562 * src/hildon-volumebar.c:
7563 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7564 hildon_volumebar_set_range_insensitive_message and
7565 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7567 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7569 * src/hildon-window.c: Fixing the border freeing on destroy.
7571 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7573 * src/hildon-code-dialog-private.h:
7574 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7575 kw keyboard support in HildonCodeDialog.
7577 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7583 * debian/changelog: Updating.
7585 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7587 * src/hildon-date-editor.c:
7588 * src/hildon-number-editor.c:
7589 * src/hildon-private.c:
7590 * src/hildon-private.h:
7591 * src/hildon-time-editor.c:
7592 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7593 handling in subclassed composite widgets. Fixes: NB#66628.
7595 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7597 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7598 from destroy_ callback as it introduces problems in async dbus signal
7599 handlers. Fixes NB#66673.
7601 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7603 * examples/hildon-hvolumebar-example.c:
7604 * src/hildon-volumebar.c: Improving the focus handling in the
7605 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7606 set_property accessor so that "mute" property can be actually set. I'm
7607 scared that nobody noticed it's totally broken.
7609 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7611 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7614 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7616 * src/hildon-calendar.c:
7617 * src/hildon-number-editor.c:
7618 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7619 matches the spec of 6 chars per second. Fixes: NB#60489.
7621 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7623 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7624 gtk_style_lookup_color sometime returns FALSE even though color was
7625 found and values were filled properly. Weird. Removing the warning for the
7628 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7630 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7631 expand vertically. Adding some extra space to the find toolbar buttons to
7632 make them thumbable. Fixes NB#66060.
7634 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7636 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7637 popup with "Ok" and "Cancel". Fixes NB#59299.
7639 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7641 * src/hildon-calendar.c: Process all window updates before executing next
7642 timeout. Fixes: NB#54146.
7644 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7650 * debian/changelog: Updating.
7652 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7654 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7655 the client event and ignore it, since we use the delete event to close
7658 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7660 * src/hildon-helper.c: Remove the bogus warning about color not being
7661 found. Fixes NB#58352.
7663 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7665 * examples/Makefile.am:
7666 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7667 HildonSeekbar widget inside a toolbar.
7669 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7671 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7672 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7673 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7674 don't want to be closed by non-temporary windows on map.
7676 Also use G_DEFINE_TYPE instead of manually typed code.
7678 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7685 * debian/rules: Updating.
7687 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7689 * examples/Makefile.am:
7690 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7691 bug NB#61128. Strangely it works.
7693 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7695 * src/hildon-date-editor.c: When the date editor entry has been changed
7696 but the numbers of characters < max, turn off the skip validation flag.
7697 Prevents a situation when we enter first a valid year and later re-write
7698 it with an invalid one. Fixes NB#60154.
7700 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7702 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7703 code dialog. Fixes NB#64355.
7705 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7707 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7708 switching the page. Fixes NB#49374.
7710 * examples/Makefile.am:
7711 * examples/hildon-wizard-dialog-example.c: Adding an example for
7712 HildonWizardDialog that shows how to handle manual sensitivity setting on
7715 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7719 * src/hildon-version.h.in:
7720 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7722 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7724 * src/hildon-volumebar.c: Updating the docs.
7726 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7732 * debian/changelog: Updating.
7734 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7736 * src/hildon-find-toolbar.c:
7737 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7738 selected item: hildon_find_toolbar_set_active,
7739 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7740 hildon_find_toolbar_get_active_iter . They correspond to respective
7741 GtkComboBox functions.
7743 * examples/Makefile.am:
7744 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7747 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7749 * examples/Makefile.am:
7750 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7753 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7754 when font size > 32 and we pack a focusable widget inside. Actually using
7755 the default response would work too, but since we don't show default
7756 response state in any way (no theming) it would not be visible to the
7757 user. Fixes NB#63430.
7759 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7761 * src/hildon-date-editor.c: Adding the missing variable setter in the
7762 set_property handler. Fixes NB#54182.
7764 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7766 * src/hildon-window.h: Changing the long key press time from 1500ms to
7767 800ms as requested in NB#63700. I have a bad feeling about this, let's
7768 see... Fixes NB#63700.
7770 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7772 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7773 hildon_time_picker_map, hildon_time_picker_realize,
7774 hildon_time_picker_style_set): Split the contents of map to more
7775 appropriate functions; set window decorations on realize and update
7776 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7778 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7783 * debian/changelog: Updating.
7785 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7787 * src/Makefile.am: fixed installation of the header files
7789 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7795 * debian/changelog: Updating.
7797 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7799 * configure.ac: Removing some remaining of --enable-xan.
7801 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7803 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7804 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7806 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7807 2.10.12-osso6 because the move-focus signal needs to be available in
7810 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7812 * examples/Makefile.am:
7813 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7814 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7815 fine. Prolly NB#61128 is fixed now.
7817 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7819 * src/hildon-volumebar.c:
7820 * src/hildon-volumebar.h: Adding the
7821 hildon_volumebar_set_range_insensitive_message and
7822 hildon_volumebar_set_range_insensitive_messagef functions to set
7823 insensitive message on the slider of the volumebar. Fixes NB#61129.
7825 * examples/Makefile.am:
7826 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7827 test the new insensitive messsage functionality on HildonVolumebar.
7829 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7831 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7834 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7836 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7837 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7838 button on after clearing the trail.
7840 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7842 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7844 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7846 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7847 by splitting the installed headers in generated and non-generated groups. Use
7848 only the non-generated headers to create the hildon-enum-types.h file.
7850 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7852 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7854 * src/hildon-window.c: Hide the window before performing the destroy.
7855 Should make the app closing a little tiny bit more snappy.
7857 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7859 * src/hildon-seekbar.c: add gtkrange.h header
7860 * src/hildon-caption.c: remove unused variable
7862 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7864 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7867 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7873 * debian/changelog: Updating.
7875 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7877 * src/hildon-window.c (hildon_window_window_state_event,
7878 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7879 escape timeout on focus-out-event rather than notify::is-topmost; the
7880 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7882 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7884 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7885 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7887 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7889 * src/hildon-window: actually, you need to use the macro always, there's
7890 no private pointer in the instance structure. We should have cleaned this up
7891 when we had the chance...
7893 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7895 * src/hildon-window.c: do not get the private date from HildonWindow before
7896 it passes the g_return_if_fail check. Once it's passed the test, there's no
7897 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7898 if you are only going to access the data once. Whitespace cleanups.
7900 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7902 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7903 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7905 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7911 * debian/changelog: Updating.
7913 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7915 * src/hildon-window.c: When destroying the window, remove (if exists) the
7916 escape timeout handler. Fixes #NB59276.
7918 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7920 * src/hildon-banner.c: When realizing the widget, set the window
7921 transiency. Setting the transiency in the gobject constructor is not
7922 good, as the widget is not realized at that point. Fixes: #NB56624.
7924 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7926 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7927 Add padding for future expansions.
7929 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7931 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7932 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7933 will fake an activation on the previous to the last item of the trail, so
7934 the effect can be overrided by the developer as usual.
7935 Also change the callback for the back button to do the same thing, so its
7936 effect can be overrided too. Fixes: NB#58982
7938 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7940 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7941 HildonCaption. Fixes NB#52379.
7943 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7945 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7946 the internal state of the trail after the user has had the chance of executing
7947 his handler for the signal. Specifically, it may happen that the activated button
7948 is removed and the user still lets the default handler run. This would segfault
7951 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7953 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7954 scrollbar to the preview dialog. Fixes NB#54147.
7956 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7958 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7959 max/min year properties can be altered, so the client can modify it
7960 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7962 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7964 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7965 hildonlike by default. Fixing a problem with disappearing arrows when
7966 scrolling through months and years. Fixes NB#54127.
7968 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7970 * examples/hildon-date-editor-example.c: Adding error callback to the date
7973 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7979 * configure.ac: Updating.
7981 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7983 * configure.ac: Adding a special '--enable-xan' configure option that
7984 turns off the -Werror compilation setting. Usefull for development.
7986 * src/hildon-calendar.c:
7987 * src/hildon-number-editor.c:
7988 * src/hildon-time-picker.c: Adding the 5* multiplier to
7991 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7993 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7994 instead of g_object_ref + gtk_object_sink.
7996 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8002 * debian/changelog: Updating.
8004 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8006 * src/hildon-color-chooser-dialog.c:
8007 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8008 straight from Tommi labs.
8010 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8012 * examples/hildon-finger-example.c: Correcting the header file path.
8014 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8015 the changed signal. Fixes a small memory leak.
8017 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8021 * src/hildon-banner.c: Importing several usefull fixes from the
8022 ubuntu-mobile branch.
8024 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8026 * examples/Makefile.am:
8027 * examples/hildon-finger-example.c: Adding a finger-checking code
8030 * src/hildon-font-selection-dialog.c: Do not allocate the color
8031 structure using the g_new. Fixes NB#54061.
8033 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8035 * src/hildon-helper.c: Correcting tabs in file.
8037 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8039 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8040 control the visibility of the children.
8042 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8044 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8050 * debian/changelog: Updating.
8052 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8054 * src/hildon-bread-crumb-trail.c:
8055 (hildon_bread_crumb_trail_size_allocate):
8057 Make the back button always a square.
8059 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8061 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8062 from the .c file as it's a private file.
8064 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8066 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8067 uses slightly bigger height.
8069 * src/hildon-font-selection-dialog.c: Adding some checks before
8070 freeing memory in the font selection dialog.
8072 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8074 * src/hildon-font-selection-dialog.c: Adding a small check when
8077 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8078 buttons sensitivity on page switching.
8080 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8082 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8083 internal details of adding a bread crumb to the trail.
8085 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8091 * debian/changelog: Updating.
8093 * src/hildon-bread-crumb-trail.h:
8094 * src/hildon-bread-crumb.h: Changing the API guard to
8095 HILDON_ENABLE_UNSTABLE_API.
8097 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8105 * src/hildon-helper.h: Updating.
8107 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8115 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8119 * src/hildon-helper.h: Small fix to make the package actually compile.
8121 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8123 * src/hildon-bread-crumb-trail.h:
8124 * src/hildon-bread-crumb.h:
8126 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8127 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8129 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8131 * examples/hildon-bread-crumb-trail-example.c:
8133 * src/hildon-bread-crumb-trail.c:
8134 * src/hildon-bread-crumb-trail.h:
8135 * src/hildon-bread-crumb.c:
8136 * src/hildon-bread-crumb.h:
8137 * src/hildon-marshalers.list:
8138 * src/hildon-bread-crumb-widget.c:
8139 * src/hildon-bread-crumb-widget.h:
8141 Slight change in the widget design. The bread crumb trail API is
8142 unchanged, but HildonBreadCrumb is now an interface. A *private*
8143 implementation, hildon-bread-crumb-widget, is provided and used
8144 internally by the trail for the push_text/push_icon functions.
8146 The generic push API is still available, so anyone can implement
8147 and use its own bread crumb widget.
8149 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8151 * debian/rules: Fixing the shlibs.
8153 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8155 * src/hildon-banner.c: Fixing a problem with timed banners having
8156 their parrent destroyed before they are.
8158 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8160 * src/hildon-bread-crumb.c:
8161 * src/hildon-bread-crumb.h:
8163 Make the get_natural_size function a vfunc.
8165 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8167 * src/hildon-bread-crumb.c:
8168 * src/hildon-bread-crumb-trail.c:
8172 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8179 * debian/changelog: Updating for release.
8181 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8183 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8184 don't leak the pango layout.
8186 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8189 * examples/hildon-bread-crumb-trail-example.c:
8193 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8195 * debian/changelog: Removing the bug-fixed entries that were actually
8196 resolved as WONTFIX.
8198 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8201 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8203 * src/hildon-bread-crumb-trail.c:
8204 * src/hildon-bread-crumb-trail.h:
8205 * src/hildon-bread-crumb.c:
8206 * src/hildon-bread-crumb.h:
8210 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8212 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8213 until it's passed the type check.
8215 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8217 * examples/hildon-bread-crumb-trail-example.c
8221 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8223 * examples/Makefile.am
8224 * examples/hildon-bread-crumb-trail-example.c
8226 * src/hildon-bread-crumb-trail.c
8227 * src/hildon-bread-crumb-trail.h
8228 * src/hildon-bread-crumb.c
8229 * src/hildon-bread-crumb.h
8231 New HildonBreadCrumbTrail widget.
8233 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8235 * src/hildon-range-editor.c (hildon_range_editor_init),
8236 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8237 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8238 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8239 hildon_time_editor_class_init, hildon_time_editor_init),
8240 src/hildon-get-password-dialog.c (invalid_input,
8241 hildon_get_password_set_property, hildon_get_password_get_property,
8242 create_contents, hildon_get_password_dialog_set_max_characters),
8243 src/hildon-set-password-dialog.c (create_contents),
8244 src/hildon-date-editor.c (hildon_date_editor_init),
8245 src/hildon-login-dialog.c (hildon_login_dialog_init),
8246 src/hildon-number-editor.c (hildon_number_editor_init),
8247 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8248 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8249 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8250 configure option and adding the respective checks in the code.
8251 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8252 hildon_calendar_drag_data_received): fixed some build warnings.
8254 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8256 * debian/changelog: A 1.0.0 release notes.