1 2009-05-27 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-app-menu.c (hildon_app_menu_map):
4 Create grab transfer window before calling parent's map function.
6 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
7 "crushed" button(s) in the top left corner)
9 2009-05-26 Alberto Garcia <agarcia@igalia.com>
11 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
12 Check if the window is already realized when pushing it.
14 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
16 * configure.ac: post release version bump
17 * debian/changelog: post release version bump
19 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
24 * configure.ac: Bump version.
25 * debian/changelog: Updates.
27 2009-05-25 Alberto Garcia <agarcia@igalia.com>
29 * hildon/hildon-app-menu.c: Doc updates.
31 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
33 * hildon/hildon-banner.c: Remove leftover macro.
35 2009-05-25 Alejandro G. Castro <alex@igalia.com>
37 * hildon/hildon-pannable-area.c,
38 (hildon_pannable_area_scroll_indicator_fade),
39 (hildon_pannable_area_button_release_cb): Reviewed vmin
40 conditions, it could cause problems in the fadeout procedure.
42 2009-05-25 Alejandro G. Castro <alex@igalia.com>
44 * hildon/hildon-pannable-area.c
45 (hildon_pannable_area_button_release_cb): Added a threshold to
46 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
48 2009-05-25 Alejandro G. Castro <alex@igalia.com>
50 * hildon/hildon-pannable-area.c,
51 (hildon_pannable_area_set_property): Added code to sync the gtk
52 dnd threshold with the panning threshold.
54 2009-05-25 Alejandro G. Castro <alex@igalia.com>
56 * hildon/hildon-pannable-area.c,
57 (hildon_pannable_area_class_init): Changed some of the default
58 values, now it should be less responsive and more accurate.
60 2009-05-25 Alejandro G. Castro <alex@igalia.com>
62 * hildon/hildon-pannable-area.c,
63 (hildon_pannable_area_init),
64 (hildon_pannable_area_scroll_indicator_fade),
65 (hildon_pannable_area_button_press_cb),
66 (hildon_pannable_axis_scroll),
67 (hildon_pannable_area_timeout),
68 (hildon_pannable_area_motion_notify_cb),
69 (hildon_pannable_area_button_release_cb): Changed the name of the
70 clicked attribute to button_pressed, it is more clear about its use.
72 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
74 * src/hildon-pannable-area.c
75 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
77 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
78 vertical scrollbar visibility, and use the data on private section instead,
79 remove the initial_hint check
80 (hildon_pannable_area_expose_event): add the initial_hint check here
82 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
84 * src/hildon-pannable-area.c
85 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
86 if the fadeout effect was used
87 (hildon_pannable_area_expose_event): check if it is required to
88 manage the initial effect on the begining of the function. Previously
89 it was made at the end, but this doesn't ensure that the scrollbars
90 will be painted on the first show. Do not set to FALSE initial_effect,
91 to ensure that the initial hint is showed the first time the pannable
93 * examples/Makefile.am
94 * examples/hildon-pannable-area-initial-hint-example.c:
95 New example, to show that the initial-hint is showed when the widget
98 Fixes: NB#116607 (Pannable area should always have scrollbar visible
99 initially if the application can be scrolled)
101 2009-05-25 Alberto Garcia <agarcia@igalia.com>
103 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
104 Resize table before adding new items to make sure that
105 gtk_table_resize() is called just once.
107 2009-05-25 Alberto Garcia <agarcia@igalia.com>
109 * hildon/hildon-app-menu-private.h
110 * hildon/hildon-app-menu.c (item_visibility_changed)
111 (filter_visibility_changed, hildon_app_menu_show_all)
112 (hildon_app_menu_hide_all, hildon_app_menu_init):
113 Rearrange items just once when gtk_widget_show_all()/hide_all()
116 2009-05-25 Alberto Garcia <agarcia@igalia.com>
118 * hildon/hildon-app-menu.c
119 (hildon_app_menu_insert, hildon_app_menu_add_filter):
120 Don't call gtk_widget_show() on added items.
122 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
123 automatically when they're added)
125 2009-05-20 Alberto Garcia <agarcia@igalia.com>
127 * hildon/hildon-banner.c
128 (hildon_banner_realize, +hildon_banner_unrealize)
129 (+screen_size_changed, hildon_banner_class_init):
130 Redisplay the banner if the screen is rotated.
132 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
133 on transition from landscape to portrait)
135 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
137 * hildon/hildon-banner.[ch]:
138 (hildon_banner_show_information_override_dnd): remove icon_name from the
139 method definition as it is ignored.
140 * examples/hildon-banner-dnd-example.c: updated with the change on
143 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
145 * hildon/hildon-banner-private.h: new require_override_dnd and
146 overrides_dnd variables
147 * hildon/hildon-banner.h:
148 (hildon_banner_show_information_override_dnd): new method, that shows
149 the information but sets the override flag, in order to show important
151 * hildon/hildon-banner.c
152 (hildon_banner_show_information_override_dnd): new method
153 (hildon_banner_set_override_flag): new utility function
154 (hildon_banner_real_show_information): new utility function, in order to
155 generalize the current hildon_banner_show_information_override_dnd and
156 hildon_banner_show_information_override_dnd
157 * examples/Makefile.am
158 * examples/hildon-banner-dnd-example.c: New example that show how to
159 use the new hildon_banner_show_information_override_dnd
161 Fixes: NB#114874 (There is no possibility to show hildon banners with
164 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
166 * hildon/hildon-pannable-area.c: Add a comment explaining the math
167 behind hildon_pannable_calculate_vel_factor().
169 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
171 * hildon/hildon-pannable-area.c
172 (hildon_pannable_calculate_vel_factor): Correct the sum of the
173 deceleration factors.
175 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
177 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
178 Reduce the default value for 'scroll_time' to 1 second, since the
179 current initial scrolling takes too much time.
181 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
183 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
184 calculate velocity factor during initialization, since the properties
187 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
189 * hildon/hildon-pannable-area.c
190 (hildon_pannable_area_set_property): Calculate the velocity factor
191 after setting the deceleration property and not after.
193 2009-05-20 Alberto Garcia <agarcia@igalia.com>
195 * hildon/hildon-entry.c
196 (hildon_entry_class_init, +set_property, hildon_entry_new)
197 * hildon/hildon-check-button.c
198 (hildon_check_button_class_init)
199 (+set_property, hildon_check_button_new):
200 Make the theme size a property.
202 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
203 others) do too much in the _new function)
205 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
207 * configure.ac: post release version bump
208 * debian/changelog: post release version bump
210 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
215 * configure.ac: Bump version.
216 * debian/changelog: Updates.
218 2009-05-15 Alberto Garcia <agarcia@igalia.com>
220 * hildon/hildon-gtk.h
221 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
222 New API function to take a screenshot of a window
224 Fixes: NB#106374 (Need API to take a loading screenshot)
226 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
228 * hildon/hildon-time-selector.c
229 (update_format_policy): prevent to use hours and minutes unitialized
231 2009-05-15 Alberto Garcia <agarcia@igalia.com>
233 * hildon/hildon-window.c (hildon_window_size_request):
234 Always request the full size of the screen (minus the title bar if
235 not in fullscreen mode).
237 Fixes: NB#107486 (HildonWindow should size itself properly)
239 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
241 * hildon/hildon-note-private.h: Add idle_handler to the private data.
242 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
243 (on_show_cb), (sound_handling): Disconnect the idle handler for
244 the sound when the note is finalized to avoid possible crashes.
246 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
249 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
251 * src/hildon-animation-actor.c,
252 * src/hildon-remote-texture.c:
253 Added proper object cleanup to remove signal handler and object
254 references as HildonAnimationActor and HildonRemoteTexture
255 objects get destroyed.
257 Fixes: NB#116682 (Destroying parented animation actors when
258 parent in unmapped leads to crash)
260 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
262 Based on a patch by Christian Dywan (christian@imendio.com)
264 * doc/hildon-sections.txt:
265 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
266 * hildon/hildon-helper.h: New file size formatting method.
268 * debian/control: Depend on osso-filemanager l10n package for
269 proper localization strings.
271 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
273 * tests/Makefile.am: Include top_srcdir to make possible to build
274 tests in a different builddir.
275 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
276 on a different builddir.
278 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
280 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
281 (hildon_touch_selector_remove): Disconnect model's signal handler
284 Fixes: NB#116289 (Hildon home crashes while adding task
287 2009-05-11 Alberto Garcia <agarcia@igalia.com>
289 * hildon/hildon-button.c
290 (hildon_button_set_title, hildon_button_set_value):
291 Hide labels containing an empty string.
293 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
295 * configure.ac: post release version bump
296 * debian/changelog: post release version bump
298 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
303 * configure.ac: Bump version.
304 * debian/changelog: Updates.
306 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
308 * hildon/hildon-note-private.h: Removed sound_signal_handler
309 * hildon/hildon-note.c
310 (on_show_cb): new callback on note "show" event, this simply adds
311 a idle, with the function sound_handling
312 (sound_handling): removed the sound_signal_handler management
313 (hildon_note_init): connect note "show" event to on_show_cb
314 (hildon_note_realize): remove the connection to "expose-event"
316 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
317 device?' confirmation note)
319 2009-05-08 Alberto Garcia <agarcia@igalia.com>
321 * hildon/hildon-note.c
322 (hildon_note_new_information_with_icon_name)
323 (hildon_note_new_confirmation_with_icon_name):
324 Terminate the list of parameters in g_object_set() calls
326 Fixes: NB#115166 (Formatting memory card is not taking place)
328 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
330 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
331 "dialog-information" role for the sound being played.
333 2009-05-06 Alberto Garcia <agarcia@igalia.com>
335 * hildon/hildon-app-menu.c (hildon_app_menu_init):
336 Don't make the menu a modal window, it causes strange interactions
337 with the pointer grab and it's not really needed.
339 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
341 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
343 * hildon/hildon-touch-selector.[ch]
344 (hildon_touch_selector_optimal_size_request): function added to get a
345 optimal size request from the touch selector, when you want a dialog to
346 show as much of the selector
347 * hildon/hildon-picker-dialog.c:
348 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
349 (hildon_app_menu_class_init):
350 New "max-height-landscape" and "max-height-portrait" style properties
351 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
352 (hildon_picker_dialog_get_max_height): returns the maximum height using
353 the style properties defined and checking the current portrait/landscape
355 (_hildon_picker_dialog_set_selector): removed the set_size_request
357 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
359 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
361 * hildon/hildon-bread-crumb-trail.c:
362 * hildon/hildon-bread-crumb.c:
363 * hildon/hildon-seekbar.c:
364 Add reference to replacements for these deprecated widgets.
366 Fixes: MB#4461 (Documentation: All deprecations should mention
369 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
371 * examples/hildon-remote-texture-example.c
373 Change the include to the hildon-remote-texture in order to compile
374 properly the examples on the installed libhildon1-examples package
376 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
378 * tests/Makefile.am: Add check for HildonPickerButton.
379 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
380 (START_TEST), (create_hildon_picker_button_suite): Add three simple
381 checks for the HildonPickerButton.
382 * tests/check_test.c (configure_tests): Add the test suite.
383 * tests/test_suites.h: likewise.
385 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
387 * hildon/hildon-touch-selector.c
388 (+on_row_changed): Emit HildonTouchSelector:changed when the
389 contents of a selected row change.
390 (_create_new_column), (_hildon_touch_selector_set_model): connect
391 to GtkTreeModel:row-changed on a newly set model.
393 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
395 2009-05-05 Alberto Garcia <agarcia@igalia.com>
397 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
399 * hildon/hildon-banner.c (hildon_banner_destroy)
400 (hildon_banner_show_progress, hildon_banner_set_fraction):
401 Remove the progress bar from HildonBanner and use a progress
404 Fixes: NB#113761 (Update progress banner to use progress
407 2009-05-04 Alberto Garcia <agarcia@igalia.com>
409 * hildon/hildon-banner.c:
410 Calculate size of the banner label using the actual screen width
411 rather than using a fixed value.
413 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
416 2009-05-04 Alejandro G. Castro <alex@igalia.com>
418 * hildon/hildon-pannable-area.c,
419 (hildon_pannable_area_class_init): Fixed signals documentation
422 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
424 * configure.ac: post release version bump
425 * debian/changelog: post release version bump
427 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
432 * configure.ac: Bump version.
433 * debian/changelog: Updates.
435 2009-05-01 Alberto Garcia <agarcia@igalia.com>
437 * hildon/hildon-edit-toolbar.c
438 (hildon_edit_toolbar_init):
439 Don't let buttons in HildonEditToolbar receive focus.
441 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
442 typing on an HW arrows key)
444 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
446 * doc/Makefile.am: Fix build.
448 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
450 * doc/Makefile.am: Do not redefine content_files.
452 2009-04-30 Alberto Garcia <agarcia@igalia.com>
460 Renamed src/ to hildon/
465 Include <hildon/hildon.h> directly in all examples.
467 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
469 * src/hildon-sort-dialog.c
470 (hildon_sort_dialog_add_sort_key_with_sorting)
474 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
476 * src/Makefile.am: Move generated sources to CLEANFILES, so that
477 make distcheck passes.
479 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
481 * Makefile.am: Enable gtk-doc during distcheck.
483 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
485 * Makefile.am: Do not distribute the debian/ directory.
487 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
489 * doc/Makefile.am: Add the extra SGML files to content_files,
490 so that they are distributed properly.
492 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
494 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
497 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
499 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
500 (hildon_note_new_information_with_icon_name): Set the "icon" property
501 to preserve soundness.
503 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
505 * src/hildon-font-selection-dialog.c
506 (hildon_font_selection_dialog_set_property): Fail when the "family"
507 property is set to NULL.
509 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
511 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
514 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
516 * src/hildon-time-selector.h:
517 Added HildonTimeSelectorFormatPolicy
518 * src/hildon-time-selector.c:
519 Added PROP_TIME_FORMAT_POLICY
520 (_check_ampm_format): renamed to check_automatic_ampm_format
521 (update_format_policy), (update_format_dependant_columns): new functions
522 (hildon_time_selector_class_init)
523 (hildon_time_selector_contructor)
524 (hildon_time_selector_init)
525 (hildon_time_selector_get_property)
526 (hildon_time_selector_set_property)
527 (hildon_time_selector_get_time)
528 (hildon_time_selector_set_time)
529 * src/hildon-touch-selector.h: new file
530 * src/hildon-touch-selector.c
531 (hildon_touch_selector_emit_changed)
532 (hildon_touch_selector_block_changed)
533 (hildon_touch_selector_unblock_changed)
534 Added functions to allow to block the emission of the "changed" signal
535 * src/hildon-picker-dialog.c
536 (hildon_picker_dialog_show): call the parent show before the custom code
537 * examples/hildon-time-button-example.c
538 Modified, so now you can configure the time format using the new property
540 Added a new property "time-format-policy" that allow to choose the time
541 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
542 case it uses gconf in order to check if the time selector must use
545 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
548 2009-04-28 Alberto Garcia <agarcia@igalia.com>
550 * src/hildon-note.c (hildon_note_init):
551 Label in HildonNote must be left aligned, not centered. This
552 reverts the last commit in HildonNote.
554 Fixes: NB#112933 (text is not left aligned in confirmation dialog
555 is connectivity dialog)
557 2009-04-27 Alberto Garcia <agarcia@igalia.com>
562 * doc/hildon-sections.txt:
563 Added hildon_gtk_window_set_do_not_disturb()
565 2009-04-27 Alberto Garcia <agarcia@igalia.com>
567 * src/hildon-note.c (hildon_note_init): Center label.
569 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
572 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
577 * configure.ac: Bump version.
578 * debian/changelog: Updates.
580 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
582 * src/hildon-note-private.h: Add button-width to the private data.
583 * src/hildon-note.c (+resize_button),
584 (+hildon_note_orientation_update): methods to repack widgets on orientation
586 (screen_size_changed): Call above method for confirmation notes.
587 (hildon_note_realize): Always connect to the "screen-size" changed signal.
588 (hildon_note_rebuild): Store the original width request from buttons.
590 Fixes: NB#109635 (Confirmation notes do not support portrait)
592 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
594 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
595 when it is a progress note.
597 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
599 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
600 in the note, since there are no horizontally arranged contents.
602 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
604 * src/hildon-gtk.c (+set_flag): new generic method to
605 set/delay a flag setting in a window.
606 (hildon_gtk_window_set_progress_indicator):
607 (hildon_gtk_window_set_do_not_disturb),
608 (hildon_gtk_window_set_portrait_flags): use set_flag() to
609 avoid code redundance.
611 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
613 Based on a patch by Alberto Garcia (agarcia@igalia.com)
615 * src/hildon-gtk.c (set_clear_window_flag),
616 (do_set_progress_indicator), (do_set_do_not_disturb),
617 (do_set_portrait_flags),
618 (hildon_gtk_window_set_progress_indicator),
619 (hildon_gtk_window_set_do_not_disturb),
620 (hildon_gtk_window_set_portrait_flags):
621 Allow setting dnd-flag, progress indicator, and portrait flags
622 when the window is not realized.
624 2009-04-24 Alejandro G. Castro <alex@igalia.com>
626 * src/hildon-pannable-area.c,
627 * src/hildon-pannable-area.h: Add the hildon deprecated define to
628 the size request policy function and defines.
630 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
632 * doc/hildon-sections.txt: Add the new API.
633 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
634 method to set the portrait flags.
635 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
637 Fixes: NB#112328 (Adding helpers for setting portrait properties)
639 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
641 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
642 to allow using this method with other flags.
643 (hildon_gtk_window_set_progress_indicator): Update accordingly.
644 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
646 2009-04-22 Alberto Garcia <agarcia@igalia.com>
648 * src/hildon-touch-selector.c
649 (hildon_touch_selector_append_text_column):
650 Make the cell renderer use the smallest width possible.
652 Fixes: NB#108470 (Selected items in multiple selection are either
653 having a tick that is cut or not visible at all.)
655 2009-04-22 Alberto Garcia <agarcia@igalia.com>
657 * src/hildon-touch-selector.c
658 (hildon_touch_selector_append_text_column):
661 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
663 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
664 Use g_strdup_printf() instead of a fixed size buffer.
666 2009-04-21 Alberto Garcia <agarcia@igalia.com>
668 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
669 Close banners when a HildonAppMenu is popped up.
671 Fixes: NB#111027 (Title menu closed immediately if activated when
672 "Invalid e-mail address" banner is shown)
674 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
679 * configure.ac: Bump version.
680 * debian/changelog: Updates.
682 2009-04-20 Alberto Garcia <agarcia@igalia.com>
684 * src/hildon-banner.c (hildon_banner_realize):
685 Mark HildonBanner as supporting portrait mode.
686 Use GDK to set window properties insetad of direct Xlib calls.
688 Fixes: NB#111830 (HildonBanner should be marked as supporting
691 2009-04-20 Alberto Garcia <agarcia@igalia.com>
693 * src/hildon-note.c (hildon_note_rebuild):
694 Hide action area in information notes. Prevents text from being
695 slightly aligned to the left.
697 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
700 2009-04-20 Alberto Garcia <agarcia@igalia.com>
702 Patch by Mox Soini (ext-mox.soini@nokia.com)
704 * src/hildon-banner.c (hildon_banner_create_animation):
705 Use stylus-sized icons in animation banner.
707 Fixes: NB#111206 (stylus sized icon for animation banner)
709 2009-04-20 Alberto Garcia <agarcia@igalia.com>
713 (+hildon_gtk_window_set_do_not_disturb):
714 New API to set the do-not-disturb flag.
716 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
718 2009-04-20 Alberto Garcia <agarcia@igalia.com>
720 * examples/hildon-progress-indicator-example.c: Fix example
722 * src/hildon-gtk.c (set_clear_window_flag)
723 (hildon_gtk_window_set_progress_indicator):
724 Create a generic function for setting flags to a window.
725 Use GDK instead of direct Xlib calls.
727 2009-04-14 Alberto Garcia <agarcia@igalia.com>
729 * src/hildon-button.c (hildon_button_set_arrangement):
730 Due to NB#88126, if one of the labels is too long it will be
731 painted outside the button. The 'value' label is more likely to be
732 the longest one, so we change its packing options in order to
733 truncate it if necessary. As a side effect, the 'title' label will
734 no longer be truncated.
736 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
738 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
743 * configure.ac: Bump version.
744 * debian/changelog: Updates.
746 2009-04-13 Alejandro G. Castro <alex@igalia.com>
748 Deprecation of the hildon_pannable_area_set_size_request_policy
749 API, the only policy properly supported in gtk+ nowadays is the
752 * src/hildon-pannable-area.c,
753 (hildon_pannable_area_size_request): Added a workaround for the
754 size_request to avoid the problems of huge pixmaps in case someone
755 is still using the function.
756 * src/hildon-pannable-area.h: Deprecated the enum with the
759 Fixes: NB#110244 (Problems with the
760 hildon_pannable_area_set_size_request_policy API)
762 2009-04-08 Alejandro G. Castro <alex@igalia.com>
764 * src/hildon-pannable-area.c,
765 (hildon_pannable_area_init),
766 (hildon_pannable_area_size_request),
767 (hildon_pannable_area_style_set),
768 (hildon_pannable_draw_vscroll),
769 (hildon_pannable_draw_hscroll),
770 (hildon_pannable_area_check_scrollbars): Replaced area_width with
771 indicator_width to clarify the use of the attribute.
773 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
778 * configure.ac: Bump version.
779 * debian/changelog: Updates.
781 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
783 * src/hildon-picker-dialog.c
784 * src/hildon-touch-selector.c
785 Reverting the change that tried to avoid the hardcoded height on
786 the picker dialog, as causes problems on the hildon-touch-selector
789 Fixes: NB#110029 (selectors not scrolling to selected value)
791 2009-04-07 Alberto Garcia <agarcia@igalia.com>
793 * src/hildon-touch-selector.c: Fix typos
795 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
797 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
798 Use the event coordinates instead of gdk_window_get_pointer(). Also,
799 request more motions after using it.
801 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
803 * src/hildon-calendar.c (hildon_calendar_expose),
804 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
805 Remove unused variables.
807 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
809 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
812 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
814 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
815 Check the return value of gtk_tree_selection_get_selected()
818 2009-04-06 Alberto Garcia <agarcia@igalia.com>
820 * src/hildon-animation-actor.c
821 * src/hildon-button.c
823 * src/hildon-pannable-area.c
824 * src/hildon-picker-button.c
825 * src/hildon-program.c
826 * src/hildon-remote-texture.c
827 * src/hildon-text-view.c
828 * src/hildon-touch-selector.c
829 * src/hildon-window-stack.c
830 * src/hildon-window.c:
831 Add missing 'Since: 2.2' tags.
833 * doc/hildon-sections.txt:
834 Add some missing symbols.
836 * doc/hildon-docs.sgml:
837 New 'Other' section for HildonAnimationActor and
840 2009-04-06 Alberto Garcia <agarcia@igalia.com>
842 Patch by Iván Gómez (igomez@igalia.com)
846 * doc/hildon-docs.sgml
847 * doc/hildon-sections.txt
851 New chapters on using the Hildon library.
852 Updated the general structure of the reference manual.
853 Other minor documentation fixes.
855 * src/hildon-calendar-popup.c
856 * src/hildon-calendar.c
857 * src/hildon-controlbar.c
858 * src/hildon-date-editor.c
859 * src/hildon-dialog.c
860 * src/hildon-hvolumebar.c
861 * src/hildon-number-editor.c
862 * src/hildon-range-editor.c
863 * src/hildon-sort-dialog.c
864 * src/hildon-time-editor.c
865 * src/hildon-time-picker.c
866 * src/hildon-volumebar-range.c
867 * src/hildon-volumebar.c
868 * src/hildon-vvolumebar.c
869 * src/hildon-weekday-picker.c:
870 Add deprecation notes
872 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
873 Document 'horizontal-movement' and 'vertical-movement' signals.
875 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
880 * configure.ac: Bump version.
881 * debian/changelog: Updates.
883 2009-04-06 Alejandro G. Castro <alex@igalia.com>
885 * src/hildon-pannable-area.c,
886 (hildon_pannable_area_class_init): increased the minimum velocity.
887 (hildon_pannable_area_button_release_cb): Updated the
888 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
889 setup. Review the code to control that last event.
891 Fixes: NB#109790 (Releasing finger in pannable area easily causes
894 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
896 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
898 * src/hildon-get-password-dialog.c
899 (hildon_get_password_set_property),
900 (hildon_get_password_get_property), (create_contents):
901 * src/hildon-login-dialog-private.h:
902 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
903 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
904 (hildon_login_dialog_get_password):
905 * src/hildon-set-password-dialog-private.h:
906 * src/hildon-set-password-dialog.c
907 (hildon_set_password_set_property),
908 (hildon_set_password_get_property), (create_contents),
909 (hildon_set_password_response_change),
910 (hildon_set_password_response_set), (hildon_checkbox_toggled):
912 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
913 instead and look more Fremantle style.
915 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
917 2009-04-03 Alberto Garcia <agarcia@igalia.com>
919 * doc/hildon-sections.txt
920 * src/hildon-window-stack.h
921 * src/hildon-window-stack.c
922 (+hildon_window_stack_get_windows):
923 New API to obtain the list of windows on a stack.
925 2009-04-02 Alberto Garcia <agarcia@igalia.com>
927 * src/hildon-app-menu.c (hildon_app_menu_popup)
928 (hildon_app_menu_class_init, -hildon_app_menu_show):
929 Remove hildon_app_menu_show() and move all its checks to
930 hildon_app_menu_popup()
932 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
934 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
935 (_hildon_picker_dialog_set_selector): removed call to
936 gtk_widget_set_size_request
937 * src/hildon-touch-selector.c
938 (_create_new_column): change the pannable size request policy
940 Avoid to use a hardcoded height for the hildon picker dialog. In order
941 to get that, we needed to change the hildon pannable size request
943 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
945 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
947 * src/hildon-window.c (hildon_window_map): Check for vbox to be
948 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
951 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
953 * debian/control: Depend on osso-system-lock localization package.
954 * src/hildon-code-dialog.c: Obtain the secu_application_title
955 translation from osso-system-lock.
956 * src/hildon-get-password-dialog.c (create_contents): Do not mark
957 for translation the atk related strings, that's not necessary.
958 * src/hildon-set-password-dialog.c (create_contents): Ditto.
959 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
960 cancel button, it is not required.
962 2009-04-02 Alejandro G. Castro <alex@igalia.com>
964 * src/hildon-pannable-area.c,
965 (hildon_pannable_area_class_init): Modified the default value of
966 the overshooting max speed, we have reduced it.
968 2009-04-02 Alberto Garcia <agarcia@igalia.com>
970 * doc/hildon-sections.txt
971 * src/hildon-window-private.h
972 * src/hildon-window.h
973 * src/hildon-window.c (hildon_window_class_init)
974 (hildon_window_init, hildon_window_finalize)
975 (hildon_window_realize, hildon_window_get_property)
976 (hildon_window_set_property, hildon_window_update_markup)
977 (hildon_window_get_markup, hildon_window_set_markup):
978 New "markup" property and hildon_window_{get,set}_markup() methods.
980 * examples/hildon-stackable-window-example.c (new_window):
981 Update example to use hildon_window_set_markup()
983 Fixes: NB#106375 (Need API to retitle a window with a title
986 2009-04-01 Alejandro G. Castro <alex@igalia.com>
988 * src/hildon-pannable-area.c,
989 (hildon_pannable_area_class_init): Changed the default value of
990 the initial_hint to TRUE.
991 (hildon_pannable_area_initial_effect): Changed the initial effect,
992 not the effect is just the fade-out of the scrollbars.
994 Fixes: NB#107775 (No scrollbars can be seen when several items are
995 available in a dialog)
997 2009-04-01 Alberto Garcia <agarcia@igalia.com>
999 * src/hildon-program.c (hildon_program_update_top_most):
1002 Fixes: NB#109179 (Memory leak in Hildon program)
1004 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1006 * src/hildon-banner.c (-get_current_app_window):
1007 Remove unused function.
1009 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1011 * src/hildon-pannable-area.c: Modified the documentation of the
1012 get adjustments functions to explain the problem of using the
1013 adjustment directly.
1014 (hildon_pannable_area_class_init): Improved the explanation about
1017 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1019 * src/hildon-app-menu-private.h
1020 * src/hildon-app-menu.c
1021 (hildon_app_menu_class_init):
1022 Bring back the 'external-border' style property
1023 (hildon_app_menu_class_init, hildon_app_menu_init)
1024 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1025 Set a fixed width-request for the menu, independent of the number
1028 Fixes: NB#94957 (Smoothly opened application menu)
1030 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1032 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1034 * src/hildon-banner.c
1035 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1037 Make sure that the banner is correctly placed the first time it's
1039 (hildon_banner_check_position, -check_fullscreen_state):
1040 Show the banner in the same place no matter if the window is in
1041 fullscreen mode or not.
1043 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1045 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1047 * src/hildon-touch-selector.c (_default_print_func): reorder
1048 concatenation for clarity.
1050 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1052 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1053 for multicolumn selectors.
1055 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1057 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1062 * configure.ac: Bump version.
1063 * debian/changelog: Updates.
1065 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1067 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1070 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1072 * configure.ac: removed libcangerra-gtk dependency
1073 * debian/control: removed libcanberra-gtk dependency
1074 * src/Makefile.am: removed libcanberra gtk related flags
1075 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1076 context, and manage a global canberra context instead
1078 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1080 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1082 Patch by Daniel Borgmann (danielb@openismus.com)
1084 * src/hildon-edit-toolbar.c:
1085 Adjust the left padding.
1086 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1087 Paint background of the edit toolbar.
1089 Fixes: NB#107897 (Patch to make editmodetoolbar background
1090 themeable and adjust margin)
1092 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1094 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1096 * src/hildon-program.c (hildon_program_update_top_most):
1097 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1099 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1100 change when the user tasks in/out of an application)
1102 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1104 * configure.ac: added libcangerra-gtk dependency
1105 * debian/control: added libcanberra-gtk dependency
1106 * src/Makefile.am: added libcanberra gtk related flags
1107 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1110 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1112 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1114 * src/hildon-program.c (hildon_program_remove_window)
1115 (hildon_program_add_window): Add checks for the window
1116 parameter. Don't decrease the window counter if the window is not
1119 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1121 * src/hildon-pannable-area.c,
1122 (hildon_pannable_area_realize): Fixed position of the event_window
1123 in the realize method.
1125 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1127 * src/hildon-app-menu-private.h
1128 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1129 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1130 (hildon_app_menu_key_press, hildon_app_menu_init)
1131 (hildon_app_menu_finalize):
1132 Make sure that all idle functions are removed when the widget is
1135 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1137 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1142 * configure.ac: Bump version.
1143 * debian/changelog: Updates.
1145 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1147 * src/hildon-entry.c
1148 (+hildon_entry_show_placeholder),
1149 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1150 that replace hildon_entry_update_contents().
1151 (hildon_entry_set_text),
1152 (hildon_entry_set_placeholder),
1153 (hildon_entry_focus_in_event),
1154 (hildon_entry_focus_out_event): Determine when it is needed
1155 either to show or hide the placeholder and call the above methods.
1157 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1158 when the placeholder text is already set)
1160 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1162 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1163 simple GdkPixbufAnim using the new icons for the banner.
1164 (hildon_banner_show_animation): Use the above mentioned method to
1165 create the animation widget.
1167 Fixes: NB#103564 (Make hildon animation banner use individual
1168 image files as the animation)
1170 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1172 * src/hildon-pannable-area.c,
1173 (hildon_pannable_leave_notify_event): Check if the child is NULL
1174 to avoid sending the leave.
1176 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1178 * src/hildon-pannable-area.c,
1179 (hildon_pannable_area_class_init),
1180 (hildon_pannable_leave_notify_event): Added a handler of the
1181 leave-notify-signal to consider when no motion notify before
1184 Fixes: NB#107494 (Items stay selected when clicking and moving
1185 away when inside pannable area)
1187 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1192 * configure.ac: Bump version.
1193 * debian/changelog: Updates.
1195 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1197 Patch by Alberto Garcia (agarcia@igalia.com)
1199 * src/hildon-date-button.c,
1200 (hildon_date_button_class_init),
1201 (hildon_date_button_init): Removed the construct property handling
1202 and created a default selector in the init method.
1203 * src/hildon-picker-button.c,
1204 (hildon_picker_button_class_init): Removed the construct flag of the
1207 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1209 * src/hildon-main.c (hildon_init):
1210 Don't allow hildon_init() to be called more than once.
1212 Fixes: NB#106607 (hildon_init should issue error message upon
1215 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1217 * examples/hildon-pannable-area-touch-list-example.c
1218 * examples/hildon-pannagle-area-touch-grid-example.c
1219 * examples/hildon-edit-toolbar-example.c
1220 * examples/hildon-touch-selector-multi-cells-example.c
1221 Removed the call to gtk_rc_parse_string, as it is not required since
1224 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1226 * src/hildon-pannable-area.c,
1227 (hildon_pannable_area_class_init): Modified the default panning
1228 threshold of the widget to 6px.
1230 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1231 than the threshold value ) within the button is not sending the
1234 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1236 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1237 for the treeview in the new column. This way, the touch list will never
1240 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1241 be selected manually for the HW keys to work)
1243 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1245 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1246 comparison instead of using strcmp(). Fixes a compiler warning as well.
1248 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1250 * doc/hildon-docs.sgml: Do not set the library version in the
1251 document title, use the releaseinfo tag for that purpose instead.
1253 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1255 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1256 Do not jump to the first item if the text in the entry is removed.
1258 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1263 * configure.ac: Bump version.
1264 * debian/changelog: Updates.
1266 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1268 * src/hildon-entry.c (hildon_entry_refresh_contents):
1269 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1270 Use "ReversedSecondaryTextColor" for the placeholder text.
1272 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1274 * src/hildon-text-view.c: Fix compilation warning.
1276 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1278 * src/hildon-button.c (hildon_button_class_init): Don't make
1279 "title" and "value" construction properties, to prevent them from
1280 overwriting labels set from derived classes.
1282 * src/hildon-picker-button.c
1283 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1284 (hildon_picker_button_class_init): Make touch-selector a
1285 construction property.
1287 * src/hildon-date-button.c (hildon_date_button_class_init)
1288 (+hildon_date_button_constructed): Add a default date selector if
1291 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1293 * src/hildon-touch-selector.c: Small documentation fixes.
1295 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1297 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1299 * src/hildon-entry.c (hildon_entry_refresh_contents),
1300 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1301 widget name, set the logical color directly instead and a boolean
1302 showing_placeholder instead.
1303 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1304 use the widget name here either.
1306 Fixes: NB#105678 (HildonTextView should use logical colours
1307 instead of setting widget name)
1309 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1311 Patch by Daniel Elster (danielk@openismus.com)
1313 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1314 Add user_data parameter.
1315 (hildon_touch_selector_set_print_func_full): New function akin
1316 hildon_touch_selector_set_print_func() but with support for user
1317 data and a destroy callback.
1318 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1319 to clean up the print function user data.
1320 (hildon_touch_selector_class_init): Install dispose function.
1321 (HildonTouchSelectorPrivate::print_user_data),
1322 (HildonTouchSelectorPrivate::print_destroy_func): New private
1324 (hildon_touch_selector_init): Initialize new private members.
1325 (hildon_touch_selector_get_current_text): Pass along user data
1326 to the print function.
1327 (_default_print_func): Add dummy user_data to parameter list.
1328 * hildon-date-selector.c (_custom_print_func): ditto,
1329 * hildon-time-selector.c (_custom_print_func): ditto,
1330 * hildon-touch-selector-entry.c
1331 (hildon_touch_selector_entry_print_func): ditto.
1333 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1335 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1337 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1339 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1341 * src/hildon-pannable-area.c,
1342 (hildon_pannable_area_init),
1343 (hildon_pannable_area_button_press_cb),
1344 (hildon_pannable_area_motion_notify_cb): We have added code to
1345 handle the leave and enter events when using the motion events.
1347 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1349 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1351 * src/hildon-date-button.c (hildon_date_button_get_date)
1352 (hildon_date_button_set_date): Make sure that the button has a
1355 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1357 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1359 * src/hildon-pannable-area.c,
1360 (hildon_pannable_area_class_init),
1361 (hildon_pannable_area_calculate_velocity): Modify the use of the
1362 force and adapt the value.
1364 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1366 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1367 (hildon_app_menu_class_init): Hide the menu if it receives a
1368 delete-event, but don't destroy it
1370 Fixes: NB#104485 (Not able to address the call when application
1371 menu is opened at background)
1373 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1375 * src/hildon-app-menu.c
1376 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1377 Remove the "external-border" style property, let the menu take its
1378 natural size (or the one set by the window manager)
1379 (hildon_app_menu_repack_items):
1380 Don't reshow the menu, avoid flickers.
1382 Partially fixes NB#94957 (Smoothly opened application menu)
1384 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1389 * configure.ac: Bump version.
1390 * debian/changelog: Updates.
1392 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1394 * src/hildon-pannable-area.c,
1395 (hildon_pannable_area_motion_notify_cb): We control that the
1396 direction error margin is used just in case the movement is
1397 allowed in the other direction.
1399 Fixes: NB#105012 (buttons inside a pannable area not getting
1400 release event when dragging/releasing)
1402 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1404 * src/hildon-pannable-area.c,
1405 (hildon_pannable_area_class_init),
1406 (hildon_pannable_area_get_property),
1407 (hildon_pannable_area_set_property),
1408 (hildon_pannable_area_initial_effect),
1409 (hildon_pannable_axis_scroll),
1410 (hildon_pannable_area_button_release_cb): Reviewed the
1411 overshooting effect, now it has its own max
1412 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1413 speed when bouncing.
1415 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1420 * configure.ac: Bump version.
1421 * debian/changelog: Updates.
1423 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1425 * src/hildon-pannable-area.c,
1426 (hildon_pannable_area_class_init): Changed the max speed, now
1427 users can launch the widget very fast. Reduced the default force,
1428 that way it is easier to control the launch speed.
1430 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1432 * src/hildon-pannable-area.c,
1433 (hildon_pannable_area_button_release_cb): Removed this check
1434 because it causes problems when the device is overloaded.
1436 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1438 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1439 add a current_text field to store the text entered in the
1440 touch selector entry.
1441 (_clean_current_selection): clean up the current text as well.
1442 (_save_current_selection), (_restore_current_selection):
1443 Save/restore the text in the entry if the selector is a
1444 HildonTouchSelectorEntry.
1446 Fixes: NB#102541 (value entered in the touch selector entry is not
1447 shown when opened for second time)
1449 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1451 * doc/hildon-sections.txt:
1452 * src/hildon-touch-selector-entry.c
1453 (+hildon_touch_selector_entry_get_entry):
1454 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1456 Fixes: NB#104815 (I need accessor to the entry inside
1457 HildonTouchSelectorEntry)
1459 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1461 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1462 (hildon_app_menu_class_init):
1463 New "filter-vertical-spacing" style property.
1465 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1467 * src/hildon-find-toolbar.c
1468 (hildon_find_toolbar_emit_close)
1469 (hildon_find_toolbar_emit_invalid_input)
1470 (hildon_find_toolbar_entry_activate):
1471 Use g_signal_emit() instead of g_signal_emit_by_name()
1473 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1475 Patch by Mox Soini (ext-mox.soini@nokia.com)
1477 * tests/TEST-CASES.txt
1478 * tests/check-hildon-banner.c
1479 * tests/check-hildon-note.c
1480 * src/hildon-banner.c
1481 * src/hildon-code-dialog.c
1482 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1483 * src/hildon-time-editor.c
1484 * examples/hildon-lookup-example.c (main):
1485 Replace obsolete icon names with new ones.
1487 * src/hildon-find-toolbar-private.h:
1488 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1489 (-hildon_find_toolbar_emit_search):
1490 Remove find button and change icon of close button.
1492 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1494 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1496 * src/hildon-time-button.c (hildon_time_button_new_step):
1497 Use the "touch-selector" property to set the selector directly
1498 when creating the object.
1500 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1502 Added a new example application that allows tuning the pannable
1503 area and replaced defines with properties in order to simplify the
1504 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1505 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1506 PROP_DIRECTION_ERROR_MARGIN.
1508 * examples/hildon-pannable-area-tuning-example.c: New example
1510 * src/hildon-pannable-area.c,
1511 (hildon_pannable_area_class_init),
1512 (hildon_pannable_area_init),
1513 (hildon_pannable_area_get_property),
1514 (hildon_pannable_area_set_property),
1515 (hildon_pannable_area_launch_fade_timeout),
1516 (hildon_pannable_area_adjust_value_changed),
1517 (hildon_pannable_axis_scroll),
1518 (hildon_pannable_area_motion_notify_cb),
1519 (hildon_pannable_area_scroll_cb),
1520 (hildon_pannable_area_button_release_cb): We have converted some
1521 of the defines that control the widget to properties to simplify
1524 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1526 * src/hildon-app-menu.c (hildon_app_menu_map)
1527 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1528 so it's closed if a new window appears.
1530 Fixes: NB#104485 (Not able to address the call when application
1531 menu is opened at background)
1533 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1535 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1536 missing 'break' statement in in 'case' construct to avoid
1539 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1541 * src/hildon-touch-selector-entry.c
1542 (hildon_touch_selector_entry_get_property),
1543 (hildon_touch_selector_entry_set_property): Add missing 'break'
1544 statements in in 'case' constructs to avoid incorrect warnings.
1546 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1548 * src/hildon-time-editor.c
1549 (hildon_time_editor_get_time_separators): Do not crash if
1550 the first label is NULL.
1552 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1554 * src/hildon-date-selector.c (_month_days): Check for month to be
1555 strictly less than 12, since otherwise we may overrun the array.
1557 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1559 * src/hildon-date-button.c (+hildon_date_button_new_full)
1560 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1561 (hildon_date_button_init): Set the date selector using a
1562 construction property, to make it happen after HildonButton's
1563 "value" property is set.
1565 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1566 current date by default)
1568 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1570 * doc/hildon-sections.txt
1571 * src/hildon-program.c
1572 * src/hildon-stackable-window.c
1573 * src/hildon-window.c:
1574 Documentation updates
1576 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1578 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1579 (hildon_window_stack_new, +hildon_window_stack_set_property)
1580 (+hildon_window_stack_get_property)
1581 (hildon_window_stack_class_init)
1582 (+hildon_window_stack_set_window_group)
1583 (+hildon_window_stack_get_window_group):
1584 Make the window group a construction property.
1586 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1588 * doc/hildon-sections.txt
1589 * src/hildon-stackable-window-private.h
1590 * src/hildon-stackable-window.h
1591 * src/hildon-stackable-window.c
1592 (-hildon_stackable_window_set_app_menu)
1593 (-hildon_stackable_window_get_app_menu)
1594 (-hildon_stackable_window_toggle_menu)
1595 (-hildon_stackable_window_finalize)
1596 (hildon_stackable_window_class_init)
1597 (hildon_stackable_window_init)
1598 * src/hildon-window-private.h
1599 * src/hildon-window.h
1600 * src/hildon-window.c (hildon_window_init)
1601 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1602 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1603 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1604 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1605 Moved all HildonAppMenu code to HildonWindow. The menu does not
1606 require a HildonStackableWindow anymore.
1608 * src/hildon-app-menu.c
1609 * src/hildon-program.c
1610 * examples/hildon-app-menu-example.c (main):
1611 Update examples and documentation to reflect HildonAppMenu
1614 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1616 * src/hildon-remote-texture.c
1617 * src/hildon-animation-actor.c:
1618 Don't include unused private headers.
1620 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1622 * src/hildon-program-private.h
1623 * src/hildon-program.c
1624 (hildon_program_set_common_menu)
1625 (hildon_program_get_common_menu)
1626 (hildon_program_set_common_app_menu)
1627 (hildon_program_get_common_app_menu):
1628 Change common menu pointers from GtkWidget* to GtkMenu* and
1629 HildonAppMenu* to avoid unnecessary casts.
1631 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1633 * src/hildon-window.c (hildon_window_set_main_menu):
1634 Removed incorrect 'Since:' tag
1636 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1638 * src/hildon-pannable-area.c,
1639 (hildon_pannable_area_calculate_velocity): We use now the
1640 RATIO_TOLERANCE here to check the distance, fixed typo in the
1642 (hildon_pannable_area_motion_notify_cb): We have to set the type
1643 and time even if we are not sending the motion.
1645 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1647 * doc/hildon-sections.txt
1648 * src/hildon-app-menu.h
1649 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1650 (+hildon_app_menu_get_filters): New methods to get the contents of
1653 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1656 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1658 * src/hildon-app-menu.c (hildon_app_menu_popup):
1661 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1663 * src/hildon-window.h
1664 * src/hildon-window.c (+hildon_window_get_main_menu)
1665 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1666 and deprecated hildon_window_get_menu().
1668 * src/hildon-stackable-window.h
1669 * src/hildon-stackable-window.c
1670 (+hildon_stackable_window_set_app_menu)
1671 (+hildon_stackable_window_get_app_menu)
1672 (hildon_stackable_window_set_main_menu): Created
1673 hildon_stackable_window_{get,set}_app_menu() and deprecated
1674 hildon_stackable_window_set_main_menu().
1676 * doc/hildon-sections.txt
1677 * examples/hildon-app-menu-example.c (main)
1678 * src/hildon-app-menu.c
1679 * src/hildon-program.c:
1680 Updated examples and documentation.
1682 Fixes: NB#103758 (No way to obtain a menu from a
1683 HildonStackableWindow)
1685 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1690 * configure.ac: Bump version.
1691 * debian/changelog: Updates.
1693 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1695 * examples/hildon-remote-texture-example.c: Include
1696 hildon-remote-texture.h explicitely.
1697 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1698 applications not defining _XOPEN_SOURCE which don't require this header.
1700 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1702 * doc/hildon-sections.txt
1703 * src/hildon-app-menu.h
1704 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1705 New function to pop up a HildonAppMenu
1707 * src/hildon-stackable-window.c
1708 (hildon_stackable_window_toggle_menu):
1709 Use hildon_app_menu_popup() to show the menu.
1711 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1713 * src/hildon-app-menu.c (hildon_app_menu_show)
1714 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1715 menu if there's another window between it and its parent window.
1717 Fixes: NB#100468 (Application menu window is launched even when a
1718 new secondary-window/dialog is pending to be shown/realized)
1720 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1722 * src/hildon-window-stack.c (hildon_window_stack_push)
1723 (hildon_window_stack_pop_and_push):
1724 Don't forget to push/pop the first window.
1725 Reverse the window list before calling _push_list()
1727 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1729 * src/hildon-picker-button.h
1730 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1731 Remove "value_changed" slot to avoid ABI breakage
1733 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1735 * src/hildon-pannable-area.c,
1736 (hildon_pannable_area_realize),
1737 (hildon_pannable_area_unrealize),
1738 (hildon_pannable_draw_vscroll),
1739 (hildon_pannable_draw_hscroll): Changed the method to handle the
1740 GC used to draw the transparent scrollbar, this way we avoid
1741 creating the GC all the time when drawing the scrollbars.
1743 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1745 * src/hildon-pannable-area.c,
1746 (hildon_pannable_area_init),
1747 (hildon_pannable_area_remove): Removed some unnecessary casts.
1748 (hildon_pannable_area_dispose): Disconnected some signals before
1749 releasing the adjustments.
1751 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1753 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1754 Make sure that all widgets contained in the toolbar are shown.
1756 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1758 * doc/hildon-sections.txt
1759 * src/hildon-picker-button.h
1760 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1761 (_selection_changed, hildon_picker_button_on_dialog_response)
1762 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1763 New hildon_picker_button_value_changed() method.
1766 * src/hildon-picker-button-private.h
1767 * src/hildon-picker-button.c (hildon_picker_button_init)
1768 (+hildon_picker_button_disable_value_changed): Add protected
1769 function for disabling the "value-changed" signal.
1771 * src/hildon-date-button.c (hildon_date_button_set_date):
1772 Don't emit "value-changed" for each one of the three columns.
1774 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1775 before actual change of values)
1777 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1779 * src/hildon-pannable-area.c,
1780 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1781 for the treeview overshooting.
1783 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1785 * src/hildon-banner.c (+hildon_banner_bind_style):
1786 Renamed from hildon_banner_bind_label_style(), now naming the
1787 banner itself as well.
1788 (hildon_banner_show_information),
1789 (hildon_banner_show_information_with_markup),
1790 (hildon_banner_show_animation), (hildon_banner_show_progress):
1791 Name the widgets and labels, based on their type.
1793 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1796 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1798 * src/hildon-note.c (hildon_note_set_property): call
1799 hildon_note_rename() on HildonNote:note-type set.
1800 (hildon_note_rename): Name the note and its label, based on the
1801 HildonNote:note-type property.
1803 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1806 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1808 * src/hildon-pannable-area.c,
1809 (hildon_pannable_area_class_init),
1810 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1811 panning parameters, increased SPS and deceleration factor. Added
1812 also a margin to control fake directions.
1814 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1816 Patch by Sven Herzberg (sven@imendio.com)
1818 * configure.ac: Add missing AM_PROG_CC_C_0
1819 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1821 See NB#101420 (Update unit tests and fix make check)
1823 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1825 This patch was applied before but reverted because it caused
1826 problems, we have changed the main condition and tested the
1827 regressions we detected before and they work ok. We have done a
1828 complete review of the topmost algorithm in order to get a more
1831 * src/hildon-pannable-area.c,
1832 (hildon_pannable_area_get_topmost): Added a new parameter to
1833 filter the the windows that do not include those events.
1834 (hildon_pannable_area_button_press_cb),
1835 (hildon_pannable_area_button_release_cb),
1836 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1837 topmost function, we have added the new parameter.
1839 Fixes: NB#97458 (Pannable area prevents propagation of button
1842 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1844 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1845 if all columns in the selector have an item selected.
1846 (_on_dialog_response): Stop "response" signal emission if there is
1847 any selector column without selected items.
1849 Fixes: NB#101889 (Picker dialog should not close when nothing is
1850 selected in multiple selection list)
1852 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1854 * src/hildon-font-selection-dialog.c
1855 (hildon_font_selection_dialog_class_init),
1856 (hildon_font_selection_dialog_init): Remove the preview
1857 button and dialog, since previewing with default theming is likely
1858 to be overcomplicated. The :preview property has now no effect.
1859 Update documentation blurbs to inform about this.
1861 Fixes: NB#92297 (Preview content is not clearly visible for
1862 default colour text)
1864 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1866 Reviewed the geometry that handles the children size and
1867 scrollbar, now it tries a size and reviews the results depending
1868 on the scrollbars visibility.
1870 * src/hildon-pannable-area.c,
1871 (hildon_pannable_area_realize): Fixed a typo.
1872 (hildon_pannable_area_child_allocate_calculate): Added this
1873 function to calculate the child allocation.
1874 (hildon_pannable_area_size_allocate): Reviewed the allocation
1876 (hildon_pannable_area_check_scrollbars),
1877 (hildon_pannable_area_refresh): Refactored refresh function, this
1878 way we can call the code handling the scrollbars without causing a
1879 size_request, it is interesting in the allocate.
1880 (hildon_pannable_area_init): Replace the callbacks of the
1881 value_changed and changed signals to propertly deal with the
1883 (hildon_pannable_area_grab_notify),
1884 (hildon_pannable_area_initial_effect),
1885 (hildon_pannable_area_launch_fade_timeout),
1886 (hildon_pannable_area_adjust_changed),
1887 (hildon_pannable_area_adjust_value_changed),
1888 (hildon_pannable_area_redraw),
1889 (hildon_pannable_area_button_press_cb),
1890 (hildon_pannable_area_button_release_cb),
1891 (hildon_pannable_area_scroll_cb),
1892 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1893 code and use the new functions adjust_changed and
1894 adjust_value_changed.
1896 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1897 Contact editor dialog)
1899 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1904 * configure.ac: Bump version.
1905 * debian/changelog: Updates.
1907 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1909 * src/hildon-pannable-area.c,
1910 (hildon_pannable_area_get_topmost),
1911 (hildon_pannable_area_button_press_cb),
1912 (hildon_pannable_area_button_release_cb),
1913 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1914 topmost function adding the event mask. We have to try a
1915 differente approach because it is still causing problems (NB#9745,
1918 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1920 * src/hildon-banner.c:
1921 Update the maximum width of timed banners.
1922 (force_to_wrap_truncated): Enforce the maximum text width if the
1925 Fixes: NB#102413 (The text margins (wrapping) in information
1926 banner should be HILDON_MARGIN_TRIPLE)
1928 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1930 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1932 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1933 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1934 bound when calculating the scroll indicator position.
1936 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1937 treat ->lower correctly)
1939 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1941 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1942 expose event handling, since it is not necessary to draw the focus
1945 Fixes: NB#102467 (Do not show highlight on the text in
1948 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1950 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1951 full height of the toolbar for the button and the label.
1953 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1955 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1956 padding before the label and after the button.
1958 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1960 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1962 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1963 Add a GtkVSeparator between the button and the back arrow.
1964 Let the button have automatic size.
1965 Set a name to the widget for theming handling.
1967 Fixes: NB#101793 (Make edit toolbar the same height as window
1968 title bar (use title area theming))
1970 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1972 * src/hildon-helper.c (attach_new_color_element): Fix memory
1975 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1977 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1979 * examples/hildon-button-example.c (common_buttons_window): Don't
1982 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1984 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1985 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1987 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1989 * src/hildon-gtk.c: Check that the window is realized.
1991 Fixes: NB#102225 (Crash setting the progress indicator to a non
1994 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1996 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1997 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1998 instead of modifying the one in the widget style.
2000 Fixes: NB#101043 (Second row of all the command button are
2001 displayed in transparent mode.)
2003 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2005 * src/hildon-date-button.c
2006 * src/hildon-time-button.c: Add gettext macros
2008 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2010 * src/hildon-date-button.c (hildon_date_button_new):
2011 * src/hildon-time-button.c (hildon_time_button_new_step):
2012 Use new logical strings to set the button default title.
2014 Fixes: NB#99915 (Date and Time options are not localised in Date
2017 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2019 * src/hildon-pannable-area.c
2020 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2021 the PANNING_THRESHOLD.
2023 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2025 * src/hildon-pannable-area.c,
2026 (hildon_pannable_area_class_init): Increased the maximum speed.
2027 (hildon_pannable_area_get_property),
2028 (hildon_pannable_area_set_property),
2029 (hildon_pannable_area_timeout): Added a new low friction mode, it
2030 allows the user avoid friction when launching the widget fast
2031 enough. It is interesting to traverse long lists.
2033 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2035 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2036 (+hildon_stackable_window_delete_event): Ignore delete events if
2037 the window is not the topmost one.
2039 Fixes: NB#101698 (Back button long press and delete-event handling)
2041 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2043 * src/hildon-pannable-area.c,
2044 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2045 gtk-dnd-drag-threshold, it was too big. We have defined our own
2046 dnd define and set a smaller value: PANNIG_THRESHOLD.
2048 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2050 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2051 user-defined icons, use always the default one.
2053 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2055 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2057 This patch was applied before but reverted because it caused
2058 problems, we have changed the main condition and tested the
2059 regressions we detected before and they work ok.
2061 * src/hildon-pannable-area.c,
2062 (hildon_pannable_area_get_topmost): Added a new parameter to
2063 filter the the windows that do not include those events. Added
2064 also a condition when finding the window to filter windows that do
2065 not ask for those events.
2066 (hildon_pannable_area_button_press_cb),
2067 (hildon_pannable_area_button_release_cb),
2068 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2069 topmost function, we have added the new parameter.
2071 Fixes: NB#97458 (Pannable area prevents propagation of button
2074 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2076 * tests/check-hildon-color-button.c (START_TEST): do not leak
2079 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2081 * src/hildon-font-selection-dialog.c
2082 (hildon_font_selection_dialog_get_preview_text): Return NULL
2083 instead of FALSE on the g_return_val_if_fail().
2085 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2087 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2088 * src/hildon-date-selector.c
2089 (hildon_date_selector_select_current_date):
2090 Do not compare unsigned integers to be greater than or equal 0,
2091 because it's always TRUE.
2093 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2095 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2096 (hildon_date_selector_constructor): Do not select the current
2097 date until we are handle the "changed" signal, to avoid having bogus
2098 elements in the days model.
2100 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2102 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2103 for num_days, since _month_days() can return a negative value.
2105 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2107 * src/hildon-caption.c (hildon_caption_size_allocate):
2108 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2109 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2111 Initialize allocation variables to 0, to avoid eventually using
2112 unitialized variables.
2114 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2116 * src/hildon-bread-crumb-trail.c
2117 (hildon_bread_crumb_trail_size_allocate):
2118 * src/hildon-calendar.c (hildon_calendar_set_background):
2119 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2120 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2121 * src/hildon-seekbar.c (hildon_seekbar_init):
2122 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2123 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2124 * src/hildon-touch-selector-entry.c
2125 (hildon_touch_selector_get_text_from_model):
2126 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2127 * src/hildon-window.c (hildon_window_finalize):
2129 Remove many unused variables.
2131 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2133 * src/hildon-seekbar.c: (hildon_seekbar_init),
2134 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2136 Remove unnecessary g_assert() calls.
2138 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2140 * src/hildon-caption.c: (hildon_caption_expose),
2141 (hildon_caption_set_property), (hildon_caption_init),
2142 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2143 (hildon_caption_size_request), (hildon_caption_size_allocate),
2144 (hildon_caption_forall), (hildon_caption_set_separator),
2145 (hildon_caption_activate), (hildon_caption_set_child_expand),
2146 (hildon_caption_set_label_text),
2147 (hildon_caption_get_label_alignment):
2149 Remove unnecessary g_assert() calls.
2151 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2153 * src/hildon-banner.c
2154 (hildon_banner_map, hildon_banner_init): Make banner temporary
2155 before mapping it to avoid closing other temporary windows, but
2156 make it non-temporary afterwards to avoid being closed by other
2157 non-temporary windows.
2158 (-hildon_banner_client_event, hildon_banner_init):
2159 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2161 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2164 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2166 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2169 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2171 * src/hildon-remote-texture.c
2172 * src/hildon-remote-texture.h
2173 * src/hildon-remote-texture-private.h
2174 * examples/hildon-remote-texture-example.c:
2175 Updates/fixes to remote-texture and its example.
2177 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2179 Patch by Mox Soini (ext-mox.soini@nokia.com)
2181 * src/hildon-code-dialog.c: Update logical id.
2182 * src/hildon-set-password-dialog.c: Update logical id.
2184 Fixes: NB#100646 (Logical strings is shown for ok in set
2185 password,Password needed dialogs)
2187 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2190 * src/hildon-remote-texture.c
2191 * src/hildon-remote-texture.h
2192 * src/hildon-remote-texture-private.h
2194 Added remote texture widget (for Clutter shared memory textures)
2196 * examples/hildon-remote-texture-example.c
2197 * examples/Makefile.am
2198 Added example file for remote texture usage
2200 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2202 * configure.ac: post release version bump.
2203 * debian/changelog: version bump.
2205 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2210 * configure.ac: Bump version.
2211 * debian/changelog: Updates.
2213 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2215 * src/hildon-date-selector.c (hildon_date_selector_init)
2216 (hildon_date_selector_constructor): Don't connect to the "changed"
2217 signal until the selector is completely constructed.
2219 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2221 * src/hildon-touch-selector.c: (_create_new_column),
2222 (hildon_touch_selector_append_column),
2223 (hildon_touch_selector_set_column_selection_mode),
2224 (hildon_touch_selector_set_active),
2225 (hildon_touch_selector_select_iter):
2226 Emit the HildonTouchSelector::changed signal every time selection
2227 is changed in any of the methods above. This behavior was already
2228 documented but not fully functional.
2230 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2231 selection is programmatically changed)
2233 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2235 * doc/hildon-sections.txt: Remove obsolete icon
2236 sizes from here as well.
2238 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2240 * examples/hildon-stackable-window-example.c (add_window): Remove
2243 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2245 * src/hildon-app-menu.c
2246 (hildon_app_menu_show): Check whether the parent window of a menu
2247 is topmost before popping it up.
2249 Fixes: NB#100468 (Application menu window is launched even when a
2250 new secondary-window/dialog is pending to be shown/realized.)
2252 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2254 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2257 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2259 Patch by Mox Soini (ext-mox.soini@nokia.com)
2261 * src/hildon-banner.c: (hildon_banner_show_animation):
2262 use stylus size instead of obsolete note size.
2263 * src/hildon-defines.h: Update icon sizes.
2265 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2267 * src/hildon-touch-selector-entry.c:
2268 (hildon_touch_selector_entry_init): Disable unsupported
2270 (hildon_touch_selector_entry_get_text_column): Emit a warning
2271 if an unsupported input modes is used and explicitile state
2272 these modes in the documentation.
2274 Fixes: NB#99802 (Hildon touch selector entry not working properly
2275 for some of the input modes)
2277 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2279 * src/hildon-pannable-area.c,
2280 (hildon_pannable_area_init): Added the changed signal handlers of
2283 Fixes: NB#100320 (HildonPannableArea does not listen to
2284 GtkAdjustment "change" signals)
2286 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2288 * doc/hildon-sections.txt
2289 * src/hildon-window-private.h
2290 * src/hildon-window.h
2291 * src/hildon-window.c (hildon_window_init)
2292 (hildon_window_realize, hildon_window_unrealize)
2293 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2294 (hildon_window_size_request, hildon_window_size_allocate)
2295 (hildon_window_forall, hildon_window_show_all)
2296 (hildon_window_destroy, +paint_edit_toolbar)
2297 (+hildon_window_set_edit_toolbar):
2298 New hildon_window_set_edit_toolbar() method, to add a
2299 HildonEditToolbar to a window without having to pack it manually.
2301 Reorganize hildon_window_size_allocate()
2303 * src/hildon-edit-toolbar.c: Update documentation.
2305 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2306 example to use the new API.
2308 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2310 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2312 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2313 Remove from stack before calling parent's hide.
2315 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2317 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2318 window is removed from the middle of the stack, update the
2319 transiency of the previous one.
2321 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2324 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2326 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2327 block/unblock the signal handler if it's not actually being used.
2328 Fixes some critical warnings.
2330 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2332 Based on a patch by Iván Gómez (igomez@igalia.com)
2334 * src/hildon-banner.c
2338 * src/hildon-pannable-area.c
2339 * src/hildon-picker-dialog.c
2340 * src/hildon-wizard-dialog.h
2341 * src/hildon-wizard-dialog.c: Documentation updates.
2343 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2344 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2346 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2348 * configure.ac: post release version bump.
2349 * debian/changelog: version bump.
2351 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2356 * configure.ac: Bump version.
2357 * debian/changelog: Updates.
2359 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2361 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2362 a stock icon nor change the relief of the back arrow.
2364 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2365 graphics from theme)
2367 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2369 * src/hildon-button.c (hildon_button_set_alignment): Use
2370 priv->alignment if the button has no child yet.
2372 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2374 * src/hildon-button.c: (hildon_button_init): Set the
2375 button style during initialization to give it the proper
2378 Fixes: NB#99713 (HildonButton value label color is wrong)
2380 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2382 * src/hildon-touch-selector.c: Document
2383 hildon_touch_selector_center_on_selected()
2385 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2387 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2388 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2389 all menu items, but not the menu itself.
2390 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2391 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2392 items after adding them to the menu so keyboard accelerators work.
2393 (hildon_app_menu_show): Don't show the menu if it contains items
2394 but none of them are visible.
2396 * examples/hildon-app-menu-example.c (create_menu): Use
2397 gtk_widget_show_all() to show all menu items.
2399 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2401 * src/hildon-picker-dialog.c:
2402 (-_update_title_on_selector_changed_cb),
2403 (-_dialog_update_title): Removed.
2404 (_select_on_selector_changed_cb), (_on_dialog_response),
2405 (on_selector_columns_changed): Do not update the dialog title.
2406 (setup_interaction_mode): Do not connect to
2407 HildonTouchSelector::changed signal if there's a "done" button, as
2408 the dialog title doesn't need to be updated.
2410 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2413 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2415 Patch by Kristian Rietveld (kris@imendio.com)
2417 * src/hildon-touch-selector.c: (_create_new_column): Use new
2418 GtkTreeView::hildon-row-tapped signal to react to user interactions
2419 instead of ::changed.
2421 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2422 with some dynamic tree model)
2424 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2426 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2427 (+screen_size_changed, +label_size_request)
2428 (hildon_note_class_init): Make the Hildon information note have a
2429 minimum height, and make its text hvae a maximum width.
2431 Fixes: NB#98614 (Hildon information note (background) should have
2432 minimum height and maximum text width)
2434 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2436 * src/hildon-banner.h
2437 * src/hildon-banner.c (hildon_banner_show_information)
2438 (hildon_banner_show_informationf)
2439 (hildon_banner_show_information_with_markup): Update documentation
2440 to reflect that the icon_name parameter is not used anymore.
2441 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2442 Remove all code from these functions and mark them as deprecated.
2443 (hildon_banner_show_progress): Mark as deprecated.
2445 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2447 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2449 * src/hildon-pannable-area.c,
2450 (hildon_pannable_area_class_init),
2451 (tranparency_color),
2452 (hildon_pannable_draw_vscroll),
2453 (hildon_pannable_draw_hscroll),
2454 (hildon_pannable_area_expose_event): Added a new way to render the
2455 scrollbars of the pannable area avoiding using cairo at all. This
2456 way we improve the performance of the pannable area rendering. The
2457 cairo rendering procedure is still in the code, we can control
2458 which one to use changing the value of the define
2459 USE_CAIRO_SCROLLBARS.
2461 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2463 * configure.ac: post release version bump.
2464 * debian/changelog: version bump.
2466 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2471 * configure.ac: Bump version.
2472 * debian/changelog: Updates.
2474 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2476 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2477 banners instead of destroying them when they receive a button
2480 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2482 Reverted commit 34028, it was causing regressions, probably the
2483 topmost condition is not correct, we have to check it in more
2484 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2485 propagation of button press events)
2487 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2489 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2490 that the selection is not empty before attempting to retrieve the
2491 current ampm selection.
2493 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2495 * src/hildon-picker-button.c:
2496 (hildon_picker_button_on_dialog_response): Directly update the
2497 button contents when required instead of calling _selection_changed.
2499 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2501 * src/hildon-program.c (hildon_program_update_top_most): Update
2502 'is-topmost' property also when wm_hints is not set.
2504 Fixes: NB#98383 (is-topmost signal is not emitted when task
2505 switcher is clicked.)
2507 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2509 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2513 * src/hildon-animation-actor.c,
2514 * src/hildon-animation-actor.h: Added the animation actor class,
2515 this widget represents an animation actor for WM-assisted
2516 animation effects in the Hildon framework.
2518 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2520 * src/hildon-window-stack-private.h
2521 * src/hildon-window-stack.c
2522 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2523 Avoid calling gtk_widget_show() again indirectly from
2524 hildon_stackable_window_show()
2526 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2528 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2531 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2533 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2534 (hildon_time_selector_init): Move the construction of the hours and
2535 ampm columns to the constructor to preserve the order the columns
2538 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2540 * src/hildon-picker-dialog.c:
2541 (hildon_picker_dialog_class_init): Connect a realize method.
2542 (+hildon_picker_dialog_realize): Setup the interaction mode here
2544 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2545 yet, do it during the realize instead.
2546 (_on_dialog_response):
2547 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2548 if the widget is not realized, to avoid the dialog response before it
2551 Avoid premature responses in the HildonPickerDialog that can cause it
2552 to be hidden before it's even shown.
2554 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2556 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2557 (on_selector_columns_changed), (requires_done_button),
2558 (+prepare_action_area), (setup_interaction_mode),
2559 (_hildon_picker_dialog_set_selector):
2561 Split the interaction mode setup into preparation of the
2562 action area (prepare_action_area()) and the connection of
2563 the signals in setup_interaction_mode() and update the code to
2566 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2568 * src/hildon-pannable-area.c,
2569 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2570 per second to 15, we will check if this is ok regarding
2573 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2575 * src/hildon-pannable-area.c,
2576 (hildon_pannable_axis_scroll): Avoid resize if we already have
2577 reached overshoot_max.
2579 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2581 * src/hildon-pannable-area.c,
2582 (hildon_pannable_area_init),
2583 (hildon_pannable_area_realize),
2584 (hildon_pannable_area_size_allocate),
2585 (hildon_pannable_area_map),
2586 (hildon_pannable_area_unmap),
2587 (hildon_pannable_draw_vscroll),
2588 (hildon_pannable_draw_hscroll),
2589 (hildon_pannable_area_expose_event),
2590 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2591 pannable are to avoid the expose events go to the window and
2592 redraw the window. We save this way that part of the stack and the
2593 paint_boxes. We had to change the positions of the elements when
2596 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2598 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2599 * src/hildon-color-chooser-dialog.c:
2600 (hildon_color_chooser_dialog_init):
2601 * src/hildon-font-selection-dialog.c:
2602 (hildon_font_selection_dialog_init),
2603 (hildon_font_selection_dialog_show_preview):
2604 * src/hildon-get-password-dialog.c:
2605 * src/hildon-login-dialog.c:
2606 * src/hildon-set-password-dialog.c:
2607 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2608 * src/hildon-time-picker.c: (hildon_time_picker_init):
2610 Remove obsolete logical string IDs and update to the appropriate ones.
2612 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2614 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2616 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2617 that happens if the window hasn't been realized yet.
2619 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2620 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2622 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2624 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2625 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2628 Fixes: NB#98537 (Device hangs in account settings dialog)
2630 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2632 * configure.ac: post release version bump.
2633 * debian/changelog: version bump
2635 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2640 * configure.ac: Bump version.
2641 * debian/changelog: Updates.
2643 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2645 Added a new function to the HildonTimeButton widget that allows to
2646 change the step of the minutes in the selector associated with the
2647 button: hildon_time_button_new_step
2649 * src/hildon-time-button.c,
2650 (hildon_time_button_init),
2651 (hildon_time_button_new),
2652 (hildon_time_button_new_step):
2653 * src/hildon-time-button.h: Added the new function and refactored
2655 * examples/hildon-time-button-example.c,
2656 (main): We have replaced the function without parameters with the
2657 function with the steps set to 5
2659 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2661 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2663 * src/hildon-time-selector.c,
2664 (hildon_time_selector_class_init),
2665 (hildon_time_selector_constructor),
2666 (hildon_time_selector_get_property),
2667 (hildon_time_selector_set_property),
2668 (_create_minutes_model),
2669 (hildon_time_selector_new_step),
2670 (hildon_time_selector_set_time),
2671 * src/hildon-time-selector.h: Added a new property to the
2672 HildonTimeSelector (minutes-step), we use that property to control
2673 the steps between the minutes in the list of the selector. We have
2674 added a new function to the API to create a widget changing the
2675 step: hildon_time_selector_new_step.
2677 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2679 * src/hildon-time-selector.c,
2680 (hildon_time_selector_class_init),
2681 (hildon_time_selector_constructor),
2682 (hildon_time_selector_init): Overrided the construct function when
2683 creating the time selector object. We have moved the minutes model
2684 handling code from the init to the new construction function:
2685 hildon_time_selector_constructor.
2687 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2689 * examples/hildon-date-button-example.c: (main): Use the new
2690 hildon_date_button_new_with_year_range() method in the example.
2691 * src/hildon-date-button.c:
2692 (+hildon_date_button_new_with_year_range): New public method
2693 to conveniently create a HildonDateButton with a custom year range
2694 in its HildonDateSelector.
2695 * src/hildon-date-button.h: Add the new public method definition.
2697 Fixes: NB#97908 (Not possible to change the year range in
2698 HildonDateSelector/HildonDateButton)
2700 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2702 * src/hildon-date-selector.c:
2703 (+hildon_date_selector_set_property),
2704 (+hildon_date_selector_get_property),
2705 (hildon_date_selector_class_init): Install new properties "min-year"
2706 and "max-year" to define boundaries for the year column.
2707 (_create_year_model): Use the boundary properties to populate the model.
2708 (+hildon_date_selector_new_with_year_range): New public method to
2709 create a HildonDateSelector with a user defined year range.
2710 (hildon_date_selector_select_current_date): Use the new boundaries to
2711 calculate the iterator of current year.
2712 * src/hildon-date-selector.h: Add the new public method definition.
2714 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2716 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2717 Install a constructor method.
2718 (+hildon_date_selector_construct_ui): construct the widget.
2719 (+hildon_date_selector_constructor): new constructor.
2720 (+hildon_date_selector_init): move out widget construction code to
2721 the new constructor.
2723 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2725 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2726 that there's actually a month or year selected before obtaining them.
2727 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2728 of the HildonTouchSelector::changed signal, as it was emitted on every
2729 single item selection.
2731 Fix some warnings and possible crashers due to the selection restoring.
2733 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2735 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2736 the signal handlers only after creating the dialog instead of on every
2739 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2741 * src/hildon-button.c (hildon_button_init)
2742 * src/hildon-check-button.c (hildon_check_button_init)
2743 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2744 focus when clicked by default.
2746 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2748 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2751 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2753 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2754 Alejandro G. Castro (alex@igalia.com)
2756 * src/hildon-picker-dialog.c:
2757 (hildon_picker_dialog_class_init): install new "center-on-show"
2759 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2760 (hildon_picker_dialog_set_property): add setter code for the new
2762 (hildon_picker_dialog_get_property): add getter code for the new
2764 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2765 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2768 Fixes: NB#92849 (Selected item is not always visible when
2769 HildonTouchSelector is shown)
2771 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2773 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2774 Alejandro G. Castro (alex@igalia.com)
2776 * src/hildon-touch-selector.c:
2777 (_create_new_column): Do not connect to the "realize" signal of the
2779 (hildon_touch_selector_append_column): center on the selected items
2780 when a new column is appended.
2781 (hildon_touch_selector_select_iter): Factor out the code to select a
2782 column to hildon_touch_selector_scroll_to().
2783 (+search_nearest_element): Method to retrieve the nearest selected
2784 element to the visible area of the pannable area in a column.
2785 (+on_realize_cb): scroll to the initially selected item.
2786 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2787 the pannable area is realized, otherwise delay this until it is.
2788 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2789 selected items of a given column.
2790 (+hildon_touch_selector_center_on_selected): Public method to center
2791 all columns on the nearest selected item.
2792 * src/hildon-touch-selector.h: Add definition for
2793 hildon_touch_selector_center_on_selected().
2795 Implement public API to ensure visibility of all selected items in
2796 a HildonTouchSelector.
2798 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2800 Fixed a problem in the fading when calling the scroll_to API, and
2801 improve scrollbar fading handling.
2803 * src/hildon-pannable-area.c,
2804 (hildon_pannable_area_grab_notify): avoid the timeout when the
2806 (hildon_pannable_area_button_press_cb),
2807 (hildon_pannable_area_motion_notify_cb): Code style changes.
2808 (hildon_pannable_area_button_release_cb): Review the conditions
2809 when releasing the mouse button to avoid unrequired fading
2811 (hildon_pannable_area_scroll_to): Do not calculate and set the
2812 velocity if the scroll is not required.
2814 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2816 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2817 Don't check whether the new selector is NULL: it cannot be.
2818 Hold a reference to the selector while doing the replacement.
2820 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2822 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2823 unnecessary size_request in a removed widget.
2825 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2827 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2828 an unnecessary reference tracking that was leaking.
2830 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2832 Added delayed motion notify event handling, this way we can
2833 discard redrawing if more than 25 events arrive per second.
2835 * src/hildon-pannable-area.c,
2836 (hildon_pannable_area_init): Initialized the new private atributes
2837 controlling this timeout
2838 (hildon_pannable_area_dispose): Remove the timeout that controls
2839 the motion notify events.
2840 (hildon_pannable_area_scroll): Added a condition to control the
2841 use of the acceleration.
2842 (hildon_pannable_area_motion_event_scroll_timeout),
2843 (hildon_pannable_area_motion_event_scroll): Added this two
2844 functions, they handle the motion notify events inside the
2846 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2847 to the scroll method with the new function.
2848 (hildon_pannable_area_button_release_cb): We have to remove the
2849 timeout handler and move to the last position if the last motion
2850 events were not handled.
2852 Fixes: NB#97028 (Pannable area updates on every motion event)
2854 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2856 * src/hildon-pannable-area.c,
2857 (hildon_pannable_area_get_topmost): Added a new parameter to
2858 filter the the windows that do not include those events. Added
2859 also a condition when finding the window to filter windows that do
2860 not ask for those events.
2861 (hildon_pannable_area_button_press_cb),
2862 (hildon_pannable_area_button_release_cb),
2863 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2864 topmost function, we have added the new parameter.
2866 Fixes: NB#97458 (Pannable area prevents propagation of button
2869 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2871 * src/hildon-pannable-area.c,
2872 (hildon_pannable_area_initial_effect): Added controls before
2873 launching the timeout and the idle functions.
2874 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2875 of the method, in some situations it can return with TRUE and 0 in
2877 (hildon_pannable_area_button_press_cb): We do not need to set
2878 DELAY for fading out here.
2880 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2882 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2884 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2885 post-cleaning if the selection is not NULL.
2887 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2889 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2890 all items before restoring the selection.
2892 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/hildon-touch-selector.c:
2895 (+hildon_touch_selector_unselect_all):
2896 * src/hildon-touch-selector.h: New API to unselect all items in a
2897 column of the touch selector.
2899 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2901 * src/hildon-pannable-area.c,
2902 (hildon_pannable_area_redraw): Added a call to the refresh
2903 function inside the redraw because apparently in some cases the
2904 change in the adjustment does not imply a size allocate.
2906 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2907 despite the view not being scrollable)
2909 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2911 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2912 leak. Check for NULL before attempting to set the window title.
2914 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2916 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2917 whether to show or not the 'Done' button each time the dialog is
2918 shown, as it depends on the HildonTouchSelector selection mode.
2920 Fixes: NB#96226 (In multiple selection mode Done button is shown
2921 sometimes in listpicker)
2923 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2925 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2926 for the number of columns in the HildonTouchSelector more than once.
2928 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2930 * src/hildon-touch-selector.c: Minor documentation fixes.
2932 * src/hildon-picker-dialog.c (+_dialog_update_title)
2933 (_select_on_selector_changed_cb)
2934 (_update_title_on_selector_changed_cb)
2935 (on_selector_columns_changed): Update dialog title when there's no
2936 'Done' button and also when the number of columns in the selector
2940 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2941 (+_selection_changed, hildon_picker_button_on_dialog_response)
2942 (hildon_picker_button_selector_selection_changed)
2943 (+hildon_picker_button_selector_columns_changed)
2944 (hildon_picker_button_set_selector): Update button value and emit
2945 'value-changed' when the number of columns in the selector
2949 Fixes: NB#96225 (Dialog titles are not shown according to the
2950 values selected in the list picker)
2952 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2954 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2955 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2956 New "arrow-width" and "arrow-height" style properties to set the
2957 size of the arrow button.
2958 Set name of arrow button ("hildon-edit-toolbar-arrow").
2960 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2961 graphics from theme)
2963 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2965 * src/hildon-picker-button.c:
2966 (hildon_picker_button_selector_selection_changed): Use
2967 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2968 the dialog is present.
2970 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2971 the selection is accepted in the dialog)
2973 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2975 * src/hildon-color-chooser.h
2976 * src/hildon-color-chooser-dialog.h:
2977 Added G_BEGIN_DECLS and G_END_DECLS
2979 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2981 (_clean_current_selection): plug a leak in the list.
2983 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2985 * src/hildon-picker-dialog.c:
2986 (+free_path_list): Method to free a GList of GtkTreePaths.
2987 (_clean_current_selection), (_save_current_selection),
2988 (_restore_current_selection): Save the current selection in
2989 as a list of lists, to support multiple selection properly.
2991 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2993 patch by Claudio Saavedra (csaavedra@igalia.com)
2995 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2996 Store the press position.
2997 (+hildon_text_view_button_release_event): If the release position is
2998 close enough to the press position, move the cursor here. Otherwise,
3000 (hildon_text_view_class_init): Override GtkTextView press, release, and
3001 motion event handlers, disabling this way text selection through
3002 pointer interaction, and allowing the container widget to handle the
3005 Fixes: NB#95828 (HildonTextView functionality)
3007 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3009 Based on a patch by Iván Gómez (igomez@igalia.com)
3011 * src/hildon-button.[ch]
3012 * src/hildon-calendar.c
3013 * src/hildon-check-button.c
3014 * src/hildon-date-editor.c
3015 * src/hildon-date-selector.c
3016 * src/hildon-picker-button.c
3017 * src/hildon-time-editor.c
3018 * src/hildon-time-selector.c
3019 * src/hildon-touch-selector.[ch]:
3020 Documentation updates
3022 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3024 * src/hildon-pannable-area.c,
3025 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3026 threshold, it was required due to X events handling.
3028 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3030 * src/hildon-pannable-area.c,
3031 (hildon_pannable_area_grab_notify),
3032 (hildon_pannable_area_initial_effect),
3033 (hildon_pannable_area_button_press_cb),
3034 (hildon_pannable_area_button_release_cb),
3035 (hildon_pannable_area_scroll_cb),
3036 (hildon_pannable_area_scroll_to): Review the timeout management of
3037 the scrollbar, the frecuency was incorrectly set.
3039 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3041 * src/hildon-picker-button.c:
3042 (+hildon_picker_button_on_dialog_response),
3043 (hildon_picker_button_clicked): Present the dialog instead of
3044 running it with gtk_dialog_run().
3046 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3049 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3051 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3052 (hildon_app_menu_finalize): When a window is hidden it doesn't
3053 emit notify::is-topmost, so make sure than the menu also
3054 disappears in that case.
3055 (parent_window_topmost_notify): Renamed from parent_window_hidden
3057 Fixes: NB#94460 (stackable window's menu is not closed when its
3060 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3062 * src/hildon-touch-selector-entry.c:
3063 (+hildon_touch_selector_entry_set_input_mode),
3064 (+hildon_touch_selector_entry_get_input_mode):
3065 * src/hildon-touch-selector-entry.h: New methods to access the input
3066 mode in the selector's entry.
3068 Fixes: NB#93410 (API required for setting IM mode in
3069 HildonTouchSelectorEntry)
3071 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3073 * configure.ac: post release version bump.
3074 * debian/changelog: version bump
3076 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3081 * configure.ac: Bump version.
3082 * debian/changelog: Updates.
3084 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3086 * src/hildon-touch-selector.c:
3087 (_hildon_touch_selector_has_multiple_selection): No need
3088 to initialize the variables here.
3090 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3092 * src/hildon-note-private.h
3093 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3094 (hildon_note_finalize, hildon_note_rebuild): Close information
3095 notes when they receive a button press.
3097 Fixes: NB#89890 (Information notes does not get disappeared after
3100 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3102 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3103 mark from the wizard title, as it's not really necessary. Also,
3104 do not display the page title if not set.
3106 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3108 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3109 (parent_window_hidden): Use the window's "is-topmost" property to
3110 detect when to hide the menu.
3112 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3114 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3115 (hildon_app_menu_finalize): If the parent window of the menu is
3116 hidden, hide the menu too.
3118 Fixes: NB#94460 (stackable window's menu is not closed when its
3121 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3124 * debian/libhildon1-examples.install
3126 * examples/Makefile.am:
3127 Use dh_install to install all examples.
3128 Use DEB_SRCDIR instead of defining SOURCE_DIR
3130 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3132 * configure.ac: post release version bump.
3133 * debian/changelog: version bump
3135 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3140 * configure.ac: bump version
3141 * debian/changelog: updates
3142 * debian/control: bump gtk+ dependency
3144 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3146 patch by Christian Dywan (christian@imendio.com)
3148 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3149 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3151 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3153 * src/hildon-check-button.c (hildon_check_button_init)
3154 (hildon_check_button_class_init, hildon_check_button_style_set)
3155 (hildon_check_button_apply_style):
3156 New "checkbox-size" style property.
3158 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3159 larger / configurable size)
3161 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3163 * configure.ac: post release version bump.
3164 * debian/changelog: version bump
3166 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3171 * configure.ac: bump version
3172 * debian/changelog: updates
3174 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3176 * doc/hildon-sections.txt
3177 * src/hildon-pannable-area.c
3178 * src/hildon-program.c
3179 * src/hildon-time-editor.c
3180 * src/hildon-touch-selector-entry.c:
3182 More documentation updates.
3184 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3186 * doc/hildon-sections.txt
3187 * src/hildon-caption.c
3188 * src/hildon-code-dialog.c
3189 * src/hildon-color-button.c
3190 * src/hildon-controlbar.c
3191 * src/hildon-date-editor.c
3192 * src/hildon-date-selector.c
3193 * src/hildon-edit-toolbar.c
3194 * src/hildon-find-toolbar.c
3195 * src/hildon-font-selection-dialog.c
3197 * src/hildon-program.c
3198 * src/hildon-range-editor.c
3199 * src/hildon-seekbar.c
3200 * src/hildon-time-editor.c
3201 * src/hildon-time-selector.c
3202 * src/hildon-volumebar-range.c
3203 * src/hildon-volumebar.c
3204 * src/hildon-vvolumebar.c
3205 * src/hildon-weekday-picker.c
3206 * src/hildon-window.c
3207 * src/hildon-wizard-dialog.c:
3209 Lots of documentation fixes.
3211 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3213 Patch contributed by Iván Gómez (igomez@igalia.com)
3215 * src/hildon-check-button.c:
3216 * src/hildon-date-button.c:
3217 * src/hildon-date-selector.c:
3218 * src/hildon-dialog.c:
3219 * src/hildon-edit-toolbar.c:
3220 * src/hildon-entry.c:
3221 * src/hildon-picker-button.c:
3222 * src/hildon-program.c:
3223 * src/hildon-text-view.c:
3224 * src/hildon-time-button.c:
3225 * src/hildon-touch-selector-entry.c:
3226 * src/hildon-window-stack.c:
3228 Add more "since" tags to the new API.
3230 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3232 * doc/hildon-sections.txt: Add below method.
3233 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3234 version for the hildonized scale.
3235 * src/hildon-gtk.h: Add the definition.
3237 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3239 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3241 * doc/hildon-sections.txt: Add missing entries for new methods.
3243 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3245 Added API to pannable are in order to get its adjustments. We
3246 added two properties to manage the values we had in the private
3249 * src/hildon-pannable-area.c:
3250 (hildon_pannable_area_class_init): Added hadjustment and
3251 vadjustment properties in order to expose horizontal and vertical
3253 (hildon_pannable_area_get_property),
3254 (hildon_pannable_area_set_property): Added code to handle the new
3256 (hildon_pannable_area_get_hadjustment),
3257 (hildon_pannable_area_get_vadjustment): API functions to get the
3259 * src/hildon-pannable-area.h:
3260 (hildon_pannable_area_get_hadjustment),
3261 (hildon_pannable_area_get_vadjustment): API functions to get the
3264 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3266 Fixed some leaks, after valgrinding.
3268 * src/hildon-touch-selector.c:
3269 (_default_print_func): Fixed a leak.
3270 (hildon_touch_selector_append_column): Fixed a leak.
3271 * src/hildon-date-button.c:
3272 (hildon_date_button_init): Fixed a leak.
3273 * src/hildon-date-selector.c
3274 (hildon_date_selector_finalize): Fixed a leak.
3276 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3278 Based on a patch by Christian Dywan (christian@imendio.com)
3280 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3282 * src/hildon-gtk.h: Add definition.
3284 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3286 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3288 * src/hildon-picker-button.c: (hildon_picker_button_init),
3289 (hildon_picker_button_new): Set the HildonButton::style property
3290 in the init method, to propagate the value to the derived classes.
3292 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3294 * src/hildon-button.c: (hildon_button_class_init): Do not make
3295 the "style" property a construct property.
3297 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3299 * src/hildon-wizard-dialog.h
3300 * src/hildon-wizard-dialog.c
3301 (hildon_wizard_dialog_set_forward_page_func)
3302 * src/hildon-pannable-area.h
3303 * src/hildon-pannable-area.c
3304 (hildon_pannable_area_set_size_request_policy):
3305 Documentation fixes.
3307 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3309 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3311 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3313 * doc/hildon-sections.txt: Added sections file.
3315 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3318 * src/*.[ch]: Updates.
3320 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3322 * examples/hildon-progress-indicator-example.c: new file
3323 * examples/Makefile.am: include the new example program
3325 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3327 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3329 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3331 * configure.ac: post release version bump
3332 * debian/changelog: version bump
3334 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3339 * configure.ac: bump version
3340 * debian/changelog: updates
3341 * debian/control: bump gtk+ dependency
3343 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3345 * src/hildon-dialog.c: Mark as deprecated.
3346 * src/hildon-dialog.h: Mark as deprecated.
3347 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3348 from HildonDialog and still work, even if
3349 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3350 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3352 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3353 maemo changes) instead)
3355 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3357 * src/hildon-pannable_area.h:
3358 * src/hildon-pannable_area.c:
3359 (hildon_pannable_area_class_init),
3360 (hildon_pannable_area_set_property),
3361 (hildon_pannable_area_get_property),
3362 (hildon_pannable_area_size_request),
3363 (hildon_pannable_area_get_size_request_policy),
3364 (hildon_pannable_area_set_size_request_policy): Added new API
3365 allowing applications to control the request policy. Now they can
3366 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3367 children allocation (HILDON_MOVEMENT_CHILDREN).
3369 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3373 (hildon_gtk_tree_view_set_ui_mode)
3374 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3375 mode of treeviews and iconviews.
3377 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3379 * src/hildon-touch-selector-entry.c:
3380 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3381 of a GtkEntry to get proper theming.
3383 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3384 widget, not GtkEntry)
3386 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3388 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3389 no HildonWizardDialogPageFunc.
3391 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3393 Patch contributed by Iván Gómez (igomez@igalia.com)
3395 * src/hildon-app-menu.c:
3396 * src/hildon-button.c:
3397 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3398 * src/hildon-stackable-window.c:
3399 * src/hildon-time-selector.c:
3400 * src/hildon-touch-selector.c:
3401 * src/hildon-window.c:
3403 Add more "since" tags to the new API in hildon 2.2.
3405 2008-12-05 Tim Janik <timj@imendio.com>
3407 Patch contributed by Christian Dywan (christian@imendio.com)
3409 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3410 HildonSizeType, which are supplied by Gtk+ now.
3412 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3414 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3415 (with maemo changes) instead)
3417 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3419 Patch contributed by Iván Gómez (igomez@igalia.com)
3421 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3424 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3426 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3427 (some_page_func), (main): Update the example to use a
3428 HildonWizardDialogPageFunc function.
3430 * src/hildon-wizard-dialog-private.h: Add private data for
3431 the HildonWizardDialogPageFunc function usage.
3433 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3434 (destroy), (hildon_wizard_dialog_init), (response),
3435 (hildon_wizard_dialog_set_forward_page_func):
3436 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3437 that applications can use to stop a HildonWizardDialog to jump to
3440 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3443 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3445 * src/hildon-program.h
3446 * src/hildon-program-private.h
3447 * src/hildon-program.c (hildon_program_init)
3448 (hildon_program_set_common_app_menu)
3449 (hildon_program_get_common_app_menu):
3450 New API for setting a common HildonAppMenu for all
3451 HildonStackableWindows registered with the HildonProgram.
3453 * src/hildon-stackable-window.c
3454 (hildon_stackable_window_toggle_menu):
3455 Use the common HildonAppMenu if a window doesn't have a specific
3458 * src/hildon-app-menu-private.h
3459 * src/hildon-app-menu.c
3460 (hildon_app_menu_get_parent_window):
3461 Function to obtain the window a HildonAppMenu is attached to.
3462 (hildon_app_menu_set_parent_window):
3463 Hide the menu if the parent window is set to NULL.
3465 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3467 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3468 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3469 search widget to popup.
3471 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3473 * configure.ac: post release version bump
3474 * debian/changelog: version bump
3476 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3481 * configure.ac: bump version
3482 * debian/changelog: updates
3484 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3486 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3488 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3489 (hildon_window_stack_window_realized)
3490 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3491 Set the leader GdkWindow when a window is stacked and realized,
3492 unset it when it's unstacked.
3493 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3495 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3497 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3499 * src/hildon-stackable-window.h
3500 * src/hildon-window-stack.h:
3501 Protect definition of HildonWindowStack using the preprocessor.
3503 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3505 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3506 Fix warning if all menu items are hidden.
3508 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3510 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3512 * src/hildon-controlbar.c:
3513 * src/hildon-hvolumebar.c:
3514 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3515 Multiple scale size defines updates.
3517 Fixes: NB#94322 (Scale Updates)
3519 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3521 * examples/hildon-app-menu-example.c (create_menu)
3522 Show items after adding them to the menu, as in the future the
3523 menu will no longer call gtk_widget_show() on the added items.
3525 * src/hildon-app-menu.c:
3526 Update example as explained above.
3528 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3530 * src/hildon-app-menu.c
3531 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3532 Make sure that all menu items have finger height.
3534 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3536 * src/hildon-picker-dialog.c:
3537 (_on_dialog_response), (_save_current_selection),
3538 (_restore_current_selection), (_clean_current_selection),
3539 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3540 Defined new functions in order to save the current internal selector
3541 selection previous open the dialog, in case that the use cancel the
3542 interaction, so the widget restores the previous selection.
3544 Fixes: NB#92032 (In calendar application, date values in 'new event'
3547 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3549 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3551 * src/hildon-button.c: Add a reference to the button examples in
3552 hildon-button-example.c
3554 * examples/hildon-button-example.c: Added examples of the most
3555 common button layouts.
3557 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3559 * src/hildon-app-menu.c (hildon_app_menu_show)
3560 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3562 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3564 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3566 * src/hildon-picker-dialog.c:
3567 (hildon_picker_dialog_init): Initialize the signal id for
3568 HildonTouchSelector::columns-changed.
3569 (+on_selector_columns_changed): Set up the interaction mode everytime a
3570 column is added or removed from the HildonTouchSelector.
3571 (_hildon_picker_dialog_set_selector): Connect to
3572 HildonTouchSelector::columns-changed and keep track of it.
3574 Make sure to update the interaction mode of the dialog everytime a
3575 column is added or removed in the HildonTouchSelector.
3577 Fixes: NB#93228 (Done button is not shown always in listpicker)
3579 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3581 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3582 a new ::columns-changed signal.
3583 (hildon_touch_selector_append_column): Emit ::columns-changed.
3584 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3586 Add a ::columns-changed signal, emitted when the number of columns in a
3587 HildonTouchSelector changes.
3589 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3591 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3592 (_hildon_picker_dialog_set_selector): Factor out the code
3593 to set up the dialog interaction mode.
3595 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3597 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3598 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3599 to signal_changed_id.
3601 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3603 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3606 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3608 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3609 Updated the logical ids related to ampm format, as now it is required to
3610 show it correctly localized even on languages with no default
3611 abbreviations for am or pm
3612 (_check_am_pm_format): check correctly the 24h format gconf property
3614 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3616 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3618 * src/hildon-button.c: Documentation updates.
3620 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3622 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3623 * src/hildon-caption.c: (hildon_caption_class_init):
3624 * src/hildon-color-button.c: (hildon_color_button_class_init):
3625 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3626 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3627 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3628 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3630 Remove deprecated GTK+ marshalers and replace them with the ones
3631 provided by GLib, for those available, add a marshaler for
3632 BOOLEAN:VOID, which is not available in GLib, and use it.
3634 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3636 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3637 the text from the previous column if there is no
3638 HildonTouchSelectorColumn::text-property set.
3640 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3642 * src/hildon-button.h
3643 * src/hildon-button.c (hildon_button_set_property)
3644 (hildon_button_get_property, hildon_button_class_init)
3645 (hildon_button_set_style, hildon_button_get_style):
3646 New "style" property to change the visual appearance of the
3649 * src/hildon-picker-button.c (hildon_picker_button_new):
3650 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3652 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3653 HildonButton look like PickerButton)
3655 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3657 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3658 column while building the default string.
3660 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3662 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3663 scroll indicator by default.
3665 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3667 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3669 * src/hildon-main.c: Fix the documentation for hildon_init()
3671 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3673 * doc/hildon-docs.sgml
3677 * src/hildon-window-stack-private.h
3678 * src/hildon-window-stack.h
3679 * src/hildon-window-stack.c:
3680 New HildonWindowStack object, that adds support for multiple
3681 stacks of windows per process.
3683 * src/hildon-stackable-window-private.h
3684 * src/hildon-stackable-window.h
3685 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3686 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3687 (hildon_stackable_window_show, hildon_stackable_window_hide)
3688 (hildon_stackable_window_class_init)
3689 (hildon_stackable_window_init):
3690 Use HildonWindowStack for stack management.
3692 * src/hildon-program.c (hildon_program_pop_window_stack)
3693 (hildon_program_peek_window_stack)
3694 (hildon_program_go_to_root_window):
3695 Add a fallback implementation to the deprecated functions using
3698 * examples/hildon-stackable-window-example.c:
3699 Use the new HildonWindowStack API.
3701 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3703 * src/hildon-stackable-window-private.h
3704 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3705 (hildon_stackable_window_hide, hildon_stackable_window_init):
3706 Remove all window stack management.
3708 * src/hildon-program-private.h
3709 * src/hildon-program.h
3710 * src/hildon-program.c (hildon_program_init)
3711 (hildon_program_pop_window_stack)
3712 (hildon_program_peek_window_stack)
3713 (hildon_program_go_to_root_window):
3714 Remove all window stack management and mark functions as
3717 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3719 * src/hildon-app-menu.c (hildon_app_menu_realize):
3720 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3722 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3724 * configure.ac: post release version bump
3725 * debian/changelog: version bump
3727 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3732 * configure.ac: bump version
3733 * debian/changelog: updates
3735 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3737 Based on initial code by Christian Dywan (christian@imendio.com)
3739 * doc/hildon-docs.sgml: Add section for hildon-main.
3740 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3741 * src/Makefile.am: Add new hildon-main.[ch]
3742 * src/hildon-defines.h: Update the icon sizes.
3743 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3744 new library initialization files and register icon sizes.
3745 * src/hildon-main.h: New declarations.
3746 * src/hildon.h: Include hildon-main.h
3748 Add new initialization functions to the library. These methods
3749 will register the hildon specific icon sizes and can be used in the
3750 future for other hildon specific bits.
3752 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3754 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3756 * src/hildon-window.c: (hildon_window_realize),
3757 (hildon_window_notify), (-hildon_window_update_title): Do not set
3758 the application name in the window title.
3760 Fixes: NB#89754 (Applications shouldn't display their names in the
3763 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3765 * src/hildon-note-private.h:
3766 * src/hildon-note.c: (hildon_note_set_property),
3767 (hildon_note_get_property), (hildon_note_class_init),
3768 (hildon_note_init), (hildon_note_finalize),
3769 (hildon_note_new_confirmation_with_icon_name),
3770 (hildon_note_new_information_with_icon_name):
3772 No need to mark as deprecated the actual code. Revert
3773 to avoid missing symbols in widgets using deprecated API.
3775 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3777 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3779 * src/hildon-volumebar.h
3780 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3781 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3783 * src/hildon-helper.h
3784 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3785 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3787 * examples/Makefile.am:
3788 Deprecate hildon-insensitive-example
3790 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3792 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3794 * examples/hildon-pannable-area-buttons-scroll-example.c:
3795 Make all buttons finger height
3797 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3799 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3801 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3802 update the day model only if it is really required, and to avoid the
3803 full-reconstruction aproach. Now it only add or remove the required days.
3805 The purpose of this is avoid superfluous HildonTouchSelector::changed
3808 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3809 with strange parameters)
3811 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3813 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3815 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3816 the WINDOW_TYPE property.
3818 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3820 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3823 Fix dependency to allow parallel compilation with make -jX
3825 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3827 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3828 color frame and some minor tweaks to make it more consistent with
3831 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3832 highlighted but not visible)
3834 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3836 * examples/Makefile.am: Fixed typo in the Makefile.am.
3838 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3840 Reviewed the use of MAEMO_GTK define, now we add the define in the
3841 compilation line, and we also add it to the pc file.
3843 * configure.ac: Added MAEMO_GTK define to the compilation command
3844 and removed it from the config.h.
3846 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3847 do not have to take care about this define if the library was
3851 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3853 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3855 * examples/Makefile.am,
3856 * examples/hildon-pannable-area-buttons-scroll-example.c,
3857 * examples/hildon-pannable-area-gesture-signals-example.c,
3858 * examples/hildon-pannable-area-scroll-jump-example.c,
3859 * examples/hildon-pannable-area-tree-view-example.c:
3860 Renamed the pannable area examples, now they have more meaningful
3863 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3865 * src/hildon-touch-selector.c:
3866 (hildon_touch_selector_set_column_selection_mode): Used of
3867 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3868 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3869 to avoid re-seting the same selection mode.
3871 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3872 breaks HildonPickerDialog)
3874 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3876 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3877 conditional in the Makefile.am
3879 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3881 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3882 Remove unused methods.
3884 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3886 * src/hildon-button.c (hildon_button_init):
3887 Make button images center-aligned by default
3889 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3892 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3893 activated, we have to think about how to deal with both defines
3894 MAEMO_GTK and MAEMO_CHANGES.
3896 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3898 * examples/hildon-app-menu-example.c (create_menu): Make all
3899 buttons finger size.
3901 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3903 Fixed the compilation without maemo gtk adding ifdefs with
3904 MAEMO_GTK define to the code, we have to check this version more
3907 * examples/Makefile.am: Added control to avoid some examples that
3908 just make sense with maemo gtk.
3911 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3912 hildon modes with the define.
3914 * examples/hildon-edit-toolbar-example.c,
3915 (create_icon_view): Create the icon view without hildon-gtk
3916 helpers if we are not using maemo gtk.
3918 * src/hildon-touch-selector.c,
3919 (_create_new_column): Create the treeview without hildon-gtk
3920 helpers if we are not using maemo gtk.
3922 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3924 * src/hildon-pnnable-area.c,
3925 (hildon_pannable_area_dispose),
3926 (hildon_pannable_area_button_press_cb),
3927 (hildon_pannable_area_child_mapped),
3928 (hildon_pannable_area_add),
3929 (hildon_pannable_area_remove): Added code to control the position
3930 of the event_window when adding and removing children from the
3931 pannable. We have to raise the event window when the child is
3934 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3935 selection mode using custom widget inside pannable)
3937 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3939 * configure.ac: post release version bump
3940 * debian/changelog: version bump
3942 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3947 * configure.ac: bump version
3948 * debian/changelog: updates
3950 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3952 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3953 search mode, in order to avoid lose the focus on the treeview when
3954 a hw key (like enter) is pressed.
3956 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3957 in HildonDateSelector dialog)
3959 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3961 * debian/rules: Added --enable-maintainer-mode
3962 * Makefile.am: Added ACLOCAL_AMFLAGS
3964 This allows to properly regenerate the Makefiles if you modify the
3965 configure.ac or any Makefile.am.
3967 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3969 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3970 properties, not needed at all.
3972 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3974 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3976 * src/hildon-note.c: (hildon_note_set_property),
3977 (hildon_note_get_property), (hildon_note_class_init),
3978 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3979 (hildon_note_new_confirmation_add_buttons): Remove icons.
3980 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3981 (hildon_note_new_information_with_icon_name): Deprecate.
3982 (hildon_note_new_confirmation): Act directly, without calling
3983 the deprecated constructor.
3984 (hildon_note_new_information): Act directly, without calling
3985 the deprecated constructor.
3986 * src/hildon-note.h: Mark deprecate methods as such.
3987 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3988 not run tests on the deprecated methods if built with deprecation
3991 Fixes: NB#91688 (Never show icons in information notes/confirmation
3994 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3996 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3997 (hildon_app_menu_key_press): Remove leftover usage of the
3998 private structure in HildonAppMenu struct.
3999 * src/hildon-app-menu.h: Remove leftover private structure
4000 from the HildonAppMenu struct.
4002 Fixes a crasher when using the HildonAppMenu.
4004 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4006 * src/hildon-picker-dialog.c: Use appropriate logical id
4007 for the default "Done" text.
4009 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4011 * configure.ac: post release version bump
4012 * debian/changelog: version bump
4014 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4016 Modified the way to scroll to the current selection just when the touch
4017 selector is shown on the screen, avoiding a g_idle. Added too a property
4018 to configure this behaviour. See hildon_pannable_area_jump_to_child
4019 documentation for more information.
4021 * src/hildon-touch-selector.c
4022 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4023 Added 'initial-scroll' property
4024 (hildon_touch_selector_set_property): Added
4025 (hildon_touch_selector_map): Removed as not required anymore
4026 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4027 only a concrete column, instead of iterate along all the columns
4029 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4034 * configure.ac: bump version
4035 * debian/changelog: updates
4037 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4039 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4040 compilation time warnings.
4042 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4044 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4045 the default value for HildonPannableArea::mov-mode to
4046 HILDON_PANNABLE_AREA_MODE_VERT.
4048 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4050 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4052 Reverting following commit:
4054 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4056 * src/hildon-app-menu-private.h
4057 * src/hildon-app-menu.[ch]
4058 * src/hildon-button.[ch]
4059 * src/hildon-check-button.[ch]
4060 * src/hildon-entry.[ch]
4061 * src/hildon-pannable-area.[ch]
4062 * src/hildon-text-view.[ch]:
4063 Added private field to the object's structure.
4065 because it causes an ABI breakage. We will need to introduce these
4066 changes later at some point. See NB#91636 for an extensive
4067 explanation and status.
4069 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4071 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4073 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4074 remove special cases that are no longer necessary.
4076 Fixes: NB#91016 (Change toolbar sizes, simplification)
4078 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4080 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4081 is shown in the cancel note.
4083 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4085 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4086 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4087 (hildon_seekbar_init): Remove steppers, remove expose event.
4088 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4090 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4092 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4094 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4095 label font to "SmallSystemFont" for vertically arranged buttons.
4097 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4100 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4102 * src/hildon-check-button.c
4103 (hildon_check_button_set_active, hildon_check_button_clicked):
4104 Don't access private parts directly, use getters instead.
4106 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4108 * src/hildon-check-button.c (hildon_check_button_new):
4109 Align the contents of the check button to the left.
4111 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4113 * src/hildon-pannable-area.c,
4114 (hildon_pannable_area_scroll_to),
4115 (hildon_pannable_area_jump_to),
4116 (hildon_pannable_area_scroll_to_child),
4117 (hildon_pannable_area_jump_to_child): Replace the mapped
4118 precondition of these functions with the realized, it is the
4119 correct state of the widget in this case. Changed the
4120 documentation according to this modification.
4122 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4124 Added a new EXTRA_CFLAGS option to add the deprecated define to
4125 the compilation command. This way we can avoid using the define in
4126 the documentation compilation.
4128 * configure.ac: Defined EXTRA_CFLAGS.
4130 * examples/Makefile.am:
4132 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4134 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4136 * src/hildon-picker-dialog.c:
4137 Defined a utility macro with the desired touch selector height
4138 Removed currently unused separator, and title_label variables from
4140 (hildon_picker_dialog_init): Removed code related to the creation
4141 of unused private variables title_label and separator.
4142 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4143 to ensure correct visualization of the touch selector inside the dialog.
4144 * src/hildon-touch-selector.c
4145 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4146 ensure a concrete height of the widget.
4148 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4151 * tests/Makefile.am:
4153 Remove spurious whitespaces.
4155 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4157 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4158 compilation warning after the cancel button removal.
4160 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4162 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4164 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4165 Makefile.am, that way we can choose not to compile some examples
4166 and tests of the deprecated widgets.
4168 * examples/Makefile.am: Divided the sources in deprecated and
4171 * src/Makefile.am: Added undef statement of the deprecated
4172 symbol to the enums file generation process.
4174 * src/hildon-color-chooser-dialog.c
4175 * src/hildon-color-chooser-dialog.h
4176 * src/hildon-color-button.c
4177 * src/hildon-color-button.h
4178 * src/hildon-color-chooser.c
4179 * src/hildon-color-chooser.h
4180 * src/hildon-controlbar.c
4181 * src/hildon-controlbar.h
4182 * src/hildon-date-editor.c
4183 * src/hildon-date-editor.h
4184 * src/hildon-hvolumebar.c
4185 * src/hildon-hvolumebar.h
4186 * src/hildon-private.c
4187 * src/hildon-private.h
4188 * src/hildon-range-editor.c
4189 * src/hildon-range-editor.h
4190 * src/hildon-seekbar.c
4191 * src/hildon-seekbar.h
4192 * src/hildon-time-editor.c
4193 * src/hildon-time-editor.h
4194 * src/hildon-time-picker.c
4195 * src/hildon-time-picker.h
4196 * src/hildon-volumebar.c
4197 * src/hildon-volumebar.h
4198 * src/hildon-vvolumebar.c
4199 * src/hildon-vvolumebar.h
4200 * src/hildon-bread-crumb-trail.h
4201 * src/hildon-bread-crumb-trail.c
4202 * src/hildon-calendar-popup.c
4203 * src/hildon-calendar-popup.h
4204 * src/hildon-weekday-picker.c:
4205 * src/hildon-weekday-picker.h:
4206 * src/hildon-bread-crumb-widget.c:
4207 * src/hildon-bread-crumb-widget.h:
4208 * src/hildon-bread-crumb.c:
4209 * src/hildon-bread-crumb.h:
4210 * src/hildon-calendar.c:
4211 * src/hildon-calendar.h:
4212 * src/hildon-caption.c:
4213 * src/hildon-code-dialog.c:
4214 * src/hildon-code-dialog.h:
4215 * src/hildon-font-selection-dialog.c:
4216 * src/hildon-font-selection-dialog.h:
4217 * src/hildon-get-password-dialog.c:
4218 * src/hildon-get-password-dialog.h:
4219 * src/hildon-login-dialog.c:
4220 * src/hildon-login-dialog.h:
4221 * src/hildon-number-editor.c:
4222 * src/hildon-number-editor.h:
4223 * src/hildon-set-password-dialog.c:
4224 * src/hildon-set-password-dialog.h:
4225 * src/hildon-sort-dialog.c:
4226 * src/hildon-sort-dialog.h: This is the list of deprecated
4229 * src/hildon-touch-selector.c:
4230 * src/hildon-window.c: Added undef statement to avoid compilation
4233 * tests/Makefile.am: Divided the sources in deprecated and
4236 * tests/check_test.c,
4237 (configure_tests): Marked the deprecated code that was adding
4238 suites with deprecated tests.
4240 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4242 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4244 * src/hildon-touch-selector.c: (_default_print_func): Do not
4245 duplicate a string returned by gtk_tree_model_get(), it is already
4248 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4251 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4253 * src/hildon-pannable-area.c
4254 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4255 method, it had problems when adding a widget with viewport the
4256 second time. Now checks if it already has a viewport and uses it.
4258 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4261 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4263 * src/hildon-pannable-area.c,
4264 (hildon_pannable_area_scroll_to),
4265 (hildon_pannable_area_jump_to),
4266 (hildon_pannable_area_scroll_to_child),
4267 (hildon_pannable_area_jump_to_child): Added a precondition to the
4268 scroll and jump to functions: the widget must be mapped before we
4269 can safely call these functions. We have also added documentation
4270 to the functions to explain how to use them in this situation.
4273 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4275 Reviewed the threading handling of the pannable widget, we have
4276 used the gdk_threads_add_timeout function instead of the usual
4277 glib handlers. This avoids some problems with the threads.
4279 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4280 (hildon_pannable_area_initial_effect),
4281 (hildon_pannable_area_scroll_indicator_fade),
4282 (hildon_pannable_area_button_press_cb),
4283 (hildon_pannable_area_timeout),
4284 (hildon_pannable_area_motion_notify_cb),
4285 (hildon_pannable_area_button_release_cb),
4286 (hildon_pannable_area_scroll_cb),
4287 (hildon_pannable_area_scroll_to): Removed the
4288 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4289 gdk_threads_add_timeout.
4291 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4293 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4298 * configure.ac: bump version
4299 * debian/changelog: updates
4301 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4303 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4304 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4305 * src/hildon-color-chooser-dialog.c:
4306 (hildon_color_chooser_dialog_init):
4307 * src/hildon-font-selection-dialog.c:
4308 (hildon_font_selection_dialog_init):
4309 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4311 Remove all cancel/close-like dialogs, as these are not going to be
4314 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4316 * src/hildon-note.c: (hildon_note_rebuild),
4317 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4320 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4322 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4324 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4325 sure all buttons are shown, even the Cancel/Close-like ones.
4327 Fixes: NB#90861 (Custom Confirmation dialogs should be
4328 protected from cancel button removal)
4330 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4332 * debian/control: Change libhildon1-examples dependency from libhildon1
4334 * debian/libhildon1-examples.install
4336 * Makefile.am: Modified the final install directory for the examples on
4337 package libhildon1-examples
4338 * Makefile.static: Update clean target in order to remove all the binary
4341 Changes suggested by Claudio after review new libhildon1-examples package
4343 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4345 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4346 * src/hildon-touch-selector.c: Ditto.
4348 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4350 * debian/control: Added new package libhildon1-examples, in order to pack
4351 the current hildon examples as documentation
4352 * debian/rules: Not to compress .c files, modify some includes on the
4353 examples (as normally are compiled locally, but when installed it will
4354 require to include the installed libhildon1 library), and rename
4356 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4357 install all the example files on the new example package
4358 * examples/Makefile.static: Added static makefile that can be used to
4359 compile the examples, once installed the new example package
4360 * examples: Most of the examples were modified in order to grant that
4361 all use only '#include "hildon.h"', in order to be easy to prepare
4362 it on the example package
4364 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4367 * debian/libhildon1-dev.install
4368 * debian/libhildon1-doc.install:
4369 Move all gtk-doc files to a separate libhildon1-doc package.
4371 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4373 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4375 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4377 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4379 * debian/rules: Fixed a error in order to avoid unnecessary calls
4380 to autogen.sh on package building
4382 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4384 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4386 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4388 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4391 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4393 * src/hildon-picker-button.c
4394 (hildon_picker_button_finalize):
4395 Free priv->done_button_text
4397 * src/hildon-time-button.c
4398 (hildon_time_button_set_time)
4399 * src/hildon-picker-button.c
4400 (hildon_picker_button_clicked)
4401 (hildon_picker_button_selector_selection_changed)
4402 (hildon_picker_button_set_selector)
4403 * src/hildon-date-button.c
4404 (hildon_date_button_set_date):
4405 Free strings returned by hildon_touch_selector_get_current_text()
4407 * src/hildon-button.c (hildon_button_construct_child):
4408 Fix leaks in priv->image and priv->label_box
4410 Fixes: NB#90535 (Memory leak in picker button)
4412 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4414 * src/hildon-button.c: (hildon_button_get_property): Do not access
4415 private elements directly, use getters instead.
4417 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4419 * src/hildon-app-menu-private.h
4420 * src/hildon-app-menu.c
4421 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4422 Store the menu's parent window.
4424 * src/hildon-stackable-window.c
4425 (hildon_stackable_window_toggle_menu)
4426 (hildon_stackable_window_finalize):
4427 Set the menu's parent window when the menu is shown, unset it when
4430 * src/hildon-app-menu.c
4431 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4432 (hildon_app_menu_class_init):
4433 Send unhandled keyboard accelerators to the parent window.
4435 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4437 * src/hildon-stackable-window.c
4438 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4440 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4442 * configure.ac: post release version bump
4444 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4447 * configure.ac: Bump version
4448 * debian/changelog: Updates
4449 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4452 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4454 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4457 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4458 GtkMenu with Hildon style.
4460 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4462 * src/hildon-picker-button.c:
4463 (hildon_picker_button_set_done_button_text): Set the dialog's
4464 done button text here as well.
4466 Fixes: NB#90232 (Picker button does not set the label on done button
4467 for the second time)
4469 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4471 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4474 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4476 * src/hildon-app-menu.c (hildon_app_menu_insert)
4477 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4478 the HildonAppMenu to be activatable using keyboard accelerators
4479 when the menu is not being shown.
4481 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4483 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4485 * src/hildon-stackable-window.c
4486 (hildon_stackable_window_show):
4487 Don't hide old windows automatically when new windows are shown:
4488 this is now a task for the window manager.
4489 (hildon_stackable_window_class_init)
4490 (hildon_stackable_window_hide):
4491 Remove windows from the stack everytime they're hidden.
4492 (hildon_stackable_window_realize):
4493 Don't change the _NET_WM_WINDOW_TYPE property. Use
4494 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4495 it as a stackable window.
4497 * src/hildon-program.c
4498 (hildon_program_pop_window_stack):
4499 Just hide the window to remove it from the stack.
4500 (hildon_program_go_to_root_window):
4501 Don't call gtk_widget_show(), this is now a task for the window
4504 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4506 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4508 * src/hildon-button.c
4509 (hildon_button_construct_child):
4510 Don't pack anything in the button until text or image are
4511 set. This allows adding a custom child after creating the button
4512 with hildon_button_new().
4513 (hildon_button_finalize, hildon_button_class_init)
4514 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4515 alignment and the label box even when they're not packed in the
4518 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4520 * src/hildon-touch-selector.h:
4521 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4522 currently the type definition was using GTK_TYPE_VBOX
4523 * src/hildon-touch-selector.c:
4524 Added some implementation notes in order to clarify that any other widget
4525 added without the column related API will not be included on the
4526 selection logic, and how the widget is freed, as some people ask about
4528 (hildon_touch_selector_remove): Reimplemented in order to free properly
4529 the column related data when you remove the private hbox.
4530 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4531 to get a proper HildonTouchSelectorColumn documentation
4533 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4535 * src/hildon-touch-selector-entry.c:
4536 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4537 text in the GtkEntry and there is no item selected. Fixes a
4540 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4542 * src/hildon-app-menu-private.h
4543 * src/hildon-app-menu.[ch]
4544 * src/hildon-button.[ch]
4545 * src/hildon-check-button.[ch]
4546 * src/hildon-entry.[ch]
4547 * src/hildon-pannable-area.[ch]
4548 * src/hildon-text-view.[ch]:
4549 Added private field to the object's structure.
4551 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4553 * configure.ac: post-release version bump
4555 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4559 * configure.ac: pre-release version bump
4561 * debian/changelog: updates.
4563 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4565 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4566 Disconnect the handler for HildonTouchSelector::changed.
4568 (hildon_picker_button_selector_selection_changed): Update the button
4569 value if the selection change was not triggered by the
4572 (hildon_picker_button_set_selector): connect to
4573 HildonTouchSelector::changed.
4575 Fixes: NB#89650 (Picker button is not updated, when selection in
4576 selector has changed)
4578 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4580 * src/hildon-picker-dialog.c
4581 (hildon_picker_dialog_realize): Removed as not required
4582 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4583 * src/hildon-picker-button.c
4584 (_current_selector_empty): New function, checks if the selector is empty
4585 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4586 if the current selector is empty, in order to avoid to show the dialog
4587 close the dialog in this case (and shows a g_warning).
4589 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4591 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4593 * src/hildon-pannable-area.c,
4594 (hildon_pannable_area_scroll): Added clause to stop movement when
4595 the child of pannable is smaller than one page.
4596 (hildon_pannable_area_scroll_to): Added conditions to avoid
4597 starting the scrolling movement if the child is smaller than one
4598 page, the complete child is in the screen, we do not have to move.
4600 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4602 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4604 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4605 this is managed automatically by the widget when the size of the
4608 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4610 * src/hildon-picker-button.c
4611 (hildon_picker_button_set_done_button_text): Make a copy of the
4612 text, and free the previous value.
4614 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4616 * src/hildon-touch-selector-entry.c:
4617 (hildon_touch_selector_entry_print_func): Return the selected row's
4618 text if the entry is empty.
4620 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4623 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4625 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4627 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4630 * src/hildon-check-button.h
4631 * src/hildon-check-button.c
4632 * examples/hildon-check-button-example.c:
4633 HildonCheckButton is now a new widget. 'toggled' signal added.
4635 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4637 * src/hildon-program-private.h
4638 * src/hildon-program.c (hildon_program_init)
4639 (hildon_program_finalize): Removed unused variables group_leader
4640 and name from HildonProgramPrivate.
4642 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4644 * src/hildon-check-button.c (hildon_check_button_set_active)
4645 (hildon_check_button_get_active, hildon_check_button_new): Use
4646 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4648 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4650 * src/hildon-touch-selector.h
4651 (hildon_touch_selector_set_column_attributes): added deprecation
4652 guard HILDON_DISABLE_DEPRECATED
4653 * src/hildon-time-selector.c
4654 (hildon_time_selector_set_time)
4655 (hildon_time_selector_get_time): Fixed a typo on documentation
4656 * src/hildon-touch-selector.c: update HildonTouchSelector and
4657 HildonTouchSelectorColumn documentation
4658 * src/hildon-touch-selector-entry.c: update "text-column" property
4660 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4661 to be added to the general documentation.
4663 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4665 * examples/hildon-pannable-area-example-4.c,
4667 * examples/hildon-pannable-area-example.c,
4668 (main): Modified the code in order to use the container add, with
4669 viewport treeviews could have problems if they are really big.
4671 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4673 * src/hildon-weekday-picker.c,
4674 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4675 the agreement regarding deprecation in the library.
4677 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4679 * examples/hildon-picker-button-multicolumn-example.c:
4680 (main): Use custom "done" button text.
4682 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4683 (hildon_picker_button_set_property),
4684 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4685 (hildon_picker_button_init),
4686 (+hildon_picker_button_get_done_button_text),
4687 (+hildon_picker_button_set_done_button_text): New methods to customize
4688 the "done" button label in the launched HildonPickerDialog. Also,
4691 * src/hildon-picker-button.h: add the public API.
4693 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4695 * src/hildon-date-selector.h:
4696 * src/hildon-picker-dialog.h:
4697 * src/hildon-time-selector.h:
4698 * src/hildon-touch-selector-column.h:
4699 * src/hildon-touch-selector.h:
4701 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4702 declarations. Fixes gtk-doc warnings.
4704 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4706 * src/hildon-picker-dialog.h
4707 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4708 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4710 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4711 long text is set as label for done button)
4713 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4715 * src/hildon-dialog.c (hildon_dialog_add_button):
4716 Set fixed width to all buttons in the HildonDialog.
4718 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4720 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4722 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4723 Set widget name using class name plus "-finger" or "-thumb".
4725 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4727 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4728 'clicked' when the state of the button is manually changed.
4730 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4732 * src/hildon-app-menu.c (hildon_app_menu_realize)
4733 (hildon_app_menu_unrealize, hildon_app_menu_init)
4734 (hildon_app_menu_class_init, item_visibility_changed):
4735 Change the menu layout when the size of the screen changes.
4736 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4737 Show warning only when changing the number of colums using the
4740 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4742 * debian/compat: Set to 5
4743 * debian/control: Update dependencies.
4744 * debian/libhildon1-dbg.install: Remove.
4745 * debian/libhildon1-dev.install: Update according to cdbs paths.
4746 * debian/libhildon1.install: Update according to cdbs paths.
4747 * debian/rules: Switch to cdbs.
4749 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4751 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4752 'item' variable renamed to 'filter'
4754 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4756 * src/hildon-app-menu.c (hildon_app_menu_insert)
4757 (hildon_app_menu_add_filter, remove_item_from_list)
4758 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4759 Don't leak hidden items when the menu is destroyed.
4761 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4763 * src/hildon-app-menu.c (hildon_app_menu_insert)
4764 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4765 (hildon_app_menu_set_columns, item_visibility_changed)
4766 (filter_visibility_changed, hildon_app_menu_repack_filters)
4767 (hildon_app_menu_repack_items):
4768 Repack items and filters separately.
4770 Don't repack all items, change only the ones that are needed to
4773 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4775 * src/Makefile.am: added hildon-touch-selector-column.h
4777 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4779 * src/hildon-touch-selector.c: added the property "text-column" to the
4780 class HildonTouchSelectorColumn, and related get/set functions
4781 (_default_printf_func): updated to use "text-column" property
4782 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4783 "text-column" in his documentation, as this is now included on
4784 HildonTouchSelectorColumn. The get/set_property can still be used,
4785 working as a wrapper to the concrete column "text-column" property
4786 (_text_column_modified): callback added in order to handle the signal
4787 "notify::text-column" of the concrete HildonTouchSelectorColumn
4788 (hildon_touch_selector_entry_get_text_column)
4789 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4790 modified in order to use the HildonTouchSelectorColumn "text-column"
4792 * src/hildon-time-selector.c:
4793 * src/hildon-date-selector.c:
4794 * examples/hildon-touch-selector-example.c
4795 * examples/hildon-touch-selector-multi-cells-example.c
4796 * examples/hildon-picker-button-multicolumn-example.c
4797 Set the right value to "text-column" property on the creation of a new
4798 column using hildon_touch_selector_append_column()
4800 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4802 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4804 * src/hildon-app-menu.c
4805 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4806 updating the layout of the menu, don't create all widgets again,
4807 just repack the items in their new places.
4809 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4811 * src/hildon-time-selector.c
4812 (hildon_time_selector_get_time)
4813 (hildon_time_selector_set_time)
4814 Added documentation of these public methods
4816 * src/hildon-date-button.h
4817 * src/hildon-touch-selector-column.h
4818 * src/hildon-time-button.h
4819 * src/hildon-picker-dialog.h
4820 * src/hildon-time-selector.h
4821 * src/hildon-picker-button.h
4822 * src/hildon-touch-selector.h
4823 * src/hildon-time-picker.h
4824 * src/hildon-date-selector.h
4825 * src/hildon-touch-selector-entry.h
4826 Modified in order to use hildon-widgets code style
4828 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4830 Added deprecated support to the compilation process using
4831 HILDON_DISABLE_DEPRECATED
4833 * configure.ac: Added the --disable-deprecated to the configure
4836 * src/hildon-weekday-picker.c:
4837 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4838 to use the deprecated support. We will update the other deprecated
4839 widgets status in a new patch.
4841 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4843 * configure.ac: Fixed typo with fatal warnings support, the
4844 variable name was not correct
4846 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4848 * src/hildon-app-menu.c
4849 * src/hildon-program.c: Update documentation.
4851 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4853 * configure.ac: Post-release version bump.
4855 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4860 * configure.ac: Pre-release version bump.
4861 * debian/changelog: Updates.
4863 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4865 * NEWS: Update news for previous releases.
4867 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4869 * examples/hildon-touch-selector-multi-cells-example.c:
4870 (create_selector): Update the example to use
4871 hildon_touch_selector_append_column() with a NULL renderer and set
4872 the renderers later.
4873 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4874 passed a NULL renderer. This is documented behavior now.
4876 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4877 This must be used if the developer wants full control on the layout of
4878 the renderers to be added to the column.
4880 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4882 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4884 * src/hildon-touch-selector.c: Documentation fixes.
4886 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4888 * src/hildon-wizard-dialog-private.h: Remove image and box.
4889 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4890 (hildon_wizard_dialog_set_property), (response): Completely remove
4891 image/icon support, and the containers required for the layout.
4893 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4895 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4897 * src/hildon-app-menu.c: Updated documentation.
4899 * src/hildon-stackable-window.c
4900 (hildon_stackable_window_set_main_menu): Unref the old menu after
4901 ref'ing the new one.
4903 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4905 * src/hildon-stackable-window.c
4906 (hildon_stackable_window_set_main_menu): Unref the previous menu
4907 instead of destroying it.
4909 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4910 floating reference and set has_user_ref_count to FALSE to make
4911 HildonAppMenu act like a normal ref-counted widget and not a
4914 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4917 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4919 * src/hildon-touch-selector-column.h: new file
4920 * src/hildon-touch-selector.h
4921 * src/hildon-touch-selector.c
4922 Implemented GtkCellLayout interface, in order to allow to configure
4923 the cell layout on each individual selector column
4924 (hildon_touch_selector_set_column_attributes): marked as deprecated
4925 * examples/hildon-touch-selector-multi-cells-example.c
4926 Example of how to use the GtkCellLayout interface on the selector
4928 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4930 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4932 * src/hildon-app-menu.h
4933 * src/hildon-app-menu.c
4934 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4935 (hildon_app_menu_append, hildon_app_menu_prepend):
4936 New methods to prepend, insert and move items in the menu.
4938 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4940 * src/hildon-wizard-dialog.c:
4942 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4944 (create_title): Update logical IDs and related code.
4945 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4947 * src/hildon-wizard-dialog.h: Note that
4948 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4949 point, as it is not used anymore.
4951 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4953 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4955 * src/hildon-note.c:
4956 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4957 shown. Do not display an icon in confirmation notes nor information
4959 (hildon_note_set_button_text): Update logical ID for cancel button.
4961 Fixes: NB#88850 (Update HildonNote button strings + signals)
4963 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4965 * src/hildon-stackable-window.c
4966 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4968 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4970 * src/hildon-app-menu-private.h
4971 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4972 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4973 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4974 temporary property 'columns' to change the number of columns.
4976 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4978 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4980 * examples/hildon-note-example.c: (on_information_clicked),
4981 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4982 debugging information.
4983 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4985 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4986 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4987 in order to close: this will be handled by the WM from now on.
4989 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4991 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4993 * src/hildon-app-menu-private.h
4994 * src/hildon-app-menu.c
4995 (hildon_app_menu_append, hildon_app_menu_add_filter)
4996 (button_visibility_changed, hildon_app_menu_apply_style)
4997 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4998 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4999 layout everytime a button (item or filter) is shown or hidden.
5001 * src/hildon-stackable-window.c
5002 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5005 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5007 * src/hildon-touch-selector.c:
5008 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5009 that the treeview inside the touch selector is in fremantle hildon mode
5010 * examples/hildon-date-button-example.c
5011 * examples/hildon-picker-button-multicolumn-example.c
5012 * examples/hildon-touch-selector-entry-example.c
5013 * examples/hildon-touch-selector-example.c
5014 * examples/hildon-time-button-example.c
5015 * examples/hildon-picker-button-example.c:
5016 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5018 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5020 * examples/hildon-text-view-example.c: (main): Remove the
5021 gtkrc bits, now handled by the theme.
5023 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5025 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5028 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5030 * po/Makefile.am: Install properly the mo files.
5031 * po/en_GB.po: Update translation, to ease testing purposes.
5033 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5035 * examples/hildon-picker-button-example.c: (main): Select an item
5036 in the selector before setting it to the button.
5038 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5040 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5041 Update button's value if the selector has an item active.
5043 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5044 'value' with the selector)
5046 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5048 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5049 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5050 (hildon_picker_button_class_init): Plug the finalize method.
5051 (hildon_picker_button_set_selector): If there's a previously set
5052 selector, unref'it before setting a new one.
5054 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5055 HildonTouchSelector)
5057 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5059 * src/hildon-touch-selector-entry.c:
5060 (hildon_touch_selector_entry_changed): Check if there is no text
5061 selected before setting the entry text.
5064 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5066 * src/hildon-touch-selector.h
5067 * src/hildon-touch-selector.c
5068 (hildon_touch_selector_get_active)
5069 (hildon_touch_selector_set_active): New methods to set/get the
5070 index of the selected item.
5072 * src/hildon-picker-button.h
5073 * src/hildon-picker-button.c
5074 (hildon_picker_button_get_active)
5075 (hildon_picker_button_set_active): New methods to set/get the
5076 index of the selected item.
5078 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5080 * configure.ac: post-release version bump.
5082 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5086 * configure.ac: Pre-release version bump.
5087 * debian/changelog: Updates.
5088 * debian/control: Add myself as maintainer and depend on l10n
5091 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5093 * src/hildon-window.c
5094 (hildon_window_set_main_menu)
5095 * src/hildon-stackable-window.c
5096 (hildon_stackable_window_set_main_menu):
5097 Updated documentation.
5099 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5101 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5102 Don't free selector->priv manually.
5105 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5108 (hildon_gtk_window_set_progress_indicator):
5109 * src/hildon-gtk.h: Added the new API
5110 hildon_gtk_window_set_progress_indicator, it changes the state of
5111 the window progress hint.
5113 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5115 * src/hildon-button.c
5116 * src/hildon-stackable-window.c: Minor documentation updates.
5118 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5120 * src/hildon-stackable-window.c: Updated documentation.
5122 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5124 * src/hildon-defines.h: Update margins definitions
5125 to the Fremantle sizes.
5128 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5130 * src/hildon-touch-selector.c,
5131 (_hildon_touch_selector_set_model): Cleaning the code after
5132 review, removed g_print and #if 0 from the code.
5134 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5136 * src/hildon-edit-toolbar.c: Update documentation.
5138 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5140 * src/hildon-check-button.h
5141 * src/hildon-check-button.c
5142 (hildon_check_button_set_label, hildon_check_button_get_label)
5143 * examples/hildon-check-button-example.c
5144 (button_clicked_cb):
5145 Removed deprecated methods.
5147 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5149 * src/hildon-text-view.c:
5150 Add sample code to the documentation.
5152 * src/hildon-entry.h
5153 * src/hildon-text-view.h:
5154 Minor cosmetic changes.
5156 * src/hildon-entry.c:
5157 Add sample code to the documentation.
5158 (hildon_entry_init, hildon_entry_refresh_contents):
5159 Don't allow NULL values in the placeholder.
5161 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5163 * doc/hildon-docs.sgml
5165 * examples/Makefile.am
5166 * examples/hildon-text-view-example.c
5168 * src/hildon-text-view.c
5169 * src/hildon-text-view.h
5171 New HildonTextView widget, with example.
5173 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5175 * po/POTFILES.in: Add missing files with translatable strings.
5176 Partially fixes NB#88287.
5178 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5180 * examples/hildon-pannable-area-example-2.c: (main): No need to
5181 set the cellrenderer height inside hildon touch lists, the theme does
5184 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5186 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5187 they are integrated in the theme.
5189 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5191 * examples/hildon-entry-example.c: Update the example adding
5192 widgets to modify the text and the placeholder of the HildonEntry.
5194 * src/hildon-entry.c: Show the placeholder everytime the widget
5195 is empty and loses the focus.
5197 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5199 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5201 * src/hildon-pannable-area.c,
5202 (hildon_pannable_area_size_request): Fixed bug in height
5203 requisition, avoid increasing size and add border twice.
5205 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5207 * configure.ac: postrelease version bump.
5209 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5213 * configure.ac: Prerelease version bump.
5214 * debian/changelog: update.
5215 * debian/rules: make -dbg package contain useful debugging symbols.
5217 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5219 * src/hildon-dialog.h
5220 * src/hildon-dialog.c
5221 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5222 New methods to add buttons with finger size.
5223 (hildon_dialog_new_with_buttons):
5224 Create buttons with finger size.
5226 * examples/hildon-dialog-example.c (main): Use HildonDialog
5227 methods to add buttons.
5229 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5231 * src/hildon-entry.c: Updated HildonButton documentation.
5233 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5235 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5236 button value label with (FALSE, FALSE) to prevent NB#88126 from
5239 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5241 * examples/hildon-pannable-area-example.c,
5242 (main): Removed examples panning a vbox inside a pannable
5243 area. Check bug NB#87965
5245 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5247 Patch contributed by Kris Rietveld (kris@imendio.com)
5249 * src/hildon-pannable-area.c,
5250 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5251 get_size and get_position, this saves an X server roundtrip.
5253 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5255 * doc/hildon-docs.sgml
5257 * examples/Makefile.am
5258 * examples/hildon-entry-example.c
5260 * src/hildon-entry.c
5261 * src/hildon-entry.h
5263 New HildonEntry widget, with example.
5265 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5267 * src/hildon-button.c (hildon_button_construct_child): Pack the
5268 image with expand == fill == FALSE. This is a workaround for a bug
5271 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5273 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5274 labels for the text column, to make it more look more dynamic.
5276 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5278 * src/hildon-time-selector.c
5279 Define gettext auxiliar macro N_
5280 (_create_minutes_model)
5281 (_create_hours_model)
5282 (_create_ampm_model): use of strftime in order to fill the model
5283 * src/hildon-date-selector.c
5284 (hildon_date_selector_finalize):
5285 (_locales_init): remove the logic related to get the name of the months
5286 using nl_langinfo, as it is not required anymore
5288 (_create_year_model)
5289 (_create_month_model)
5290 (_update_day_model): use of strftime in order to fill the model properly
5293 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5295 * src/hildon-button.h
5296 * src/hildon-button.c (hildon_button_get_image): New method to
5299 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5301 * src/hildon-touch-selector.c:
5302 (hildon_touch_selector_remove_column): Remove from the correct parent
5303 and also remove the list element and free it.
5306 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5308 * src/hildon-time-selector.c
5309 (_create_hours_model): change the range on 12h ampm format in order to use
5310 a 12-11 range instead of previous 01-12 range
5311 (hildon_time_selector_set_time): change the way to select the current time
5312 on 12h ampm format, due the change on the range
5313 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5316 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5318 * src/hildon-touch-selector.c
5319 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5320 in order to allow use this function on multiple row selection mode if
5321 the column is different that the first one
5324 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5326 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5327 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5329 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5331 * src/hildon-date-selector.h: clean some comments, now on the .c
5332 * src/hildon-date-selector.c
5333 (hildon_date_selector_select_month): first implementation
5334 (hildon_date_selector_select_day): added documentation, reimplemented
5335 using hildon_date_selector_select_current_date to avoid repeat code
5338 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5340 Reviewed interaction logic based on device experiences, refactored
5343 * src/hildon-pannable-area.c,
5344 (hildon_pannable_area_class_init): Updated default vmax speed.
5345 (hildon_pannable_area_calculate_velocity): Added this function, it
5346 avoids duplicate valocity calculation. Adjusted calculation to
5347 avoid problems with zero dist events.
5349 (hildon_pannable_area_motion_notify_cb): Now we use the
5350 calculate_velocity function.
5352 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5354 * src/hildon-date-selector.c
5355 (hildon_date_selector_select_current_date): fix the day range check
5356 as it failed using the last day of the current month
5359 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5361 * src/hildon-touch-selector.c
5362 (hildon_touch_selector_get_num_columns): added a parameter validation
5365 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5367 * examples/Makefile.am
5368 * examples/hildon-edit-toolbar-example.c: Example of the
5369 HildonEditToolbar widget.
5371 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5373 * configure.ac: postrelease version bump.
5375 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5379 * configure.ac: prerelease version bump.
5380 * debian/changelog: update.
5382 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5384 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5385 renderer to display stock icons in the touch list. Also, set the sizes
5386 to the recommended in the style guide.
5388 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5389 * src/hildon-touch-selector.h
5390 (hildon_touch_selector_set_active_iter): renamed, now is
5391 hildon_touch_selector_select_iter
5392 (hildon_touch_selector_get_active_iter): renamed, now is
5393 hildon_touch_selector_get_selected
5394 (hildon_touch_selector_unselect_iter): added
5395 * src/hildon-touch-selector.c
5396 Update after API modification (methods renamed)
5397 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5398 order to avoid problems selecting multiple elements on the column
5399 (hildon_touch_selector_unselect_iter): added the implementation
5400 * src/hildon-time-selector.c
5401 * src/hildon-date-selector.c
5402 * src/hildon-touch-selector-entry.c
5403 Update methods calls after hildon-touch-selector.h API modification (methods
5406 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5408 * src/hildon-stackable-window.c
5409 (hildon_stackable_window_finalize): Call the parent class's finalize.
5411 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5413 * examples/hildon-touch-selector-example.c: (create_selector): Use
5414 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5417 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5419 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5420 set a cell background color, to respect theming.
5422 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5424 * doc/hildon-docs.sgml
5427 * src/hildon-edit-toolbar.c
5428 * src/hildon-edit-toolbar.h
5429 * src/hildon.h: New HildonEditToolbar widget.
5431 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5433 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5436 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5437 * src/hildon-touch-selector.c
5438 (_create_new_column): use g_object_set instead of two g_object_set_property
5440 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5441 * src/hildon-touch-selector.c
5442 (_create_new_column): use of hildon_gtk_tree_view_new to create
5443 the treeview, instead of use directly g_object_new
5444 (_create_new_column): update the property name "vindicator-mode" for the
5445 new one "vscrollbar-policy"
5446 * examples/hildon-date-button-example.c
5447 * examples/hildon-picker-button-multicolumn-example.c
5448 * examples/hildon-touch-selector-entry-example.c
5449 * examples/hildon-touch-selector-example.c
5450 * examples/hildon-time-button-example.c
5451 * examples/hildon-picker-button-example.c
5452 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5453 to all the treeviews inside a pannable area.
5455 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5457 * src/hildon-button.h
5458 * src/hildon-button.c (hildon_button_init)
5459 (hildon_button_set_arrangement, hildon_button_set_alignment)
5460 (hildon_button_set_title_alignment)
5461 (hildon_button_set_value_alignment)
5462 (hildon_button_set_image_alignment)
5463 (hildon_button_construct_child): New methods to set the alignment
5464 of the individual components of the button (title, value,
5465 image). Also, new method to alter the xscale and yscale properties
5466 of the GtkAlignment inside the button, so more complex layouts can
5469 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5471 * src/hildon-button.c (hildon_button_style_set)
5472 (hildon_button_class_init, hildon_button_set_arrangement)
5473 (hildon_button_construct_child): Apply style properties
5474 correctly. Use the 'image-spacing' style property too.
5476 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5478 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5479 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5482 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5484 * src/hildon-pannable-area.c,
5485 (hildon_pannable_area_size_request): Fixed problem with
5486 pannable-area size_request.
5488 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5490 Added management for the grab-focus to a child widget, like a
5491 range, we need to fade out the scrollbar when releasing.
5493 * src/hildon-pannable-area.c,
5494 (hildon_pannable_area_init): Connected the grab-focus signal to
5496 (hildon_pannable_area_grab_notify): Added this function in order
5497 to manage the situation when the grab-focus ends. We have to
5498 fade-out the scrollbar.
5500 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5502 * src/hildon-app-menu.c: Minor documentation update.
5504 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5506 * src/hildon-app-menu.c
5507 * examples/hildon-app-menu-example.c (create_menu): Update
5508 examples and documentation to explain how to connect callbacks.
5510 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5512 * examples/hildon-button-example.c
5513 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5514 hildon_stackable_window_new instead of gtk_window_new
5516 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5518 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5519 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5520 (hildon_pannable_area_set_property),
5521 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5522 (hildon_pannable_area_unrealize),
5523 (hildon_pannable_area_size_request),
5524 (hildon_pannable_area_size_allocate),
5525 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5526 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5527 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5528 (hildon_pannable_area_initial_effect),
5529 (hildon_pannable_area_redraw),
5530 (hildon_pannable_area_scroll_indicator_fade),
5531 (hildon_pannable_area_expose_event),
5532 (hildon_pannable_area_get_topmost), (synth_crossing),
5533 (hildon_pannable_area_button_press_cb),
5534 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5535 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5536 (hildon_pannable_area_motion_notify_cb),
5537 (hildon_pannable_area_button_release_cb),
5538 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5539 (hildon_pannable_area_remove),
5540 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5541 chage the code layout to a more GtkWidget like. Review the use of
5544 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5546 * examples/hildon-pannable-area-example-4.c,
5547 (main): Modified the name of the hindicator_mode to
5550 * src/hildon-pannable-area.c,
5551 (hildon_pannable_area_class_init),
5552 (hildon_pannable_area_motion_notify_cb),
5553 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5554 we have reduced the amount of signals and managed reviewed its
5555 rationale. Changed the default decelerate value.
5557 (hildon_pannable_area_add),
5558 (hildon_pannable_area_redraw): Refactored functions.
5560 (hildon_pannable_area_init),
5561 (hildon_pannable_area_get_property),
5562 (hildon_pannable_area_set_property):
5563 (hildon_pannable_draw_vscroll),
5564 (hildon_pannable_draw_hscroll),
5565 (hildon_pannable_area_initial_effect),
5566 (hildon_pannable_area_expose_event),
5567 (hildon_pannable_area_scroll),
5568 (hildon_pannable_area_button_press_cb),
5569 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5570 and vindicator_mode with hscrollbar_policy and
5571 vscrollbar_policy. Replaced hscroll and vscroll with
5572 hscroll_visible and vscroll_visible.
5574 (hildon_pannable_area_refresh): Refactor the function, remove
5575 variables and check the calls to this function, added resize
5576 conditions in case the children change their layout.
5578 (hildon_pannable_area_size_request): Added more detailed
5579 size_request calculation.
5582 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5584 * src/hildon-color-chooser.c
5585 (init_borders): use the correct gtk_border_free instead of g_free, to
5586 avoid a crash when this widget is used (ie: the three color selection
5589 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5591 * src/hildon-check-button.c,
5592 (hildon_check_button_set_active): Fixed problem when setting the
5593 active value, the widget was not redrawn.
5595 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5597 * src/hildon-pannable-area.c,
5598 (hildon_pannable_area_refresh),
5599 (hildon_pannable_area_scroll),
5600 (hildon_pannable_area_motion_notify_cb): Small code style change.
5602 (hildon_pannable_area_class_init): Default initial_hint set to
5603 FALSE, it is not in the specs.
5605 (hildon_pannable_area_initial_effect),
5606 (hildon_pannable_area_expose_event),
5607 (hildon_pannable_area_map),
5608 (hildon_pannable_area_init): Moved the launching point of the
5609 initial effect, it was in map but the sizes where not correct in
5610 that method so we do not know if we have the reproduce it. Now it
5611 is placed in the expose_event method and uses a variable to
5612 reproduce it just once.
5614 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5616 * src/hildon-pannable-area.c,
5617 (hildon_pannable_draw_vscroll),
5618 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5619 position allowed for the scrollbars.
5621 (hildon_pannable_area_size_allocate): Small style change.
5623 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5625 * src/hildon-pannable-area.c,
5626 (hildon_pannable_area_scroll_indicator_fade),
5627 (hildon_pannable_area_button_press_cb),
5628 (hildon_pannable_area_button_release_cb),
5629 (hildon_pannable_area_scroll_cb),
5630 (hildon_pannable_area_expose_event),
5631 (hildon_pannable_area_init): Added the define parameter
5632 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5633 and refactor the fade variable.
5635 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5637 * src/hildon-pannable-area.c,
5638 (hildon_pannable_area_redraw),
5639 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5640 lines, we were reimplemeting the redraw code.
5642 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5644 * src/hildon-pannable-area.c,
5645 (hildon_pannable_area_scroll_cb),
5646 (hildon_pannable_area_realize),
5647 (hildon_pannable_area_class_init): Added scroll_event management
5648 for pannable area, now we can scroll the usual desktop method.
5650 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5651 initialization of the parameters should depend on idle_id.
5653 (hildon_pannable_area_init),
5654 (hildon_pannable_area_map): Small code style modifications
5656 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5658 * src/hildon-pannable-area.c
5659 (hildon_pannable_area_button_press_cb),
5660 (hildon_pannable_area_motion_notify_cb),
5661 (hildon_pannable_area_button_release_cb),
5662 (hildon_pannable_area_size_allocate),
5663 (hildon_pannable_area_scroll_to): Improved the timeouts
5664 management, we avoid creating them each time.
5666 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5668 * src/hildon-pannable-area.c:
5669 (hildon_pannable_area_refresh),
5670 (hildon_pannable_area_motion_notify_cb),
5671 (hildon_pannable_area_class_init):
5672 * src/hildon-pannable-area.h:
5673 * src/hildon-touch-selector.c
5674 (_create_new_column):
5675 * examples/hildon-pannable-area-example-4.c:
5676 (horizontal_movement),
5677 (vertical_movement),
5679 Replaced the names of enums in the HildonPannableArea:
5680 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5681 HILDON_MOVEMENT_MODE_*
5682 - HILDON_PANNABLE_AREA_MOV_* ->
5684 - Removed HildonPannableAreaIndicatorMode, now we
5687 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5689 * examples/hildon-pannable-area-touch-grid-example.c
5690 * examples/hildon-pannable-area-touch-list-example.c: Fix
5691 compilation warnings.
5693 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5695 * src/hildon-gtk.c (hildon_gtk_button_new)
5696 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5697 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5698 images overriding the value of the "gtk-button-images" setting.
5700 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5702 * src/hildon-check-button.c (hildon_check_button_new):
5703 Instead of using a custom container, display the label and the
5704 checkbox using the standard GtkButton API.
5706 * examples/hildon-check-button-example.c (main): Don't use
5707 hildon_check_button_set_label() anymore
5709 * src/hildon-check-button.h
5710 * src/hildon-check-button.c
5711 (hildon_check_button_set_label, hildon_check_button_get_label):
5712 Set as deprecated, now we're using gtk_button_{get,set}_label()
5714 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5716 * src/hildon-pannable-area.c,
5717 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5718 GtkTreeview first line we detected it after the inclusion of the
5719 GtkWindowImpl in gtk+. We now check if the window is visible, not
5720 just if the pointer is over the window.
5721 (hildon_pannable_axis_scroll),
5722 (hildon_pannable_area_expose_event): Small style changes.
5724 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5726 * src/hildon-button.c: Update documentation.
5728 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5730 * examples/hildon-button-example.c: Add a switch to show images in
5733 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5735 * doc/hildon-docs.sgml: Some docs reorganization.
5737 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5739 * examples/hildon-pannable-area-touch-list-example.c
5741 * examples/hildon-pannable-area-touch-grid-example.c
5742 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5743 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5744 Fix memory leak when setting the tree model.
5746 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5750 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5752 * doc/hildon.types: Remove duplicated hildon_window_get_type
5753 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5754 documentation comment.
5756 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5758 * doc/Makefile.am: Complete list of private headers.
5760 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5762 * doc/hildon-docs.sgml
5763 * src/hildon-app-menu.c
5764 * src/hildon-bread-crumb.c
5765 * src/hildon-button.c
5767 * src/hildon-program.c
5768 * src/hildon-stackable-window.c
5769 * src/hildon-window.c: Lots of documentation updates.
5771 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5773 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5775 * configure.ac: Require Gtk+ 2.12.9 at least
5777 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5779 * src/hildon-pannable-area.c
5780 (hildon_pannable_area_scroll_indicator_fade),
5781 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5782 to protect the return of this timeout callbacks, avoiding deadlocks.
5784 2008-08-12 Christian Dywan <christian@imendio.com>
5787 * src/hildon-*.h: Ensure a consistent include order,
5788 include <gtk/gtk.h> instead of particular files and
5789 only include the topmost header in the gtk stack. See NB #39857
5791 2008-08-12 Christian Dywan <christian@imendio.com>
5793 * src/hildon-picker-dialog.c
5794 * src/hildon-touch-selector.c: Fix warnings about unused and
5795 uninitialized variables.
5797 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5799 * examples/Makefile.am
5800 * examples/hildon-check-button-example.c: Example of the hildon
5803 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5805 * src/hildon-window.h
5806 * src/hildon-window.c (hildon_window_class_init)
5807 (hildon_window_unset_program): Don't make
5808 hildon_window_unset_program a virtual function anymore.
5810 * src/hildon-stackable-window.c: Update documentation
5812 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5815 * doc/hildon-docs.sgml
5816 * doc/visual_index.xml
5817 * src/hildon-defines.c
5819 * src/hildon-helper.c
5820 * src/hildon-range-editor.c: Lots of documentation fixes.
5822 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5824 * examples/hildon-picker-button-multicolumn-example.c
5825 (create_touch_selector): Fix compilation warning.
5827 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5829 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5830 (hildon_pannable_area_button_release_cb)
5831 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5833 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5835 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5838 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5840 * src/hildon-bread-crumb-trail.h
5841 * src/hildon-date-editor.c
5842 * src/hildon-date-selector.c
5843 * src/hildon-pannable-area.c
5844 * src/hildon-picker-dialog.c
5845 * src/hildon-time-selector.c
5846 * src/hildon-touch-selector-entry.c
5847 * src/hildon-touch-selector.c
5848 * src/hildon-touch-selector.h: Misc documentation fixes
5850 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5852 * examples/hildon-date-editor-example.c (main): Updated date
5855 * examples/hildon-note-example.c (on_confirmation_clicked):
5856 Updated confirmation note example.
5858 * src/hildon-date-editor.c
5859 * src/hildon-note.c: Updated sample programs in documentation.
5862 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5864 * src/hildon-date-button.h:
5865 * src/hildon-picker-button.h:
5866 * src/hildon-time-button.c:
5867 * src/hildon-time-button.h:
5869 Some declarations changes to allow gtk-doc to document the widgets
5872 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5874 * src/hildon-date-button.c: Document the widget.
5875 * src/hildon-time-button.c: Document the widget.
5877 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5879 * src/hildon-picker-button.c: Document the widget.
5880 * src/hildon-touch-selector-entry.c: Document the widget.
5882 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5884 * doc/hildon-docs.sgml
5887 * src/hildon-check-button.h
5888 * src/hildon-check-button.c: New functions to create the Hildon
5892 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5894 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5896 * src/hildon-button.h
5897 * src/hildon-button.c
5898 (hildon_button_add_title_size_group)
5899 (hildon_button_add_value_size_group)
5900 (hildon_button_add_image_size_group)
5901 (hildon_button_add_size_groups): New functions to set size groups
5902 for the button labels and image.
5903 (hildon_button_new_full): Removed
5905 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5907 * src/hildon-time-selector.c
5908 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5909 in order to avoid a crash if gconf is not available
5911 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5913 * src/hildon-button.c (hildon_button_set_arrangement)
5914 (hildon_button_construct_child): Don't construct the button child
5915 before setting the arrangement.
5917 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5919 * src/hildon-program-private.h
5920 * src/hildon-program.c
5921 * src/hildon-program.h
5922 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5923 (hildon_program_peek_window_stack)
5924 (hildon_program_pop_window_stack)
5925 (hildon_program_go_to_root_window): HildonProgram now has a
5926 separate list for stackable windows. Functions are provided to
5927 manage that list with a stack-like API.
5929 * src/hildon-stackable-window.c: Stackable window management is
5930 now much simpler with the new HildonProgram API. Windows no
5931 longer need to be manually added to the program, they're
5932 automatically pushed to the top of the stack when shown.
5934 * examples/hildon-stackable-window-example.c: Updated example to
5935 reflect the API changes.
5937 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5939 * src/hildon-touch-selector.c: Comment out unimplemented
5940 hildon_touch_selector_insert_column() to avoid a compile warning.
5942 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5944 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5945 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5946 (hildon_touch_selector_set_column_selection_mode),
5947 (_hildon_touch_selector_set_model),
5948 (hildon_touch_selector_set_model):
5950 Complete review of HildonTouchSelector documentation.
5952 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5954 * doc/hildon-docs.sgml
5958 * src/hildon-gtk.c: Convenience functions for standard Gtk
5959 widgets, used to easily perform frequent operations.
5961 * src/hildon-button-helpers.h
5962 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5964 * src/hildon-helper.h
5965 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5966 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5968 * src/hildon-button.h
5969 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5971 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5973 * src/hildon-button.c (hildon_button_init)
5974 (hildon_button_set_arrangement, hildon_button_construct_child):
5975 Pack the image and the labels inside the same GtkAlignment so
5976 gtk_button_set_alignment() can be used
5978 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5980 * src/hildon-button.h
5981 * src/hildon-button.c
5982 (hildon_button_init, hildon_button_set_image)
5983 (hildon_button_set_image_position)
5984 (hildon_button_construct_child): New functions to add an image to
5987 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5989 * src/hildon-date-button.c
5990 * src/hildon-picker-button.c
5991 * src/hildon-time-button.c
5992 * src/hildon-button.c:
5993 (hildon_button_class_init): "size-flags" renamed to "size"
5994 (hildon_button_set_title): Hide the title label if set to NULL.
5996 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5998 HildonButtonFlags split into HildonButtonArrangement (to set the
5999 button layout) and HildonSizeType (which can be used for any
6002 * src/hildon-button.h
6003 * src/hildon-button.c
6004 (hildon_button_class_init)
6005 (hildon_button_set_arrangement)
6006 (hildon_button_set_property): New "size-flags"
6007 property. "arrangement-flags" renamed to "arrangement".
6008 (hildon_button_new, hildon_button_new_with_text)
6009 (hildon_button_new_full): Constructors updated to reflect type changes.
6011 * src/hildon-helper.h
6012 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6013 to set the size of a widget.
6017 * src/hildon-button-helpers.c
6018 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6020 * src/hildon-date-button.c
6021 * src/hildon-date-button.h
6022 * src/hildon-picker-button.c
6023 * src/hildon-picker-button.h
6024 * src/hildon-time-button.c
6025 * src/hildon-time-button.h: Updated widgets to reflect
6026 HildonButton API changes.
6028 * examples/hildon-button-example.c
6029 * examples/hildon-date-button-example.c
6030 * examples/hildon-picker-button-example.c
6031 * examples/hildon-picker-button-multicolumn-example.c
6032 * examples/hildon-time-button-example.c
6033 * examples/hildon-touch-selector-entry-example.c
6034 * examples/hildon-touch-selector-example.c: Updated examples to
6035 reflect HildonButton API changes.
6037 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6039 * doc/hildon-docs.sgml:
6041 * examples/Makefile.am:
6042 * examples/hildon-touch-selector-entry-example.c:
6044 * src/hildon-touch-selector-entry.c:
6045 * src/hildon-touch-selector-entry.h:
6048 Moved HildonTouchSelectorEntry from sandbox. Added its
6049 documentation and examples.
6051 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6053 * src/hildon-touch-selector.h:
6054 * examples/hildon-picker-button-multicolumn-example.c:
6055 (hildon_touch_selector_append_text_column): Add a gboolean
6056 parameter to determine if text must be centered in the column.
6058 * src/hildon-date-selector.c: (hildon_date_selector_init):
6059 * src/hildon-time-selector.c: (hildon_time_selector_init):
6060 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6061 (create_touch_selector): Update widgets and example to reflect
6064 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6066 * src/hildon-touch-selector.c:
6067 (hildon_touch_selector_set_active_iter): Set also the cursor in
6070 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6072 * doc/hildon-docs.sgml
6075 * src/hildon-toggle-button.c
6076 * src/hildon-toggle-button.h
6077 * src/hildon.h: Removed HildonToggleButton widget, a derived
6078 class is not necessary for this.
6080 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6082 * src/hildon-pannable-area.c,
6083 (hildon_pannable_area_realize),
6084 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6087 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6089 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6090 "done" button the default widget for the dialog.
6092 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6094 * src/hildon-touch-selector.c:
6095 (hildon_touch_selector_class_init),
6096 (hildon_touch_selector_get_property),
6097 (_hildon_touch_selector_set_model),
6098 (_hildon_touch_selector_has_multiple_selection),
6099 (hildon_touch_selector_has_multiple_selection):
6100 Add a "has-multiple-selection" property with a virtual
6101 has_multiple_selection() method to allow derived classes to
6102 override the default value for it. See the method and property
6103 documentation for details.
6105 * src/hildon-touch-selector.h: Add the new API.
6107 * src/hildon-picker-dialog.c: (requires_done_button): Call
6108 hildon_touch_selector_has_multiple_selection() instead of
6109 determining the need for a button itself.
6111 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6113 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6114 (_hildon_touch_selector_set_model),
6115 (hildon_touch_selector_set_model): Move working code to
6116 _hildon_touch_selector_set_mode(). Call the class method instead.
6118 * src/hildon-touch-selector.h: Add (*set_model) to
6119 HildonTouchSelectorClass.
6121 Make hildon_touch_selector_set_model() a virtual method, so that
6122 derived classes can extend it and do fancy stuff with the model.
6124 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6126 * configure.ac: Set back the tarname in AC_INIT to hildon.
6128 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6132 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6133 instead of libesd (NB#86876). Volume handling is still an open issue.
6135 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6138 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6140 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6141 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6142 derived class to ease placement of an entry widget in
6143 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6144 end, where the selector columns are packed now.
6146 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6148 * src/hildon-picker-button.c: Removed the simple _text() API.
6149 * src/hildon-picker-button.h: Likewise.
6151 * src/hildon-touch-selector.h:
6152 * src/hildon-touch-selector.c:
6153 (hildon_touch_selector_new_text),
6154 (hildon_touch_selector_append_text),
6155 (hildon_touch_selector_prepend_text),
6156 (hildon_touch_selector_insert_text):
6158 Moved the simple _text() API from HildonPickerButton to
6159 HildonTouchPicker, to provide better escalability and not to tie
6160 that API to HildonPickerButton.
6162 * examples/hildon-picker-button-example.c: (main): Example updated.
6164 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6166 * src/hildon-button.c: Updated documentation.
6168 * examples/hildon-button-example.c: Add the posibility to create
6169 the buttons using horizontal layout for title and value.
6171 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6173 * src/hildon-app-menu-private.h
6174 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6175 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6176 GtkSizeGroup for the filters, use the 'homogeneous' property of
6179 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6181 * examples/hildon-button-example.c: Updated example.
6183 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6185 * doc/hildon-docs.sgml:
6188 Update documentation.
6190 * examples/Makefile.am: Update renamed examples.
6192 * examples/hildon-picker-button-multicolumn-example.c:
6193 (create_touch_selector), (main): Update after the rename.
6195 * examples/hildon-touch-picker-example.c: Removed.
6196 * examples/hildon-touch-selector-example.c: (value_changed),
6197 (create_selector), (get_visible_content), (main): Renamed from
6198 hildon-touch-picker-example.c
6200 * src/Makefile.am: Updated renamed files.
6202 * src/hildon-date-button.c: (hildon_date_button_init),
6203 (hildon_date_button_get_date), (hildon_date_button_set_date):
6204 * src/hildon-date-selector.c: (hildon_date_selector_init),
6205 (_custom_print_func), (_update_day_model),
6206 (_manage_selector_change_cb),
6207 (hildon_date_selector_select_current_date),
6208 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6209 * src/hildon-date-selector.h:
6210 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6211 (hildon_picker_button_set_property),
6212 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6213 (hildon_picker_button_init), (hildon_picker_button_new_text),
6214 (hildon_picker_button_append_text),
6215 (hildon_picker_button_prepend_text),
6216 (hildon_picker_button_insert_text),
6217 (hildon_picker_button_set_selector),
6218 (hildon_picker_button_get_selector):
6219 * src/hildon-picker-button.h:
6220 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6221 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6222 (_update_title_on_selector_changed_cb), (requires_done_button),
6223 (_hildon_picker_dialog_set_selector),
6224 (hildon_picker_dialog_set_selector),
6225 (hildon_picker_dialog_get_selector):
6226 * src/hildon-picker-dialog.h:
6227 * src/hildon-time-button.c: (hildon_time_button_init),
6228 (hildon_time_button_get_time), (hildon_time_button_set_time):
6229 * src/hildon-time-selector.c: (hildon_time_selector_init),
6230 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6231 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6232 * src/hildon-time-selector.h:
6235 Massive code updates after the rename.
6237 * src/hildon-touch-picker.c: Removed.
6238 * src/hildon-touch-picker.h: Removed.
6240 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6241 (hildon_touch_selector_init), (hildon_touch_selector_map),
6242 (hildon_touch_selector_remove), (_default_print_func),
6243 (_selection_changed_cb), (_create_new_column),
6244 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6245 (hildon_touch_selector_append_text_column),
6246 (hildon_touch_selector_remove_column),
6247 (hildon_touch_selector_set_column_attributes),
6248 (hildon_touch_selector_insert_column),
6249 (hildon_touch_selector_get_num_columns),
6250 (hildon_touch_selector_get_column_selection_mode),
6251 (hildon_touch_selector_set_column_selection_mode),
6252 (hildon_touch_selector_set_print_func),
6253 (hildon_touch_selector_get_print_func),
6254 (hildon_touch_selector_get_active_iter),
6255 (hildon_touch_selector_set_active_iter),
6256 (hildon_touch_selector_get_selected_rows),
6257 (hildon_touch_selector_get_model),
6258 (hildon_touch_selector_set_model),
6259 (hildon_touch_selector_get_current_text),
6260 (_hildon_touch_selector_center_on_selected_items):
6261 * src/hildon-touch-selector.h: Renamed from
6262 hildon-touch-picker.[ch]
6264 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6265 references, code examples, and related documentation.
6267 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6269 * doc/hildon-docs.sgml
6272 * src/hildon-toggle-button.c
6273 * src/hildon-toggle-button.h
6274 * src/hildon.h: New HildonToggleButton widget.
6276 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6278 * src/hildon-button.c: Add API documentation.
6279 (hildon_button_set_size_groups): Check input parameters
6281 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6283 * src/hildon-pannable-area.c
6284 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6285 effect after reaching the movement thredshold. This way we start
6286 using the distance after passing the thredshold.
6288 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6290 * src/hildon-button.c: (hildon_button_set_property): Use the
6291 appropriate g_value_get_flags() method.
6293 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6295 * doc/hildon-docs.sgml:
6298 Add the touch pickers, picker dialogs, and picker button widgets
6299 to the documentation.
6301 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6303 * src/hildon-button.c: (hildon_button_set_property),
6304 (hildon_button_class_init): Make "arrangement-flags" a proper
6305 G_TYPE_FLAGS derived property.
6307 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6309 * examples/Makefile.am: Add below examples.
6310 * examples/hildon-date-button-example.c:
6311 * examples/hildon-picker-button-example.c:
6312 * examples/hildon-picker-button-multicolumn-example.c:
6313 * examples/hildon-time-button-example.c:
6314 * examples/hildon-touch-picker-example.c:
6316 Add examples for the recently added touch pickers,
6317 picker dialogs, and picker button widgets.
6319 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6321 * src/hildon-button.c: Add some API documentation
6323 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6325 * src/hildon-button.h
6326 * src/hildon-button.c
6328 (hildon_button_new_with_text): New constructor to create a button
6329 with no text at all.
6330 (hildon_button_init, hildon_button_set_arrangement)
6331 (hildon_button_set_title, hildon_button_set_value)
6332 (hildon_button_set_text)
6333 (hildon_button_construct_child): Hide the value when it's not used
6334 so the rest of the text is properly aligned.
6335 Allow creating buttons with arbitrary widgets inside (not just
6336 title/value labels).
6338 * examples/hildon-button-example.c (vertical_buttons_window)
6339 (horizontal_buttons_window): Update example to use new API.
6341 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6343 * src/Makefile.am: Added HildonTimeButton.
6344 * src/hildon-time-button.c: Added missing LGPL header.
6345 * src/hildon-time-button.h: Added missing LGPL header.
6346 * src/hildon.h: Add hildon-time-button.h
6348 Copied HildonTimeButton from sandbox to trunk. Future work on this
6349 widget must take place in trunk.
6351 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6353 * src/Makefile.am: Added HildonDateButton.
6354 * src/hildon-date-button.c: Update includes.
6355 * src/hildon.h: Add hildon-date-button.h
6357 Copied HildonDateButton from sandbox to trunk. Future work on this
6358 widget must take place in trunk.
6360 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6362 * src/Makefile.am: Added HildonPickerButton.
6363 * src/hildon-picker-button.h: Update includes.
6364 * src/hildon.h: Add hildon-picker-button.h
6366 Copied HildonPickerButton from sandbox to trunk. Future work on
6367 this widget must take place in trunk.
6369 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6371 * src/Makefile.am: Added HildonPickerDialog.
6372 * src/hildon-picker-dialog.c: Update includes.
6373 * src/hildon.h: Add hildon-picker-dialog.h
6375 Copied HildonPickerDialog from sandbox to trunk. Future work
6376 on this widget must take place in trunk.
6378 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6380 * src/Makefile.am: Added HildonTimeSelector.
6381 * src/hildon.h: Add hildon-time-selector.h
6383 Copied HildonTimeSelector widget from sandbox to trunk. Future
6384 work on this widget must happen in trunk.
6386 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6388 * src/Makefile.am: Added HildonDateSelector.
6389 * src/hildon.h: Add hildon-date-selector.h
6391 Copied HildonDateSelector widget from sandbox to trunk. Future
6392 work on this widget must happen in trunk.
6394 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6396 * src/Makefile.am: Added HildonTouchPicker.
6397 * src/hildon-touch-picker.c: Update includes.
6398 * src/hildon.h: Add hildon-touch-picker.h
6400 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6401 on this widget must happen in trunk.
6403 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6405 * src/hildon-pannable-area.c:
6406 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6408 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6410 * examples/hildon-app-menu-example.c (main): Let the window
6413 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6415 * src/hildon-pannable-area.c
6416 (hildon_pannable_area_class_init): Set the min value of the
6417 overshoot properties to zero, which points out that not
6418 overshooting allowed.
6420 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6422 Modified the procedure to get the widget at a point inside the
6423 pannable area when using the movement type signals. Now the user
6424 has to call a function to get the child, that way we just
6425 calculate the child in case the user really want to use it and not
6428 * src/hildon-marshalers.list: Modified the marshallers, now we do
6429 not have the widget as a parameter.
6431 * src/hildon-pannable-area.c
6432 (hildon_pannable_area_motion_notify_cb),
6433 (hildon_pannable_area_class_init),
6434 (hildon_pannable_get_child_widget_at): Removed the widget
6435 parameter from the signal callback. We have also refactored the
6436 emission of the signals.
6438 * src/hildon-pannable-area.h: Added a new method to the API to
6439 calculate a widget at a point inside the pannable area,
6440 hildon_pannable_get_child_widget_at.
6442 * examples/hildon-pannable-area-example-4.c
6443 (horizontal_movement): Modified the example to use the new API,
6444 added condition to control which widget is under the event. This
6445 way we can avoid scrolling laterally over other widgets.
6447 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6449 * src/hildon-pannable-area.c
6450 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6451 modes, we stop getting the pointer events due to returning the
6452 callback without properly calling the get pointer again. Fixed
6453 also an error using the hscroll and vscroll.
6455 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6457 * src/hildon-app-menu-private.h
6458 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6459 (hildon_app_menu_button_release, hildon_app_menu_init)
6460 (hildon_app_menu_class_init): Don't hide the menu on button
6461 release if the user didn't press outside first.
6463 * src/hildon-window.h
6464 * src/hildon-window.c (hildon_window_toggle_menu)
6465 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6466 hildon_window_toggle_menu a virtual function for the stackable
6467 window to override it.
6469 * src/hildon-stackable-window.h
6470 * src/hildon-stackable-window-private.h
6471 * src/hildon-stackable-window.c
6472 (hildon_stackable_window_realize)
6473 (hildon_stackable_window_finalize)
6474 (hildon_stackable_window_class_init)
6475 (hildon_stackable_window_init)
6476 (hildon_stackable_window_set_main_menu): New function to set the
6477 app menu of a HildonStackableWindow.
6479 * examples/hildon-app-menu-example.c: Remove the button to show
6480 the app menu, now it'll be shown when clicking on the title bar
6483 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6485 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6486 set the widget name if the arrangement flags do not specify
6489 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6491 * src/hildon-button.c: (hildon_button_set_property),
6492 (hildon_button_class_init), (hildon_button_new_full),
6493 (hildon_button_set_arrangement): Added "arrangement-flags"
6496 Make the HildonButtonFlags a construction-only property, to allow
6497 subclasses to set them properly.
6499 2008-07-21 Tim Janik <timj@imendio.com>
6501 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6502 insertion position after backspace, so additional digits are appended,
6505 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6507 * src/hildon-pannable-area.c,
6508 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6509 TODO list, it was complete and removed the g_debug and g_print
6512 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6514 Added the movement modes to the hildon-pannable-area, with this
6515 modes the developers can control in which directions the widget
6516 can scroll. They can also connect to signals in order to do
6517 something when that happens, allowing applications scroll. There
6518 is an example uploaded showing how to use it.
6520 * examples/Makefile.am:
6521 * examples/hildon-pannable-area-example-4.c: Added this example of
6522 an application using the modes.
6524 * src/hildon-marshalers.list: Added a new marshaller for the new
6527 * src/hildon-pannable-area.h: Added new enumerations and flags in
6528 order to control the movement modes and the new signals to warn
6529 about the movements in the area.
6531 * src/hildon-pannable-area.c:
6532 (hildon_pannable_axis_scroll),
6533 (hildon_pannable_area_scroll),
6534 (hildon_pannable_area_motion_notify_cb),
6535 (hildon_pannable_area_get_property),
6536 (hildon_pannable_area_set_property),
6537 (hildon_pannable_area_map),
6538 (hildon_pannable_area_class_init),
6539 (hildon_pannable_area_init),
6540 (hildon_pannable_area_jump_to): Added the modes to control the
6541 movement in the widget. We have added properties to control it,
6542 signals to warn about the movements and refactored some code.
6544 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6546 Changes required in order to allow vfast_factor set to zero to
6549 * src/hildon-pannable-area.c:
6550 (hildon_pannable_area_button_press_cb): Changed the condition, it
6551 is required for not allowing click when vfast_factor is zero.
6552 (hildon_pannable_area_timeout): Initialized velocity variables
6553 when we stop moving, it was less than 1 but not zero and we need
6554 to check zero in some situations.
6555 (hildon_pannable_area_class_init): Changed the default value of
6556 the speed factor, now the button_press is just sent in case the
6557 speed is 2 per cent of the max speed.
6558 (hildon_pannable_area_init): Initialization with 0.
6560 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6562 * src/hildon-pannable-area.c,
6563 (hildon_pannable_area_get_topmost): replaced
6564 gdk_window_get_children with gdk_window_peek_children, this way we
6565 do not have to free the list because it is not a copy.
6567 (hildon_pannable_axis_scroll),
6568 (hildon_pannable_area_scroll),
6569 (hildon_pannable_area_timeout),
6570 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6571 two parameters that were only used inside the
6572 hildon_pannable_area_scroll function.
6574 * examples/hildon-pannable-area-example.c,
6575 (get_sawtooth_label): Fixed small memory leak.
6577 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6579 More checks for the case where the overshoot is bigger than the
6582 * src/hildon-pannable-area.c:
6583 (hildon_pannable_draw_vscroll),
6584 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6585 to draw the slider of the scrollbar under the other scrollbar.
6586 (hildon_pannable_area_expose_event): added new checks to control
6587 the drawing of the overshooting area rectangle, in case it is too
6588 big for the area of the widget.
6589 (hildon_pannable_area_size_allocate): add more checks to avoid
6590 setting a position to the child widget outside the area.
6592 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6594 * src/hildon-pannable-area.c
6595 (hildon_pannable_area_size_allocate): Added conditions to control
6596 when overshooting is bigger than the allocated space for the
6597 children, this avoids negative allocations.
6599 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6601 * doc/hildon-docs.sgml
6603 * examples/Makefile.am
6604 * examples/hildon-button-example.c
6606 * src/hildon-button.c
6607 * src/hildon-button.h
6608 * src/hildon.h: Initial version of the new HildonButton widget,
6611 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6613 * src/hildon-pannable-area.c:
6614 (hildon_pannable_area_button_press_cb),
6615 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6616 (hildon_pannable_area_motion_notify_cb),
6617 (hildon_pannable_area_button_release_cb),
6618 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6619 (hildon_pannable_area_jump_to_child):
6621 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6623 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6625 * examples/Makefile.am
6626 * examples/hildon-pannable-area-touch-grid-example.c
6627 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6628 the Hildon Touch List and Hildon Touch Grid using the
6629 HildonPannableArea widget.
6631 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6633 * src/hildon-pannable-area.c,
6634 (hildon_pannable_area_button_press_cb),
6635 (hildon_pannable_area_refresh),
6636 (hildon_pannable_area_scroll),
6637 (hildon_pannable_area_motion_notify_cb),
6638 (hildon_pannable_area_button_release_cb),
6639 (hildon_pannable_area_expose_event),
6640 (hildon_pannable_area_add),
6641 (hildon_pannable_area_remove),
6642 (hildon_pannable_area_realize),
6643 (hildon_pannable_area_size_allocate),
6644 (hildon_pannable_area_class_init),
6645 (hildon_pannable_area_init),
6646 (hildon_pannable_area_scroll_to_child),
6647 (hildon_pannable_area_jump_to_child): Fixed the problem of
6648 removing the child from the GtkBin, we have rearranged the widget
6649 hierarchy, now there is no GtkAlignment which was not doing
6650 anything interesting but breaking some of the assumptions of
6651 GtkContainer. Now developers if they want to add a GtkAlignment
6652 they could, but it is not inside the area.
6654 We had to review the whole allocation/expose process, now it is
6655 improved and we save at least three signals which would be saving
6656 some time when rendering the widget. The allocation of the
6657 scrollbars is now made in the allocate method as usual.
6659 We have also added some conditions in order to control when there
6660 is no child of the pannable area. Maybe we will need more work
6663 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6665 * src/hildon-pannable-area.c,
6666 (hildon_pannable_area_dispose): Released the fade-out timeout when
6667 disposing the widget.
6669 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6671 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6672 zero, we are going to use that property in order to deactivate the
6674 (hildon_pannable_axis_scroll),
6675 (hildon_pannable_area_size_allocate): Added conditions to control
6676 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6677 call, now it is called in all situations and we can remove calls
6678 in the allocate method.
6679 (hildon_pannable_area_map): Control the situation when
6680 overshoot_max is zero, we do not need the timeout.
6681 (hildon_pannable_area_class_init): Added documentation in order to
6682 point out that setting zero to overshoot_max means deactivate
6685 NOTE: removed trailing whitespaces from my previous comments of
6688 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6690 * src/hildon-pannable-area.c
6691 (hildon_pannable_area_get_property),
6692 (hildon_pannable_area_set_property),
6693 (hildon_pannable_area_map),
6694 (hildon_pannable_area_class_init),
6695 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6696 to cause the widget give a hint about its panning abilities upon
6699 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6701 * src/hildon-pannable-area.c: Several documentation improvements.
6703 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6705 * src/hildon-program.c
6706 * src/hildon-stackable-window.c: Update documentation.
6708 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6710 * src/hildon-stackable-window.c (get_previous_window_if_last):
6711 Renamed get_last_window()
6712 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6713 (hildon_stackable_window_unset_program):
6715 (get_previous_window_if_last):
6716 Detect if the window hasn't been added to a HildonProgram.
6718 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6720 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6722 * src/hildon-pannable-area.c
6723 (hildon_pannable_area_button_press_cb),
6724 (hildon_pannable_axis_scroll),
6725 (hildon_pannable_area_scroll),
6726 (hildon_pannable_area_timeout),
6727 (hildon_pannable_calculate_vel_factor),
6728 (hildon_pannable_area_get_property),
6729 (hildon_pannable_area_set_property),
6730 (hildon_pannable_area_class_init),
6731 (hildon_pannable_area_init),
6732 (hildon_pannable_area_scroll_to),
6733 (hildon_pannable_area_jump_to),
6734 (hildon_pannable_area_scroll_to_child),
6735 (hildon_pannable_area_jump_to_child):
6736 * src/hildon-pannable-area.h: Added the new API functions:
6737 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6738 hildon_pannable_area_scroll_to_child,
6739 hildon_pannable_area_jump_to_child
6742 * examples/Makefile.am
6743 * examples/hildon-pannable-area-example-2.c
6744 * examples/hildon-pannable-area-example-3.c: Added these two new
6745 examples in order to test and show how the new APIs work.
6747 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6749 * examples/hildon-stackable-window-example.c (new_window):
6750 * src/Makefile.am (noinst_HEADERS):
6751 * src/hildon-program.c (hildon_program_go_to_root_window):
6752 * src/hildon-program.h:
6753 * src/hildon-stackable-window-private.h:
6754 * src/hildon-stackable-window.c:
6755 * src/hildon-stackable-window.h:
6756 Create hildon-stackable-window-private.h
6757 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6759 * examples/hildon-app-menu-example.c (create_menu):
6760 * examples/hildon-hvolumebar-insensitive-example.c (main):
6761 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6762 * examples/hildon-toolbar-seekbar-example.c (main):
6763 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6764 * src/hildon-banner.c (hildon_banner_set_property):
6765 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6766 Fix compilation warnings
6768 * src/hildon-window.c:
6771 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6773 * src/hildon-stackable-window.c
6774 (hildon_stackable_window_unset_program):
6775 Calculate correctly whether to show the previous window if the
6776 last one is removed from the stack.
6777 (hildon_stackable_window_go_to_root_window):
6778 Send delete events starting from the topmost window.
6779 Stop if one of the windows is not destroyed.
6781 (hildon_stackable_window_delete_event)
6782 (hildon_stackable_window_class_init):
6783 Ignore the delete event if the window is not the topmost one.
6785 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6787 * src/hildon-pannable-area.c
6788 (hildon_pannable_area_expose_event): Fixed a problem when
6789 selecting the background color of the scrollbars.
6791 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6793 * examples/hildon-stackable-window-example.c
6794 * src/hildon-stackable-window.c
6795 * src/hildon-stackable-window.h
6796 hildon_stackable_window_go_home() renamed to
6797 hildon_stackable_window_go_to_root_window()
6798 Send delete events to windows rather than closing them with
6799 gtk_widget_destroy()
6801 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6803 * src/hildon-pannable-area.c
6804 (hildon_pannable_area_button_release_cb): Fix overshooting in
6807 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6809 * src/hildon-pannable-area.c
6810 (hildon_pannable_area_init): Initially show the scroll indicators.
6811 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6813 Add initial effect showing the widget is pannable.
6815 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6817 * src/hildon-pannable-area.c
6818 (hildon_pannable_area_class_init)
6819 (hildon_pannable_area_set_property)
6820 (hildon_pannable_area_get_property)
6821 (hildon_pannable_area_button_press_cb):
6822 New 'velocity_fast_factor' property to decide which velocity is
6825 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6827 * src/hildon-pannable-area.c
6828 (hildon_pannable_draw_hscroll)
6829 (hildon_pannable_draw_vscroll):
6830 Use float variables to calculate the size of the scrollbars to
6831 avoid error propagation and resizing during scrolling.
6833 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6835 * src/hildon-pannable-area.c
6836 (hildon_pannable_draw_vscroll)
6837 (hildon_pannable_draw_hscroll):
6838 Define a minimum size for the scroll bars
6840 * src/hildon-stackable-window.c
6841 (hildon_stackable_window_go_home): Fix compilation warning
6842 (get_last_window): Minor optimizations
6843 (hildon_stackable_window_class_init): Fix initialization of
6846 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6848 * src/hildon-stackable-window.c: Fixed typos in doc
6850 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6852 * src/hildon-pannable-area.c
6853 (hildon_pannable_area_scroll):
6854 Calculate here whether we need to scroll instead of using the booleans
6855 that tell us whether to /draw/ the scrolling bars.
6857 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6859 * src/hildon-app-menu.h
6861 * src/hildon-app-menu.c
6862 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6863 multiple filter groups related code and API. Now we support only
6865 * examples/hildon-app-menu-example.c:
6867 Update to reflect API changes.
6869 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6871 * src/hildon-stackable-window.c
6872 (hildon_stackable_window_class_init):
6873 Add hildon_stackable_window_realize.
6874 (hildon_stackable_window_realize):
6875 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6876 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6877 to apply theming and behavior specific to HildonStackableWindow
6880 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6882 * src/hildon-note.c (hildon_note_button_release):
6883 Close information notes also when tapping on them
6885 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6887 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6888 ELASTICITY, refactor and review, fix some issues with drawing
6891 * src/hildon-pannable-area.c:
6892 (hildon_pannable_area_button_press_cb): removed the conditions to
6893 avoid clicks when overshooting. It is not required
6895 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6896 define. Refatored and reviewed the code, now we do not need to
6897 manage velocity in motion_notify.
6899 (hildon_pannable_area_motion_notify_cb): We have moved the code
6900 that controls the area_scroll to the axis_scroll function and get
6901 rid of duplicated code.
6903 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6905 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6907 (hildon_pannable_draw_vscroll),
6908 (hildon_pannable_draw_hscroll): Fixed the problems with the
6909 scrollbar drawing, now we do not use two surfaces, it is easier
6910 and saves resources.
6912 (hildon_pannable_area_get_property): Style modification.
6914 (hildon_pannable_area_class_init): Changed some default values.
6916 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6918 * src/hildon-stackable-window.c: Fix some typos in the
6921 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6923 * src/hildon-dialog.c:
6924 Change indentation style
6927 (hildon_note_button_release):
6928 Use root coordinates to check if the release event happened
6931 * src/hildon-app-menu.c
6932 (hildon_app_menu_button_release):
6933 Remove unnecessary check
6935 * examples/hildon-app-menu-example.c
6937 Add cast to fix warning
6939 * src/hildon-app-menu.c
6940 (hildon_app_menu_class_init):
6941 New inner-border style property.
6942 Set all default spacings to 16
6943 (hildon_app_menu_init):
6944 Use vertical-spacing to set the space between filter buttons and
6945 regular menu buttons.
6946 Set the default container border using the inner-border value.
6948 * examples/hildon-app-menu-example.c
6950 Don't set the menu border explicitly, now we have the inner-border
6951 style property for that.
6953 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6955 * src/hildon-app-menu.c (hildon_app_menu_init):
6956 Make the window modal
6958 * src/hildon-note.c (hildon_note_map)
6959 * src/hildon-app-menu.c (hildon_app_menu_map):
6960 Destroy the grab window if we're unable to grab the pointer
6962 * src/hildon-app-menu-private.h
6963 * src/hildon-app-menu.c
6964 (hildon_app_menu_init, hildon_app_menu_finalize)
6965 (hildon_app_menu_map, hildon_app_menu_unmap)
6966 (hildon_app_menu_button_release)
6967 (grab_transfer_window_get):
6968 Bring back the grab window
6969 (hildon_app_menu_realize):
6970 Decorate the window, set WM hint for Matchbox
6972 * src/hildon-note.c (hildon_note_realize):
6973 * src/hildon-banner.c (hildon_banner_realize):
6974 Add WM hints for Matchbox
6976 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6978 * src/hildon-app-menu-private.h
6979 * src/hildon-app-menu.c
6980 (hildon_app_menu_init, hildon_app_menu_finalize)
6981 (hildon_app_menu_map, hildon_app_menu_unmap)
6982 (hildon_app_menu_button_release):
6983 Remove the grab window, it's not needed anymore
6985 * src/hildon-program.c
6986 Fixed typo in documentation
6988 * src/hildon-app-menu.h
6989 * src/hildon-app-menu.c
6990 * examples/hildon-app-menu-example.c
6991 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6993 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6996 Added new transfer_window and close_if_pressed_outside private
6998 (hildon_note_rebuild):
6999 Don't add a cancel button to the information note. It will be
7000 closed when tapping outside
7001 Remove the comment about the OK button in the documentation
7002 (hildon_note_realize):
7003 Set the notification type hint
7004 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7005 Grab/ungrab pointer and keyboard if the note has to be closed when
7007 (hildon_note_button_release):
7008 Close the note when tapping outside (if applicable)
7010 * src/hildon-app-menu.c
7011 Grab/ungrab pointer and keyboard on map/unmap
7012 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7013 Close the menu on button release, not button press
7015 * src/hildon-banner.c
7016 (hildon_banner_set_property)
7017 (hildon_banner_check_position):
7018 Make the banner use the full width of the screen
7019 (hildon_banner_show_information)
7020 (hildon_banner_show_information_with_markup):
7021 Don't display an icon by default
7023 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7025 Added fading scrollbars and adapted all the overshooting code to
7026 horizontal scrolling. We have also fixed bugs with overshooting
7027 and current fading implementation.
7029 * src/hildon-pannable-area.c
7030 (hildon_pannable_area_scroll_indicator_fade): Time out function
7031 used to change the transparency of the scrollbars.
7033 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7034 control and fixed a problem with fading, we now remove the fade
7035 timeout before adding a new one.
7037 (hildon_pannable_axis_scroll):
7038 (hildon_pannable_area_scroll):
7039 (hildon_pannable_area_timeout): Added this functions so we can use
7040 the scroll code both for vertical and horizontal.
7042 (hildon_pannable_area_motion_notify_cb):
7043 (hildon_pannable_area_button_release_cb): Added the horizontal
7044 scrolling control, fixed a problem with the overshooting timeout.
7046 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7047 painting of the scrolls.
7049 (hildon_pannable_draw_vscroll):
7050 (hildon_pannable_draw_hscroll):
7051 (hildon_pannable_area_expose_event):
7052 Draw both scrollbars and rectangles in the overshooting area.
7054 (hildon_pannable_area_get_property):
7055 (hildon_pannable_area_set_property):
7056 Modified the overshoot property to overshoot_max
7058 (hildon_pannable_area_map):
7059 Replaced the comments symbols.
7061 (hildon_pannable_area_size_allocate):
7062 (hildon_pannable_area_class_init):
7063 (hildon_pannable_area_init): Added horizontal scroll, fading
7064 effect properties, fixed a problem when overshooting in the bottom
7067 * examples/hildon-pannable-area-example.c:
7068 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7069 looks better in the example.
7071 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7073 * src/hildon-window.c
7074 * src/hildon-window.h
7075 (hildon_window_class_init)
7076 (hildon_window_unset_program)
7077 (hildon_window_unset_program_real):
7078 Make unset_program a virtual function
7080 * src/hildon-stackable-window.c
7081 * src/hildon-stackable-window.h
7082 Added hildon_stackable_window_go_home()
7084 * examples/Makefile.am
7085 * examples/hildon-stackable-window-example.c
7086 HildonStackableWindow example
7088 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7090 * hildon-pannable-area.c: Added the overshoot property and removed
7091 the OVERSHOOT define. Fixed an indent style error.
7092 (hildon_pannable_area_motion_notify_cb):
7093 (hildon_pannable_area_get_property):
7094 (hildon_pannable_area_set_property): Add overshoot property.
7096 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7099 (hildon_pannable_area_class_init): Installed the new property.
7101 * hildon-pannable-area-example.c: Added a sawtooth function, this
7102 way it is easier to check the movement in the pannable.
7103 (get_sawtooth_label): Added this function.
7104 (main): Now we get the labels from the new get_sawtooth_label
7107 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7109 * src/hildon-app-menu.h
7110 * src/hildon-app-menu.c
7111 Renamed API variables for consistency
7113 (hildon_app_menu_popup): Use also the default window size to
7114 decide where to place the menu
7116 (hildon_app_menu_init, hildon_app_menu_class_init): New
7117 external-border style property
7119 2008-05-26 Michael Natterer <mitch@imendio.com>
7121 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7122 widget_class->tap_and_hold_setup signal slot doesn't exist any
7123 longer, stop overriding it.
7125 (hildon_time_editor_init): g_signal_connect() to the
7126 tap-and-hold-setup signal instead.
7128 (hildon_time_editor_entry_keypress): add cast to fix warning.
7130 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7132 * doc/hildon-docs.sgml
7134 * examples/Makefile.am
7135 * examples/hildon-app-menu-example.c
7137 * src/hildon-app-menu-private.h
7138 * src/hildon-app-menu.c
7139 * src/hildon-app-menu.h
7141 New HildonAppMenu widget
7143 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7145 Rearranged the inheritance of the pannable area, now it inherits
7146 from GtkBin. This will allow us to control the event_window and
7147 the allocation process of the widget, required for some effects.
7149 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7150 GtkBin structures. * src/hildon-pannable-area.c: Added the
7151 event_window variable.
7152 (hildon_pannable_area_button_press_cb):
7153 (hildon_pannable_area_button_release_cb):
7154 (hildon_pannable_area_motion_notify_cb):
7155 Changed the signature of the method, now we override the event
7156 callback instead of connecting to the signal.
7158 (hildon_pannable_area_realize):
7159 (hildon_pannable_area_unrealize):
7160 (hildon_pannable_area_map):
7161 (hildon_pannable_area_unmap):
7162 (hildon_pannable_area_size_allocate):
7163 Added functions to control the widget construction. We add a
7164 INPUT_ONLY window and we put it over the widgets inside the
7165 container, this event_window handles the events.
7167 (hildon_pannable_area_class_init):
7168 Replaced the signal connections with overrides of the event
7171 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7173 Bouncing effect added when touching the borders, you can change
7174 the elasticity of the border changing the ELASTICITY define.
7176 * src/hildon-pannable-area.c: Added ELASTICITY define.
7177 (hildon_pannable_area_timeout): Added inverse velocity when
7178 touching the border of the child widget, that causes a bounce.
7180 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7182 Improved performance, we now do not go to the X server in order to
7183 get the list of window children. Apparently the effect is the
7184 same, we have to be careful and check if this breaks something in
7187 * src/hildon-pannable-area.c:
7188 (get_ordered_children): Removed this function.
7189 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7190 the children windows function with gdk_window_get_children.
7192 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7194 * src/hildon-pannable-area.c:
7195 (hildon_pannable_area_dispose): Fixed a crash when closing the
7196 window and kinetics is activated.
7198 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7200 * src/hildon-pannable-area.h
7201 * src/hildon-pannable-area.c
7202 Changed indentation style to meet the one used in Hildon
7204 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7206 Reviewed the interaction of the AUTO mode, now we use the time
7207 attribute of the events and calculate the velocity in the motion,
7208 doing a gimp like calculation. The velocity is calculated in each
7209 motion event using the last velocity and the current one, the
7210 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7212 * src/hildon-pannable-area.c: Replaced the time based algorithm
7214 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7215 timeout for the AUTO mode when we are still moving the cursor. We
7216 added also the velocity calculation in this function.
7217 (hildon_pannable_area_button_release_cb): launch the timeout in
7218 case we are in AUTO mode. There are still some constants here that
7219 come from the old implementation that should be reviewed and
7222 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7224 * doc/hildon-docs.sgml
7227 * src/hildon-stackable-window.c
7228 * src/hildon-stackable-window.h
7230 New HildonStackableWindow widget
7232 * examples/hildon-dialog-example.c
7233 * examples/hildon-pannable-area-example.c
7236 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7238 * src/hildon-dialog.c
7239 (hildon_dialog_new_with_buttons): New constructor.
7241 * examples/hildon-dialog-example.c
7242 (main): Update the example to use the new
7243 hildon_dialog_new_with_buttons().
7245 * examples/hildon-pannable-area-example.c
7246 (main): Update example.
7248 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7250 * doc/hildon-docs.sgml
7252 Added HildonPannableArea to the documentation.
7254 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7256 * doc/visual_index.xml
7257 Fix reference to HildonLoginDialog in documentation
7259 * doc/hildon-docs.sgml
7261 * examples/Makefile.am
7262 * examples/hildon-dialog-example.c
7264 * src/hildon-dialog.c
7265 * src/hildon-dialog.h
7267 New HildonDialog widget.
7269 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7271 * src/hildon-pannable-area.c
7272 Merge latest changes (r4318, r4342) from libmokoui trunk
7274 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7276 * examples/Makefile.am
7277 * examples/hildon-pannable-area-example.c
7279 * src/hildon-pannable-area.c
7280 * src/hildon-pannable-area.h
7282 New HildonPannableArea widget.
7284 2008-04-15 18:05:19 <timj@imendio.com>
7286 * src/hildon-banner.c: revert the recent change, that introduced
7287 gtk_window_present() calls. this reopens:
7288 Bug 78481 - [freetest] information banners are hidden under browser menu
7289 But resolves another variant of:
7290 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7292 2008-04-15 13:21:13 <timj@imendio.com>
7294 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7295 recreated its layout, spotted by Kris. this fixes all remaining
7296 artefacts and stability issues with the banner code. in particular:
7297 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7299 2008-04-14 16:52:59 <timj@imendio.com>
7301 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7302 operating on unrealized widgets, fixes:
7303 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7305 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7307 2008-04-09 Kristian Rietveld <kris@imendio.com>
7309 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7310 makes banner disappear.
7311 Fixes: NB#79182: info banner flickering with certain message lengts.
7313 * src/hildon-banner.c (hildon_banner_constructor),
7314 (hildon_banner_init), (hildon_banner_set_text),
7315 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7316 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7317 FALSE, reset size requests of label and banner,
7318 (force_to_wrap_truncated): when the text is too wide, always enforce
7319 the maximum possible width instead of recalculating it from the
7320 layout; enforce the maximum banner height of 3 lines,
7321 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7322 nicer wrapping and no truncated chars if space gets tight.
7324 * src/hildon-banner-private.h: add has_been_wrapped and
7325 has_been_truncated fields.
7327 2008-04-07 Sven Herzberg <sven@imendio.com>
7329 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7330 local values in hildon_date_editor_size_allocate
7332 * src/hildon-date-editor.c: moved the real allocation code into the
7335 2008-04-07 Sven Herzberg <sven@imendio.com>
7337 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7338 local values in hildon_date_editor_size_allocate
7340 * src/hildon-date-editor.c: merged the two if() branches together
7342 2008-04-07 Sven Herzberg <sven@imendio.com>
7344 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7345 local values in hildon_date_editor_size_allocate
7347 * src/hildon-date-editor.c: changed the arguments of the if()
7350 2008-04-07 Sven Herzberg <sven@imendio.com>
7352 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7353 local values in hildon_date_editor_size_allocate
7355 * src/hildon-date-editor.c: split the calculation of the allocation
7356 from the real allocation
7358 2008-03-27 Michael Natterer <mitch@imendio.com>
7360 Fixes: NB#81696: The passcode is not overwritten even after
7363 * src/hildon-code-dialog.c
7364 (hildon_code_dialog_button_clicked)
7365 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7366 because that doesn't overwrite selected text. Instead, emit the
7367 "commit" signal on the entry's im_context so the entry's normal
7368 insert logic is triggered. Set the cursor to the end of the entry
7369 after each insert operation so that we *only* insert in the middle
7370 of the text if something was selected.
7372 2008-03-27 Michael Natterer <mitch@imendio.com>
7374 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7375 selector cannot be opened
7377 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7378 when the popup color selector is created. Please connect to this
7379 signal in order to set the dialog's help ID.
7381 2008-03-25 Sven Herzberg <sven@imendio.com>
7383 Fixes: MB#1212: Hide info banners (infoprints) on click
7385 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7386 extracted the close event simulation into an extra function
7387 (hildon_banner_button_press_event): simulate a close event and destroy
7388 the widget if the event wasn't handled
7389 (hildon_banner_class_init): added the button_press_event handler
7390 (hildon_banner_init): added button-press events to the widget
7392 2008-03-25 Sven Herzberg <sven@imendio.com>
7394 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7395 Patch from: Mohammad Anwari <mdamt@maemo.org>
7397 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7398 instead of the right in RTL mode
7399 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7400 breadcrumb button list in RTL mode
7401 * src/hildon-caption.c: mirror the appearance of the caption widget in
7403 * src/hildon-date-editor.c: mirror appearance of the date editor in
7405 * src/hildon-time-editor.c: mirror appearance of the time editor in
7407 * src/hildon-window.c: fix the position of the popup in RTL mode
7409 2008-03-25 Sven Herzberg <sven@imendio.com>
7411 Amendment to the fix of NB#22072. Fix compilation.
7413 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7415 2008-03-19 Sven Herzberg <sven@imendio.com>
7417 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7420 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7421 timeout id properly when the timeout will disappear this leaves no
7422 artifacts around in the destroy(); there will only be the timeout
7423 created by hildon_banner_ensure_timeout() and adding a new timeout
7424 will also work if the timeout gets removed because the timeout_handler
7427 2008-03-19 Michael Natterer <mitch@imendio.com>
7429 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7431 * src/hildon-volumebar.c
7432 * src/hildon-vvolumebar.c
7433 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7434 the widget becomes focussable at all.
7436 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7437 set the focus to wither the mute button or the volumebar.
7439 Remove own "can-focus" property and instead listen to
7440 notify::can-focus in order to update the widget's state.
7442 Implement GtkWidget::focus() and make sure we can also *leave* the
7443 widget, not only enter it, depending on volumebar orientation and
7444 requested focus direction.
7446 Clean up set_mute() to cooperate nicely with all the above.
7448 2008-03-04 Michael Natterer <mitch@imendio.com>
7450 Fixes: NB#78481: information banners are hidden under browser menu
7452 * src/hildon-banner.c: call gtk_window_present() on the banners so
7453 they are risen if they are already visible.
7455 2008-03-03 Sven Herzberg <sven@imendio.com>
7457 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7459 * examples/hildon-window-menu-example.c: (main): extended the window
7460 menu example to serve as a testcase for automatically added
7461 accelerator groups, too
7462 * src/hildon-window.c: (hildon_window_add_accel_group),
7463 (hildon_window_set_menu): added patch by Tommi Komulainen
7465 2008-03-03 Sven Herzberg <sven@imendio.com>
7467 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7469 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7470 knowledge about the border allocators used within GTK+
7472 2008-02-26 Sven Herzberg <sven@imendio.com>
7474 Fixes: MB#2981: Build with asserts broken
7476 * src/hildon-date-editor.c,
7477 * src/hildon-number-editor.c,
7478 * src/hildon-time-editor.c,
7479 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7480 the proper GType instance check
7482 2008-02-25 Sven Herzberg <sven@imendio.com>
7484 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7486 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7487 * examples/hildon-window-menu-example.c: (main): explicitly show
7489 * src/hildon-window.c:
7490 (hildon_window_set_main_menu): moved most of the code from set_menu()
7491 to this place; skipped the call to gtk_widget_show_all(); also didn't
7492 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7493 (hildon_window_set_menu): removed most of the code, just keep the
7494 questionable gtk_widget_show_all()
7495 * src/hildon-window.h: added the new function and deprecate the old
7498 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7504 * debian/changelog: Updating.
7506 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7509 * pkgconfig/Makefile.am:
7510 * pkgconfig/hildon.pc.in:
7513 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7514 use newly created API_MAJOR_VERSION.
7516 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7522 * debian/changelog: Updating.
7524 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7526 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7528 Add outer_border style property, we use it but don't define it (!).
7532 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7534 * examples/hildon-bread-crumb-trail-example.c (main):
7538 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7540 Fix logic for the bread crumb trail node removal.
7544 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7550 * debian/changelog: Updating.
7552 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7554 Patch by Alejandro to get/set passwords dialogs accesibility.
7556 * hildon-1/src/hildon-get-password-dialog.c:
7557 * hildon-1/src/hildon-set-password-dialog.c:
7558 Set atk_set_name to the passwd entries in order to allow
7559 accessibility by name on this entries.
7561 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7566 * debian/control: Updating gtk dep.
7568 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7570 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7571 USE_MAEMO_GTK is enabled.
7573 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7575 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7576 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7578 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7584 * debian/changelog: Updating.
7586 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7588 * examples/Makefile.am:
7589 * examples/hildon-logical-color-example.c:
7590 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7591 applied + adding a test case. Fixes: NB#71660.
7593 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7595 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7596 to be visible, fixes warning on map for windows without toolbars.
7598 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7600 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7601 2.11.0, add a check for that besides the MAEMO_GTK check.
7603 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7609 * debian/changelog: Updating.
7611 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7613 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7614 visibility. Fixes: NB#70842 and MB#615.
7616 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7618 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7619 set the separator as no-show-all so it doesn't unintentionally appear when
7620 someone does a show_all.
7622 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7624 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7625 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7626 toplevel item. Fixes: NB#62031
7628 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7630 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7631 fix the name of the function in the docs.
7633 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7639 * debian/changelog: Updating.
7641 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7643 * examples/hildon-banner-long-example.c: Adding a test-case for long
7646 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7648 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7650 * src/hildon-color-chooser-dialog.c:
7651 * src/hildon-color-chooser.c:
7652 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7653 memory leaks in font selector and color selector. Fixes: NB#70499 and
7656 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7658 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7660 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7662 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7663 little bit bigger. Fixes: #NB63694.
7665 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7671 * debian/changelog: Updating.
7673 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7676 * doc/hildon-docs.sgml:
7677 * doc/images/bread-crumb-trail.png:
7678 * doc/images/calendar-popup.png:
7679 * doc/images/caption.png:
7680 * doc/images/code-dialog.png:
7681 * doc/images/color-button.png:
7682 * doc/images/color-chooser-dialog.png:
7683 * doc/images/color-chooser.png:
7684 * doc/images/controlbar.png:
7685 * doc/images/date-editor.png:
7686 * doc/images/font-selection-dialog.png:
7687 * doc/images/get-password-dialog.png:
7688 * doc/images/hvolumebar.png:
7689 * doc/images/login-dialog.png:
7690 * doc/images/note.png:
7691 * doc/images/number-editor.png:
7692 * doc/images/range-editor.png:
7693 * doc/images/seekbar.png:
7694 * doc/images/set-password-dialog.png:
7695 * doc/images/sort-dialog.png:
7696 * doc/images/time-editor.png:
7697 * doc/images/time-picker.png:
7698 * doc/images/vvolumebar.png:
7699 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7700 Adding the bread-crumb-trial and helpers to the documentation.
7702 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7704 * examples/hildon-find-toolbar-example.c:
7705 * src/hildon-find-toolbar.c:
7706 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7707 actually continue firing the other handlers if connected. Adding a new
7709 hildon_find_toolbar_get_last_index that gets the index of the most
7710 recently added (last) item. Fixes: NB#52301.
7712 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7714 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7715 behaviour. Fixes: NB#68610.
7717 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7719 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7722 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7724 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7725 when realizing the banner. Should make the infonbanner effect a bit more
7728 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7730 * src/hildon-volumebar.c:
7731 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7732 hildon_volumebar_set_range_insensitive_message and
7733 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7735 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7737 * src/hildon-window.c: Fixing the border freeing on destroy.
7739 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7741 * src/hildon-code-dialog-private.h:
7742 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7743 kw keyboard support in HildonCodeDialog.
7745 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7751 * debian/changelog: Updating.
7753 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7755 * src/hildon-date-editor.c:
7756 * src/hildon-number-editor.c:
7757 * src/hildon-private.c:
7758 * src/hildon-private.h:
7759 * src/hildon-time-editor.c:
7760 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7761 handling in subclassed composite widgets. Fixes: NB#66628.
7763 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7765 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7766 from destroy_ callback as it introduces problems in async dbus signal
7767 handlers. Fixes NB#66673.
7769 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7771 * examples/hildon-hvolumebar-example.c:
7772 * src/hildon-volumebar.c: Improving the focus handling in the
7773 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7774 set_property accessor so that "mute" property can be actually set. I'm
7775 scared that nobody noticed it's totally broken.
7777 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7779 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7782 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7784 * src/hildon-calendar.c:
7785 * src/hildon-number-editor.c:
7786 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7787 matches the spec of 6 chars per second. Fixes: NB#60489.
7789 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7791 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7792 gtk_style_lookup_color sometime returns FALSE even though color was
7793 found and values were filled properly. Weird. Removing the warning for the
7796 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7798 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7799 expand vertically. Adding some extra space to the find toolbar buttons to
7800 make them thumbable. Fixes NB#66060.
7802 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7804 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7805 popup with "Ok" and "Cancel". Fixes NB#59299.
7807 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7809 * src/hildon-calendar.c: Process all window updates before executing next
7810 timeout. Fixes: NB#54146.
7812 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7818 * debian/changelog: Updating.
7820 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7822 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7823 the client event and ignore it, since we use the delete event to close
7826 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7828 * src/hildon-helper.c: Remove the bogus warning about color not being
7829 found. Fixes NB#58352.
7831 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7833 * examples/Makefile.am:
7834 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7835 HildonSeekbar widget inside a toolbar.
7837 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7839 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7840 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7841 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7842 don't want to be closed by non-temporary windows on map.
7844 Also use G_DEFINE_TYPE instead of manually typed code.
7846 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7853 * debian/rules: Updating.
7855 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7857 * examples/Makefile.am:
7858 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7859 bug NB#61128. Strangely it works.
7861 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7863 * src/hildon-date-editor.c: When the date editor entry has been changed
7864 but the numbers of characters < max, turn off the skip validation flag.
7865 Prevents a situation when we enter first a valid year and later re-write
7866 it with an invalid one. Fixes NB#60154.
7868 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7870 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7871 code dialog. Fixes NB#64355.
7873 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7875 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7876 switching the page. Fixes NB#49374.
7878 * examples/Makefile.am:
7879 * examples/hildon-wizard-dialog-example.c: Adding an example for
7880 HildonWizardDialog that shows how to handle manual sensitivity setting on
7883 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7887 * src/hildon-version.h.in:
7888 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7890 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7892 * src/hildon-volumebar.c: Updating the docs.
7894 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7900 * debian/changelog: Updating.
7902 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7904 * src/hildon-find-toolbar.c:
7905 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7906 selected item: hildon_find_toolbar_set_active,
7907 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7908 hildon_find_toolbar_get_active_iter . They correspond to respective
7909 GtkComboBox functions.
7911 * examples/Makefile.am:
7912 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7915 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7917 * examples/Makefile.am:
7918 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7921 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7922 when font size > 32 and we pack a focusable widget inside. Actually using
7923 the default response would work too, but since we don't show default
7924 response state in any way (no theming) it would not be visible to the
7925 user. Fixes NB#63430.
7927 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7929 * src/hildon-date-editor.c: Adding the missing variable setter in the
7930 set_property handler. Fixes NB#54182.
7932 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7934 * src/hildon-window.h: Changing the long key press time from 1500ms to
7935 800ms as requested in NB#63700. I have a bad feeling about this, let's
7936 see... Fixes NB#63700.
7938 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7940 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7941 hildon_time_picker_map, hildon_time_picker_realize,
7942 hildon_time_picker_style_set): Split the contents of map to more
7943 appropriate functions; set window decorations on realize and update
7944 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7946 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7951 * debian/changelog: Updating.
7953 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7955 * src/Makefile.am: fixed installation of the header files
7957 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7963 * debian/changelog: Updating.
7965 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7967 * configure.ac: Removing some remaining of --enable-xan.
7969 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7971 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7972 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7974 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7975 2.10.12-osso6 because the move-focus signal needs to be available in
7978 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7980 * examples/Makefile.am:
7981 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7982 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7983 fine. Prolly NB#61128 is fixed now.
7985 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7987 * src/hildon-volumebar.c:
7988 * src/hildon-volumebar.h: Adding the
7989 hildon_volumebar_set_range_insensitive_message and
7990 hildon_volumebar_set_range_insensitive_messagef functions to set
7991 insensitive message on the slider of the volumebar. Fixes NB#61129.
7993 * examples/Makefile.am:
7994 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7995 test the new insensitive messsage functionality on HildonVolumebar.
7997 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7999 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8002 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8004 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8005 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8006 button on after clearing the trail.
8008 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8010 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8012 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8014 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8015 by splitting the installed headers in generated and non-generated groups. Use
8016 only the non-generated headers to create the hildon-enum-types.h file.
8018 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8020 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8022 * src/hildon-window.c: Hide the window before performing the destroy.
8023 Should make the app closing a little tiny bit more snappy.
8025 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8027 * src/hildon-seekbar.c: add gtkrange.h header
8028 * src/hildon-caption.c: remove unused variable
8030 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8032 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8035 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8041 * debian/changelog: Updating.
8043 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8045 * src/hildon-window.c (hildon_window_window_state_event,
8046 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8047 escape timeout on focus-out-event rather than notify::is-topmost; the
8048 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8050 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8052 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8053 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8055 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8057 * src/hildon-window: actually, you need to use the macro always, there's
8058 no private pointer in the instance structure. We should have cleaned this up
8059 when we had the chance...
8061 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8063 * src/hildon-window.c: do not get the private date from HildonWindow before
8064 it passes the g_return_if_fail check. Once it's passed the test, there's no
8065 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8066 if you are only going to access the data once. Whitespace cleanups.
8068 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8070 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8071 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8073 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8079 * debian/changelog: Updating.
8081 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8083 * src/hildon-window.c: When destroying the window, remove (if exists) the
8084 escape timeout handler. Fixes #NB59276.
8086 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8088 * src/hildon-banner.c: When realizing the widget, set the window
8089 transiency. Setting the transiency in the gobject constructor is not
8090 good, as the widget is not realized at that point. Fixes: #NB56624.
8092 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8094 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8095 Add padding for future expansions.
8097 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8099 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8100 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8101 will fake an activation on the previous to the last item of the trail, so
8102 the effect can be overrided by the developer as usual.
8103 Also change the callback for the back button to do the same thing, so its
8104 effect can be overrided too. Fixes: NB#58982
8106 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8108 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8109 HildonCaption. Fixes NB#52379.
8111 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8113 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8114 the internal state of the trail after the user has had the chance of executing
8115 his handler for the signal. Specifically, it may happen that the activated button
8116 is removed and the user still lets the default handler run. This would segfault
8119 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8121 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8122 scrollbar to the preview dialog. Fixes NB#54147.
8124 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8126 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8127 max/min year properties can be altered, so the client can modify it
8128 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8130 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8132 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8133 hildonlike by default. Fixing a problem with disappearing arrows when
8134 scrolling through months and years. Fixes NB#54127.
8136 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8138 * examples/hildon-date-editor-example.c: Adding error callback to the date
8141 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8147 * configure.ac: Updating.
8149 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8151 * configure.ac: Adding a special '--enable-xan' configure option that
8152 turns off the -Werror compilation setting. Usefull for development.
8154 * src/hildon-calendar.c:
8155 * src/hildon-number-editor.c:
8156 * src/hildon-time-picker.c: Adding the 5* multiplier to
8159 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8161 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8162 instead of g_object_ref + gtk_object_sink.
8164 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8170 * debian/changelog: Updating.
8172 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8174 * src/hildon-color-chooser-dialog.c:
8175 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8176 straight from Tommi labs.
8178 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8180 * examples/hildon-finger-example.c: Correcting the header file path.
8182 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8183 the changed signal. Fixes a small memory leak.
8185 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8189 * src/hildon-banner.c: Importing several usefull fixes from the
8190 ubuntu-mobile branch.
8192 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8194 * examples/Makefile.am:
8195 * examples/hildon-finger-example.c: Adding a finger-checking code
8198 * src/hildon-font-selection-dialog.c: Do not allocate the color
8199 structure using the g_new. Fixes NB#54061.
8201 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8203 * src/hildon-helper.c: Correcting tabs in file.
8205 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8207 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8208 control the visibility of the children.
8210 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8212 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8218 * debian/changelog: Updating.
8220 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8222 * src/hildon-bread-crumb-trail.c:
8223 (hildon_bread_crumb_trail_size_allocate):
8225 Make the back button always a square.
8227 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8229 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8230 from the .c file as it's a private file.
8232 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8234 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8235 uses slightly bigger height.
8237 * src/hildon-font-selection-dialog.c: Adding some checks before
8238 freeing memory in the font selection dialog.
8240 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8242 * src/hildon-font-selection-dialog.c: Adding a small check when
8245 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8246 buttons sensitivity on page switching.
8248 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8250 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8251 internal details of adding a bread crumb to the trail.
8253 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8259 * debian/changelog: Updating.
8261 * src/hildon-bread-crumb-trail.h:
8262 * src/hildon-bread-crumb.h: Changing the API guard to
8263 HILDON_ENABLE_UNSTABLE_API.
8265 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8273 * src/hildon-helper.h: Updating.
8275 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8283 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8287 * src/hildon-helper.h: Small fix to make the package actually compile.
8289 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8291 * src/hildon-bread-crumb-trail.h:
8292 * src/hildon-bread-crumb.h:
8294 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8295 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8297 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8299 * examples/hildon-bread-crumb-trail-example.c:
8301 * src/hildon-bread-crumb-trail.c:
8302 * src/hildon-bread-crumb-trail.h:
8303 * src/hildon-bread-crumb.c:
8304 * src/hildon-bread-crumb.h:
8305 * src/hildon-marshalers.list:
8306 * src/hildon-bread-crumb-widget.c:
8307 * src/hildon-bread-crumb-widget.h:
8309 Slight change in the widget design. The bread crumb trail API is
8310 unchanged, but HildonBreadCrumb is now an interface. A *private*
8311 implementation, hildon-bread-crumb-widget, is provided and used
8312 internally by the trail for the push_text/push_icon functions.
8314 The generic push API is still available, so anyone can implement
8315 and use its own bread crumb widget.
8317 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8319 * debian/rules: Fixing the shlibs.
8321 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8323 * src/hildon-banner.c: Fixing a problem with timed banners having
8324 their parrent destroyed before they are.
8326 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8328 * src/hildon-bread-crumb.c:
8329 * src/hildon-bread-crumb.h:
8331 Make the get_natural_size function a vfunc.
8333 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8335 * src/hildon-bread-crumb.c:
8336 * src/hildon-bread-crumb-trail.c:
8340 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8347 * debian/changelog: Updating for release.
8349 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8351 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8352 don't leak the pango layout.
8354 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8357 * examples/hildon-bread-crumb-trail-example.c:
8361 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8363 * debian/changelog: Removing the bug-fixed entries that were actually
8364 resolved as WONTFIX.
8366 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8369 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8371 * src/hildon-bread-crumb-trail.c:
8372 * src/hildon-bread-crumb-trail.h:
8373 * src/hildon-bread-crumb.c:
8374 * src/hildon-bread-crumb.h:
8378 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8380 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8381 until it's passed the type check.
8383 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8385 * examples/hildon-bread-crumb-trail-example.c
8389 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8391 * examples/Makefile.am
8392 * examples/hildon-bread-crumb-trail-example.c
8394 * src/hildon-bread-crumb-trail.c
8395 * src/hildon-bread-crumb-trail.h
8396 * src/hildon-bread-crumb.c
8397 * src/hildon-bread-crumb.h
8399 New HildonBreadCrumbTrail widget.
8401 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8403 * src/hildon-range-editor.c (hildon_range_editor_init),
8404 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8405 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8406 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8407 hildon_time_editor_class_init, hildon_time_editor_init),
8408 src/hildon-get-password-dialog.c (invalid_input,
8409 hildon_get_password_set_property, hildon_get_password_get_property,
8410 create_contents, hildon_get_password_dialog_set_max_characters),
8411 src/hildon-set-password-dialog.c (create_contents),
8412 src/hildon-date-editor.c (hildon_date_editor_init),
8413 src/hildon-login-dialog.c (hildon_login_dialog_init),
8414 src/hildon-number-editor.c (hildon_number_editor_init),
8415 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8416 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8417 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8418 configure option and adding the respective checks in the code.
8419 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8420 hildon_calendar_drag_data_received): fixed some build warnings.
8422 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8424 * debian/changelog: A 1.0.0 release notes.