Updated HildonBanner example
[hildon] / ChangeLog
1 2009-06-08  Alberto Garcia  <agarcia@igalia.com>
2
3         * examples/hildon-banner-example.c:
4         Several style updates
5         (on_animation_clicked, on_animation_idle)
6         (on_progress_clicked, on_progress_idle):
7         Add additional reference for the cases when the parent window is
8         destroyed.
9
10 2009-06-08  Alberto Garcia  <agarcia@igalia.com>
11
12         * doc/hildon-sections.txt
13         * hildon/hildon-pannable-area.c
14         * hildon/hildon-banner.h
15         * hildon/hildon-banner.c: Documentation updates.
16
17         Fixes: MB#4643 (Documentation: hildon_banner_show_information()
18         memory management)
19
20 2009-06-05  Alejandro G. Castro  <alex@igalia.com>
21
22         * hildon/hildon-calendar-popup.h:
23         * hildon/hildon-caption.h:
24         * hildon/hildon-code-dialog.h:
25         * hildon/hildon-controlbar.h:
26         * hildon/hildon-date-editor.h:
27         * hildon/hildon-dialog.h:
28         * hildon/hildon-get-password-dialog.h:
29         * hildon/hildon-hvolumebar.h:
30         * hildon/hildon-login-dialog.h:
31         * hildon/hildon-note.h:
32         * hildon/hildon-number-editor.h:
33         * hildon/hildon-range-editor.h:
34         * hildon/hildon-seekbar.h:
35         * hildon/hildon-set-password-dialog.h:
36         * hildon/hildon-sort-dialog.h:
37         * hildon/hildon-time-editor.h:
38         * hildon/hildon-time-picker.h:
39         * hildon/hildon-volumebar-range.h:
40         * hildon/hildon-volumebar.h:
41         * hildon/hildon-vvolumebar.h:
42         * hildon/hildon-weekday-picker.h:
43         * hildon/hildon-window.h:
44         * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
45         macros with the current replacements
46
47         Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
48
49 2009-06-04  Claudio Saavedra  <csaavedra@igalia.com>
50
51         * hildon/hildon-color-button.c (hildon_color_button_init): Use
52         HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
53         itself, to make it fit better with Fremantle style.
54
55         Fixes: NB#109878 (height and width of focus on color icon is not
56         consistent with other item in the application tool bar)
57
58 2009-06-02  Alejandro Pinheiro  <apinheiro@igalia.com>
59
60         * hildon/hildon-touch-selector.c:
61         (hildon_touch_selector_optimal_size_request): use the current requisition
62         as the base, in order to include any possible extra widget, like the
63         hildon entry on HildonTouchSelectorEntry
64
65         Fixes: NB#119805 (Merge conflict picker dialogs are too small)
66
67 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
68
69         * configure.ac: post release version bump
70         * debian/changelog: post release version bump
71
72 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
73
74         [Release 2.1.78]
75
76         * NEWS: Updates.
77         * configure.ac: Bump version.
78         * debian/changelog: Updates.
79
80 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
81
82         * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
83         structure.
84         * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
85         to ensure the banner contents are centered, instead of relying on
86         the expand and fill properties in GtkHBox.
87         (hildon_banner_ensure_child): Do not expand nor fill the child widget.
88
89         Fixes: NB#108265 (Animation banner not properly centered)
90
91 2009-05-28  Alejandro Pinheiro <apinheiro@igalia.com>
92
93         * hildon/hildon-pannable-area.c
94         (hildon_pannable_area_initial_effect): Remove the initial_effect
95         management, check initial_hint
96         (hildon_pannable_are_expose_event): Remove the initial_hint management,
97         set initial_effect to FALSE
98         (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
99         by launching the fade_timeout if the scrollbars state has changed and are
100         visible
101         * examples/hildon-pannable-area-initial-hint-example.c
102         Modified to allow to remove rows too. Add and remove rows one by one.
103
104 2009-05-28  Alberto Garcia  <agarcia@igalia.com>
105
106         * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
107         Don't close the menu if there's an animation actor below it.
108
109         Fixes: NB#117927 (Application menu not usable with animation
110         actors)
111
112 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
113
114         * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
115         "focus-on-click" from the dialog button, to avoid stealing the
116         focus from the entry.
117
118         Fixes: NB#118903 (Account setup wizard: Text in Search field
119         should be focused when "Region" touch list picker is reopened
120         again)
121
122 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
123
124         * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
125         (prepare_action_area): Completely hide the dialog separator.
126
127 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
128
129         * hildon/hildon-touch-selector-entry.c
130         (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
131         (hildon_touch_selector_entry_changed): Use HildonEntry text API,
132         now that the entry is exposed.
133
134 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
135
136         * hildon/hildon-touch-selector-entry.c
137         (hildon_touch_selector_entry_init): Change the entry's size
138         to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
139
140 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
141
142         * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
143         height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
144         avoid unnecessary scaling.
145
146 2009-05-27  Alberto Garcia  <agarcia@igalia.com>
147
148         * hildon/hildon-app-menu.c (hildon_app_menu_map):
149         Create grab transfer window before calling parent's map function.
150
151         Fixes: NB#115988 (hildon_app_menu_popup creates menu with
152         "crushed" button(s) in the top left corner)
153
154 2009-05-26  Alberto Garcia  <agarcia@igalia.com>
155
156         * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
157         Check if the window is already realized when pushing it.
158
159 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
160
161         * configure.ac: post release version bump
162         * debian/changelog: post release version bump
163
164 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
165
166         [Release 2.1.76]
167
168         * NEWS: Updates.
169         * configure.ac: Bump version.
170         * debian/changelog: Updates.
171
172 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
173
174         * hildon/hildon-app-menu.c: Doc updates.
175
176 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
177
178         * hildon/hildon-banner.c: Remove leftover macro.
179
180 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
181
182         * hildon/hildon-pannable-area.c,
183         (hildon_pannable_area_scroll_indicator_fade),
184         (hildon_pannable_area_button_release_cb): Reviewed vmin
185         conditions, it could cause problems in the fadeout procedure.
186
187 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
188
189         * hildon/hildon-pannable-area.c
190         (hildon_pannable_area_button_release_cb): Added a threshold to
191         push the animation if the speed is big (MAX_SPEED_THRESHOLD).
192
193 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
194
195         * hildon/hildon-pannable-area.c,
196         (hildon_pannable_area_set_property): Added code to sync the gtk
197         dnd threshold with the panning threshold.
198
199 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
200
201         * hildon/hildon-pannable-area.c,
202         (hildon_pannable_area_class_init): Changed some of the default
203         values, now it should be less responsive and more accurate.
204
205 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
206
207         * hildon/hildon-pannable-area.c,
208         (hildon_pannable_area_init),
209         (hildon_pannable_area_scroll_indicator_fade),
210         (hildon_pannable_area_button_press_cb),
211         (hildon_pannable_axis_scroll),
212         (hildon_pannable_area_timeout),
213         (hildon_pannable_area_motion_notify_cb),
214         (hildon_pannable_area_button_release_cb): Changed the name of the
215         clicked attribute to button_pressed, it is more clear about its use.
216
217 2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
218
219         * src/hildon-pannable-area.c
220         (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
221         to 0
222         (hildon_pannable_area_initial_effect): avoid to compute horizontal and
223         vertical scrollbar visibility, and use the data on private section instead,
224         remove the initial_hint check
225         (hildon_pannable_area_expose_event): add the initial_hint check here
226
227 2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
228
229         * src/hildon-pannable-area.c
230         (hildon_pannable_area_initial_effect): set to FALSE initial_effect
231         if the fadeout effect was used
232         (hildon_pannable_area_expose_event): check if it is required to
233         manage the initial effect on the begining of the function. Previously
234         it was made at the end, but this doesn't ensure that the scrollbars
235         will be painted on the first show. Do not set to FALSE initial_effect,
236         to ensure that the initial hint is showed the first time the pannable
237         becomes scrollable.
238         * examples/Makefile.am
239         * examples/hildon-pannable-area-initial-hint-example.c:
240         New example, to show that the initial-hint is showed when the widget
241         becomes scrollable
242
243         Fixes: NB#116607 (Pannable area should always have scrollbar visible
244         initially if the application can be scrolled)
245
246 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
247
248         * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
249         Resize table before adding new items to make sure that
250         gtk_table_resize() is called just once.
251
252 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
253
254         * hildon/hildon-app-menu-private.h
255         * hildon/hildon-app-menu.c (item_visibility_changed)
256         (filter_visibility_changed, hildon_app_menu_show_all)
257         (hildon_app_menu_hide_all, hildon_app_menu_init):
258         Rearrange items just once when gtk_widget_show_all()/hide_all()
259         are used.
260
261 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
262
263         * hildon/hildon-app-menu.c
264         (hildon_app_menu_insert, hildon_app_menu_add_filter):
265         Don't call gtk_widget_show() on added items.
266
267         Fixes: NB#109063 (HildonAppMenu shouldn't show its items
268         automatically when they're added)
269
270 2009-05-20  Alberto Garcia  <agarcia@igalia.com>
271
272         * hildon/hildon-banner.c
273         (hildon_banner_realize, +hildon_banner_unrealize)
274         (+screen_size_changed, hildon_banner_class_init):
275         Redisplay the banner if the screen is rotated.
276
277         Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
278         on transition from landscape to portrait)
279
280 2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
281
282         * hildon/hildon-banner.[ch]:
283         (hildon_banner_show_information_override_dnd): remove icon_name from the
284         method definition as it is ignored.
285         * examples/hildon-banner-dnd-example.c: updated with the change on
286         hildon-banner.h API
287
288 2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
289
290         * hildon/hildon-banner-private.h: new require_override_dnd and
291         overrides_dnd variables
292         * hildon/hildon-banner.h:
293         (hildon_banner_show_information_override_dnd): new method, that shows
294         the information but sets the override flag, in order to show important
295         messages
296         * hildon/hildon-banner.c
297         (hildon_banner_show_information_override_dnd): new method
298         (hildon_banner_set_override_flag): new utility function
299         (hildon_banner_real_show_information): new utility function, in order to
300         generalize the current hildon_banner_show_information_override_dnd and
301         hildon_banner_show_information_override_dnd
302         * examples/Makefile.am
303         * examples/hildon-banner-dnd-example.c: New example that show how to
304         use the new hildon_banner_show_information_override_dnd
305
306         Fixes: NB#114874 (There is no possibility to show hildon banners with
307         DND flag set)
308
309 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
310
311         * hildon/hildon-pannable-area.c: Add a comment explaining the math
312         behind hildon_pannable_calculate_vel_factor().
313
314 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
315
316         * hildon/hildon-pannable-area.c
317         (hildon_pannable_calculate_vel_factor): Correct the sum of the
318         deceleration factors.
319
320 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
321
322         * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
323         Reduce the default value for 'scroll_time' to 1 second, since the
324         current initial scrolling takes too much time.
325
326 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
327
328         * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
329         calculate velocity factor during initialization, since the properties
330         are not yet set.
331
332 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
333
334         * hildon/hildon-pannable-area.c
335         (hildon_pannable_area_set_property): Calculate the velocity factor
336         after setting the deceleration property and not after.
337
338 2009-05-20  Alberto Garcia  <agarcia@igalia.com>
339
340         * hildon/hildon-entry.c
341         (hildon_entry_class_init, +set_property, hildon_entry_new)
342         * hildon/hildon-check-button.c
343         (hildon_check_button_class_init)
344         (+set_property, hildon_check_button_new):
345         Make the theme size a property.
346
347         Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
348         others) do too much in the _new function)
349
350 2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
351
352         * configure.ac: post release version bump
353         * debian/changelog: post release version bump
354
355 2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
356
357         [Release 2.1.74]
358
359         * NEWS: Updates.
360         * configure.ac: Bump version.
361         * debian/changelog: Updates.
362
363 2009-05-15  Alberto Garcia  <agarcia@igalia.com>
364
365         * hildon/hildon-gtk.h
366         * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
367         New API function to take a screenshot of a window
368
369         Fixes: NB#106374 (Need API to take a loading screenshot)
370
371 2009-05-15  Alejandro Pinheiro  <apinheiro@igalia.com>
372
373         * hildon/hildon-time-selector.c
374         (update_format_policy): prevent to use hours and minutes unitialized
375
376 2009-05-15  Alberto Garcia  <agarcia@igalia.com>
377
378         * hildon/hildon-window.c (hildon_window_size_request):
379         Always request the full size of the screen (minus the title bar if
380         not in fullscreen mode).
381
382         Fixes: NB#107486 (HildonWindow should size itself properly)
383
384 2009-05-14  Claudio Saavedra  <csaavedra@igalia.com>
385
386         * hildon/hildon-note-private.h: Add idle_handler to the private data.
387         * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
388         (on_show_cb), (sound_handling): Disconnect the idle handler for
389         the sound when the note is finalized to avoid possible crashes.
390
391         Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
392         in a scenario)
393
394 2009-05-13  Artem Egorkine  <ext-artem.egorkine@nokia.com>
395
396         * src/hildon-animation-actor.c,
397         * src/hildon-remote-texture.c:
398         Added proper object cleanup to remove signal handler and object
399         references as HildonAnimationActor and HildonRemoteTexture
400         objects get destroyed.
401
402         Fixes: NB#116682 (Destroying parented animation actors when
403         parent in unmapped leads to crash)
404
405 2009-05-13  Claudio Saavedra  <csaavedra@igalia.com>
406
407         Based on a patch by Christian Dywan (christian@imendio.com)
408
409         * doc/hildon-sections.txt:
410         * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
411         * hildon/hildon-helper.h: New file size formatting method.
412         * debian/changelog:
413         * debian/control: Depend on osso-filemanager l10n package for
414         proper localization strings.
415
416 2009-05-13  Claudio Saavedra  <csaavedra@igalia.com>
417
418         * tests/Makefile.am: Include top_srcdir to make possible to build
419         tests in a different builddir.
420         * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
421         on a different builddir.
422
423 2009-05-12  Claudio Saavedra  <csaavedra@igalia.com>
424
425         * hildon/hildon-touch-selector.c (disconnect_model_handlers),
426         (hildon_touch_selector_remove): Disconnect model's signal handler
427         on column removal.
428
429         Fixes: NB#116289 (Hildon home crashes while adding task
430         shortcuts.)
431
432 2009-05-11  Alberto Garcia  <agarcia@igalia.com>
433
434         * hildon/hildon-button.c
435         (hildon_button_set_title, hildon_button_set_value):
436         Hide labels containing an empty string.
437
438 2009-05-11  Claudio Saavedra  <csaavedra@igalia.com>
439
440         * configure.ac: post release version bump
441         * debian/changelog: post release version bump
442
443 2009-05-11  Claudio Saavedra  <csaavedra@igalia.com>
444
445         [Release 2.1.72]
446
447         * NEWS: Updates.
448         * configure.ac: Bump version.
449         * debian/changelog: Updates.
450
451 2009-05-08  Alejandro Pinheiro <apinheiro@igalia.com>
452
453         * hildon/hildon-note-private.h: Removed sound_signal_handler
454         * hildon/hildon-note.c
455         (on_show_cb): new callback on note "show" event, this simply adds
456         a idle, with the function sound_handling
457         (sound_handling): removed the sound_signal_handler management
458         (hildon_note_init): connect note "show" event to on_show_cb
459         (hildon_note_realize): remove the connection to "expose-event"
460
461         Fixes: NB#115242 (Sound is not played every time for the 'Switch off
462         device?' confirmation note)
463
464 2009-05-08  Alberto Garcia  <agarcia@igalia.com>
465
466         * hildon/hildon-note.c
467         (hildon_note_new_information_with_icon_name)
468         (hildon_note_new_confirmation_with_icon_name):
469         Terminate the list of parameters in g_object_set() calls
470
471         Fixes: NB#115166 (Formatting memory card is not taking place)
472
473 2009-05-08  Claudio Saavedra  <csaavedra@igalia.com>
474
475         * hildon/hildon-sound.c (hildon_play_system_sound): Set the
476         "dialog-information" role for the sound being played.
477
478 2009-05-06  Alberto Garcia  <agarcia@igalia.com>
479
480         * hildon/hildon-app-menu.c (hildon_app_menu_init):
481         Don't make the menu a modal window, it causes strange interactions
482         with the pointer grab and it's not really needed.
483
484         Fixes: NB#105529 (Empty App menu is launched in a scenario.)
485
486 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
487
488         * hildon/hildon-touch-selector.[ch]
489         (hildon_touch_selector_optimal_size_request): function added to get a
490         optimal size request from the touch selector, when you want a dialog to
491         show as much of the selector
492         * hildon/hildon-picker-dialog.c:
493         Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
494         (hildon_app_menu_class_init):
495         New "max-height-landscape" and "max-height-portrait" style properties
496         (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
497         (hildon_picker_dialog_get_max_height): returns the maximum height using
498         the style properties defined and checking the current portrait/landscape
499         status
500         (_hildon_picker_dialog_set_selector): removed the set_size_request
501
502         Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
503
504 2009-05-06  Claudio Saavedra  <csaavedra@igalia.com>
505
506         * hildon/hildon-bread-crumb-trail.c:
507         * hildon/hildon-bread-crumb.c:
508         * hildon/hildon-seekbar.c:
509         Add reference to replacements for these deprecated widgets.
510
511         Fixes: MB#4461 (Documentation: All deprecations should mention
512         replacements)
513
514 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
515
516         * examples/hildon-remote-texture-example.c
517
518         Change the include to the hildon-remote-texture in order to compile
519         properly the examples on the installed libhildon1-examples package
520
521 2009-05-05  Claudio Saavedra  <csaavedra@igalia.com>
522
523         * tests/Makefile.am: Add check for HildonPickerButton.
524         * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
525         (START_TEST), (create_hildon_picker_button_suite): Add three simple
526         checks for the HildonPickerButton.
527         * tests/check_test.c (configure_tests): Add the test suite.
528         * tests/test_suites.h: likewise.
529
530 2009-05-05  Claudio Saavedra  <csaavedra@igalia.com>
531
532         * hildon/hildon-touch-selector.c
533         (+on_row_changed): Emit HildonTouchSelector:changed when the
534         contents of a selected row change.
535         (_create_new_column), (_hildon_touch_selector_set_model): connect
536         to GtkTreeModel:row-changed on a newly set model.
537
538         Fixes: NB#114253 (HildonPickerButton not refreshing its value)
539
540 2009-05-05  Alberto Garcia  <agarcia@igalia.com>
541
542         Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
543
544         * hildon/hildon-banner.c (hildon_banner_destroy)
545         (hildon_banner_show_progress, hildon_banner_set_fraction):
546         Remove the progress bar from HildonBanner and use a progress
547         indicator instead.
548
549         Fixes: NB#113761 (Update progress banner to use progress
550         indicator)
551
552 2009-05-04  Alberto Garcia  <agarcia@igalia.com>
553
554         * hildon/hildon-banner.c:
555         Calculate size of the banner label using the actual screen width
556         rather than using a fixed value.
557
558         Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
559         is truncated)
560
561 2009-05-04  Alejandro G. Castro  <alex@igalia.com>
562
563         * hildon/hildon-pannable-area.c,
564         (hildon_pannable_area_class_init): Fixed signals documentation
565         typo.
566
567 2009-05-04  Claudio Saavedra  <csaavedra@igalia.com>
568
569         * configure.ac: post release version bump
570         * debian/changelog: post release version bump
571
572 2009-05-04  Claudio Saavedra  <csaavedra@igalia.com>
573
574         [Release 2.1.70]
575
576         * NEWS: Updates.
577         * configure.ac: Bump version.
578         * debian/changelog: Updates.
579
580 2009-05-01  Alberto Garcia  <agarcia@igalia.com>
581
582         * hildon/hildon-edit-toolbar.c
583         (hildon_edit_toolbar_init):
584         Don't let buttons in HildonEditToolbar receive focus.
585
586         Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
587         typing on an HW arrows key)
588
589 2009-04-30  Claudio Saavedra  <csaavedra@igalia.com>
590
591         * doc/Makefile.am: Fix build.
592
593 2009-04-30  Claudio Saavedra  <csaavedra@igalia.com>
594
595         * doc/Makefile.am: Do not redefine content_files.
596
597 2009-04-30  Alberto Garcia  <agarcia@igalia.com>
598
599         * src/
600         * Makefile.am
601         * configure.ac
602         * doc/Makefile.am
603         * doc/hildon.types
604         * po/POTFILES.in:
605         Renamed src/ to hildon/
606
607         * examples/*.c
608         * debian/changelog
609         * debian/rules:
610         Include <hildon/hildon.h> directly in all examples.
611
612 2009-04-29  Alejandro Pinheiro  <apinheiro@igalia.com>
613
614         * src/hildon-sort-dialog.c
615         (hildon_sort_dialog_add_sort_key_with_sorting)
616         (sort_key_changed)
617         Add safety checks
618
619 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
620
621         * src/Makefile.am: Move generated sources to CLEANFILES, so that
622         make distcheck passes.
623
624 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
625
626         * Makefile.am: Enable gtk-doc during distcheck.
627
628 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
629
630         * Makefile.am: Do not distribute the debian/ directory.
631
632 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
633
634         * doc/Makefile.am: Add the extra SGML files to content_files,
635         so that they are distributed properly.
636
637 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
638
639         * tests/Makefile.am: Add missing test_suites.h and check_utils.h
640         to the SOURCES.
641
642 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
643
644         * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
645         (hildon_note_new_information_with_icon_name): Set the "icon" property
646         to preserve soundness.
647
648 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
649
650         * src/hildon-font-selection-dialog.c
651         (hildon_font_selection_dialog_set_property): Fail when the "family"
652         property is set to NULL.
653
654 2009-04-28  Claudio Saavedra  <csaavedra@igalia.com>
655
656         * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
657         safety checks.
658
659 2009-04-28  Alejandro Pinheiro  <apinheiro@igalia.com>
660
661         * src/hildon-time-selector.h:
662         Added HildonTimeSelectorFormatPolicy
663         * src/hildon-time-selector.c:
664         Added PROP_TIME_FORMAT_POLICY
665         (_check_ampm_format): renamed to check_automatic_ampm_format
666         (update_format_policy), (update_format_dependant_columns): new functions
667         (hildon_time_selector_class_init)
668         (hildon_time_selector_contructor)
669         (hildon_time_selector_init)
670         (hildon_time_selector_get_property)
671         (hildon_time_selector_set_property)
672         (hildon_time_selector_get_time)
673         (hildon_time_selector_set_time)
674         * src/hildon-touch-selector.h: new file
675         * src/hildon-touch-selector.c
676         (hildon_touch_selector_emit_changed)
677         (hildon_touch_selector_block_changed)
678         (hildon_touch_selector_unblock_changed)
679         Added functions to allow to block the emission of the "changed" signal
680         * src/hildon-picker-dialog.c
681         (hildon_picker_dialog_show): call the parent show before the custom code
682         * examples/hildon-time-button-example.c
683         Modified, so now you can configure the time format using the new property
684
685         Added a new property "time-format-policy" that allow to choose the time
686         format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
687         case it uses gconf in order to check if the time selector must use
688         AM/PM or 24H.
689
690         Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
691         mode)
692
693 2009-04-28  Alberto Garcia  <agarcia@igalia.com>
694
695         * src/hildon-note.c (hildon_note_init):
696         Label in HildonNote must be left aligned, not centered. This
697         reverts the last commit in HildonNote.
698
699         Fixes: NB#112933 (text is not left aligned in confirmation dialog
700         is connectivity dialog)
701
702 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
703
704         * src/hildon-gtk.c:
705         Minor style fixes
706
707         * doc/hildon-sections.txt:
708         Added hildon_gtk_window_set_do_not_disturb()
709
710 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
711
712         * src/hildon-note.c (hildon_note_init): Center label.
713
714         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
715         properly)
716
717 2009-04-27  Claudio Saavedra  <csaavedra@igalia.com>
718
719         [Release 2.1.68]
720
721         * NEWS: Updates.
722         * configure.ac: Bump version.
723         * debian/changelog: Updates.
724
725 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
726
727         * src/hildon-note-private.h: Add button-width to the private data.
728         * src/hildon-note.c (+resize_button),
729         (+hildon_note_orientation_update): methods to repack widgets on orientation
730         changes.
731         (screen_size_changed): Call above method for confirmation notes.
732         (hildon_note_realize): Always connect to the "screen-size" changed signal.
733         (hildon_note_rebuild): Store the original width request from buttons.
734
735         Fixes: NB#109635 (Confirmation notes do not support portrait)
736
737 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
738
739         * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
740         when it is a progress note.
741
742 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
743
744         * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
745         in the note, since there are no horizontally arranged contents.
746
747 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
748
749         * src/hildon-gtk.c (+set_flag): new generic method to
750         set/delay a flag setting in a window.
751         (hildon_gtk_window_set_progress_indicator):
752         (hildon_gtk_window_set_do_not_disturb),
753         (hildon_gtk_window_set_portrait_flags): use set_flag() to
754         avoid code redundance.
755
756 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
757
758         Based on a patch by Alberto Garcia (agarcia@igalia.com)
759
760         * src/hildon-gtk.c (set_clear_window_flag),
761         (do_set_progress_indicator), (do_set_do_not_disturb),
762         (do_set_portrait_flags),
763         (hildon_gtk_window_set_progress_indicator),
764         (hildon_gtk_window_set_do_not_disturb),
765         (hildon_gtk_window_set_portrait_flags):
766         Allow setting dnd-flag, progress indicator, and portrait flags
767         when the window is not realized.
768
769 2009-04-24  Alejandro G. Castro  <alex@igalia.com>
770
771         * src/hildon-pannable-area.c,
772         * src/hildon-pannable-area.h: Add the hildon deprecated define to
773         the size request policy function and defines.
774
775 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
776
777         * doc/hildon-sections.txt: Add the new API.
778         * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
779         method to set the portrait flags.
780         * src/hildon-gtk.h: Add HildonPortraitFlags enum.
781
782         Fixes: NB#112328 (Adding helpers for setting portrait properties)
783
784 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
785
786         * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
787         to allow using this method with other flags.
788         (hildon_gtk_window_set_progress_indicator): Update accordingly.
789         (hildon_gtk_window_set_do_not_disturb): Update accordingly.
790
791 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
792
793         * src/hildon-touch-selector.c
794         (hildon_touch_selector_append_text_column):
795         Make the cell renderer use the smallest width possible.
796
797         Fixes: NB#108470 (Selected items in multiple selection are either
798         having a tick that is cut or not visible at all.)
799
800 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
801
802         * src/hildon-touch-selector.c
803         (hildon_touch_selector_append_text_column):
804         Code cleanups
805
806 2009-04-22  Claudio Saavedra  <csaavedra@igalia.com>
807
808         * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
809         Use g_strdup_printf() instead of a fixed size buffer.
810
811 2009-04-21  Alberto Garcia  <agarcia@igalia.com>
812
813         * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
814         Close banners when a HildonAppMenu is popped up.
815
816         Fixes: NB#111027 (Title menu closed immediately if activated when
817         "Invalid e-mail address" banner is shown)
818
819 2009-04-21  Claudio Saavedra  <csaavedra@igalia.com>
820
821         [Release 2.1.66]
822
823         * NEWS: Updates.
824         * configure.ac: Bump version.
825         * debian/changelog: Updates.
826
827 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
828
829         * src/hildon-banner.c (hildon_banner_realize):
830         Mark HildonBanner as supporting portrait mode.
831         Use GDK to set window properties insetad of direct Xlib calls.
832
833         Fixes: NB#111830 (HildonBanner should be marked as supporting
834         portrait)
835
836 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
837
838         * src/hildon-note.c (hildon_note_rebuild):
839         Hide action area in information notes. Prevents text from being
840         slightly aligned to the left.
841
842         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
843         properly)
844
845 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
846
847         Patch by Mox Soini (ext-mox.soini@nokia.com)
848
849         * src/hildon-banner.c (hildon_banner_create_animation):
850         Use stylus-sized icons in animation banner.
851
852         Fixes: NB#111206 (stylus sized icon for animation banner)
853
854 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
855
856         * src/hildon-gtk.h
857         * src/hildon-gtk.c
858         (+hildon_gtk_window_set_do_not_disturb):
859         New API to set the do-not-disturb flag.
860
861         Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
862
863 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
864
865         * examples/hildon-progress-indicator-example.c: Fix example
866
867         * src/hildon-gtk.c (set_clear_window_flag)
868         (hildon_gtk_window_set_progress_indicator):
869         Create a generic function for setting flags to a window.
870         Use GDK instead of direct Xlib calls.
871
872 2009-04-14  Alberto Garcia  <agarcia@igalia.com>
873
874         * src/hildon-button.c (hildon_button_set_arrangement):
875         Due to NB#88126, if one of the labels is too long it will be
876         painted outside the button. The 'value' label is more likely to be
877         the longest one, so we change its packing options in order to
878         truncate it if necessary. As a side effect, the 'title' label will
879         no longer be truncated.
880
881         Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
882
883 2009-04-14  Claudio Saavedra  <csaavedra@igalia.com>
884
885         [Release 2.1.64]
886
887         * NEWS: Updates.
888         * configure.ac: Bump version.
889         * debian/changelog: Updates.
890
891 2009-04-13  Alejandro G. Castro  <alex@igalia.com>
892
893         Deprecation of the hildon_pannable_area_set_size_request_policy
894         API, the only policy properly supported in gtk+ nowadays is the
895         minimum size.
896
897         * src/hildon-pannable-area.c,
898         (hildon_pannable_area_size_request): Added a workaround for the
899         size_request to avoid the problems of huge pixmaps in case someone
900         is still using the function.
901         * src/hildon-pannable-area.h: Deprecated the enum with the
902         policies.
903
904         Fixes: NB#110244 (Problems with the
905         hildon_pannable_area_set_size_request_policy API)
906
907 2009-04-08  Alejandro G. Castro  <alex@igalia.com>
908
909         * src/hildon-pannable-area.c,
910         (hildon_pannable_area_init),
911         (hildon_pannable_area_size_request),
912         (hildon_pannable_area_style_set),
913         (hildon_pannable_draw_vscroll),
914         (hildon_pannable_draw_hscroll),
915         (hildon_pannable_area_check_scrollbars): Replaced area_width with
916         indicator_width to clarify the use of the attribute.
917
918 2009-04-08  Claudio Saavedra  <csaavedra@igalia.com>
919
920         [Release 2.1.62]
921
922         * NEWS: Updates.
923         * configure.ac: Bump version.
924         * debian/changelog: Updates.
925
926 2009-04-07  Alejandro Pinheiro <apinheiro@igalia.com>
927
928         * src/hildon-picker-dialog.c
929         * src/hildon-touch-selector.c
930         Reverting the change that tried to avoid the hardcoded height on
931         the picker dialog, as causes problems on the hildon-touch-selector
932         initial-hint
933
934         Fixes: NB#110029 (selectors not scrolling to selected value)
935
936 2009-04-07  Alberto Garcia  <agarcia@igalia.com>
937
938         * src/hildon-touch-selector.c: Fix typos
939
940 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
941
942         * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
943         Use the event coordinates instead of gdk_window_get_pointer(). Also,
944         request more motions after using it.
945
946 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
947
948         * src/hildon-calendar.c (hildon_calendar_expose),
949         (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
950         Remove unused variables.
951
952 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
953
954         * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
955         variable assignment.
956
957 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
958
959         * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
960         Check the return value of gtk_tree_selection_get_selected()
961         for safety.
962
963 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
964
965         * src/hildon-animation-actor.c
966         * src/hildon-button.c
967         * src/hildon-main.c
968         * src/hildon-pannable-area.c
969         * src/hildon-picker-button.c
970         * src/hildon-program.c
971         * src/hildon-remote-texture.c
972         * src/hildon-text-view.c
973         * src/hildon-touch-selector.c
974         * src/hildon-window-stack.c
975         * src/hildon-window.c:
976         Add missing 'Since: 2.2' tags.
977
978         * doc/hildon-sections.txt:
979         Add some missing symbols.
980
981         * doc/hildon-docs.sgml:
982         New 'Other' section for HildonAnimationActor and
983         HildonRemoteTexture
984
985 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
986
987         Patch by Iván Gómez (igomez@igalia.com)
988
989         * doc/building.sgml
990         * doc/compiling.sgml
991         * doc/hildon-docs.sgml
992         * doc/hildon-sections.txt
993         * doc/migration.sgml
994         * doc/resources.sgml
995         * doc/running.sgml:
996         New chapters on using the Hildon library.
997         Updated the general structure of the reference manual.
998         Other minor documentation fixes.
999
1000         * src/hildon-calendar-popup.c
1001         * src/hildon-calendar.c
1002         * src/hildon-controlbar.c
1003         * src/hildon-date-editor.c
1004         * src/hildon-dialog.c
1005         * src/hildon-hvolumebar.c
1006         * src/hildon-number-editor.c
1007         * src/hildon-range-editor.c
1008         * src/hildon-sort-dialog.c
1009         * src/hildon-time-editor.c
1010         * src/hildon-time-picker.c
1011         * src/hildon-volumebar-range.c
1012         * src/hildon-volumebar.c
1013         * src/hildon-vvolumebar.c
1014         * src/hildon-weekday-picker.c:
1015         Add deprecation notes
1016
1017         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1018         Document 'horizontal-movement' and 'vertical-movement' signals.
1019
1020 2009-04-06  Claudio Saavedra  <csaavedra@igalia.com>
1021
1022         [Release 2.1.60]
1023
1024         * NEWS: Updates.
1025         * configure.ac: Bump version.
1026         * debian/changelog: Updates.
1027
1028 2009-04-06  Alejandro G. Castro  <alex@igalia.com>
1029
1030         * src/hildon-pannable-area.c,
1031         (hildon_pannable_area_class_init): increased the minimum velocity.
1032         (hildon_pannable_area_button_release_cb): Updated the
1033         CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1034         setup. Review the code to control that last event.
1035
1036         Fixes: NB#109790 (Releasing finger in pannable area easily causes
1037         unwanted scrolling)
1038
1039 2009-04-03  Claudio Saavedra  <csaavedra@igalia.com>
1040
1041         Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1042
1043         * src/hildon-get-password-dialog.c
1044         (hildon_get_password_set_property),
1045         (hildon_get_password_get_property), (create_contents):
1046         * src/hildon-login-dialog-private.h:
1047         * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1048         (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1049         (hildon_login_dialog_get_password):
1050         * src/hildon-set-password-dialog-private.h:
1051         * src/hildon-set-password-dialog.c
1052         (hildon_set_password_set_property),
1053         (hildon_set_password_get_property), (create_contents),
1054         (hildon_set_password_response_change),
1055         (hildon_set_password_response_set), (hildon_checkbox_toggled):
1056
1057         Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1058         instead and look more Fremantle style.
1059
1060         Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1061
1062 2009-04-03  Alberto Garcia  <agarcia@igalia.com>
1063
1064         * doc/hildon-sections.txt
1065         * src/hildon-window-stack.h
1066         * src/hildon-window-stack.c
1067         (+hildon_window_stack_get_windows):
1068         New API to obtain the list of windows on a stack.
1069
1070 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
1071
1072         * src/hildon-app-menu.c (hildon_app_menu_popup)
1073         (hildon_app_menu_class_init, -hildon_app_menu_show):
1074         Remove hildon_app_menu_show() and move all its checks to
1075         hildon_app_menu_popup()
1076
1077 2009-04-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1078
1079         * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1080         (_hildon_picker_dialog_set_selector): removed call to
1081         gtk_widget_set_size_request
1082         * src/hildon-touch-selector.c
1083         (_create_new_column): change the pannable size request policy
1084
1085         Avoid to use a hardcoded height for the hildon picker dialog. In order
1086         to get that, we needed to change the hildon pannable size request
1087         policy
1088         Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1089
1090 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
1091
1092         * src/hildon-window.c (hildon_window_map): Check for vbox to be
1093         not NULL.  Avoids a (very unlikely) crasher. See related NB#103301
1094         browser crash.
1095
1096 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
1097
1098         * debian/control: Depend on osso-system-lock localization package.
1099         * src/hildon-code-dialog.c: Obtain the secu_application_title
1100         translation from osso-system-lock.
1101         * src/hildon-get-password-dialog.c (create_contents): Do not mark
1102         for translation the atk related strings, that's not necessary.
1103         * src/hildon-set-password-dialog.c (create_contents): Ditto.
1104         * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1105         cancel button, it is not required.
1106
1107 2009-04-02  Alejandro G. Castro  <alex@igalia.com>
1108
1109         * src/hildon-pannable-area.c,
1110         (hildon_pannable_area_class_init): Modified the default value of
1111         the overshooting max speed, we have reduced it.
1112
1113 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
1114
1115         * doc/hildon-sections.txt
1116         * src/hildon-window-private.h
1117         * src/hildon-window.h
1118         * src/hildon-window.c (hildon_window_class_init)
1119         (hildon_window_init, hildon_window_finalize)
1120         (hildon_window_realize, hildon_window_get_property)
1121         (hildon_window_set_property, hildon_window_update_markup)
1122         (hildon_window_get_markup, hildon_window_set_markup):
1123         New "markup" property and hildon_window_{get,set}_markup() methods.
1124
1125         * examples/hildon-stackable-window-example.c (new_window):
1126         Update example to use hildon_window_set_markup()
1127
1128         Fixes: NB#106375 (Need API to retitle a window with a title
1129         including markup)
1130
1131 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
1132
1133         * src/hildon-pannable-area.c,
1134         (hildon_pannable_area_class_init): Changed the default value of
1135         the initial_hint to TRUE.
1136         (hildon_pannable_area_initial_effect): Changed the initial effect,
1137         not the effect is just the fade-out of the scrollbars.
1138
1139         Fixes: NB#107775 (No scrollbars can be seen when several items are
1140         available in a dialog)
1141
1142 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
1143
1144         * src/hildon-program.c (hildon_program_update_top_most):
1145         Fix memory leak.
1146
1147         Fixes: NB#109179 (Memory leak in Hildon program)
1148
1149 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
1150
1151         * src/hildon-banner.c (-get_current_app_window):
1152         Remove unused function.
1153
1154 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
1155
1156         * src/hildon-pannable-area.c: Modified the documentation of the
1157         get adjustments functions to explain the problem of using the
1158         adjustment directly.
1159         (hildon_pannable_area_class_init): Improved the explanation about
1160         the velocity.
1161
1162 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
1163
1164         * src/hildon-app-menu-private.h
1165         * src/hildon-app-menu.c
1166         (hildon_app_menu_class_init):
1167         Bring back the 'external-border' style property
1168         (hildon_app_menu_class_init, hildon_app_menu_init)
1169         (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1170         Set a fixed width-request for the menu, independent of the number
1171         of items.
1172
1173         Fixes: NB#94957 (Smoothly opened application menu)
1174
1175 2009-03-30  Alberto Garcia  <agarcia@igalia.com>
1176
1177         * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1178
1179         * src/hildon-banner.c
1180         Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1181         (hildon_banner_map)
1182         Make sure that the banner is correctly placed the first time it's
1183         shown.
1184         (hildon_banner_check_position, -check_fullscreen_state):
1185         Show the banner in the same place no matter if the window is in
1186         fullscreen mode or not.
1187
1188         Fixes: NB#107386 (Odd stacking behaviour for information banners)
1189
1190 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
1191
1192         * src/hildon-touch-selector.c (_default_print_func): reorder
1193         concatenation for clarity.
1194
1195 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
1196
1197         * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1198         for multicolumn selectors.
1199
1200         Fixes: NB#109099 (Memory leak in Hildon touch selector)
1201
1202 2009-03-30  Claudio Saavedra  <csaavedra@igalia.com>
1203
1204         [Release 2.1.58]
1205
1206         * NEWS: Updates.
1207         * configure.ac: Bump version.
1208         * debian/changelog: Updates.
1209
1210 2009-03-27  Claudio Saavedra  <csaavedra@igalia.com>
1211
1212         * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1213         coding style fixes.
1214
1215 2009-03-26  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1216
1217         * configure.ac: removed libcangerra-gtk dependency
1218         * debian/control: removed libcanberra-gtk dependency
1219         * src/Makefile.am: removed libcanberra gtk related flags
1220         * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1221         context, and manage a global canberra context instead
1222
1223         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1224
1225 2009-03-26  Alberto Garcia  <agarcia@igalia.com>
1226
1227         Patch by Daniel Borgmann (danielb@openismus.com)
1228
1229         * src/hildon-edit-toolbar.c:
1230         Adjust the left padding.
1231         (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1232         Paint background of the edit toolbar.
1233
1234         Fixes: NB#107897 (Patch to make editmodetoolbar background
1235         themeable and adjust margin)
1236
1237 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
1238
1239         Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1240
1241         * src/hildon-program.c (hildon_program_update_top_most):
1242         Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1243
1244         Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1245         change when the user tasks in/out of an application)
1246
1247 2009-03-25  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1248
1249         * configure.ac: added libcangerra-gtk dependency
1250         * debian/control: added libcanberra-gtk dependency
1251         * src/Makefile.am: added libcanberra gtk related flags
1252         * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1253         instead of use it.
1254
1255         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1256
1257 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
1258
1259         * src/hildon-program.c (hildon_program_remove_window)
1260         (hildon_program_add_window): Add checks for the window
1261         parameter. Don't decrease the window counter if the window is not
1262         registered.
1263
1264 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
1265
1266         * src/hildon-pannable-area.c,
1267         (hildon_pannable_area_realize): Fixed position of the event_window
1268         in the realize method.
1269
1270 2009-03-24  Alberto Garcia  <agarcia@igalia.com>
1271
1272         * src/hildon-app-menu-private.h
1273         * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1274         (hildon_app_menu_map, hildon_app_menu_hide_idle)
1275         (hildon_app_menu_key_press, hildon_app_menu_init)
1276         (hildon_app_menu_finalize):
1277         Make sure that all idle functions are removed when the widget is
1278         destroyed.
1279
1280         Fixes: NB#107583 (Hildon app menu crashes in various applications)
1281
1282 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
1283
1284         [Release 2.1.56]
1285
1286         * NEWS: Updates.
1287         * configure.ac: Bump version.
1288         * debian/changelog: Updates.
1289
1290 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
1291
1292         * src/hildon-entry.c
1293         (+hildon_entry_show_placeholder),
1294         (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1295         that replace hildon_entry_update_contents().
1296         (hildon_entry_set_text),
1297         (hildon_entry_set_placeholder),
1298         (hildon_entry_focus_in_event),
1299         (hildon_entry_focus_out_event): Determine when it is needed
1300         either to show or hide the placeholder and call the above methods.
1301
1302         Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1303         when the placeholder text is already set)
1304
1305 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
1306
1307         * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1308         simple GdkPixbufAnim using the new icons for the banner.
1309         (hildon_banner_show_animation): Use the above mentioned method to
1310         create the animation widget.
1311
1312         Fixes: NB#103564 (Make hildon animation banner use individual
1313         image files as the animation)
1314
1315 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
1316
1317         * src/hildon-pannable-area.c,
1318         (hildon_pannable_leave_notify_event): Check if the child is NULL
1319         to avoid sending the leave.
1320
1321 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
1322
1323         * src/hildon-pannable-area.c,
1324         (hildon_pannable_area_class_init),
1325         (hildon_pannable_leave_notify_event): Added a handler of the
1326         leave-notify-signal to consider when no motion notify before
1327         leaving.
1328
1329         Fixes: NB#107494 (Items stay selected when clicking and moving
1330         away when inside pannable area)
1331
1332 2009-03-23  Claudio Saavedra  <csaavedra@igalia.com>
1333
1334         [Release 2.1.54]
1335
1336         * NEWS: Updates.
1337         * configure.ac: Bump version.
1338         * debian/changelog: Updates.
1339
1340 2009-03-19  Alejandro G. Castro  <alex@igalia.com>
1341
1342         Patch by Alberto Garcia (agarcia@igalia.com)
1343
1344         * src/hildon-date-button.c,
1345         (hildon_date_button_class_init),
1346         (hildon_date_button_init): Removed the construct property handling
1347         and created a default selector in the init method.
1348         * src/hildon-picker-button.c,
1349         (hildon_picker_button_class_init): Removed the construct flag of the
1350         selector property.
1351
1352 2009-03-18  Alberto Garcia  <agarcia@igalia.com>
1353
1354         * src/hildon-main.c (hildon_init):
1355         Don't allow hildon_init() to be called more than once.
1356
1357         Fixes: NB#106607 (hildon_init should issue error message upon
1358         successive calls)
1359
1360 2009-03-17  Alejandro Pinheiro  <apinheiro@igalia.com>
1361
1362         * examples/hildon-pannable-area-touch-list-example.c
1363         * examples/hildon-pannagle-area-touch-grid-example.c
1364         * examples/hildon-edit-toolbar-example.c
1365         * examples/hildon-touch-selector-multi-cells-example.c
1366         Removed the call to gtk_rc_parse_string, as it is not required since
1367         some time ago.
1368
1369 2009-03-17  Alejandro G. Castro  <alex@igalia.com>
1370
1371         * src/hildon-pannable-area.c,
1372         (hildon_pannable_area_class_init): Modified the default panning
1373         threshold of the widget to 6px.
1374
1375         Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1376         than the threshold value ) within the button is not sending the
1377         event to the clild)
1378
1379 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1380
1381         * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1382         for the treeview in the new column. This way, the touch list will never
1383         grab the focus.
1384
1385         Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1386         be selected manually for the HW keys to work)
1387
1388 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1389
1390         * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1391         comparison instead of using strcmp(). Fixes a compiler warning as well.
1392
1393 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1394
1395         * doc/hildon-docs.sgml: Do not set the library version in the
1396         document title, use the releaseinfo tag for that purpose instead.
1397
1398 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1399
1400         * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1401         Do not jump to the first item if the text in the entry is removed.
1402
1403 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1404
1405         [Release 2.1.52]
1406
1407         * NEWS: Updates.
1408         * configure.ac: Bump version.
1409         * debian/changelog: Updates.
1410
1411 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1412
1413         * src/hildon-entry.c (hildon_entry_refresh_contents):
1414         * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1415         Use "ReversedSecondaryTextColor" for the placeholder text.
1416
1417 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
1418
1419         * src/hildon-text-view.c: Fix compilation warning.
1420
1421 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
1422
1423         * src/hildon-button.c (hildon_button_class_init): Don't make
1424         "title" and "value" construction properties, to prevent them from
1425         overwriting labels set from derived classes.
1426
1427         * src/hildon-picker-button.c
1428         (hildon_picker_button_set_selector): Allow setting a NULL selector.
1429         (hildon_picker_button_class_init): Make touch-selector a
1430         construction property.
1431
1432         * src/hildon-date-button.c (hildon_date_button_class_init)
1433         (+hildon_date_button_constructed): Add a default date selector if
1434         none is provided.
1435
1436 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
1437
1438         * src/hildon-touch-selector.c: Small documentation fixes.
1439
1440 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
1441
1442         Based on a patch by Daniel Borgmann (danielb@openismus.com)
1443
1444         * src/hildon-entry.c (hildon_entry_refresh_contents),
1445         (hildon_entry_get_text), (hildon_entry_init): Do not use the
1446         widget name, set the logical color directly instead and a boolean
1447         showing_placeholder instead.
1448         * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1449         use the widget name here either.
1450
1451         Fixes: NB#105678 (HildonTextView should use logical colours
1452         instead of setting widget name)
1453
1454 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
1455
1456         Patch by Daniel Elster (danielk@openismus.com)
1457
1458         * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1459         Add user_data parameter.
1460         (hildon_touch_selector_set_print_func_full): New function akin
1461         hildon_touch_selector_set_print_func() but with support for user
1462         data and a destroy callback.
1463         (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1464         to clean up the print function user data.
1465         (hildon_touch_selector_class_init): Install dispose function.
1466         (HildonTouchSelectorPrivate::print_user_data),
1467         (HildonTouchSelectorPrivate::print_destroy_func): New private
1468         member data.
1469         (hildon_touch_selector_init): Initialize new private members.
1470         (hildon_touch_selector_get_current_text): Pass along user data
1471         to the print function.
1472         (_default_print_func): Add dummy user_data to parameter list.
1473         * hildon-date-selector.c (_custom_print_func): ditto,
1474         * hildon-time-selector.c (_custom_print_func): ditto,
1475         * hildon-touch-selector-entry.c
1476         (hildon_touch_selector_entry_print_func): ditto.
1477
1478         Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1479
1480 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
1481
1482         * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1483
1484 2009-03-12  Alejandro G. Castro  <alex@igalia.com>
1485
1486         * src/hildon-pannable-area.c,
1487         (hildon_pannable_area_init),
1488         (hildon_pannable_area_button_press_cb),
1489         (hildon_pannable_area_motion_notify_cb): We have added code to
1490         handle the leave and enter events when using the motion events.
1491
1492         Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1493
1494 2009-03-11  Alberto Garcia  <agarcia@igalia.com>
1495
1496         * src/hildon-date-button.c (hildon_date_button_get_date)
1497         (hildon_date_button_set_date): Make sure that the button has a
1498         selector.
1499
1500         Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1501
1502 2009-03-11  Alejandro G. Castro  <alex@igalia.com>
1503
1504         * src/hildon-pannable-area.c,
1505         (hildon_pannable_area_class_init),
1506         (hildon_pannable_area_calculate_velocity): Modify the use of the
1507         force and adapt the value.
1508
1509 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
1510
1511         * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1512         (hildon_app_menu_class_init): Hide the menu if it receives a
1513         delete-event, but don't destroy it
1514
1515         Fixes: NB#104485 (Not able to address the call when application
1516         menu is opened at background)
1517
1518 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
1519
1520         * src/hildon-app-menu.c
1521         (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1522         Remove the "external-border" style property, let the menu take its
1523         natural size (or the one set by the window manager)
1524         (hildon_app_menu_repack_items):
1525         Don't reshow the menu, avoid flickers.
1526
1527         Partially fixes NB#94957 (Smoothly opened application menu)
1528
1529 2009-03-10  Claudio Saavedra  <csaavedra@igalia.com>
1530
1531         [Release 2.1.50]
1532
1533         * NEWS: Updates.
1534         * configure.ac: Bump version.
1535         * debian/changelog: Updates.
1536
1537 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
1538
1539         * src/hildon-pannable-area.c,
1540         (hildon_pannable_area_motion_notify_cb): We control that the
1541         direction error margin is used just in case the movement is
1542         allowed in the other direction.
1543
1544         Fixes: NB#105012 (buttons inside a pannable area not getting
1545         release event when dragging/releasing)
1546
1547 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
1548
1549         * src/hildon-pannable-area.c,
1550         (hildon_pannable_area_class_init),
1551         (hildon_pannable_area_get_property),
1552         (hildon_pannable_area_set_property),
1553         (hildon_pannable_area_initial_effect),
1554         (hildon_pannable_axis_scroll),
1555         (hildon_pannable_area_button_release_cb): Reviewed the
1556         overshooting effect, now it has its own max
1557         speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1558         speed when bouncing.
1559
1560 2009-03-09  Claudio Saavedra  <csaavedra@igalia.com>
1561
1562         [Release 2.1.48]
1563
1564         * NEWS: Updates.
1565         * configure.ac: Bump version.
1566         * debian/changelog: Updates.
1567
1568 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
1569
1570         * src/hildon-pannable-area.c,
1571         (hildon_pannable_area_class_init): Changed the max speed, now
1572         users can launch the widget very fast. Reduced the default force,
1573         that way it is easier to control the launch speed.
1574
1575 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
1576
1577         * src/hildon-pannable-area.c,
1578         (hildon_pannable_area_button_release_cb): Removed this check
1579         because it causes problems when the device is overloaded.
1580
1581 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
1582
1583         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1584         add a current_text field to store the text entered in the
1585         touch selector entry.
1586         (_clean_current_selection): clean up the current text as well.
1587         (_save_current_selection), (_restore_current_selection):
1588         Save/restore the text in the entry if the selector is a
1589         HildonTouchSelectorEntry.
1590
1591         Fixes: NB#102541 (value entered in the touch selector entry is not
1592         shown when opened for second time)
1593
1594 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
1595
1596         * doc/hildon-sections.txt:
1597         * src/hildon-touch-selector-entry.c
1598         (+hildon_touch_selector_entry_get_entry):
1599         * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1600
1601         Fixes: NB#104815 (I need accessor to the entry inside
1602         HildonTouchSelectorEntry)
1603
1604 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
1605
1606         * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1607         (hildon_app_menu_class_init):
1608         New "filter-vertical-spacing" style property.
1609
1610 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
1611
1612         * src/hildon-find-toolbar.c
1613         (hildon_find_toolbar_emit_close)
1614         (hildon_find_toolbar_emit_invalid_input)
1615         (hildon_find_toolbar_entry_activate):
1616         Use g_signal_emit() instead of g_signal_emit_by_name()
1617
1618 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
1619
1620         Patch by Mox Soini (ext-mox.soini@nokia.com)
1621
1622         * tests/TEST-CASES.txt
1623         * tests/check-hildon-banner.c
1624         * tests/check-hildon-note.c
1625         * src/hildon-banner.c
1626         * src/hildon-code-dialog.c
1627         * src/hildon-date-editor.c (real_set_calendar_icon_state)
1628         * src/hildon-time-editor.c
1629         * examples/hildon-lookup-example.c (main):
1630         Replace obsolete icon names with new ones.
1631
1632         * src/hildon-find-toolbar-private.h:
1633         * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1634         (-hildon_find_toolbar_emit_search):
1635         Remove find button and change icon of close button.
1636
1637         Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1638
1639 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
1640
1641         * src/hildon-time-button.c (hildon_time_button_new_step):
1642         Use the "touch-selector" property to set the selector directly
1643         when creating the object.
1644
1645 2009-03-05  Alejandro G. Castro  <alex@igalia.com>
1646
1647         Added a new example application that allows tuning the pannable
1648         area and replaced defines with properties in order to simplify the
1649         tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1650         PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1651         PROP_DIRECTION_ERROR_MARGIN.
1652
1653         * examples/hildon-pannable-area-tuning-example.c: New example
1654         application.
1655         * src/hildon-pannable-area.c,
1656         (hildon_pannable_area_class_init),
1657         (hildon_pannable_area_init),
1658         (hildon_pannable_area_get_property),
1659         (hildon_pannable_area_set_property),
1660         (hildon_pannable_area_launch_fade_timeout),
1661         (hildon_pannable_area_adjust_value_changed),
1662         (hildon_pannable_axis_scroll),
1663         (hildon_pannable_area_motion_notify_cb),
1664         (hildon_pannable_area_scroll_cb),
1665         (hildon_pannable_area_button_release_cb): We have converted some
1666         of the defines that control the widget to properties to simplify
1667         the tuning.
1668
1669 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
1670
1671         * src/hildon-app-menu.c (hildon_app_menu_map)
1672         (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1673         so it's closed if a new window appears.
1674
1675         Fixes: NB#104485 (Not able to address the call when application
1676         menu is opened at background)
1677
1678 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
1679
1680         * src/hildon-color-button.c (hildon_color_button_get_property):Add
1681         missing 'break' statement in in 'case' construct to avoid
1682         incorrect warnings.
1683
1684 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
1685
1686         * src/hildon-touch-selector-entry.c
1687         (hildon_touch_selector_entry_get_property),
1688         (hildon_touch_selector_entry_set_property): Add missing 'break'
1689         statements in in 'case' constructs to avoid incorrect warnings.
1690
1691 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
1692
1693         * src/hildon-time-editor.c
1694         (hildon_time_editor_get_time_separators): Do not crash if
1695         the first label is NULL.
1696
1697 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
1698
1699         * src/hildon-date-selector.c (_month_days): Check for month to be
1700         strictly less than 12, since otherwise we may overrun the array.
1701
1702 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
1703
1704         * src/hildon-date-button.c (+hildon_date_button_new_full)
1705         (hildon_date_button_new, hildon_date_button_new_with_year_range)
1706         (hildon_date_button_init): Set the date selector using a
1707         construction property, to make it happen after HildonButton's
1708         "value" property is set.
1709
1710         Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1711         current date by default)
1712
1713 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
1714
1715         * doc/hildon-sections.txt
1716         * src/hildon-program.c
1717         * src/hildon-stackable-window.c
1718         * src/hildon-window.c:
1719         Documentation updates
1720
1721 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
1722
1723         * src/hildon-window-stack.c (hildon_window_stack_get_default)
1724         (hildon_window_stack_new, +hildon_window_stack_set_property)
1725         (+hildon_window_stack_get_property)
1726         (hildon_window_stack_class_init)
1727         (+hildon_window_stack_set_window_group)
1728         (+hildon_window_stack_get_window_group):
1729         Make the window group a construction property.
1730
1731 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
1732
1733         * doc/hildon-sections.txt
1734         * src/hildon-stackable-window-private.h
1735         * src/hildon-stackable-window.h
1736         * src/hildon-stackable-window.c
1737         (-hildon_stackable_window_set_app_menu)
1738         (-hildon_stackable_window_get_app_menu)
1739         (-hildon_stackable_window_toggle_menu)
1740         (-hildon_stackable_window_finalize)
1741         (hildon_stackable_window_class_init)
1742         (hildon_stackable_window_init)
1743         * src/hildon-window-private.h
1744         * src/hildon-window.h
1745         * src/hildon-window.c (hildon_window_init)
1746         (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1747         (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1748         (hildon_window_get_main_menu, hildon_window_set_main_menu)
1749         (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1750         Moved all HildonAppMenu code to HildonWindow. The menu does not
1751         require a HildonStackableWindow anymore.
1752
1753         * src/hildon-app-menu.c
1754         * src/hildon-program.c
1755         * examples/hildon-app-menu-example.c (main):
1756         Update examples and documentation to reflect HildonAppMenu
1757         changes.
1758
1759 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
1760
1761         * src/hildon-remote-texture.c
1762         * src/hildon-animation-actor.c:
1763         Don't include unused private headers.
1764
1765 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
1766
1767         * src/hildon-program-private.h
1768         * src/hildon-program.c
1769         (hildon_program_set_common_menu)
1770         (hildon_program_get_common_menu)
1771         (hildon_program_set_common_app_menu)
1772         (hildon_program_get_common_app_menu):
1773         Change common menu pointers from GtkWidget* to GtkMenu* and
1774         HildonAppMenu* to avoid unnecessary casts.
1775
1776 2009-03-03  Alberto Garcia  <agarcia@igalia.com>
1777
1778         * src/hildon-window.c (hildon_window_set_main_menu):
1779         Removed incorrect 'Since:' tag
1780
1781 2009-03-03  Alejandro G. Castro  <alex@igalia.com>
1782
1783         * src/hildon-pannable-area.c,
1784         (hildon_pannable_area_calculate_velocity): We use now the
1785         RATIO_TOLERANCE here to check the distance, fixed typo in the
1786         algorithm.
1787         (hildon_pannable_area_motion_notify_cb): We have to set the type
1788         and time even if we are not sending the motion.
1789
1790 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
1791
1792         * doc/hildon-sections.txt
1793         * src/hildon-app-menu.h
1794         * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1795         (+hildon_app_menu_get_filters): New methods to get the contents of
1796         a HildonAppMenu.
1797
1798         Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1799         children)
1800
1801 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
1802
1803         * src/hildon-app-menu.c (hildon_app_menu_popup):
1804         Add "Since" tag.
1805
1806 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
1807
1808         * src/hildon-window.h
1809         * src/hildon-window.c (+hildon_window_get_main_menu)
1810         (hildon_window_get_menu): Created hildon_window_get_main_menu()
1811         and deprecated hildon_window_get_menu().
1812
1813         * src/hildon-stackable-window.h
1814         * src/hildon-stackable-window.c
1815         (+hildon_stackable_window_set_app_menu)
1816         (+hildon_stackable_window_get_app_menu)
1817         (hildon_stackable_window_set_main_menu): Created
1818         hildon_stackable_window_{get,set}_app_menu() and deprecated
1819         hildon_stackable_window_set_main_menu().
1820
1821         * doc/hildon-sections.txt
1822         * examples/hildon-app-menu-example.c (main)
1823         * src/hildon-app-menu.c
1824         * src/hildon-program.c:
1825         Updated examples and documentation.
1826
1827         Fixes: NB#103758 (No way to obtain a menu from a
1828         HildonStackableWindow)
1829
1830 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
1831
1832         [Release 2.1.46]
1833
1834         * NEWS: Updates.
1835         * configure.ac: Bump version.
1836         * debian/changelog: Updates.
1837
1838 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
1839
1840         * examples/hildon-remote-texture-example.c: Include
1841         hildon-remote-texture.h explicitely.
1842         * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1843         applications not defining _XOPEN_SOURCE which don't require this header.
1844
1845 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
1846
1847         * doc/hildon-sections.txt
1848         * src/hildon-app-menu.h
1849         * src/hildon-app-menu.c (+hildon_app_menu_popup):
1850         New function to pop up a HildonAppMenu
1851
1852         * src/hildon-stackable-window.c
1853         (hildon_stackable_window_toggle_menu):
1854         Use hildon_app_menu_popup() to show the menu.
1855
1856 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
1857
1858         * src/hildon-app-menu.c (hildon_app_menu_show)
1859         (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1860         menu if there's another window between it and its parent window.
1861
1862         Fixes: NB#100468 (Application menu window is launched even when a
1863         new secondary-window/dialog is pending to be shown/realized)
1864
1865 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
1866
1867         * src/hildon-window-stack.c (hildon_window_stack_push)
1868         (hildon_window_stack_pop_and_push):
1869         Don't forget to push/pop the first window.
1870         Reverse the window list before calling _push_list()
1871
1872 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
1873
1874         * src/hildon-picker-button.h
1875         * src/hildon-picker-button.c (hildon_picker_button_class_init):
1876         Remove "value_changed" slot to avoid ABI breakage
1877
1878 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
1879
1880         * src/hildon-pannable-area.c,
1881         (hildon_pannable_area_realize),
1882         (hildon_pannable_area_unrealize),
1883         (hildon_pannable_draw_vscroll),
1884         (hildon_pannable_draw_hscroll): Changed the method to handle the
1885         GC used to draw the transparent scrollbar, this way we avoid
1886         creating the GC all the time when drawing the scrollbars.
1887
1888 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
1889
1890         * src/hildon-pannable-area.c,
1891         (hildon_pannable_area_init),
1892         (hildon_pannable_area_remove): Removed some unnecessary casts.
1893         (hildon_pannable_area_dispose): Disconnected some signals before
1894         releasing the adjustments.
1895
1896 2009-02-26  Alberto Garcia  <agarcia@igalia.com>
1897
1898         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1899         Make sure that all widgets contained in the toolbar are shown.
1900
1901 2009-02-25  Alberto Garcia  <agarcia@igalia.com>
1902
1903         * doc/hildon-sections.txt
1904         * src/hildon-picker-button.h
1905         * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1906         (_selection_changed, hildon_picker_button_on_dialog_response)
1907         (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1908         New hildon_picker_button_value_changed() method.
1909
1910         * src/Makefile.am
1911         * src/hildon-picker-button-private.h
1912         * src/hildon-picker-button.c (hildon_picker_button_init)
1913         (+hildon_picker_button_disable_value_changed): Add protected
1914         function for disabling the "value-changed" signal.
1915
1916         * src/hildon-date-button.c (hildon_date_button_set_date):
1917         Don't emit "value-changed" for each one of the three columns.
1918
1919         Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1920         before actual change of values)
1921
1922 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
1923
1924         * src/hildon-pannable-area.c,
1925         (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1926         for the treeview overshooting.
1927
1928 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
1929
1930         * src/hildon-banner.c (+hildon_banner_bind_style):
1931         Renamed from hildon_banner_bind_label_style(), now naming the
1932         banner itself as well.
1933         (hildon_banner_show_information),
1934         (hildon_banner_show_information_with_markup),
1935         (hildon_banner_show_animation), (hildon_banner_show_progress):
1936         Name the widgets and labels, based on their type.
1937
1938         See NB#98597 (Hildon Note and Hildon Banner should use themeable
1939         background image)
1940
1941 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
1942
1943         * src/hildon-note.c (hildon_note_set_property): call
1944         hildon_note_rename() on HildonNote:note-type set.
1945         (hildon_note_rename): Name the note and its label, based on the
1946         HildonNote:note-type property.
1947
1948         See NB#98597 (Hildon Note and Hildon Banner should use themeable
1949         background image)
1950
1951 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
1952
1953         * src/hildon-pannable-area.c,
1954         (hildon_pannable_area_class_init),
1955         (hildon_pannable_area_motion_notify_cb): Reviewed the default
1956         panning parameters, increased SPS and deceleration factor. Added
1957         also a margin to control fake directions.
1958
1959 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
1960
1961         Patch by Sven Herzberg (sven@imendio.com)
1962
1963         * configure.ac: Add missing AM_PROG_CC_C_0
1964         * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1965
1966         See NB#101420 (Update unit tests and fix make check)
1967
1968 2009-02-23  Alejandro G. Castro  <alex@igalia.com>
1969
1970         This patch was applied before but reverted because it caused
1971         problems, we have changed the main condition and tested the
1972         regressions we detected before and they work ok. We have done a
1973         complete review of the topmost algorithm in order to get a more
1974         general solution.
1975
1976         * src/hildon-pannable-area.c,
1977         (hildon_pannable_area_get_topmost): Added a new parameter to
1978         filter the the windows that do not include those events.
1979         (hildon_pannable_area_button_press_cb),
1980         (hildon_pannable_area_button_release_cb),
1981         (hildon_pannable_get_child_widget_at): Reviewed the call the the
1982         topmost function, we have added the new parameter.
1983
1984         Fixes: NB#97458 (Pannable area prevents propagation of button
1985         press events)
1986
1987 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
1988
1989         * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1990         if all columns in the selector have an item selected.
1991         (_on_dialog_response): Stop "response" signal emission if there is
1992         any selector column without selected items.
1993
1994         Fixes: NB#101889 (Picker dialog should not close when nothing is
1995         selected in multiple selection list)
1996
1997 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
1998
1999         * src/hildon-font-selection-dialog.c
2000         (hildon_font_selection_dialog_class_init),
2001         (hildon_font_selection_dialog_init): Remove the preview
2002         button and dialog, since previewing with default theming is likely
2003         to be overcomplicated. The :preview property has now no effect.
2004         Update documentation blurbs to inform about this.
2005
2006         Fixes: NB#92297 (Preview content is not clearly visible for
2007         default colour text)
2008
2009 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
2010
2011         Reviewed the geometry that handles the children size and
2012         scrollbar, now it tries a size and reviews the results depending
2013         on the scrollbars visibility.
2014
2015         * src/hildon-pannable-area.c,
2016         (hildon_pannable_area_realize): Fixed a typo.
2017         (hildon_pannable_area_child_allocate_calculate): Added this
2018         function to calculate the child allocation.
2019         (hildon_pannable_area_size_allocate): Reviewed the allocation
2020         code.
2021         (hildon_pannable_area_check_scrollbars),
2022         (hildon_pannable_area_refresh): Refactored refresh function, this
2023         way we can call the code handling the scrollbars without causing a
2024         size_request, it is interesting in the allocate.
2025         (hildon_pannable_area_init): Replace the callbacks of the
2026         value_changed and changed signals to propertly deal with the
2027         geometry.
2028         (hildon_pannable_area_grab_notify),
2029         (hildon_pannable_area_initial_effect),
2030         (hildon_pannable_area_launch_fade_timeout),
2031         (hildon_pannable_area_adjust_changed),
2032         (hildon_pannable_area_adjust_value_changed),
2033         (hildon_pannable_area_redraw),
2034         (hildon_pannable_area_button_press_cb),
2035         (hildon_pannable_area_button_release_cb),
2036         (hildon_pannable_area_scroll_cb),
2037         (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2038         code and use the new functions adjust_changed and
2039         adjust_value_changed.
2040
2041         Fixes: NB#101603 (Focus is not even for the text entry boxes in
2042         Contact editor dialog)
2043
2044 2009-02-20  Claudio Saavedra  <csaavedra@igalia.com>
2045
2046         [Release 2.1.44]
2047
2048         * NEWS: Updates.
2049         * configure.ac: Bump version.
2050         * debian/changelog: Updates.
2051
2052 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
2053
2054         * src/hildon-pannable-area.c,
2055         (hildon_pannable_area_get_topmost),
2056         (hildon_pannable_area_button_press_cb),
2057         (hildon_pannable_area_button_release_cb),
2058         (hildon_pannable_get_child_widget_at): Reverted the patch for the
2059         topmost function adding the event mask. We have to try a
2060         differente approach because it is still causing problems (NB#9745,
2061         reopened).
2062
2063 2009-02-19  Alberto Garcia  <agarcia@igalia.com>
2064
2065         * src/hildon-banner.c:
2066         Update the maximum width of timed banners.
2067         (force_to_wrap_truncated): Enforce the maximum text width if the
2068         label is wrapped.
2069
2070         Fixes: NB#102413 (The text margins (wrapping) in information
2071         banner should be HILDON_MARGIN_TRIPLE)
2072
2073 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
2074
2075         Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2076
2077         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2078         (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2079         bound when calculating the scroll indicator position.
2080
2081         Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2082         treat ->lower correctly)
2083
2084 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
2085
2086         * src/hildon-caption.c (hildon_caption_class_init): Remove the
2087         expose event handling, since it is not necessary to draw the focus
2088         anymore.
2089
2090         Fixes: NB#102467 (Do not show highlight on the text in
2091         HildonCaption)
2092
2093 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2094
2095         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2096         full height of the toolbar for the button and the label.
2097
2098 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2099
2100         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2101         padding before the label and after the button.
2102
2103 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2104
2105         * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2106
2107         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2108         Add a GtkVSeparator between the button and the back arrow.
2109         Let the button have automatic size.
2110         Set a name to the widget for theming handling.
2111
2112         Fixes: NB#101793 (Make edit toolbar the same height as window
2113         title bar (use title area theming))
2114
2115 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2116
2117         * src/hildon-helper.c (attach_new_color_element): Fix memory
2118         leak.
2119
2120         Fixes: NB#102262 (memory leak in hildon_button_set_style())
2121
2122 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2123
2124         * examples/hildon-button-example.c (common_buttons_window): Don't
2125         leak size groups.
2126
2127 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2128
2129         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2130         Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2131
2132 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2133
2134         * src/hildon-gtk.c: Check that the window is realized.
2135
2136         Fixes: NB#102225 (Crash setting the progress indicator to a non
2137         visible window)
2138
2139 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
2140
2141         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2142         (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2143         instead of modifying the one in the widget style.
2144
2145         Fixes: NB#101043 (Second row of all the command button are
2146         displayed in transparent mode.)
2147
2148 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
2149
2150         * src/hildon-date-button.c
2151         * src/hildon-time-button.c: Add gettext macros
2152
2153 2009-02-16  Claudio Saavedra  <csaavedra@igalia.com>
2154
2155         * src/hildon-date-button.c (hildon_date_button_new):
2156         * src/hildon-time-button.c (hildon_time_button_new_step):
2157         Use new logical strings to set the button default title.
2158
2159         Fixes: NB#99915 (Date and Time options are not localised in Date
2160         and Time setttings)
2161
2162 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
2163
2164         * src/hildon-pannable-area.c
2165         (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2166         the PANNING_THRESHOLD.
2167
2168 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
2169
2170         * src/hildon-pannable-area.c,
2171         (hildon_pannable_area_class_init): Increased the maximum speed.
2172         (hildon_pannable_area_get_property),
2173         (hildon_pannable_area_set_property),
2174         (hildon_pannable_area_timeout): Added a new low friction mode, it
2175         allows the user avoid friction when launching the widget fast
2176         enough. It is interesting to traverse long lists.
2177
2178 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
2179
2180         * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2181         (+hildon_stackable_window_delete_event): Ignore delete events if
2182         the window is not the topmost one.
2183
2184         Fixes: NB#101698 (Back button long press and delete-event handling)
2185
2186 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
2187
2188         * src/hildon-pannable-area.c,
2189         (hildon_pannable_area_motion_notify_cb): Removed the use of the
2190         gtk-dnd-drag-threshold, it was too big. We have defined our own
2191         dnd define and set a smaller value: PANNIG_THRESHOLD.
2192
2193 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
2194
2195         * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2196         user-defined icons, use always the default one.
2197
2198         Fixes: NB#101916 (Do not allow custom icons on animation banner)
2199
2200 2009-02-13  Alejandro G. Castro  <alex@igalia.com>
2201
2202         This patch was applied before but reverted because it caused
2203         problems, we have changed the main condition and tested the
2204         regressions we detected before and they work ok.
2205
2206         * src/hildon-pannable-area.c,
2207         (hildon_pannable_area_get_topmost): Added a new parameter to
2208         filter the the windows that do not include those events. Added
2209         also a condition when finding the window to filter windows that do
2210         not ask for those events.
2211         (hildon_pannable_area_button_press_cb),
2212         (hildon_pannable_area_button_release_cb),
2213         (hildon_pannable_get_child_widget_at): Reviewed the call the the
2214         topmost function, we have added the new parameter.
2215
2216         Fixes: NB#97458 (Pannable area prevents propagation of button
2217         press events)
2218
2219 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2220
2221         * tests/check-hildon-color-button.c (START_TEST): do not leak
2222         ret_color.
2223
2224 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2225
2226         * src/hildon-font-selection-dialog.c
2227         (hildon_font_selection_dialog_get_preview_text): Return NULL
2228         instead of FALSE on the g_return_val_if_fail().
2229
2230 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2231
2232         * src/hildon-time-selector.c (hildon_time_selector_set_time):
2233         * src/hildon-date-selector.c
2234         (hildon_date_selector_select_current_date):
2235         Do not compare unsigned integers to be greater than or equal 0,
2236         because it's always TRUE.
2237
2238 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2239
2240         * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2241         (hildon_date_selector_constructor): Do not select the current
2242         date until we are handle the "changed" signal, to avoid having bogus
2243         elements in the days model.
2244
2245 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2246
2247         * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2248         for num_days, since _month_days() can return a negative value.
2249
2250 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2251
2252         * src/hildon-caption.c (hildon_caption_size_allocate):
2253         * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2254         * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2255
2256         Initialize allocation variables to 0, to avoid eventually using
2257         unitialized variables.
2258
2259 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
2260
2261         * src/hildon-bread-crumb-trail.c
2262         (hildon_bread_crumb_trail_size_allocate):
2263         * src/hildon-calendar.c (hildon_calendar_set_background):
2264         * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2265         * src/hildon-range-editor.c (hildon_range_editor_get_range):
2266         * src/hildon-seekbar.c (hildon_seekbar_init):
2267         * src/hildon-time-editor.c (hildon_time_editor_get_time):
2268         * src/hildon-time-selector.c (hildon_time_selector_finalize):
2269         * src/hildon-touch-selector-entry.c
2270         (hildon_touch_selector_get_text_from_model):
2271         * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2272         * src/hildon-window.c (hildon_window_finalize):
2273
2274         Remove many unused variables.
2275
2276 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
2277
2278         * src/hildon-seekbar.c: (hildon_seekbar_init),
2279         (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2280
2281         Remove unnecessary g_assert() calls.
2282
2283 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
2284
2285         * src/hildon-caption.c: (hildon_caption_expose),
2286         (hildon_caption_set_property), (hildon_caption_init),
2287         (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2288         (hildon_caption_size_request), (hildon_caption_size_allocate),
2289         (hildon_caption_forall), (hildon_caption_set_separator),
2290         (hildon_caption_activate), (hildon_caption_set_child_expand),
2291         (hildon_caption_set_label_text),
2292         (hildon_caption_get_label_alignment):
2293
2294         Remove unnecessary g_assert() calls.
2295
2296 2009-02-12  Alberto Garcia  <agarcia@igalia.com>
2297
2298         * src/hildon-banner.c
2299         (hildon_banner_map, hildon_banner_init): Make banner temporary
2300         before mapping it to avoid closing other temporary windows, but
2301         make it non-temporary afterwards to avoid being closed by other
2302         non-temporary windows.
2303         (-hildon_banner_client_event, hildon_banner_init):
2304         _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2305
2306         Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2307         opened)
2308
2309 2009-02-11  Alberto Garcia  <agarcia@igalia.com>
2310
2311         * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2312         deprecation guard.
2313
2314 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
2315
2316         * src/hildon-remote-texture.c
2317         * src/hildon-remote-texture.h
2318         * src/hildon-remote-texture-private.h
2319         * examples/hildon-remote-texture-example.c:
2320         Updates/fixes to remote-texture and its example.
2321
2322 2009-02-11  Claudio Saavedra  <csaavedra@igalia.com>
2323
2324         Patch by Mox Soini (ext-mox.soini@nokia.com)
2325
2326         * src/hildon-code-dialog.c: Update logical id.
2327         * src/hildon-set-password-dialog.c: Update logical id.
2328
2329         Fixes: NB#100646 (Logical strings is shown for ok in set
2330         password,Password needed dialogs)
2331
2332 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
2333
2334         * src/hildon.h
2335         * src/hildon-remote-texture.c
2336         * src/hildon-remote-texture.h
2337         * src/hildon-remote-texture-private.h
2338         * src/Makefile.am
2339         Added remote texture widget (for Clutter shared memory textures)
2340
2341         * examples/hildon-remote-texture-example.c
2342         * examples/Makefile.am
2343         Added example file for remote texture usage
2344
2345 2009-02-10  Claudio Saavedra  <csaavedra@igalia.com>
2346
2347         * configure.ac: post release version bump.
2348         * debian/changelog: version bump.
2349
2350 2009-02-06  Claudio Saavedra  <csaavedra@igalia.com>
2351
2352         [Release 2.1.42]
2353
2354         * NEWS: Updates.
2355         * configure.ac: Bump version.
2356         * debian/changelog: Updates.
2357
2358 2009-02-06  Alberto Garcia  <agarcia@igalia.com>
2359
2360         * src/hildon-date-selector.c (hildon_date_selector_init)
2361         (hildon_date_selector_constructor): Don't connect to the "changed"
2362         signal until the selector is completely constructed.
2363
2364 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2365
2366         * src/hildon-touch-selector.c: (_create_new_column),
2367         (hildon_touch_selector_append_column),
2368         (hildon_touch_selector_set_column_selection_mode),
2369         (hildon_touch_selector_set_active),
2370         (hildon_touch_selector_select_iter):
2371         Emit the HildonTouchSelector::changed signal every time selection
2372         is changed in any of the methods above.  This behavior was already
2373         documented but not fully functional.
2374
2375         Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2376         selection is programmatically changed)
2377
2378 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2379
2380         * doc/hildon-sections.txt: Remove obsolete icon
2381         sizes from here as well.
2382
2383 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
2384
2385         * examples/hildon-stackable-window-example.c (add_window): Remove
2386         unnecessary return.
2387
2388 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
2389
2390         * src/hildon-app-menu.c
2391         (hildon_app_menu_show): Check whether the parent window of a menu
2392         is topmost before popping it up.
2393
2394         Fixes: NB#100468 (Application menu window is launched even when a
2395         new secondary-window/dialog is pending to be shown/realized.)
2396
2397 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2398
2399         * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2400         icon sizes.
2401
2402 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2403
2404         Patch by Mox Soini (ext-mox.soini@nokia.com)
2405
2406         * src/hildon-banner.c: (hildon_banner_show_animation):
2407         use stylus size instead of obsolete note size.
2408         * src/hildon-defines.h: Update icon sizes.
2409
2410 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2411
2412         * src/hildon-touch-selector-entry.c:
2413         (hildon_touch_selector_entry_init): Disable unsupported
2414         input modes.
2415         (hildon_touch_selector_entry_get_text_column): Emit a warning
2416         if an unsupported input modes is used and explicitile state
2417         these modes in the documentation.
2418
2419         Fixes: NB#99802 (Hildon touch selector entry not working properly
2420         for some of the input modes)
2421
2422 2009-02-05  Alejandro G. Castro  <alex@igalia.com>
2423
2424         * src/hildon-pannable-area.c,
2425         (hildon_pannable_area_init): Added the changed signal handlers of
2426         the adjustments.
2427
2428         Fixes: NB#100320 (HildonPannableArea does not listen to
2429         GtkAdjustment "change" signals)
2430
2431 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
2432
2433         * doc/hildon-sections.txt
2434         * src/hildon-window-private.h
2435         * src/hildon-window.h
2436         * src/hildon-window.c (hildon_window_init)
2437         (hildon_window_realize, hildon_window_unrealize)
2438         (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2439         (hildon_window_size_request, hildon_window_size_allocate)
2440         (hildon_window_forall, hildon_window_show_all)
2441         (hildon_window_destroy, +paint_edit_toolbar)
2442         (+hildon_window_set_edit_toolbar):
2443         New hildon_window_set_edit_toolbar() method, to add a
2444         HildonEditToolbar to a window without having to pack it manually.
2445
2446         Reorganize hildon_window_size_allocate()
2447
2448         * src/hildon-edit-toolbar.c: Update documentation.
2449
2450         * examples/hildon-edit-toolbar-example.c (edit_window): Update
2451         example to use the new API.
2452
2453         Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2454
2455 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
2456
2457         * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2458         Remove from stack before calling parent's hide.
2459
2460 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
2461
2462         * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2463         window is removed from the middle of the stack, update the
2464         transiency of the previous one.
2465
2466         Fixes: NB#100487 (HildonStackableWindow transiency becomes
2467         incoherent)
2468
2469 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
2470
2471         * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2472         block/unblock the signal handler if it's not actually being used.
2473         Fixes some critical warnings.
2474
2475 2009-02-02  Alberto Garcia  <agarcia@igalia.com>
2476
2477         Based on a patch by Iván Gómez (igomez@igalia.com)
2478
2479         * src/hildon-banner.c
2480         * src/hildon-gtk.c
2481         * src/hildon-main.c
2482         * src/hildon-note.c
2483         * src/hildon-pannable-area.c
2484         * src/hildon-picker-dialog.c
2485         * src/hildon-wizard-dialog.h
2486         * src/hildon-wizard-dialog.c: Documentation updates.
2487
2488         * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2489         gtk_dialog_add_button() instead of hildon_dialog_add_button().
2490
2491 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
2492
2493         * configure.ac: post release version bump.
2494         * debian/changelog: version bump.
2495
2496 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
2497
2498         [Release 2.1.40]
2499
2500         * NEWS: Updates.
2501         * configure.ac: Bump version.
2502         * debian/changelog: Updates.
2503
2504 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
2505
2506         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2507         a stock icon nor change the relief of the back arrow.
2508
2509         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2510         graphics from theme)
2511
2512 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
2513
2514         * src/hildon-button.c (hildon_button_set_alignment): Use
2515         priv->alignment if the button has no child yet.
2516
2517 2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
2518
2519         * src/hildon-button.c: (hildon_button_init): Set the
2520         button style during initialization to give it the proper
2521         label color.
2522
2523         Fixes: NB#99713 (HildonButton value label color is wrong)
2524
2525 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
2526
2527         * src/hildon-touch-selector.c: Document
2528         hildon_touch_selector_center_on_selected()
2529
2530 2009-01-28  Alberto Garcia  <agarcia@igalia.com>
2531
2532         * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2533         (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2534         all menu items, but not the menu itself.
2535         (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2536         (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2537         items after adding them to the menu so keyboard accelerators work.
2538         (hildon_app_menu_show): Don't show the menu if it contains items
2539         but none of them are visible.
2540
2541         * examples/hildon-app-menu-example.c (create_menu): Use
2542         gtk_widget_show_all() to show all menu items.
2543
2544 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
2545
2546         * src/hildon-picker-dialog.c:
2547         (-_update_title_on_selector_changed_cb),
2548         (-_dialog_update_title): Removed.
2549         (_select_on_selector_changed_cb), (_on_dialog_response),
2550         (on_selector_columns_changed): Do not update the dialog title.
2551         (setup_interaction_mode): Do not connect to
2552         HildonTouchSelector::changed signal if there's a "done" button, as
2553         the dialog title doesn't need to be updated.
2554
2555         Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2556         contents in title)
2557
2558 2009-01-27  Claudio Saavedra  <csaavedra@igalia.com>
2559
2560         Patch by Kristian Rietveld (kris@imendio.com)
2561
2562         * src/hildon-touch-selector.c: (_create_new_column): Use new
2563         GtkTreeView::hildon-row-tapped signal to react to user interactions
2564         instead of ::changed.
2565
2566         Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2567         with some dynamic tree model)
2568
2569 2009-01-27  Alberto Garcia  <agarcia@igalia.com>
2570
2571         * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2572         (+screen_size_changed, +label_size_request)
2573         (hildon_note_class_init): Make the Hildon information note have a
2574         minimum height, and make its text hvae a maximum width.
2575
2576         Fixes: NB#98614 (Hildon information note (background) should have
2577         minimum height and maximum text width)
2578
2579 2009-01-26  Alberto Garcia  <agarcia@igalia.com>
2580
2581         * src/hildon-banner.h
2582         * src/hildon-banner.c (hildon_banner_show_information)
2583         (hildon_banner_show_informationf)
2584         (hildon_banner_show_information_with_markup): Update documentation
2585         to reflect that the icon_name parameter is not used anymore.
2586         (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2587         Remove all code from these functions and mark them as deprecated.
2588         (hildon_banner_show_progress): Mark as deprecated.
2589
2590         Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2591
2592 2009-01-26  Alejandro G. Castro  <alex@igalia.com>
2593
2594         * src/hildon-pannable-area.c,
2595         (hildon_pannable_area_class_init),
2596         (tranparency_color),
2597         (hildon_pannable_draw_vscroll),
2598         (hildon_pannable_draw_hscroll),
2599         (hildon_pannable_area_expose_event): Added a new way to render the
2600         scrollbars of the pannable area avoiding using cairo at all. This
2601         way we improve the performance of the pannable area rendering. The
2602         cairo rendering procedure is still in the code, we can control
2603         which one to use changing the value of the define
2604         USE_CAIRO_SCROLLBARS.
2605
2606 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
2607
2608         * configure.ac: post release version bump.
2609         * debian/changelog: version bump.
2610
2611 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
2612
2613         [Release 2.1.38]
2614
2615         * NEWS: Updates.
2616         * configure.ac: Bump version.
2617         * debian/changelog: Updates.
2618
2619 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
2620
2621         * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2622         banners instead of destroying them when they receive a button
2623         press.
2624
2625 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
2626
2627         Reverted commit 34028, it was causing regressions, probably the
2628         topmost condition is not correct, we have to check it in more
2629         detail. We have reponed the bug: NB#97458 (Pannable area prevents
2630         propagation of button press events)
2631
2632 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
2633
2634         * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2635         that the selection is not empty before attempting to retrieve the
2636         current ampm selection.
2637
2638 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
2639
2640         * src/hildon-picker-button.c:
2641         (hildon_picker_button_on_dialog_response): Directly update the
2642         button contents when required instead of calling _selection_changed.
2643
2644 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
2645
2646         * src/hildon-program.c (hildon_program_update_top_most): Update
2647         'is-topmost' property also when wm_hints is not set.
2648
2649         Fixes: NB#98383 (is-topmost signal is not emitted when task
2650         switcher is clicked.)
2651
2652 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
2653
2654         Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2655
2656         * src/Makefile.am,
2657         * src/hildon.h,
2658         * src/hildon-animation-actor.c,
2659         * src/hildon-animation-actor.h: Added the animation actor class,
2660         this widget represents an animation actor for WM-assisted
2661         animation effects in the Hildon framework.
2662
2663 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
2664
2665         * src/hildon-window-stack-private.h
2666         * src/hildon-window-stack.c
2667         * src/hildon-stackable-window.c (hildon_stackable_window_show):
2668         Avoid calling gtk_widget_show() again indirectly from
2669         hildon_stackable_window_show()
2670
2671 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
2672
2673         * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2674         unused variable.
2675
2676 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
2677
2678         * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2679         (hildon_time_selector_init): Move the construction of the hours and
2680         ampm columns to the constructor to preserve the order the columns
2681         are appended.
2682
2683 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
2684
2685         * src/hildon-picker-dialog.c:
2686         (hildon_picker_dialog_class_init): Connect a realize method.
2687         (+hildon_picker_dialog_realize): Setup the interaction mode here
2688         and not before.
2689         (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2690         yet, do it during the realize instead.
2691         (_on_dialog_response):
2692         (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2693         if the widget is not realized, to avoid the dialog response before it
2694         is even shown.
2695
2696         Avoid premature responses in the HildonPickerDialog that can cause it
2697         to be hidden before it's even shown.
2698
2699 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
2700
2701         * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2702         (on_selector_columns_changed), (requires_done_button),
2703         (+prepare_action_area), (setup_interaction_mode),
2704         (_hildon_picker_dialog_set_selector):
2705
2706         Split the interaction mode setup into preparation of the
2707         action area (prepare_action_area()) and the connection of
2708         the signals in setup_interaction_mode() and update the code to
2709         reflect this.
2710
2711 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
2712
2713         * src/hildon-pannable-area.c,
2714         (hildon_pannable_area_class_init): Reduced the amount of scrolls
2715         per second to 15, we will check if this is ok regarding
2716         smoothness.
2717
2718 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
2719
2720         * src/hildon-pannable-area.c,
2721         (hildon_pannable_axis_scroll): Avoid resize if we already have
2722         reached overshoot_max.
2723
2724 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
2725
2726         * src/hildon-pannable-area.c,
2727         (hildon_pannable_area_init),
2728         (hildon_pannable_area_realize),
2729         (hildon_pannable_area_size_allocate),
2730         (hildon_pannable_area_map),
2731         (hildon_pannable_area_unmap),
2732         (hildon_pannable_draw_vscroll),
2733         (hildon_pannable_draw_hscroll),
2734         (hildon_pannable_area_expose_event),
2735         (hildon_pannable_area_refresh): Added a new GdkWindow to the
2736         pannable are to avoid the expose events go to the window and
2737         redraw the window. We save this way that part of the stack and the
2738         paint_boxes. We had to change the positions of the elements when
2739         drawing.
2740
2741 2009-01-21  Claudio Saavedra  <csaavedra@igalia.com>
2742
2743         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2744         * src/hildon-color-chooser-dialog.c:
2745         (hildon_color_chooser_dialog_init):
2746         * src/hildon-font-selection-dialog.c:
2747         (hildon_font_selection_dialog_init),
2748         (hildon_font_selection_dialog_show_preview):
2749         * src/hildon-get-password-dialog.c:
2750         * src/hildon-login-dialog.c:
2751         * src/hildon-set-password-dialog.c:
2752         * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2753         * src/hildon-time-picker.c: (hildon_time_picker_init):
2754
2755         Remove obsolete logical string IDs and update to the appropriate ones.
2756
2757         Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2758
2759 2009-01-21  Alberto Garcia  <agarcia@igalia.com>
2760
2761         * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2762         that happens if the window hasn't been realized yet.
2763
2764         Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2765         - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2766
2767 2009-01-20  Alberto Garcia  <agarcia@igalia.com>
2768
2769         * src/hildon-app-menu.c (hildon_app_menu_class_init)
2770         (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2771         by another grab.
2772
2773         Fixes: NB#98537 (Device hangs in account settings dialog)
2774
2775 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
2776
2777         * configure.ac: post release version bump.
2778         * debian/changelog: version bump
2779
2780 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
2781
2782         [Release 2.1.36]
2783
2784         * NEWS: Updates.
2785         * configure.ac: Bump version.
2786         * debian/changelog: Updates.
2787
2788 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
2789
2790         Added a new function to the HildonTimeButton widget that allows to
2791         change the step of the minutes in the selector associated with the
2792         button: hildon_time_button_new_step
2793
2794         * src/hildon-time-button.c,
2795         (hildon_time_button_init),
2796         (hildon_time_button_new),
2797         (hildon_time_button_new_step):
2798         * src/hildon-time-button.h: Added the new function and refactored
2799         the code.
2800         * examples/hildon-time-button-example.c,
2801         (main): We have replaced the function without parameters with the
2802         function with the steps set to 5
2803
2804         Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2805
2806 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
2807
2808         * src/hildon-time-selector.c,
2809         (hildon_time_selector_class_init),
2810         (hildon_time_selector_constructor),
2811         (hildon_time_selector_get_property),
2812         (hildon_time_selector_set_property),
2813         (_create_minutes_model),
2814         (hildon_time_selector_new_step),
2815         (hildon_time_selector_set_time),
2816         * src/hildon-time-selector.h: Added a new property to the
2817         HildonTimeSelector (minutes-step), we use that property to control
2818         the steps between the minutes in the list of the selector. We have
2819         added a new function to the API to create a widget changing the
2820         step: hildon_time_selector_new_step.
2821
2822 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
2823
2824         * src/hildon-time-selector.c,
2825         (hildon_time_selector_class_init),
2826         (hildon_time_selector_constructor),
2827         (hildon_time_selector_init): Overrided the construct function when
2828         creating the time selector object. We have moved the minutes model
2829         handling code from the init to the new construction function:
2830         hildon_time_selector_constructor.
2831
2832 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
2833
2834         * examples/hildon-date-button-example.c: (main): Use the new
2835         hildon_date_button_new_with_year_range() method in the example.
2836         * src/hildon-date-button.c:
2837         (+hildon_date_button_new_with_year_range): New public method
2838         to conveniently create a HildonDateButton with a custom year range
2839         in its HildonDateSelector.
2840         * src/hildon-date-button.h: Add the new public method definition.
2841
2842         Fixes: NB#97908 (Not possible to change the year range in
2843         HildonDateSelector/HildonDateButton)
2844
2845 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
2846
2847         * src/hildon-date-selector.c:
2848         (+hildon_date_selector_set_property),
2849         (+hildon_date_selector_get_property),
2850         (hildon_date_selector_class_init): Install new properties "min-year"
2851         and "max-year" to define boundaries for the year column.
2852         (_create_year_model): Use the boundary properties to populate the model.
2853         (+hildon_date_selector_new_with_year_range): New public method to
2854         create a HildonDateSelector with a user defined year range.
2855         (hildon_date_selector_select_current_date): Use the new boundaries to
2856         calculate the iterator of current year.
2857         * src/hildon-date-selector.h: Add the new public method definition.
2858
2859 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
2860
2861         * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2862         Install a constructor method.
2863         (+hildon_date_selector_construct_ui): construct the widget.
2864         (+hildon_date_selector_constructor): new constructor.
2865         (+hildon_date_selector_init): move out widget construction code to
2866         the new constructor.
2867
2868 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
2869
2870         * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2871         that there's actually a month or year selected before obtaining them.
2872         * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2873         of the HildonTouchSelector::changed signal, as it was emitted on every
2874         single item selection.
2875
2876         Fix some warnings and possible crashers due to the selection restoring.
2877
2878 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
2879
2880         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2881         the signal handlers only after creating the dialog instead of on every
2882         button click.
2883
2884 2009-01-19  Alberto Garcia  <agarcia@igalia.com>
2885
2886         * src/hildon-button.c (hildon_button_init)
2887         * src/hildon-check-button.c (hildon_check_button_init)
2888         * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2889         focus when clicked by default.
2890
2891 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
2892
2893         * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2894         g_object_unref().
2895
2896 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
2897
2898         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2899         Alejandro G. Castro  (alex@igalia.com)
2900
2901         * src/hildon-picker-dialog.c:
2902         (hildon_picker_dialog_class_init): install new "center-on-show"
2903         property.
2904         (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2905         (hildon_picker_dialog_set_property): add setter code for the new
2906         property.
2907         (hildon_picker_dialog_get_property): add getter code for the new
2908         property.
2909         (hildon_picker_dialog_show): Ensure visibility of selected items in the
2910         HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2911         default.
2912
2913         Fixes: NB#92849 (Selected item is not always visible when
2914         HildonTouchSelector is shown)
2915
2916 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
2917
2918         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2919         Alejandro G. Castro  (alex@igalia.com)
2920
2921         * src/hildon-touch-selector.c:
2922         (_create_new_column): Do not connect to the "realize" signal of the
2923         pannable area.
2924         (hildon_touch_selector_append_column): center on the selected items
2925         when a new column is appended.
2926         (hildon_touch_selector_select_iter): Factor out the code to select a
2927         column to hildon_touch_selector_scroll_to().
2928         (+search_nearest_element): Method to retrieve the nearest selected
2929         element to the visible area of the pannable area in a column.
2930         (+on_realize_cb): scroll to the initially selected item.
2931         (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2932         the pannable area is realized, otherwise delay this until it is.
2933         (+_hildon_touch_selector_center_on_selected_items): Centers on the
2934         selected items of a given column.
2935         (+hildon_touch_selector_center_on_selected): Public method to center
2936         all columns on the nearest selected item.
2937         * src/hildon-touch-selector.h: Add definition for
2938         hildon_touch_selector_center_on_selected().
2939
2940         Implement public API to ensure visibility of all selected items in
2941         a HildonTouchSelector.
2942
2943 2009-01-16  Alejandro G. Castro  <alex@igalia.com>
2944
2945         Fixed a problem in the fading when calling the scroll_to API, and
2946         improve scrollbar fading handling.
2947
2948         * src/hildon-pannable-area.c,
2949         (hildon_pannable_area_grab_notify): avoid the timeout when the
2950         alpha is zero.
2951         (hildon_pannable_area_button_press_cb),
2952         (hildon_pannable_area_motion_notify_cb): Code style changes.
2953         (hildon_pannable_area_button_release_cb): Review the conditions
2954         when releasing the mouse button to avoid unrequired fading
2955         timeouts.
2956         (hildon_pannable_area_scroll_to): Do not calculate and set the
2957         velocity if the scroll is not required.
2958
2959 2009-01-15  Alberto Garcia  <agarcia@igalia.com>
2960
2961         * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2962         Don't check whether the new selector is NULL: it cannot be.
2963         Hold a reference to the selector while doing the replacement.
2964
2965 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
2966
2967         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2968         unnecessary size_request in a removed widget.
2969
2970 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
2971
2972         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2973         an unnecessary reference tracking that was leaking.
2974
2975 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
2976
2977         Added delayed motion notify event handling, this way we can
2978         discard redrawing if more than 25 events arrive per second.
2979
2980         * src/hildon-pannable-area.c,
2981         (hildon_pannable_area_init): Initialized the new private atributes
2982         controlling this timeout
2983         (hildon_pannable_area_dispose): Remove the timeout that controls
2984         the motion notify events.
2985         (hildon_pannable_area_scroll): Added a condition to control the
2986         use of the acceleration.
2987         (hildon_pannable_area_motion_event_scroll_timeout),
2988         (hildon_pannable_area_motion_event_scroll): Added this two
2989         functions, they handle the motion notify events inside the
2990         timeout.
2991         (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2992         to the scroll method with the new function.
2993         (hildon_pannable_area_button_release_cb): We have to remove the
2994         timeout handler and move to the last position if the last motion
2995         events were not handled.
2996
2997         Fixes: NB#97028 (Pannable area updates on every motion event)
2998
2999 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3000
3001         * src/hildon-pannable-area.c,
3002         (hildon_pannable_area_get_topmost): Added a new parameter to
3003         filter the the windows that do not include those events. Added
3004         also a condition when finding the window to filter windows that do
3005         not ask for those events.
3006         (hildon_pannable_area_button_press_cb),
3007         (hildon_pannable_area_button_release_cb),
3008         (hildon_pannable_get_child_widget_at): Reviewed the call the the
3009         topmost function, we have added the new parameter.
3010
3011         Fixes: NB#97458 (Pannable area prevents propagation of button
3012         press events)
3013
3014 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3015
3016         * src/hildon-pannable-area.c,
3017         (hildon_pannable_area_initial_effect): Added controls before
3018         launching the timeout and the idle functions.
3019         (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3020         of the method, in some situations it can return with TRUE and 0 in
3021         the timeout.
3022         (hildon_pannable_area_button_press_cb): We do not need to set
3023         DELAY for fading out here.
3024
3025         Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3026
3027 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3028
3029         * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3030         post-cleaning if the selection is not NULL.
3031
3032 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3033
3034         * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3035         all items before restoring the selection.
3036
3037 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3038
3039         * src/hildon-touch-selector.c:
3040         (+hildon_touch_selector_unselect_all):
3041         * src/hildon-touch-selector.h: New API to unselect all items in a
3042         column of the touch selector.
3043
3044 2009-01-14  Alejandro G. Castro  <alex@igalia.com>
3045
3046         * src/hildon-pannable-area.c,
3047         (hildon_pannable_area_redraw): Added a call to the refresh
3048         function inside the redraw because apparently in some cases the
3049         change in the adjustment does not imply a size allocate.
3050
3051         Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3052         despite the view not being scrollable)
3053
3054 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3055
3056         * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3057         leak. Check for NULL before attempting to set the window title.
3058
3059 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3060
3061         * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3062         whether to show or not the 'Done' button each time the dialog is
3063         shown, as it depends on the HildonTouchSelector selection mode.
3064
3065         Fixes: NB#96226 (In multiple selection mode Done button is shown
3066         sometimes in listpicker)
3067
3068 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3069
3070         * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3071         for the number of columns in the HildonTouchSelector more than once.
3072
3073 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3074
3075         * src/hildon-touch-selector.c: Minor documentation fixes.
3076
3077         * src/hildon-picker-dialog.c (+_dialog_update_title)
3078         (_select_on_selector_changed_cb)
3079         (_update_title_on_selector_changed_cb)
3080         (on_selector_columns_changed): Update dialog title when there's no
3081         'Done' button and also when the number of columns in the selector
3082         changes.
3083         Code refactoring.
3084
3085         * src/hildon-picker-button.c (hildon_picker_button_finalize)
3086         (+_selection_changed, hildon_picker_button_on_dialog_response)
3087         (hildon_picker_button_selector_selection_changed)
3088         (+hildon_picker_button_selector_columns_changed)
3089         (hildon_picker_button_set_selector): Update button value and emit
3090         'value-changed' when the number of columns in the selector
3091         changes.
3092         Code refactoring.
3093
3094         Fixes: NB#96225 (Dialog titles are not shown according to the
3095         values selected in the list picker)
3096
3097 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
3098
3099         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3100         (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3101         New "arrow-width" and "arrow-height" style properties to set the
3102         size of the arrow button.
3103         Set name of arrow button ("hildon-edit-toolbar-arrow").
3104
3105         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3106         graphics from theme)
3107
3108 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
3109
3110         * src/hildon-picker-button.c:
3111         (hildon_picker_button_selector_selection_changed): Use
3112         GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3113         the dialog is present.
3114
3115         Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3116         the selection is accepted in the dialog)
3117
3118 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
3119
3120         * src/hildon-color-chooser.h
3121         * src/hildon-color-chooser-dialog.h:
3122         Added G_BEGIN_DECLS and G_END_DECLS
3123
3124 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
3125
3126         (_clean_current_selection): plug a leak in the list.
3127
3128 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
3129
3130         * src/hildon-picker-dialog.c:
3131         (+free_path_list): Method to free a GList of GtkTreePaths.
3132         (_clean_current_selection), (_save_current_selection),
3133         (_restore_current_selection): Save the current selection in
3134         as a list of lists, to support multiple selection properly.
3135
3136 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
3137
3138         patch by Claudio Saavedra (csaavedra@igalia.com)
3139
3140         * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3141         Store the press position.
3142         (+hildon_text_view_button_release_event): If the release position is
3143         close enough to the press position, move the cursor here. Otherwise,
3144         ignore.
3145         (hildon_text_view_class_init): Override GtkTextView press, release, and
3146         motion event handlers, disabling this way text selection through
3147         pointer interaction, and allowing the container widget to handle the
3148         motion event.
3149
3150         Fixes: NB#95828 (HildonTextView functionality)
3151
3152 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
3153
3154         Based on a patch by Iván Gómez (igomez@igalia.com)
3155
3156         * src/hildon-button.[ch]
3157         * src/hildon-calendar.c
3158         * src/hildon-check-button.c
3159         * src/hildon-date-editor.c
3160         * src/hildon-date-selector.c
3161         * src/hildon-picker-button.c
3162         * src/hildon-time-editor.c
3163         * src/hildon-time-selector.c
3164         * src/hildon-touch-selector.[ch]:
3165         Documentation updates
3166
3167 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
3168
3169         * src/hildon-pannable-area.c,
3170         (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3171         threshold, it was required due to X events handling.
3172
3173 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
3174
3175         * src/hildon-pannable-area.c,
3176         (hildon_pannable_area_grab_notify),
3177         (hildon_pannable_area_initial_effect),
3178         (hildon_pannable_area_button_press_cb),
3179         (hildon_pannable_area_button_release_cb),
3180         (hildon_pannable_area_scroll_cb),
3181         (hildon_pannable_area_scroll_to): Review the timeout management of
3182         the scrollbar, the frecuency was incorrectly set.
3183
3184 2009-01-09  Claudio Saavedra  <csaavedra@igalia.com>
3185
3186         * src/hildon-picker-button.c:
3187         (+hildon_picker_button_on_dialog_response),
3188         (hildon_picker_button_clicked): Present the dialog instead of
3189         running it with gtk_dialog_run().
3190
3191         Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3192         picker dialog)
3193
3194 2009-01-07  Alberto Garcia  <agarcia@igalia.com>
3195
3196         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3197         (hildon_app_menu_finalize): When a window is hidden it doesn't
3198         emit notify::is-topmost, so make sure than the menu also
3199         disappears in that case.
3200         (parent_window_topmost_notify): Renamed from parent_window_hidden
3201
3202         Fixes: NB#94460 (stackable window's menu is not closed when its
3203         window is hidden)
3204
3205 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
3206
3207         * src/hildon-touch-selector-entry.c:
3208         (+hildon_touch_selector_entry_set_input_mode),
3209         (+hildon_touch_selector_entry_get_input_mode):
3210         * src/hildon-touch-selector-entry.h: New methods to access the input
3211         mode in the selector's entry.
3212
3213         Fixes: NB#93410 (API required for setting IM mode in
3214         HildonTouchSelectorEntry)
3215
3216 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
3217
3218         * configure.ac: post release version bump.
3219         * debian/changelog: version bump
3220
3221 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
3222
3223         [Release 2.1.34]
3224
3225         * NEWS: Updates.
3226         * configure.ac: Bump version.
3227         * debian/changelog: Updates.
3228
3229 2008-12-19  Claudio Saavedra  <csaavedra@igalia.com>
3230
3231         * src/hildon-touch-selector.c:
3232         (_hildon_touch_selector_has_multiple_selection): No need
3233         to initialize the variables here.
3234
3235 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
3236
3237         * src/hildon-note-private.h
3238         * src/hildon-note.c (event_box_press_event, hildon_note_init)
3239         (hildon_note_finalize, hildon_note_rebuild): Close information
3240         notes when they receive a button press.
3241
3242         Fixes: NB#89890 (Information notes does not get disappeared after
3243         few seconds)
3244
3245 2008-12-17  Claudio Saavedra  <csaavedra@igalia.com>
3246
3247         * src/hildon-wizard-dialog.c: (create_title): Remove translation
3248         mark from the wizard title, as it's not really necessary. Also,
3249         do not display the page title if not set.
3250
3251 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
3252
3253         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3254         (parent_window_hidden): Use the window's "is-topmost" property to
3255         detect when to hide the menu.
3256
3257 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
3258
3259         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3260         (hildon_app_menu_finalize): If the parent window of the menu is
3261         hidden, hide the menu too.
3262
3263         Fixes: NB#94460 (stackable window's menu is not closed when its
3264         window is hidden)
3265
3266 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
3267
3268         * debian/changelog
3269         * debian/libhildon1-examples.install
3270         * debian/rules
3271         * examples/Makefile.am:
3272         Use dh_install to install all examples.
3273         Use DEB_SRCDIR instead of defining SOURCE_DIR
3274
3275 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
3276
3277         * configure.ac: post release version bump.
3278         * debian/changelog: version bump
3279
3280 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
3281
3282         [Release 2.1.32]
3283
3284         * NEWS: updates
3285         * configure.ac: bump version
3286         * debian/changelog: updates
3287         * debian/control: bump gtk+ dependency
3288
3289 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
3290
3291         patch by Christian Dywan (christian@imendio.com)
3292
3293         * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3294         (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3295
3296 2008-12-15  Alberto Garcia  <agarcia@igalia.com>
3297
3298         * src/hildon-check-button.c (hildon_check_button_init)
3299         (hildon_check_button_class_init, hildon_check_button_style_set)
3300         (hildon_check_button_apply_style):
3301         New "checkbox-size" style property.
3302
3303         Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3304         larger / configurable size)
3305
3306 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
3307
3308         * configure.ac: post release version bump.
3309         * debian/changelog: version bump
3310
3311 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
3312
3313         [Release 2.1.30]
3314
3315         * NEWS: updates
3316         * configure.ac: bump version
3317         * debian/changelog: updates
3318
3319 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
3320
3321         * doc/hildon-sections.txt
3322         * src/hildon-pannable-area.c
3323         * src/hildon-program.c
3324         * src/hildon-time-editor.c
3325         * src/hildon-touch-selector-entry.c:
3326
3327         More documentation updates.
3328
3329 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
3330
3331         * doc/hildon-sections.txt
3332         * src/hildon-caption.c
3333         * src/hildon-code-dialog.c
3334         * src/hildon-color-button.c
3335         * src/hildon-controlbar.c
3336         * src/hildon-date-editor.c
3337         * src/hildon-date-selector.c
3338         * src/hildon-edit-toolbar.c
3339         * src/hildon-find-toolbar.c
3340         * src/hildon-font-selection-dialog.c
3341         * src/hildon-gtk.c
3342         * src/hildon-program.c
3343         * src/hildon-range-editor.c
3344         * src/hildon-seekbar.c
3345         * src/hildon-time-editor.c
3346         * src/hildon-time-selector.c
3347         * src/hildon-volumebar-range.c
3348         * src/hildon-volumebar.c
3349         * src/hildon-vvolumebar.c
3350         * src/hildon-weekday-picker.c
3351         * src/hildon-window.c
3352         * src/hildon-wizard-dialog.c:
3353
3354         Lots of documentation fixes.
3355
3356 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3357
3358         Patch contributed by Iván Gómez (igomez@igalia.com)
3359
3360         * src/hildon-check-button.c:
3361         * src/hildon-date-button.c:
3362         * src/hildon-date-selector.c:
3363         * src/hildon-dialog.c:
3364         * src/hildon-edit-toolbar.c:
3365         * src/hildon-entry.c:
3366         * src/hildon-picker-button.c:
3367         * src/hildon-program.c:
3368         * src/hildon-text-view.c:
3369         * src/hildon-time-button.c:
3370         * src/hildon-touch-selector-entry.c:
3371         * src/hildon-window-stack.c:
3372
3373         Add more "since" tags to the new API.
3374
3375 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3376
3377         * doc/hildon-sections.txt: Add below method.
3378         * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3379         version for the hildonized scale.
3380         * src/hildon-gtk.h: Add the definition.
3381
3382         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3383
3384 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3385
3386         * doc/hildon-sections.txt: Add missing entries for new methods.
3387
3388 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
3389
3390         Added API to pannable are in order to get its adjustments. We
3391         added two properties to manage the values we had in the private
3392         structure.
3393
3394         * src/hildon-pannable-area.c:
3395         (hildon_pannable_area_class_init): Added hadjustment and
3396         vadjustment properties in order to expose horizontal and vertical
3397         adjustment.
3398         (hildon_pannable_area_get_property),
3399         (hildon_pannable_area_set_property): Added code to handle the new
3400         properties
3401         (hildon_pannable_area_get_hadjustment),
3402         (hildon_pannable_area_get_vadjustment): API functions to get the
3403         adjustments
3404         * src/hildon-pannable-area.h:
3405         (hildon_pannable_area_get_hadjustment),
3406         (hildon_pannable_area_get_vadjustment): API functions to get the
3407         adjustments
3408
3409 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
3410
3411         Fixed some leaks, after valgrinding.
3412
3413         * src/hildon-touch-selector.c:
3414         (_default_print_func): Fixed a leak.
3415         (hildon_touch_selector_append_column): Fixed a leak.
3416         * src/hildon-date-button.c:
3417         (hildon_date_button_init): Fixed a leak.
3418         * src/hildon-date-selector.c
3419         (hildon_date_selector_finalize): Fixed a leak.
3420
3421 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3422
3423         Based on a patch by Christian Dywan (christian@imendio.com)
3424
3425         * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3426         GtkHScale.
3427         * src/hildon-gtk.h: Add definition.
3428
3429         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3430
3431 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
3432
3433         * src/hildon-picker-button.c: (hildon_picker_button_init),
3434         (hildon_picker_button_new): Set the HildonButton::style property
3435         in the init method, to propagate the value to the derived classes.
3436
3437 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
3438
3439         * src/hildon-button.c: (hildon_button_class_init): Do not make
3440         the "style" property a construct property.
3441
3442 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
3443
3444         * src/hildon-wizard-dialog.h
3445         * src/hildon-wizard-dialog.c
3446         (hildon_wizard_dialog_set_forward_page_func)
3447         * src/hildon-pannable-area.h
3448         * src/hildon-pannable-area.c
3449         (hildon_pannable_area_set_size_request_policy):
3450         Documentation fixes.
3451
3452 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
3453
3454         * doc/hildon-sections.txt: Fixed warning about unused symbols.
3455
3456 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
3457
3458         * doc/hildon-sections.txt: Added sections file.
3459
3460 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
3461
3462         * AUTHORS: Updates.
3463         * src/*.[ch]: Updates.
3464
3465 2008-12-10  Thomas Thurman  <thomas.thurman@collabora.co.uk>
3466
3467         * examples/hildon-progress-indicator-example.c: new file
3468         * examples/Makefile.am: include the new example program
3469
3470 2008-12-10  Alberto Garcia  <agarcia@igalia.com>
3471
3472         * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3473
3474 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3475
3476         * configure.ac: post release version bump
3477         * debian/changelog: version bump
3478
3479 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3480
3481         [Release 2.1.28]
3482
3483         * NEWS: updates
3484         * configure.ac: bump version
3485         * debian/changelog: updates
3486         * debian/control: bump gtk+ dependency
3487
3488 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3489
3490         * src/hildon-dialog.c: Mark as deprecated.
3491         * src/hildon-dialog.h: Mark as deprecated.
3492         * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3493         from HildonDialog and still work, even if
3494         HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3495         break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3496
3497         Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3498         maemo changes) instead)
3499
3500 2008-12-09  Alejandro G. Castro  <alex@igalia.com>
3501
3502         * src/hildon-pannable_area.h:
3503         * src/hildon-pannable_area.c:
3504         (hildon_pannable_area_class_init),
3505         (hildon_pannable_area_set_property),
3506         (hildon_pannable_area_get_property),
3507         (hildon_pannable_area_size_request),
3508         (hildon_pannable_area_get_size_request_policy),
3509         (hildon_pannable_area_set_size_request_policy): Added new API
3510         allowing applications to control the request policy. Now they can
3511         choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3512         children allocation (HILDON_MOVEMENT_CHILDREN).
3513
3514 2008-12-09  Alberto Garcia  <agarcia@igalia.com>
3515
3516         * src/hildon-gtk.h
3517         * src/hildon-gtk.c
3518         (hildon_gtk_tree_view_set_ui_mode)
3519         (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3520         mode of treeviews and iconviews.
3521
3522 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3523
3524         * src/hildon-touch-selector-entry.c:
3525         (hildon_touch_selector_entry_init): Use a HildonEntry instead
3526         of a GtkEntry to get proper theming.
3527
3528         Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3529         widget, not GtkEntry)
3530
3531 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3532
3533         * src/hildon-wizard-dialog.c: (response): Move forward if there is
3534         no HildonWizardDialogPageFunc.
3535
3536 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3537
3538         Patch contributed by Iván Gómez (igomez@igalia.com)
3539
3540         * src/hildon-app-menu.c:
3541         * src/hildon-button.c:
3542         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3543         * src/hildon-stackable-window.c:
3544         * src/hildon-time-selector.c:
3545         * src/hildon-touch-selector.c:
3546         * src/hildon-window.c:
3547
3548         Add more "since" tags to the new API in hildon 2.2.
3549
3550 2008-12-05  Tim Janik  <timj@imendio.com>
3551
3552         Patch contributed by Christian Dywan (christian@imendio.com)
3553
3554         * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3555         HildonSizeType, which are supplied by Gtk+ now.
3556
3557         * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3558
3559         Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3560         (with maemo changes) instead)
3561
3562 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
3563
3564         Patch contributed by Iván Gómez (igomez@igalia.com)
3565
3566         * src/hildon-pannable-area.c: Add "since" tags to the new API in
3567         hildon 2.2.
3568
3569 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
3570
3571         * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3572         (some_page_func), (main): Update the example to use a
3573         HildonWizardDialogPageFunc function.
3574
3575         * src/hildon-wizard-dialog-private.h: Add private data for
3576         the HildonWizardDialogPageFunc function usage.
3577
3578         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3579         (destroy), (hildon_wizard_dialog_init), (response),
3580         (hildon_wizard_dialog_set_forward_page_func):
3581         * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3582         that applications can use to stop a HildonWizardDialog to jump to
3583         the next page.
3584
3585         Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3586         next page)
3587
3588 2008-12-04  Alberto Garcia  <agarcia@igalia.com>
3589
3590         * src/hildon-program.h
3591         * src/hildon-program-private.h
3592         * src/hildon-program.c (hildon_program_init)
3593         (hildon_program_set_common_app_menu)
3594         (hildon_program_get_common_app_menu):
3595         New API for setting a common HildonAppMenu for all
3596         HildonStackableWindows registered with the HildonProgram.
3597
3598         * src/hildon-stackable-window.c
3599         (hildon_stackable_window_toggle_menu):
3600         Use the common HildonAppMenu if a window doesn't have a specific
3601         one.
3602
3603         * src/hildon-app-menu-private.h
3604         * src/hildon-app-menu.c
3605         (hildon_app_menu_get_parent_window):
3606         Function to obtain the window a HildonAppMenu is attached to.
3607         (hildon_app_menu_set_parent_window):
3608         Hide the menu if the parent window is set to NULL.
3609
3610 2008-12-04  Claudio Saavedra  <csaavedra@igalia.com>
3611
3612         * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3613         set GtkTreeView::enable-search to FALSE, to avoid the interactive
3614         search widget to popup.
3615
3616 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
3617
3618         * configure.ac: post release version bump
3619         * debian/changelog: version bump
3620
3621 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
3622
3623         [Release 2.1.26]
3624
3625         * NEWS: updates
3626         * configure.ac: bump version
3627         * debian/changelog: updates
3628
3629 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
3630
3631         Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3632
3633         * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3634         (hildon_window_stack_window_realized)
3635         (hildon_window_stack_remove, _hildon_window_stack_do_push):
3636         Set the leader GdkWindow when a window is stacked and realized,
3637         unset it when it's unstacked.
3638         (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3639
3640         Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3641
3642 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
3643
3644         * src/hildon-stackable-window.h
3645         * src/hildon-window-stack.h:
3646         Protect definition of HildonWindowStack using the preprocessor.
3647
3648 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
3649
3650         * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3651         Fix warning if all menu items are hidden.
3652
3653 2008-12-02  Claudio Saavedra  <csaavedra@igalia.com>
3654
3655         Patch contributed by Daniel Borgmann (danielb@openismus.com)
3656
3657         * src/hildon-controlbar.c:
3658         * src/hildon-hvolumebar.c:
3659         * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3660         Multiple scale size defines updates.
3661
3662         Fixes: NB#94322 (Scale Updates)
3663
3664 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
3665
3666         * examples/hildon-app-menu-example.c (create_menu)
3667         Show items after adding them to the menu, as in the future the
3668         menu will no longer call gtk_widget_show() on the added items.
3669
3670         * src/hildon-app-menu.c:
3671         Update example as explained above.
3672
3673 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
3674
3675         * src/hildon-app-menu.c
3676         (hildon_app_menu_insert, hildon_app_menu_add_filter):
3677         Make sure that all menu items have finger height.
3678
3679 2008-12-01  Alejandro Pinheiro  <apinheiro@igalia.com>
3680
3681         * src/hildon-picker-dialog.c:
3682         (_on_dialog_response), (_save_current_selection),
3683         (_restore_current_selection), (_clean_current_selection),
3684         (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3685         Defined new functions in order to save the current internal selector
3686         selection previous open the dialog, in case that the use cancel the
3687         interaction, so the widget restores the previous selection.
3688
3689         Fixes: NB#92032 (In calendar application, date values in 'new event' 
3690         are not proper)
3691
3692         (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3693
3694 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
3695
3696         * src/hildon-button.c: Add a reference to the button examples in
3697         hildon-button-example.c
3698
3699         * examples/hildon-button-example.c: Added examples of the most
3700         common button layouts.
3701
3702 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
3703
3704         * src/hildon-app-menu.c (hildon_app_menu_show)
3705         (hildon_app_menu_class_init): Don't show the menu if it's empty.
3706
3707         Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3708
3709 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3710
3711         * src/hildon-picker-dialog.c:
3712         (hildon_picker_dialog_init): Initialize the signal id for
3713         HildonTouchSelector::columns-changed.
3714         (+on_selector_columns_changed): Set up the interaction mode everytime a
3715         column is added or removed from the HildonTouchSelector.
3716         (_hildon_picker_dialog_set_selector): Connect to
3717         HildonTouchSelector::columns-changed and keep track of it.
3718
3719         Make sure to update the interaction mode of the dialog everytime a
3720         column is added or removed in the HildonTouchSelector.
3721
3722         Fixes: NB#93228 (Done button is not shown always in listpicker)
3723
3724 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3725
3726         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3727         a new ::columns-changed signal.
3728         (hildon_touch_selector_append_column): Emit ::columns-changed.
3729         (hildon_touch_selector_remove_column): Emit ::columns-changed.
3730
3731         Add a ::columns-changed signal, emitted when the number of columns in a
3732         HildonTouchSelector changes.
3733
3734 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3735
3736         * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3737         (_hildon_picker_dialog_set_selector): Factor out the code
3738         to set up the dialog interaction mode.
3739
3740 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3741
3742         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3743         (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3744         to signal_changed_id.
3745
3746 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3747
3748         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3749         Minor doc. fixes.
3750
3751 2008-11-27  Alejandro Pinheiro  <apinheiro@igalia.com>
3752
3753         * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3754         Updated the logical ids related to ampm format, as now it is required to
3755         show it correctly localized even on languages with no default
3756         abbreviations for am or pm
3757         (_check_am_pm_format): check correctly the 24h format gconf property
3758
3759         Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3760
3761 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
3762
3763         * src/hildon-button.c: Documentation updates.
3764
3765 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3766
3767         * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3768         * src/hildon-caption.c: (hildon_caption_class_init):
3769         * src/hildon-color-button.c: (hildon_color_button_class_init):
3770         * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3771         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3772         * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3773         * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3774
3775         Remove deprecated GTK+ marshalers and replace them with the ones
3776         provided by GLib, for those available, add a marshaler for
3777         BOOLEAN:VOID, which is not available in GLib, and use it.
3778
3779 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3780
3781         * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3782         the text from the previous column if there is no
3783         HildonTouchSelectorColumn::text-property set.
3784
3785 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
3786
3787         * src/hildon-button.h
3788         * src/hildon-button.c (hildon_button_set_property)
3789         (hildon_button_get_property, hildon_button_class_init)
3790         (hildon_button_set_style, hildon_button_get_style):
3791         New "style" property to change the visual appearance of the
3792         button.
3793
3794         * src/hildon-picker-button.c (hildon_picker_button_new):
3795         Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3796
3797         Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3798         HildonButton look like PickerButton)
3799
3800 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3801
3802         * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3803         column while building the default string.
3804
3805 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
3806
3807         * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3808         scroll indicator by default.
3809
3810         Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3811
3812 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
3813
3814         * src/hildon-main.c: Fix the documentation for hildon_init()
3815
3816 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
3817
3818         * doc/hildon-docs.sgml
3819         * doc/hildon.types
3820         * src/Makefile.am
3821         * src/hildon.h
3822         * src/hildon-window-stack-private.h
3823         * src/hildon-window-stack.h
3824         * src/hildon-window-stack.c:
3825         New HildonWindowStack object, that adds support for multiple
3826         stacks of windows per process.
3827
3828         * src/hildon-stackable-window-private.h
3829         * src/hildon-stackable-window.h
3830         * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3831         (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3832         (hildon_stackable_window_show, hildon_stackable_window_hide)
3833         (hildon_stackable_window_class_init)
3834         (hildon_stackable_window_init):
3835         Use HildonWindowStack for stack management.
3836
3837         * src/hildon-program.c (hildon_program_pop_window_stack)
3838         (hildon_program_peek_window_stack)
3839         (hildon_program_go_to_root_window):
3840         Add a fallback implementation to the deprecated functions using
3841         HildonWindowStack.
3842
3843         * examples/hildon-stackable-window-example.c:
3844         Use the new HildonWindowStack API.
3845
3846 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
3847
3848         * src/hildon-stackable-window-private.h
3849         * src/hildon-stackable-window.c (hildon_stackable_window_show)
3850         (hildon_stackable_window_hide, hildon_stackable_window_init):
3851         Remove all window stack management.
3852
3853         * src/hildon-program-private.h
3854         * src/hildon-program.h
3855         * src/hildon-program.c (hildon_program_init)
3856         (hildon_program_pop_window_stack)
3857         (hildon_program_peek_window_stack)
3858         (hildon_program_go_to_root_window):
3859         Remove all window stack management and mark functions as
3860         deprecated.
3861
3862 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
3863
3864         * src/hildon-app-menu.c (hildon_app_menu_realize):
3865         Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3866
3867 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
3868
3869         * configure.ac: post release version bump
3870         * debian/changelog: version bump
3871
3872 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
3873
3874         [Release 2.1.24]
3875
3876         * NEWS: updates
3877         * configure.ac: bump version
3878         * debian/changelog: updates
3879
3880 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
3881
3882         Based on initial code by Christian Dywan (christian@imendio.com)
3883
3884         * doc/hildon-docs.sgml: Add section for hildon-main.
3885         * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3886         * src/Makefile.am: Add new hildon-main.[ch]
3887         * src/hildon-defines.h: Update the icon sizes.
3888         * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3889         new library initialization files and register icon sizes.
3890         * src/hildon-main.h: New declarations.
3891         * src/hildon.h: Include hildon-main.h
3892
3893         Add new initialization functions to the library. These methods
3894         will register the hildon specific icon sizes and can be used in the
3895         future for other hildon specific bits.
3896
3897         Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3898
3899 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
3900
3901         * src/hildon-window.c: (hildon_window_realize),
3902         (hildon_window_notify), (-hildon_window_update_title): Do not set
3903         the application name in the window title.
3904
3905         Fixes: NB#89754 (Applications shouldn't display their names in the
3906         window title)
3907
3908 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
3909
3910         * src/hildon-note-private.h:
3911         * src/hildon-note.c: (hildon_note_set_property),
3912         (hildon_note_get_property), (hildon_note_class_init),
3913         (hildon_note_init), (hildon_note_finalize),
3914         (hildon_note_new_confirmation_with_icon_name),
3915         (hildon_note_new_information_with_icon_name):
3916
3917         No need to mark as deprecated the actual code. Revert
3918         to avoid missing symbols in widgets using deprecated API.
3919
3920 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
3921
3922         Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3923
3924         * src/hildon-volumebar.h
3925         * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3926         (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3927
3928         * src/hildon-helper.h
3929         * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3930         (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3931
3932         * examples/Makefile.am:
3933         Deprecate hildon-insensitive-example
3934
3935         Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3936
3937 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
3938
3939         * examples/hildon-pannable-area-buttons-scroll-example.c:
3940         Make all buttons finger height
3941
3942 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
3943
3944         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3945         documentation
3946         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3947         update the day model only if it is really required, and to avoid the
3948         full-reconstruction aproach. Now it only add or remove the required days.
3949
3950         The purpose of this is avoid superfluous HildonTouchSelector::changed
3951         signals
3952
3953         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3954         with strange parameters)
3955
3956 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
3957
3958         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3959
3960         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3961         the WINDOW_TYPE property.
3962
3963         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3964
3965 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
3966
3967         * doc/gtk-doc.make:
3968         Fix dependency to allow parallel compilation with make -jX
3969
3970 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
3971
3972         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3973         color frame and some minor tweaks to make it more consistent with
3974         current theming.
3975
3976         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3977         highlighted but not visible)
3978
3979 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
3980
3981         * examples/Makefile.am: Fixed typo in the Makefile.am.
3982
3983 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
3984
3985         Reviewed the use of MAEMO_GTK define, now we add the define in the
3986         compilation line, and we also add it to the pc file.
3987
3988         * configure.ac: Added MAEMO_GTK define to the compilation command
3989         and removed it from the config.h.
3990
3991         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3992         do not have to take care about this define if the library was
3993         compiled with it.
3994
3995         * src/hildon-gtk.c:
3996         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3997
3998 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
3999
4000         * examples/Makefile.am,
4001         * examples/hildon-pannable-area-buttons-scroll-example.c,
4002         * examples/hildon-pannable-area-gesture-signals-example.c,
4003         * examples/hildon-pannable-area-scroll-jump-example.c,
4004         * examples/hildon-pannable-area-tree-view-example.c:
4005         Renamed the pannable area examples, now they have more meaningful
4006         names.
4007
4008 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
4009
4010         * src/hildon-touch-selector.c:
4011         (hildon_touch_selector_set_column_selection_mode): Used of
4012         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4013         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4014         to avoid re-seting the same selection mode.
4015
4016         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4017         breaks HildonPickerDialog)
4018
4019 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
4020
4021         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4022         conditional in the Makefile.am
4023
4024 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
4025
4026         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4027         Remove unused methods.
4028
4029 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
4030
4031         * src/hildon-button.c (hildon_button_init):
4032         Make button images center-aligned by default
4033
4034 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
4035
4036         * src/hildon-gtk.c:
4037         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4038         activated, we have to think about how to deal with both defines
4039         MAEMO_GTK and MAEMO_CHANGES.
4040
4041 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
4042
4043         * examples/hildon-app-menu-example.c (create_menu): Make all
4044         buttons finger size.
4045
4046 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
4047
4048         Fixed the compilation without maemo gtk adding ifdefs with
4049         MAEMO_GTK define to the code, we have to check this version more
4050         carefully.
4051
4052         * examples/Makefile.am: Added control to avoid some examples that
4053         just make sense with maemo gtk.
4054
4055         * src/hildon-gtk.c:
4056         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4057         hildon modes with the define.
4058
4059         * examples/hildon-edit-toolbar-example.c,
4060         (create_icon_view): Create the icon view without hildon-gtk
4061         helpers if we are not using maemo gtk.
4062
4063         * src/hildon-touch-selector.c,
4064         (_create_new_column): Create the treeview without hildon-gtk
4065         helpers if we are not using maemo gtk.
4066
4067 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
4068
4069         * src/hildon-pnnable-area.c,
4070         (hildon_pannable_area_dispose),
4071         (hildon_pannable_area_button_press_cb),
4072         (hildon_pannable_area_child_mapped),
4073         (hildon_pannable_area_add),
4074         (hildon_pannable_area_remove): Added code to control the position
4075         of the event_window when adding and removing children from the
4076         pannable. We have to raise the event window when the child is
4077         mapped.
4078
4079         Fixes: NB#89811 (Not able to select first image thumbnail in multi
4080         selection mode using custom widget inside pannable)
4081
4082 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
4083
4084         * configure.ac: post release version bump
4085         * debian/changelog: version bump
4086
4087 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
4088
4089         [Release 2.1.22]
4090
4091         * NEWS: updates
4092         * configure.ac: bump version
4093         * debian/changelog: updates
4094
4095 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
4096
4097         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4098         search mode, in order to avoid lose the focus on the treeview when
4099         a hw key (like enter) is pressed.
4100
4101         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4102         in HildonDateSelector dialog)
4103
4104 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
4105
4106         * debian/rules: Added --enable-maintainer-mode
4107         * Makefile.am: Added ACLOCAL_AMFLAGS
4108
4109         This allows to properly regenerate the Makefiles if you modify the
4110         configure.ac or any Makefile.am.
4111
4112 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
4113
4114         * examples/hildon-app-menu-example.c: (main): Do not set RC style
4115         properties, not needed at all.
4116
4117 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
4118
4119         * src/hildon-note-private.h: Add strings for the icon and stock_icon
4120         properties.
4121         * src/hildon-note.c: (hildon_note_set_property),
4122         (hildon_note_get_property), (hildon_note_class_init),
4123         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4124         (hildon_note_new_confirmation_add_buttons): Remove icons.
4125         (hildon_note_new_confirmation_with_icon_name): Deprecate.
4126         (hildon_note_new_information_with_icon_name): Deprecate.
4127         (hildon_note_new_confirmation): Act directly, without calling
4128         the deprecated constructor.
4129         (hildon_note_new_information): Act directly, without calling
4130         the deprecated constructor.
4131         * src/hildon-note.h: Mark deprecate methods as such.
4132         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4133         not run tests on the deprecated methods if built with deprecation
4134         disabled.
4135
4136         Fixes: NB#91688 (Never show icons in information notes/confirmation
4137         notes)
4138
4139 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
4140
4141         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4142         (hildon_app_menu_key_press): Remove leftover usage of the
4143         private structure in HildonAppMenu struct.
4144         * src/hildon-app-menu.h: Remove leftover private structure
4145         from the HildonAppMenu struct.
4146
4147         Fixes a crasher when using the HildonAppMenu.
4148
4149 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
4150
4151         * src/hildon-picker-dialog.c: Use appropriate logical id
4152         for the default "Done" text.
4153
4154 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
4155
4156         * configure.ac: post release version bump
4157         * debian/changelog: version bump
4158
4159 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
4160
4161         Modified the way to scroll to the current selection just when the touch
4162         selector is shown on the screen, avoiding a g_idle. Added too a property
4163         to configure this behaviour. See hildon_pannable_area_jump_to_child
4164         documentation for more information.
4165
4166         * src/hildon-touch-selector.c
4167         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4168         Added 'initial-scroll' property
4169         (hildon_touch_selector_set_property): Added
4170         (hildon_touch_selector_map): Removed as not required anymore
4171         (_hildon_touch_selector_on_selected_items): Modified in order to manage
4172         only a concrete column, instead of iterate along all the columns
4173
4174 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4175
4176         [Release 2.1.20]
4177
4178         * NEWS: updates
4179         * configure.ac: bump version
4180         * debian/changelog: updates
4181
4182 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4183
4184         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4185         compilation time warnings.
4186
4187 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4188
4189         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4190         the default value for HildonPannableArea::mov-mode to
4191         HILDON_PANNABLE_AREA_MODE_VERT.
4192
4193         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4194
4195 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4196
4197         Reverting following commit:
4198
4199         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
4200
4201           * src/hildon-app-menu-private.h
4202           * src/hildon-app-menu.[ch]
4203           * src/hildon-button.[ch]
4204           * src/hildon-check-button.[ch]
4205           * src/hildon-entry.[ch]
4206           * src/hildon-pannable-area.[ch]
4207           * src/hildon-text-view.[ch]:
4208           Added private field to the object's structure.
4209
4210         because it causes an ABI breakage. We will need to introduce these
4211         changes later at some point. See NB#91636 for an extensive
4212         explanation and status.
4213
4214 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4215
4216         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4217
4218         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4219         remove special cases that are no longer necessary.
4220
4221         Fixes: NB#91016 (Change toolbar sizes, simplification)
4222
4223 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
4224
4225         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4226         is shown in the cancel note.
4227
4228 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
4229
4230         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4231         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4232         (hildon_seekbar_init): Remove steppers, remove expose event.
4233         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4234
4235         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4236
4237 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
4238
4239         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4240         label font to "SmallSystemFont" for vertically arranged buttons.
4241
4242         Fixes: NB#90662 (HildonButton "value" and "detail" text is
4243         unformatted)
4244
4245 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
4246
4247         * src/hildon-check-button.c
4248         (hildon_check_button_set_active, hildon_check_button_clicked):
4249         Don't access private parts directly, use getters instead.
4250
4251 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
4252
4253         * src/hildon-check-button.c (hildon_check_button_new):
4254         Align the contents of the check button to the left.
4255
4256 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
4257
4258         * src/hildon-pannable-area.c,
4259         (hildon_pannable_area_scroll_to),
4260         (hildon_pannable_area_jump_to),
4261         (hildon_pannable_area_scroll_to_child),
4262         (hildon_pannable_area_jump_to_child): Replace the mapped
4263         precondition of these functions with the realized, it is the
4264         correct state of the widget in this case. Changed the
4265         documentation according to this modification.
4266
4267 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
4268
4269         Added a new EXTRA_CFLAGS option to add the deprecated define to
4270         the compilation command. This way we can avoid using the define in
4271         the documentation compilation.
4272
4273         * configure.ac: Defined EXTRA_CFLAGS.
4274
4275         * examples/Makefile.am:
4276         * src/Makefile.am:
4277         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4278
4279 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
4280
4281         * src/hildon-picker-dialog.c:
4282         Defined a utility macro with the desired touch selector height
4283         Removed currently unused separator, and title_label variables from
4284         private structure.
4285         (hildon_picker_dialog_init): Removed code related to the creation
4286         of unused private variables title_label and separator.
4287         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4288         to ensure correct visualization of the touch selector inside the dialog.
4289         * src/hildon-touch-selector.c
4290         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4291         ensure a concrete height of the widget.
4292
4293 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
4294
4295         * src/Makefile.am:
4296         * tests/Makefile.am:
4297
4298         Remove spurious whitespaces.
4299
4300 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
4301
4302         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4303         compilation warning after the cancel button removal.
4304
4305 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
4306
4307         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4308
4309         * configure.ac: Added an AM_CONDITIONAL in order to use in the
4310         Makefile.am, that way we can choose not to compile some examples
4311         and tests of the deprecated widgets.
4312
4313         * examples/Makefile.am: Divided the sources in deprecated and
4314         non-deprecated.
4315
4316         * src/Makefile.am: Added undef statement of the deprecated
4317         symbol to the enums file generation process.
4318
4319         * src/hildon-color-chooser-dialog.c
4320         * src/hildon-color-chooser-dialog.h
4321         * src/hildon-color-button.c
4322         * src/hildon-color-button.h
4323         * src/hildon-color-chooser.c
4324         * src/hildon-color-chooser.h
4325         * src/hildon-controlbar.c
4326         * src/hildon-controlbar.h
4327         * src/hildon-date-editor.c
4328         * src/hildon-date-editor.h
4329         * src/hildon-hvolumebar.c
4330         * src/hildon-hvolumebar.h
4331         * src/hildon-private.c
4332         * src/hildon-private.h
4333         * src/hildon-range-editor.c
4334         * src/hildon-range-editor.h
4335         * src/hildon-seekbar.c
4336         * src/hildon-seekbar.h
4337         * src/hildon-time-editor.c
4338         * src/hildon-time-editor.h
4339         * src/hildon-time-picker.c
4340         * src/hildon-time-picker.h
4341         * src/hildon-volumebar.c
4342         * src/hildon-volumebar.h
4343         * src/hildon-vvolumebar.c
4344         * src/hildon-vvolumebar.h
4345         * src/hildon-bread-crumb-trail.h
4346         * src/hildon-bread-crumb-trail.c
4347         * src/hildon-calendar-popup.c
4348         * src/hildon-calendar-popup.h
4349         * src/hildon-weekday-picker.c:
4350         * src/hildon-weekday-picker.h:
4351         * src/hildon-bread-crumb-widget.c:
4352         * src/hildon-bread-crumb-widget.h:
4353         * src/hildon-bread-crumb.c:
4354         * src/hildon-bread-crumb.h:
4355         * src/hildon-calendar.c:
4356         * src/hildon-calendar.h:
4357         * src/hildon-caption.c:
4358         * src/hildon-code-dialog.c:
4359         * src/hildon-code-dialog.h:
4360         * src/hildon-font-selection-dialog.c:
4361         * src/hildon-font-selection-dialog.h:
4362         * src/hildon-get-password-dialog.c:
4363         * src/hildon-get-password-dialog.h:
4364         * src/hildon-login-dialog.c:
4365         * src/hildon-login-dialog.h:
4366         * src/hildon-number-editor.c:
4367         * src/hildon-number-editor.h:
4368         * src/hildon-set-password-dialog.c:
4369         * src/hildon-set-password-dialog.h:
4370         * src/hildon-sort-dialog.c:
4371         * src/hildon-sort-dialog.h: This is the list of deprecated
4372         widgets.
4373
4374         * src/hildon-touch-selector.c:
4375         * src/hildon-window.c: Added undef statement to avoid compilation
4376         warnings
4377
4378         * tests/Makefile.am: Divided the sources in deprecated and
4379         non-deprecated.
4380
4381         * tests/check_test.c,
4382         (configure_tests): Marked the deprecated code that was adding
4383         suites with deprecated tests.
4384
4385         Fixes: NB#91135 (Deprecate legacy hildon widgets)
4386
4387 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
4388
4389         * src/hildon-touch-selector.c: (_default_print_func): Do not
4390         duplicate a string returned by gtk_tree_model_get(), it is already
4391         allocated for us.
4392
4393         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4394         function)
4395
4396 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
4397
4398         * src/hildon-pannable-area.c
4399         (hildon_pannable_area_add_with_viewport): Reviewed the complete
4400         method, it had problems when adding a widget with viewport the
4401         second time. Now checks if it already has a viewport and uses it.
4402
4403         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4404         on child)
4405
4406 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
4407
4408         * src/hildon-pannable-area.c,
4409         (hildon_pannable_area_scroll_to),
4410         (hildon_pannable_area_jump_to),
4411         (hildon_pannable_area_scroll_to_child),
4412         (hildon_pannable_area_jump_to_child): Added a precondition to the
4413         scroll and jump to functions: the widget must be mapped before we
4414         can safely call these functions. We have also added documentation
4415         to the functions to explain how to use them in this situation.
4416
4417
4418 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
4419
4420         Reviewed the threading handling of the pannable widget, we have
4421         used the gdk_threads_add_timeout function instead of the usual
4422         glib handlers. This avoids some problems with the threads.
4423
4424         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4425         (hildon_pannable_area_initial_effect),
4426         (hildon_pannable_area_scroll_indicator_fade),
4427         (hildon_pannable_area_button_press_cb),
4428         (hildon_pannable_area_timeout),
4429         (hildon_pannable_area_motion_notify_cb),
4430         (hildon_pannable_area_button_release_cb),
4431         (hildon_pannable_area_scroll_cb),
4432         (hildon_pannable_area_scroll_to): Removed the
4433         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4434         gdk_threads_add_timeout.
4435
4436         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4437
4438 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
4439
4440         [Release 2.1.18]
4441
4442         * NEWS: updates
4443         * configure.ac: bump version
4444         * debian/changelog: updates
4445
4446 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
4447
4448         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4449         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4450         * src/hildon-color-chooser-dialog.c:
4451         (hildon_color_chooser_dialog_init):
4452         * src/hildon-font-selection-dialog.c:
4453         (hildon_font_selection_dialog_init):
4454         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4455
4456         Remove all cancel/close-like dialogs, as these are not going to be
4457         displayed at all.
4458
4459 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
4460
4461         * src/hildon-note.c: (hildon_note_rebuild),
4462         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4463         when needed.
4464
4465         Fixes: NB#90661 (Delete dialog is displayed without NO button)
4466
4467 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
4468
4469         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4470         sure all buttons are shown, even the Cancel/Close-like ones.
4471
4472         Fixes: NB#90861 (Custom Confirmation dialogs should be
4473         protected from cancel button removal)
4474
4475 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
4476
4477         * debian/control: Change libhildon1-examples dependency from libhildon1
4478         to libhildon1-dev
4479         * debian/libhildon1-examples.install
4480         * debian/rules
4481         * Makefile.am: Modified the final install directory for the examples on
4482         package libhildon1-examples
4483         * Makefile.static: Update clean target in order to remove all the binary
4484         examples
4485
4486         Changes suggested by Claudio after review new libhildon1-examples package
4487
4488 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
4489
4490         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4491         * src/hildon-touch-selector.c: Ditto.
4492
4493 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
4494
4495         * debian/control: Added new package libhildon1-examples, in order to pack
4496         the current hildon examples as documentation
4497         * debian/rules: Not to compress .c files, modify some includes on the
4498         examples (as normally are compiled locally, but when installed it will
4499         require to include the installed libhildon1 library), and rename
4500         Makefile.static
4501         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4502         install all the example files on the new example package
4503         * examples/Makefile.static: Added static makefile that can be used to
4504         compile the examples, once installed the new example package
4505         * examples: Most of the examples were modified in order to grant that
4506         all use only '#include "hildon.h"', in order to be easy to prepare
4507         it on the example package
4508
4509 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
4510
4511         * debian/control
4512         * debian/libhildon1-dev.install
4513         * debian/libhildon1-doc.install:
4514         Move all gtk-doc files to a separate libhildon1-doc package.
4515
4516 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
4517
4518         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
4519
4520         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4521
4522 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
4523
4524         * debian/rules: Fixed a error in order to avoid unnecessary calls
4525         to autogen.sh on package building
4526
4527 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
4528
4529         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4530
4531 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
4532
4533         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4534         header include.
4535
4536 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
4537
4538         * src/hildon-picker-button.c
4539         (hildon_picker_button_finalize):
4540         Free priv->done_button_text
4541
4542         * src/hildon-time-button.c
4543         (hildon_time_button_set_time)
4544         * src/hildon-picker-button.c
4545         (hildon_picker_button_clicked)
4546         (hildon_picker_button_selector_selection_changed)
4547         (hildon_picker_button_set_selector)
4548         * src/hildon-date-button.c
4549         (hildon_date_button_set_date):
4550         Free strings returned by hildon_touch_selector_get_current_text()
4551
4552         * src/hildon-button.c (hildon_button_construct_child):
4553         Fix leaks in priv->image and priv->label_box
4554
4555         Fixes: NB#90535 (Memory leak in picker button)
4556
4557 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
4558
4559         * src/hildon-button.c: (hildon_button_get_property): Do not access
4560         private elements directly, use getters instead.
4561
4562 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
4563
4564         * src/hildon-app-menu-private.h
4565         * src/hildon-app-menu.c
4566         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4567         Store the menu's parent window.
4568
4569         * src/hildon-stackable-window.c
4570         (hildon_stackable_window_toggle_menu)
4571         (hildon_stackable_window_finalize):
4572         Set the menu's parent window when the menu is shown, unset it when
4573         it is destroyed.
4574
4575         * src/hildon-app-menu.c
4576         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4577         (hildon_app_menu_class_init):
4578         Send unhandled keyboard accelerators to the parent window.
4579
4580 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
4581
4582         * src/hildon-stackable-window.c
4583         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4584
4585 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
4586
4587         * configure.ac: post release version bump
4588
4589 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
4590
4591         * NEWS: Updates
4592         * configure.ac: Bump version
4593         * debian/changelog: Updates
4594         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4595         gtk-doc 1.10.
4596
4597 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
4598
4599         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4600
4601         * src/hildon-gtk.h
4602         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4603         GtkMenu with Hildon style.
4604
4605 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
4606
4607         * src/hildon-picker-button.c:
4608         (hildon_picker_button_set_done_button_text): Set the dialog's
4609         done button text here as well.
4610
4611         Fixes: NB#90232 (Picker button does not set the label on done button
4612         for the second time)
4613
4614 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
4615
4616         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4617         warning message.
4618
4619 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
4620
4621         * src/hildon-app-menu.c (hildon_app_menu_insert)
4622         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4623         the HildonAppMenu to be activatable using keyboard accelerators
4624         when the menu is not being shown.
4625
4626         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4627
4628 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
4629
4630         * src/hildon-stackable-window.c
4631         (hildon_stackable_window_show):
4632         Don't hide old windows automatically when new windows are shown:
4633         this is now a task for the window manager.
4634         (hildon_stackable_window_class_init)
4635         (hildon_stackable_window_hide):
4636         Remove windows from the stack everytime they're hidden.
4637         (hildon_stackable_window_realize):
4638         Don't change the _NET_WM_WINDOW_TYPE property. Use
4639         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4640         it as a stackable window.
4641
4642         * src/hildon-program.c
4643         (hildon_program_pop_window_stack):
4644         Just hide the window to remove it from the stack.
4645         (hildon_program_go_to_root_window):
4646         Don't call gtk_widget_show(), this is now a task for the window
4647         manager.
4648
4649         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4650
4651 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
4652
4653         * src/hildon-button.c
4654         (hildon_button_construct_child):
4655         Don't pack anything in the button until text or image are
4656         set. This allows adding a custom child after creating the button
4657         with hildon_button_new().
4658         (hildon_button_finalize, hildon_button_class_init)
4659         (hildon_button_init, hildon_button_set_arrangement): Destroy the
4660         alignment and the label box even when they're not packed in the
4661         button.
4662
4663 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
4664
4665         * src/hildon-touch-selector.h:
4666         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4667         currently the type definition was using GTK_TYPE_VBOX
4668         * src/hildon-touch-selector.c:
4669         Added some implementation notes in order to clarify that any other widget
4670         added without the column related API will not be included on the
4671         selection logic, and how the widget is freed, as some people ask about
4672         it.
4673         (hildon_touch_selector_remove): Reimplemented in order to free properly
4674         the column related data when you remove the private hbox.
4675         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4676         to get a proper HildonTouchSelectorColumn documentation
4677
4678 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
4679
4680         * src/hildon-touch-selector-entry.c:
4681         (hildon_touch_selector_entry_print_func): Return NULL if there is no
4682         text in the GtkEntry and there is no item selected. Fixes a
4683         potential crasher.
4684
4685 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
4686
4687         * src/hildon-app-menu-private.h
4688         * src/hildon-app-menu.[ch]
4689         * src/hildon-button.[ch]
4690         * src/hildon-check-button.[ch]
4691         * src/hildon-entry.[ch]
4692         * src/hildon-pannable-area.[ch]
4693         * src/hildon-text-view.[ch]:
4694         Added private field to the object's structure.
4695
4696 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
4697
4698         * configure.ac: post-release version bump
4699
4700 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
4701
4702         [Release 2.1.14]
4703
4704         * configure.ac: pre-release version bump
4705         * NEWS: updates.
4706         * debian/changelog: updates.
4707
4708 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
4709
4710         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4711         Disconnect the handler for HildonTouchSelector::changed.
4712
4713         (hildon_picker_button_selector_selection_changed): Update the button
4714         value if the selection change was not triggered by the
4715         HildonPickerDialog.
4716
4717         (hildon_picker_button_set_selector): connect to
4718         HildonTouchSelector::changed.
4719
4720         Fixes: NB#89650 (Picker button is not updated, when selection in
4721         selector has changed)
4722
4723 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
4724
4725         * src/hildon-picker-dialog.c
4726         (hildon_picker_dialog_realize): Removed as not required
4727         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4728         * src/hildon-picker-button.c
4729         (_current_selector_empty): New function, checks if the selector is empty
4730         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4731         if the current selector is empty, in order to avoid to show the dialog
4732         close the dialog in this case (and shows a g_warning).
4733
4734         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4735
4736 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
4737
4738         * src/hildon-pannable-area.c,
4739         (hildon_pannable_area_scroll): Added clause to stop movement when
4740         the child of pannable is smaller than one page.
4741         (hildon_pannable_area_scroll_to): Added conditions to avoid
4742         starting the scrolling movement if the child is smaller than one
4743         page, the complete child is in the screen, we do not have to move.
4744
4745         Fixes: NB#89632 (Picker button selection doesn't change on first click)
4746
4747 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
4748
4749         * src/hildon-app-menu.c: Removed the 'columns' property, as now
4750         this is managed automatically by the widget when the size of the
4751         screen changes.
4752
4753 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
4754
4755         * src/hildon-picker-button.c
4756         (hildon_picker_button_set_done_button_text): Make a copy of the
4757         text, and free the previous value.
4758
4759 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
4760
4761         * src/hildon-touch-selector-entry.c:
4762         (hildon_touch_selector_entry_print_func): Return the selected row's
4763         text if the entry is empty.
4764
4765         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4766         entry is empty)
4767
4768 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
4769
4770         * src/hildon-touch-selector-entry.c: Minor docs fixes.
4771
4772 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
4773
4774         * doc/hildon.types
4775         * src/hildon-check-button.h
4776         * src/hildon-check-button.c
4777         * examples/hildon-check-button-example.c:
4778         HildonCheckButton is now a new widget. 'toggled' signal added.
4779
4780 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
4781
4782         * src/hildon-program-private.h
4783         * src/hildon-program.c (hildon_program_init)
4784         (hildon_program_finalize): Removed unused variables group_leader
4785         and name from HildonProgramPrivate.
4786
4787 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
4788
4789         * src/hildon-check-button.c (hildon_check_button_set_active)
4790         (hildon_check_button_get_active, hildon_check_button_new): Use
4791         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4792
4793 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
4794
4795         * src/hildon-touch-selector.h
4796         (hildon_touch_selector_set_column_attributes): added deprecation
4797         guard HILDON_DISABLE_DEPRECATED
4798         * src/hildon-time-selector.c
4799         (hildon_time_selector_set_time)
4800         (hildon_time_selector_get_time): Fixed a typo on documentation
4801         * src/hildon-touch-selector.c: update HildonTouchSelector and
4802         HildonTouchSelectorColumn documentation
4803         * src/hildon-touch-selector-entry.c: update "text-column" property
4804         documentation
4805         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4806         to be added to the general documentation.
4807
4808 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
4809
4810         * examples/hildon-pannable-area-example-4.c,
4811         (main),
4812         * examples/hildon-pannable-area-example.c,
4813         (main): Modified the code in order to use the container add, with
4814         viewport treeviews could have problems if they are really big.
4815
4816 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
4817
4818         * src/hildon-weekday-picker.c,
4819         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4820         the agreement regarding deprecation in the library.
4821
4822 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
4823
4824         * examples/hildon-picker-button-multicolumn-example.c:
4825         (main): Use custom "done" button text.
4826
4827         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4828         (hildon_picker_button_set_property),
4829         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4830         (hildon_picker_button_init),
4831         (+hildon_picker_button_get_done_button_text),
4832         (+hildon_picker_button_set_done_button_text): New methods to customize
4833         the "done" button label in the launched HildonPickerDialog. Also,
4834         make it a property.
4835
4836         * src/hildon-picker-button.h: add the public API.
4837
4838 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
4839
4840         * src/hildon-date-selector.h:
4841         * src/hildon-picker-dialog.h:
4842         * src/hildon-time-selector.h:
4843         * src/hildon-touch-selector-column.h:
4844         * src/hildon-touch-selector.h:
4845
4846         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4847         declarations. Fixes gtk-doc warnings.
4848
4849 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
4850
4851         * src/hildon-picker-dialog.h
4852         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4853         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4854
4855         Fixes: NB#89329 (selectors in picker dialog are not visible when a
4856         long text is set as label for done button)
4857
4858 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
4859
4860         * src/hildon-dialog.c (hildon_dialog_add_button):
4861         Set fixed width to all buttons in the HildonDialog.
4862
4863 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
4864
4865         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4866
4867         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4868         Set widget name using class name plus "-finger" or "-thumb".
4869
4870 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
4871
4872         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4873         'clicked' when the state of the button is manually changed.
4874
4875 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
4876
4877         * src/hildon-app-menu.c (hildon_app_menu_realize)
4878         (hildon_app_menu_unrealize, hildon_app_menu_init)
4879         (hildon_app_menu_class_init, item_visibility_changed):
4880         Change the menu layout when the size of the screen changes.
4881         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4882         Show warning only when changing the number of colums using the
4883         property.
4884
4885 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
4886
4887         * debian/compat: Set to 5
4888         * debian/control: Update dependencies.
4889         * debian/libhildon1-dbg.install: Remove.
4890         * debian/libhildon1-dev.install: Update according to cdbs paths.
4891         * debian/libhildon1.install: Update according to cdbs paths.
4892         * debian/rules: Switch to cdbs.
4893
4894 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
4895
4896         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4897         'item' variable renamed to 'filter'
4898
4899 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
4900
4901         * src/hildon-app-menu.c (hildon_app_menu_insert)
4902         (hildon_app_menu_add_filter, remove_item_from_list)
4903         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4904         Don't leak hidden items when the menu is destroyed.
4905
4906 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
4907
4908         * src/hildon-app-menu.c (hildon_app_menu_insert)
4909         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4910         (hildon_app_menu_set_columns, item_visibility_changed)
4911         (filter_visibility_changed, hildon_app_menu_repack_filters)
4912         (hildon_app_menu_repack_items):
4913         Repack items and filters separately.
4914
4915         Don't repack all items, change only the ones that are needed to
4916         update the layout.
4917
4918 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
4919
4920         * src/Makefile.am: added hildon-touch-selector-column.h
4921
4922 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
4923
4924         * src/hildon-touch-selector.c: added the property "text-column" to the
4925         class HildonTouchSelectorColumn, and related get/set functions
4926         (_default_printf_func): updated to use "text-column" property
4927         * src/hildon-touch-selector-entry.c: mark as deprecated the property
4928         "text-column" in his documentation, as this is now included on
4929         HildonTouchSelectorColumn. The get/set_property can still be used,
4930         working as a wrapper to the concrete column "text-column" property
4931         (_text_column_modified): callback added in order to handle the signal
4932         "notify::text-column" of the concrete HildonTouchSelectorColumn
4933         (hildon_touch_selector_entry_get_text_column)
4934         (hildon_touch_selector_entry_set_text_column): Added documentation, and
4935         modified in order to use the HildonTouchSelectorColumn "text-column"
4936         property
4937         * src/hildon-time-selector.c:
4938         * src/hildon-date-selector.c:
4939         * examples/hildon-touch-selector-example.c
4940         * examples/hildon-touch-selector-multi-cells-example.c
4941         * examples/hildon-picker-button-multicolumn-example.c
4942         Set the right value to "text-column" property on the creation of a new
4943         column using hildon_touch_selector_append_column()
4944
4945         Fixes: NB#88644 (Hardcoded first column of the model as text column)
4946
4947 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
4948
4949         * src/hildon-app-menu.c
4950         (hildon_app_menu_construct_child, hildon_app_menu_init): When
4951         updating the layout of the menu, don't create all widgets again,
4952         just repack the items in their new places.
4953
4954 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
4955
4956         * src/hildon-time-selector.c
4957         (hildon_time_selector_get_time)
4958         (hildon_time_selector_set_time)
4959         Added documentation of these public methods
4960
4961         * src/hildon-date-button.h
4962         * src/hildon-touch-selector-column.h
4963         * src/hildon-time-button.h
4964         * src/hildon-picker-dialog.h
4965         * src/hildon-time-selector.h
4966         * src/hildon-picker-button.h
4967         * src/hildon-touch-selector.h
4968         * src/hildon-time-picker.h
4969         * src/hildon-date-selector.h
4970         * src/hildon-touch-selector-entry.h
4971         Modified in order to use hildon-widgets code style
4972
4973 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
4974
4975         Added deprecated support to the compilation process using
4976         HILDON_DISABLE_DEPRECATED
4977
4978         * configure.ac: Added the --disable-deprecated to the configure
4979         script
4980
4981         * src/hildon-weekday-picker.c:
4982         * src/hildon-weekday-picker.h: Deprecated widget, example of how
4983         to use the deprecated support. We will update the other deprecated
4984         widgets status in a new patch.
4985
4986 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
4987
4988         * configure.ac: Fixed typo with fatal warnings support, the
4989         variable name was not correct
4990
4991 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
4992
4993         * src/hildon-app-menu.c
4994         * src/hildon-program.c: Update documentation.
4995
4996 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
4997
4998         * configure.ac: Post-release version bump.
4999
5000 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5001
5002         [Release 2.1.12]
5003
5004         * NEWS: Update.
5005         * configure.ac: Pre-release version bump.
5006         * debian/changelog: Updates.
5007
5008 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5009
5010         * NEWS: Update news for previous releases.
5011
5012 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5013
5014         * examples/hildon-touch-selector-multi-cells-example.c:
5015         (create_selector): Update the example to use
5016         hildon_touch_selector_append_column() with a NULL renderer and set
5017         the renderers later.
5018         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5019         passed a NULL renderer. This is documented behavior now.
5020
5021         Allow passing a NULL renderer to hildon_touch_selector_append_column().
5022         This must be used if the developer wants full control on the layout of
5023         the renderers to be added to the column.
5024
5025         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5026
5027 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5028
5029         * src/hildon-touch-selector.c: Documentation fixes.
5030
5031 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5032
5033         * src/hildon-wizard-dialog-private.h: Remove image and box.
5034         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5035         (hildon_wizard_dialog_set_property), (response): Completely remove
5036         image/icon support, and the containers required for the layout.
5037
5038         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5039
5040 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
5041
5042         * src/hildon-app-menu.c: Updated documentation.
5043
5044         * src/hildon-stackable-window.c
5045         (hildon_stackable_window_set_main_menu): Unref the old menu after
5046         ref'ing the new one.
5047
5048 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
5049
5050         * src/hildon-stackable-window.c
5051         (hildon_stackable_window_set_main_menu): Unref the previous menu
5052         instead of destroying it.
5053
5054         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5055         floating reference and set has_user_ref_count to FALSE to make
5056         HildonAppMenu act like a normal ref-counted widget and not a
5057         toplevel widget.
5058
5059         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5060         changed)
5061
5062 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
5063
5064         * src/hildon-touch-selector-column.h: new file
5065         * src/hildon-touch-selector.h
5066         * src/hildon-touch-selector.c
5067         Implemented GtkCellLayout interface, in order to allow to configure
5068         the cell layout on each individual selector column
5069         (hildon_touch_selector_set_column_attributes): marked as deprecated
5070         * examples/hildon-touch-selector-multi-cells-example.c
5071         Example of how to use the GtkCellLayout interface on the selector
5072
5073         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5074
5075 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5076
5077         * src/hildon-app-menu.h
5078         * src/hildon-app-menu.c
5079         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5080         (hildon_app_menu_append, hildon_app_menu_prepend):
5081         New methods to prepend, insert and move items in the menu.
5082
5083 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
5084
5085         * src/hildon-wizard-dialog.c:
5086
5087         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5088         button.
5089         (create_title): Update logical IDs and related code.
5090         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5091
5092         * src/hildon-wizard-dialog.h: Note that
5093         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5094         point, as it is not used anymore.
5095
5096         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5097
5098 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
5099
5100         * src/hildon-note.c:
5101         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5102         shown.  Do not display an icon in confirmation notes nor information
5103         notes.
5104         (hildon_note_set_button_text): Update logical ID for cancel button.
5105
5106         Fixes: NB#88850 (Update HildonNote button strings + signals)
5107
5108 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5109
5110         * src/hildon-stackable-window.c
5111         (hildon_stackable_window_set_main_menu): Fix compilation warning.
5112
5113 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5114
5115         * src/hildon-app-menu-private.h
5116         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5117         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5118         (hildon_app_menu_init, hildon_app_menu_class_init): Added
5119         temporary property 'columns' to change the number of columns.
5120
5121 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
5122
5123         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5124
5125         * examples/hildon-note-example.c: (on_information_clicked),
5126         (on_confirmation_clicked), (on_progress_clicked), (main): Add
5127         debugging information.
5128         * src/hildon-note-private.h: Remove close_if_pressed_outside,
5129         not needed anymore.
5130         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5131         (hildon_note_rebuild): Remove special handling of tapping outside/inside
5132         in order to close: this will be handled by the WM from now on.
5133
5134         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5135
5136 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5137
5138         * src/hildon-app-menu-private.h
5139         * src/hildon-app-menu.c
5140         (hildon_app_menu_append, hildon_app_menu_add_filter)
5141         (button_visibility_changed, hildon_app_menu_apply_style)
5142         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5143         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5144         layout everytime a button (item or filter) is shown or hidden.
5145
5146         * src/hildon-stackable-window.c
5147         (hildon_stackable_window_set_main_menu): Destroy the old menu when
5148         setting a new one.
5149
5150 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
5151
5152         * src/hildon-touch-selector.c:
5153         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5154         that the treeview inside the touch selector is in fremantle hildon mode
5155         * examples/hildon-date-button-example.c
5156         * examples/hildon-picker-button-multicolumn-example.c
5157         * examples/hildon-touch-selector-entry-example.c
5158         * examples/hildon-touch-selector-example.c
5159         * examples/hildon-time-button-example.c
5160         * examples/hildon-picker-button-example.c:
5161         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5162
5163 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
5164
5165         * examples/hildon-text-view-example.c: (main): Remove the
5166         gtkrc bits, now handled by the theme.
5167
5168 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
5169
5170         * src/hildon-picker-button.c (hildon_picker_button_set_active):
5171         Fix memory leak
5172
5173 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5174
5175         * po/Makefile.am: Install properly the mo files.
5176         * po/en_GB.po: Update translation, to ease testing purposes.
5177
5178 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5179
5180         * examples/hildon-picker-button-example.c: (main): Select an item
5181         in the selector before setting it to the button.
5182
5183 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5184
5185         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5186         Update button's value if the selector has an item active.
5187
5188         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5189         'value' with the selector)
5190
5191 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5192
5193         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5194         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5195         (hildon_picker_button_class_init): Plug the finalize method.
5196         (hildon_picker_button_set_selector): If there's a previously set
5197         selector, unref'it before setting a new one.
5198
5199         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5200         HildonTouchSelector)
5201
5202 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
5203
5204         * src/hildon-touch-selector-entry.c:
5205         (hildon_touch_selector_entry_changed): Check if there is no text
5206         selected before setting the entry text.
5207         Fixes: NB#88576
5208
5209 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
5210
5211         * src/hildon-touch-selector.h
5212         * src/hildon-touch-selector.c
5213         (hildon_touch_selector_get_active)
5214         (hildon_touch_selector_set_active): New methods to set/get the
5215         index of the selected item.
5216
5217         * src/hildon-picker-button.h
5218         * src/hildon-picker-button.c
5219         (hildon_picker_button_get_active)
5220         (hildon_picker_button_set_active): New methods to set/get the
5221         index of the selected item.
5222
5223 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
5224
5225         * configure.ac: post-release version bump.
5226
5227 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
5228
5229         Release 2.1.10-1.
5230
5231         * configure.ac: Pre-release version bump.
5232         * debian/changelog: Updates.
5233         * debian/control: Add myself as maintainer and depend on l10n
5234         packages.
5235
5236 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
5237
5238         * src/hildon-window.c
5239         (hildon_window_set_main_menu)
5240         * src/hildon-stackable-window.c
5241         (hildon_stackable_window_set_main_menu):
5242         Updated documentation.
5243
5244 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
5245
5246         * src/hildon-date-selector.c (hildon_date_selector_finalize):
5247         Don't free selector->priv manually.
5248         Fixes: NB#88414
5249
5250 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
5251
5252         * src/hildon-gtk.c,
5253         (hildon_gtk_window_set_progress_indicator):
5254         * src/hildon-gtk.h: Added the new API
5255         hildon_gtk_window_set_progress_indicator, it changes the state of
5256         the window progress hint.
5257
5258 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
5259
5260         * src/hildon-button.c
5261         * src/hildon-stackable-window.c: Minor documentation updates.
5262
5263 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
5264
5265         * src/hildon-stackable-window.c: Updated documentation.
5266
5267 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
5268
5269         * src/hildon-defines.h: Update margins definitions
5270         to the Fremantle sizes.
5271         Fixes: NB#88364
5272
5273 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
5274
5275         * src/hildon-touch-selector.c,
5276         (_hildon_touch_selector_set_model): Cleaning the code after
5277         review, removed g_print and #if 0 from the code.
5278
5279 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
5280
5281         * src/hildon-edit-toolbar.c: Update documentation.
5282
5283 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
5284
5285         * src/hildon-check-button.h
5286         * src/hildon-check-button.c
5287         (hildon_check_button_set_label, hildon_check_button_get_label)
5288         * examples/hildon-check-button-example.c
5289         (button_clicked_cb):
5290         Removed deprecated methods.
5291
5292 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
5293
5294         * src/hildon-text-view.c:
5295         Add sample code to the documentation.
5296
5297         * src/hildon-entry.h
5298         * src/hildon-text-view.h:
5299         Minor cosmetic changes.
5300
5301         * src/hildon-entry.c:
5302         Add sample code to the documentation.
5303         (hildon_entry_init, hildon_entry_refresh_contents):
5304         Don't allow NULL values in the placeholder.
5305
5306 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
5307
5308         * doc/hildon-docs.sgml
5309         * doc/hildon.types
5310         * examples/Makefile.am
5311         * examples/hildon-text-view-example.c
5312         * src/Makefile.am
5313         * src/hildon-text-view.c
5314         * src/hildon-text-view.h
5315         * src/hildon.h:
5316         New HildonTextView widget, with example.
5317
5318 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
5319
5320         * po/POTFILES.in: Add missing files with translatable strings.
5321         Partially fixes NB#88287.
5322
5323 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
5324
5325         * examples/hildon-pannable-area-example-2.c: (main): No need to
5326         set the cellrenderer height inside hildon touch lists, the theme does
5327         that for us.
5328
5329 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
5330
5331         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5332         they are integrated in the theme.
5333
5334 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
5335
5336         * examples/hildon-entry-example.c: Update the example adding
5337         widgets to modify the text and the placeholder of the HildonEntry.
5338
5339         * src/hildon-entry.c: Show the placeholder everytime the widget
5340         is empty and loses the focus.
5341
5342 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
5343
5344         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5345
5346         * src/hildon-pannable-area.c,
5347         (hildon_pannable_area_size_request): Fixed bug in height
5348         requisition, avoid increasing size and add border twice.
5349
5350 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
5351
5352         * configure.ac: postrelease version bump.
5353
5354 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
5355
5356         Release 2.1.8-1.
5357
5358         * configure.ac: Prerelease version bump.
5359         * debian/changelog: update.
5360         * debian/rules: make -dbg package contain useful debugging symbols.
5361
5362 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
5363
5364         * src/hildon-dialog.h
5365         * src/hildon-dialog.c
5366         (hildon_dialog_add_button, hildon_dialog_add_buttons):
5367         New methods to add buttons with finger size.
5368         (hildon_dialog_new_with_buttons):
5369         Create buttons with finger size.
5370
5371         * examples/hildon-dialog-example.c (main): Use HildonDialog
5372         methods to add buttons.
5373
5374 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
5375
5376         * src/hildon-entry.c: Updated HildonButton documentation.
5377
5378 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
5379
5380         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5381         button value label with (FALSE, FALSE) to prevent NB#88126 from
5382         being triggered.
5383
5384 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
5385
5386         * examples/hildon-pannable-area-example.c,
5387         (main): Removed examples panning a vbox inside a pannable
5388         area. Check bug NB#87965
5389
5390 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
5391
5392         Patch contributed by Kris Rietveld (kris@imendio.com)
5393
5394         * src/hildon-pannable-area.c,
5395         (hildon_pannable_area_get_topmost): replaced the get_geometry with
5396         get_size and get_position, this saves an X server roundtrip.
5397
5398 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
5399
5400         * doc/hildon-docs.sgml
5401         * doc/hildon.types
5402         * examples/Makefile.am
5403         * examples/hildon-entry-example.c
5404         * src/Makefile.am
5405         * src/hildon-entry.c
5406         * src/hildon-entry.h
5407         * src/hildon.h:
5408         New HildonEntry widget, with example.
5409
5410 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
5411
5412         * src/hildon-button.c (hildon_button_construct_child): Pack the
5413         image with expand == fill == FALSE. This is a workaround for a bug
5414         in GtkBox.
5415
5416 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
5417
5418         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5419         labels for the text column, to make it more look more dynamic.
5420
5421 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
5422
5423         * src/hildon-time-selector.c
5424         Define gettext auxiliar macro N_
5425         (_create_minutes_model)
5426         (_create_hours_model)
5427         (_create_ampm_model): use of strftime in order to fill the model
5428         * src/hildon-date-selector.c
5429         (hildon_date_selector_finalize):
5430         (_locales_init): remove the logic related to get the name of the months
5431         using nl_langinfo, as it is not required anymore
5432         (_create_day_model)
5433         (_create_year_model)
5434         (_create_month_model)
5435         (_update_day_model): use of strftime in order to fill the model properly
5436
5437
5438 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
5439
5440         * src/hildon-button.h
5441         * src/hildon-button.c (hildon_button_get_image): New method to
5442         retrieve the image.
5443
5444 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
5445
5446         * src/hildon-touch-selector.c:
5447         (hildon_touch_selector_remove_column): Remove from the correct parent
5448         and also remove the list element and free it.
5449         Fixes: NB#88049
5450
5451 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
5452
5453         * src/hildon-time-selector.c
5454         (_create_hours_model): change the range on 12h ampm format in order to use
5455         a 12-11 range instead of previous 01-12 range
5456         (hildon_time_selector_set_time): change the way to select the current time
5457         on 12h ampm format, due the change on the range
5458         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5459         Fixes: NB#88036
5460
5461 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
5462
5463         * src/hildon-touch-selector.c
5464         (hildon_date_touch_selector_get_selected): fix the selection mode check,
5465         in order to allow use this function on multiple row selection mode if
5466         the column is different that the first one
5467         Fixes: NB#88047
5468
5469 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
5470
5471         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5472         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5473
5474 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
5475
5476         * src/hildon-date-selector.h: clean some comments, now on the .c
5477         * src/hildon-date-selector.c
5478         (hildon_date_selector_select_month): first implementation
5479         (hildon_date_selector_select_day): added documentation, reimplemented
5480         using hildon_date_selector_select_current_date to avoid repeat code
5481         Fixes: NB#88027
5482
5483 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
5484
5485         Reviewed interaction logic based on device experiences, refactored
5486         code.
5487
5488         * src/hildon-pannable-area.c,
5489         (hildon_pannable_area_class_init): Updated default vmax speed.
5490         (hildon_pannable_area_calculate_velocity): Added this function, it
5491         avoids duplicate valocity calculation. Adjusted calculation to
5492         avoid problems with zero dist events.
5493
5494         (hildon_pannable_area_motion_notify_cb): Now we use the
5495         calculate_velocity function.
5496
5497 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
5498
5499         * src/hildon-date-selector.c
5500         (hildon_date_selector_select_current_date): fix the day range check
5501         as it failed using the last day of the current month
5502         Fixes NB#88023
5503
5504 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
5505
5506         * src/hildon-touch-selector.c
5507         (hildon_touch_selector_get_num_columns): added a parameter validation
5508         Fixes: NB#88022
5509
5510 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
5511
5512         * examples/Makefile.am
5513         * examples/hildon-edit-toolbar-example.c: Example of the
5514         HildonEditToolbar widget.
5515
5516 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
5517
5518         * configure.ac: postrelease version bump.
5519
5520 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
5521
5522         Release 2.1.6-1.
5523
5524         * configure.ac: prerelease version bump.
5525         * debian/changelog: update.
5526
5527 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
5528
5529         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5530         renderer to display stock icons in the touch list. Also, set the sizes
5531         to the recommended in the style guide.
5532
5533 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
5534         * src/hildon-touch-selector.h
5535         (hildon_touch_selector_set_active_iter): renamed, now is
5536         hildon_touch_selector_select_iter
5537         (hildon_touch_selector_get_active_iter): renamed, now is
5538         hildon_touch_selector_get_selected
5539         (hildon_touch_selector_unselect_iter): added
5540         * src/hildon-touch-selector.c
5541         Update after API modification (methods renamed)
5542         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5543         order to avoid problems selecting multiple elements on the column
5544         (hildon_touch_selector_unselect_iter): added the implementation
5545         * src/hildon-time-selector.c
5546         * src/hildon-date-selector.c
5547         * src/hildon-touch-selector-entry.c
5548         Update methods calls after hildon-touch-selector.h API modification (methods
5549         renamed)
5550
5551 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
5552
5553         * src/hildon-stackable-window.c
5554         (hildon_stackable_window_finalize): Call the parent class's finalize.
5555
5556 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
5557
5558         * examples/hildon-touch-selector-example.c: (create_selector): Use
5559         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5560         cell height.
5561
5562 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
5563
5564         * examples/hildon-touch-selector-example.c: (create_selector): Do not
5565         set a cell background color, to respect theming.
5566
5567 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
5568
5569         * doc/hildon-docs.sgml
5570         * doc/hildon.types
5571         * src/Makefile.am
5572         * src/hildon-edit-toolbar.c
5573         * src/hildon-edit-toolbar.h
5574         * src/hildon.h: New HildonEditToolbar widget.
5575
5576 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
5577
5578         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5579         extra GtkVBox.
5580
5581 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
5582         * src/hildon-touch-selector.c
5583         (_create_new_column): use g_object_set instead of two g_object_set_property
5584
5585 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
5586         * src/hildon-touch-selector.c
5587         (_create_new_column): use of hildon_gtk_tree_view_new to create
5588         the treeview, instead of use directly g_object_new
5589         (_create_new_column): update the property name "vindicator-mode" for the
5590         new one "vscrollbar-policy"
5591         * examples/hildon-date-button-example.c
5592         * examples/hildon-picker-button-multicolumn-example.c
5593         * examples/hildon-touch-selector-entry-example.c
5594         * examples/hildon-touch-selector-example.c
5595         * examples/hildon-time-button-example.c
5596         * examples/hildon-picker-button-example.c
5597         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5598         to all the treeviews inside a pannable area.
5599
5600 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
5601
5602         * src/hildon-button.h
5603         * src/hildon-button.c (hildon_button_init)
5604         (hildon_button_set_arrangement, hildon_button_set_alignment)
5605         (hildon_button_set_title_alignment)
5606         (hildon_button_set_value_alignment)
5607         (hildon_button_set_image_alignment)
5608         (hildon_button_construct_child): New methods to set the alignment
5609         of the individual components of the button (title, value,
5610         image). Also, new method to alter the xscale and yscale properties
5611         of the GtkAlignment inside the button, so more complex layouts can
5612         be created.
5613
5614 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
5615
5616         * src/hildon-button.c (hildon_button_style_set)
5617         (hildon_button_class_init, hildon_button_set_arrangement)
5618         (hildon_button_construct_child): Apply style properties
5619         correctly. Use the 'image-spacing' style property too.
5620
5621 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
5622
5623         * src/hildon-app-menu.c (hildon_app_menu_style_set)
5624         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5625         correctly.
5626
5627 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
5628
5629         * src/hildon-pannable-area.c,
5630         (hildon_pannable_area_size_request): Fixed problem with
5631         pannable-area size_request.
5632
5633 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
5634
5635         Added management for the grab-focus to a child widget, like a
5636         range, we need to fade out the scrollbar when releasing.
5637
5638         * src/hildon-pannable-area.c,
5639         (hildon_pannable_area_init): Connected the grab-focus signal to
5640         the callback.
5641         (hildon_pannable_area_grab_notify): Added this function in order
5642         to manage the situation when the grab-focus ends. We have to
5643         fade-out the scrollbar.
5644
5645 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
5646
5647         * src/hildon-app-menu.c: Minor documentation update.
5648
5649 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
5650
5651         * src/hildon-app-menu.c
5652         * examples/hildon-app-menu-example.c (create_menu): Update
5653         examples and documentation to explain how to connect callbacks.
5654
5655 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
5656
5657         * examples/hildon-button-example.c
5658         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5659         hildon_stackable_window_new instead of gtk_window_new
5660
5661 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
5662
5663         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5664         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5665         (hildon_pannable_area_set_property),
5666         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5667         (hildon_pannable_area_unrealize),
5668         (hildon_pannable_area_size_request),
5669         (hildon_pannable_area_size_allocate),
5670         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5671         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5672         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5673         (hildon_pannable_area_initial_effect),
5674         (hildon_pannable_area_redraw),
5675         (hildon_pannable_area_scroll_indicator_fade),
5676         (hildon_pannable_area_expose_event),
5677         (hildon_pannable_area_get_topmost), (synth_crossing),
5678         (hildon_pannable_area_button_press_cb),
5679         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5680         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5681         (hildon_pannable_area_motion_notify_cb),
5682         (hildon_pannable_area_button_release_cb),
5683         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5684         (hildon_pannable_area_remove),
5685         (hildon_pannable_calculate_vel_factor): Widget refactorization,
5686         chage the code layout to a more GtkWidget like. Review the use of
5687         variables.
5688
5689 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
5690
5691         * examples/hildon-pannable-area-example-4.c,
5692         (main): Modified the name of the hindicator_mode to
5693         hscrollbar_visible
5694
5695         * src/hildon-pannable-area.c,
5696         (hildon_pannable_area_class_init),
5697         (hildon_pannable_area_motion_notify_cb),
5698         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5699         we have reduced the amount of signals and managed reviewed its
5700         rationale. Changed the default decelerate value.
5701
5702         (hildon_pannable_area_add),
5703         (hildon_pannable_area_redraw): Refactored functions.
5704
5705         (hildon_pannable_area_init),
5706         (hildon_pannable_area_get_property),
5707         (hildon_pannable_area_set_property):
5708         (hildon_pannable_draw_vscroll),
5709         (hildon_pannable_draw_hscroll),
5710         (hildon_pannable_area_initial_effect),
5711         (hildon_pannable_area_expose_event),
5712         (hildon_pannable_area_scroll),
5713         (hildon_pannable_area_button_press_cb),
5714         (hildon_pannable_area_realize): Replaced the names hindicator_mode
5715         and vindicator_mode with hscrollbar_policy and
5716         vscrollbar_policy. Replaced hscroll and vscroll with
5717         hscroll_visible and vscroll_visible.
5718
5719         (hildon_pannable_area_refresh): Refactor the function, remove
5720         variables and check the calls to this function, added resize
5721         conditions in case the children change their layout.
5722
5723         (hildon_pannable_area_size_request): Added more detailed
5724         size_request calculation.
5725
5726
5727 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
5728
5729         * src/hildon-color-chooser.c
5730         (init_borders): use the correct gtk_border_free instead of g_free, to
5731         avoid a crash when this widget is used (ie: the three color selection
5732         examples)
5733
5734 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
5735
5736         * src/hildon-check-button.c,
5737         (hildon_check_button_set_active): Fixed problem when setting the
5738         active value, the widget was not redrawn.
5739
5740 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
5741
5742         * src/hildon-pannable-area.c,
5743         (hildon_pannable_area_refresh),
5744         (hildon_pannable_area_scroll),
5745         (hildon_pannable_area_motion_notify_cb): Small code style change.
5746
5747         (hildon_pannable_area_class_init): Default initial_hint set to
5748         FALSE, it is not in the specs.
5749
5750         (hildon_pannable_area_initial_effect),
5751         (hildon_pannable_area_expose_event),
5752         (hildon_pannable_area_map),
5753         (hildon_pannable_area_init): Moved the launching point of the
5754         initial effect, it was in map but the sizes where not correct in
5755         that method so we do not know if we have the reproduce it. Now it
5756         is placed in the expose_event method and uses a variable to
5757         reproduce it just once.
5758
5759 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
5760
5761         * src/hildon-pannable-area.c,
5762         (hildon_pannable_draw_vscroll),
5763         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5764         position allowed for the scrollbars.
5765
5766         (hildon_pannable_area_size_allocate): Small style change.
5767
5768 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
5769
5770         * src/hildon-pannable-area.c,
5771         (hildon_pannable_area_scroll_indicator_fade),
5772         (hildon_pannable_area_button_press_cb),
5773         (hildon_pannable_area_button_release_cb),
5774         (hildon_pannable_area_scroll_cb),
5775         (hildon_pannable_area_expose_event),
5776         (hildon_pannable_area_init): Added the define parameter
5777         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5778         and refactor the fade variable.
5779
5780 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
5781
5782         * src/hildon-pannable-area.c,
5783         (hildon_pannable_area_redraw),
5784         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5785         lines, we were reimplemeting the redraw code.
5786
5787 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
5788
5789         * src/hildon-pannable-area.c,
5790         (hildon_pannable_area_scroll_cb),
5791         (hildon_pannable_area_realize),
5792         (hildon_pannable_area_class_init): Added scroll_event management
5793         for pannable area, now we can scroll the usual desktop method.
5794
5795         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5796         initialization of the parameters should depend on idle_id.
5797
5798         (hildon_pannable_area_init),
5799         (hildon_pannable_area_map): Small code style modifications
5800
5801 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
5802
5803         * src/hildon-pannable-area.c
5804         (hildon_pannable_area_button_press_cb),
5805         (hildon_pannable_area_motion_notify_cb),
5806         (hildon_pannable_area_button_release_cb),
5807         (hildon_pannable_area_size_allocate),
5808         (hildon_pannable_area_scroll_to): Improved the timeouts
5809         management, we avoid creating them each time.
5810
5811 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
5812
5813         * src/hildon-pannable-area.c:
5814         (hildon_pannable_area_refresh),
5815         (hildon_pannable_area_motion_notify_cb),
5816         (hildon_pannable_area_class_init):
5817         * src/hildon-pannable-area.h:
5818         * src/hildon-touch-selector.c
5819         (_create_new_column):
5820         * examples/hildon-pannable-area-example-4.c:
5821         (horizontal_movement),
5822         (vertical_movement),
5823         (main):
5824         Replaced the names of enums in the HildonPannableArea:
5825            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
5826               HILDON_MOVEMENT_MODE_*
5827            -  HILDON_PANNABLE_AREA_MOV_* ->
5828               HILDON_MOVEMENT_*
5829            - Removed HildonPannableAreaIndicatorMode, now we
5830              use GtkPolicyType
5831
5832 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
5833
5834         * examples/hildon-pannable-area-touch-grid-example.c
5835         * examples/hildon-pannable-area-touch-list-example.c: Fix
5836         compilation warnings.
5837
5838 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
5839
5840         * src/hildon-gtk.c (hildon_gtk_button_new)
5841         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5842         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5843         images overriding the value of the "gtk-button-images" setting.
5844
5845 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
5846
5847         * src/hildon-check-button.c (hildon_check_button_new):
5848         Instead of using a custom container, display the label and the
5849         checkbox using the standard GtkButton API.
5850
5851         * examples/hildon-check-button-example.c (main): Don't use
5852         hildon_check_button_set_label() anymore
5853
5854         * src/hildon-check-button.h
5855         * src/hildon-check-button.c
5856         (hildon_check_button_set_label, hildon_check_button_get_label):
5857         Set as deprecated, now we're using gtk_button_{get,set}_label()
5858
5859 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
5860
5861         * src/hildon-pannable-area.c,
5862         (hildon_pannable_area_get_topmost): Fixed bug with click in the
5863         GtkTreeview first line we detected it after the inclusion of the
5864         GtkWindowImpl in gtk+. We now check if the window is visible, not
5865         just if the pointer is over the window.
5866         (hildon_pannable_axis_scroll),
5867         (hildon_pannable_area_expose_event): Small style changes.
5868
5869 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
5870
5871         * src/hildon-button.c: Update documentation.
5872
5873 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
5874
5875         * examples/hildon-button-example.c: Add a switch to show images in
5876         the buttons.
5877
5878 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
5879
5880         * doc/hildon-docs.sgml: Some docs reorganization.
5881
5882 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
5883
5884         * examples/hildon-pannable-area-touch-list-example.c
5885         (create_tree_view)
5886         * examples/hildon-pannable-area-touch-grid-example.c
5887         (create_icon_view): Use gtk_{tree,icon}_view_new() and
5888         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5889         Fix memory leak when setting the tree model.
5890
5891 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5892
5893         Released 2.1.4
5894
5895 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
5896
5897         * doc/hildon.types: Remove duplicated hildon_window_get_type
5898         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5899         documentation comment.
5900
5901 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
5902
5903         * doc/Makefile.am: Complete list of private headers.
5904
5905 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
5906
5907         * doc/hildon-docs.sgml
5908         * src/hildon-app-menu.c
5909         * src/hildon-bread-crumb.c
5910         * src/hildon-button.c
5911         * src/hildon-gtk.c
5912         * src/hildon-program.c
5913         * src/hildon-stackable-window.c
5914         * src/hildon-window.c: Lots of documentation updates.
5915
5916 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
5917
5918         * debian/control: Depend on Gtk 2:2.12.9-0osso3
5919
5920         * configure.ac: Require Gtk+ 2.12.9 at least
5921
5922 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
5923
5924         * src/hildon-pannable-area.c
5925         (hildon_pannable_area_scroll_indicator_fade),
5926         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5927         to protect the return of this timeout callbacks, avoiding deadlocks.
5928
5929 2008-08-12  Christian Dywan  <christian@imendio.com>
5930
5931         * src/hildon-*.c
5932         * src/hildon-*.h: Ensure a consistent include order,
5933         include <gtk/gtk.h> instead of particular files and
5934         only include the topmost header in the gtk stack. See NB #39857
5935
5936 2008-08-12  Christian Dywan  <christian@imendio.com>
5937
5938         * src/hildon-picker-dialog.c
5939         * src/hildon-touch-selector.c: Fix warnings about unused and
5940         uninitialized variables.
5941
5942 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5943
5944         * examples/Makefile.am
5945         * examples/hildon-check-button-example.c: Example of the hildon
5946         check button.
5947
5948 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5949
5950         * src/hildon-window.h
5951         * src/hildon-window.c (hildon_window_class_init)
5952         (hildon_window_unset_program): Don't make
5953         hildon_window_unset_program a virtual function anymore.
5954
5955         * src/hildon-stackable-window.c: Update documentation
5956
5957 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5958
5959         * doc/Makefile.am
5960         * doc/hildon-docs.sgml
5961         * doc/visual_index.xml
5962         * src/hildon-defines.c
5963         * src/hildon-gtk.c
5964         * src/hildon-helper.c
5965         * src/hildon-range-editor.c: Lots of documentation fixes.
5966
5967 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5968
5969         * examples/hildon-picker-button-multicolumn-example.c
5970         (create_touch_selector): Fix compilation warning.
5971
5972 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5973
5974         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5975         (hildon_pannable_area_button_release_cb)
5976         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5977
5978 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5979
5980         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5981         assertion.
5982
5983 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5984
5985         * src/hildon-bread-crumb-trail.h
5986         * src/hildon-date-editor.c
5987         * src/hildon-date-selector.c
5988         * src/hildon-pannable-area.c
5989         * src/hildon-picker-dialog.c
5990         * src/hildon-time-selector.c
5991         * src/hildon-touch-selector-entry.c
5992         * src/hildon-touch-selector.c
5993         * src/hildon-touch-selector.h: Misc documentation fixes
5994
5995 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5996
5997         * examples/hildon-date-editor-example.c (main): Updated date
5998         editor example.
5999
6000         * examples/hildon-note-example.c (on_confirmation_clicked):
6001         Updated confirmation note example.
6002
6003         * src/hildon-date-editor.c
6004         * src/hildon-note.c: Updated sample programs in documentation.
6005         Fixes: NB#87437
6006
6007 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6008
6009         * src/hildon-date-button.h:
6010         * src/hildon-picker-button.h:
6011         * src/hildon-time-button.c:
6012         * src/hildon-time-button.h:
6013
6014         Some declarations changes to allow gtk-doc to document the widgets
6015         properly.
6016
6017 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6018
6019         * src/hildon-date-button.c: Document the widget.
6020         * src/hildon-time-button.c: Document the widget.
6021
6022 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6023
6024         * src/hildon-picker-button.c: Document the widget.
6025         * src/hildon-touch-selector-entry.c: Document the widget.
6026
6027 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6028
6029         * doc/hildon-docs.sgml
6030         * src/Makefile.am
6031         * src/hildon.h
6032         * src/hildon-check-button.h
6033         * src/hildon-check-button.c: New functions to create the Hildon
6034         Touch Checkbox.
6035
6036         * src/hildon-gtk.h
6037         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6038
6039 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6040
6041         * src/hildon-button.h
6042         * src/hildon-button.c
6043         (hildon_button_add_title_size_group)
6044         (hildon_button_add_value_size_group)
6045         (hildon_button_add_image_size_group)
6046         (hildon_button_add_size_groups): New functions to set size groups
6047         for the button labels and image.
6048         (hildon_button_new_full): Removed
6049
6050 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
6051
6052         * src/hildon-time-selector.c
6053         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6054         in order to avoid a crash if gconf is not available
6055
6056 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6057
6058         * src/hildon-button.c (hildon_button_set_arrangement)
6059         (hildon_button_construct_child): Don't construct the button child
6060         before setting the arrangement.
6061
6062 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6063
6064         * src/hildon-program-private.h
6065         * src/hildon-program.c
6066         * src/hildon-program.h
6067         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6068         (hildon_program_peek_window_stack)
6069         (hildon_program_pop_window_stack)
6070         (hildon_program_go_to_root_window): HildonProgram now has a
6071         separate list for stackable windows. Functions are provided to
6072         manage that list with a stack-like API.
6073
6074         * src/hildon-stackable-window.c: Stackable window management is
6075         now much simpler with the new HildonProgram API. Windows no
6076         longer need to be manually added to the program, they're
6077         automatically pushed to the top of the stack when shown.
6078
6079         * examples/hildon-stackable-window-example.c: Updated example to
6080         reflect the API changes.
6081
6082 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
6083
6084         * src/hildon-touch-selector.c: Comment out unimplemented
6085         hildon_touch_selector_insert_column() to avoid a compile warning.
6086
6087 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
6088
6089         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6090         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6091         (hildon_touch_selector_set_column_selection_mode),
6092         (_hildon_touch_selector_set_model),
6093         (hildon_touch_selector_set_model):
6094
6095         Complete review of HildonTouchSelector documentation.
6096
6097 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6098
6099         * doc/hildon-docs.sgml
6100         * src/Makefile.am
6101         * src/hildon.h
6102         * src/hildon-gtk.h
6103         * src/hildon-gtk.c: Convenience functions for standard Gtk
6104         widgets, used to easily perform frequent operations.
6105
6106         * src/hildon-button-helpers.h
6107         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6108
6109         * src/hildon-helper.h
6110         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6111         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6112
6113         * src/hildon-button.h
6114         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6115
6116 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6117
6118         * src/hildon-button.c (hildon_button_init)
6119         (hildon_button_set_arrangement, hildon_button_construct_child):
6120         Pack the image and the labels inside the same GtkAlignment so
6121         gtk_button_set_alignment() can be used
6122
6123 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6124
6125         * src/hildon-button.h
6126         * src/hildon-button.c
6127         (hildon_button_init, hildon_button_set_image)
6128         (hildon_button_set_image_position)
6129         (hildon_button_construct_child): New functions to add an image to
6130         the HildonButton.
6131
6132 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6133
6134         * src/hildon-date-button.c
6135         * src/hildon-picker-button.c
6136         * src/hildon-time-button.c
6137         * src/hildon-button.c:
6138         (hildon_button_class_init): "size-flags" renamed to "size"
6139         (hildon_button_set_title): Hide the title label if set to NULL.
6140
6141 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6142
6143         HildonButtonFlags split into HildonButtonArrangement (to set the
6144         button layout) and HildonSizeType (which can be used for any
6145         widget).
6146
6147         * src/hildon-button.h
6148         * src/hildon-button.c
6149         (hildon_button_class_init)
6150         (hildon_button_set_arrangement)
6151         (hildon_button_set_property): New "size-flags"
6152         property. "arrangement-flags" renamed to "arrangement".
6153         (hildon_button_new, hildon_button_new_with_text)
6154         (hildon_button_new_full): Constructors updated to reflect type changes.
6155
6156         * src/hildon-helper.h
6157         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6158         to set the size of a widget.
6159
6160         * src/Makefile.am
6161         * src/hildon.h
6162         * src/hildon-button-helpers.c
6163         * src/hildon-button-helpers.h: New hildon-button-helpers module.
6164
6165         * src/hildon-date-button.c
6166         * src/hildon-date-button.h
6167         * src/hildon-picker-button.c
6168         * src/hildon-picker-button.h
6169         * src/hildon-time-button.c
6170         * src/hildon-time-button.h: Updated widgets to reflect
6171         HildonButton API changes.
6172
6173         * examples/hildon-button-example.c
6174         * examples/hildon-date-button-example.c
6175         * examples/hildon-picker-button-example.c
6176         * examples/hildon-picker-button-multicolumn-example.c
6177         * examples/hildon-time-button-example.c
6178         * examples/hildon-touch-selector-entry-example.c
6179         * examples/hildon-touch-selector-example.c: Updated examples to
6180         reflect HildonButton API changes.
6181
6182 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
6183
6184         * doc/hildon-docs.sgml:
6185         * doc/hildon.types:
6186         * examples/Makefile.am:
6187         * examples/hildon-touch-selector-entry-example.c:
6188         * src/Makefile.am:
6189         * src/hildon-touch-selector-entry.c:
6190         * src/hildon-touch-selector-entry.h:
6191         * src/hildon.h:
6192
6193         Moved HildonTouchSelectorEntry from sandbox. Added its
6194         documentation and examples.
6195
6196 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
6197
6198         * src/hildon-touch-selector.h:
6199         * examples/hildon-picker-button-multicolumn-example.c:
6200         (hildon_touch_selector_append_text_column): Add a gboolean
6201         parameter to determine if text must be centered in the column.
6202
6203         * src/hildon-date-selector.c: (hildon_date_selector_init):
6204         * src/hildon-time-selector.c: (hildon_time_selector_init):
6205         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6206         (create_touch_selector): Update widgets and example to reflect
6207         the API change.
6208
6209 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
6210
6211         * src/hildon-touch-selector.c:
6212         (hildon_touch_selector_set_active_iter): Set also the cursor in
6213         the active row.
6214
6215 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
6216
6217         * doc/hildon-docs.sgml
6218         * doc/hildon.types
6219         * src/Makefile.am
6220         * src/hildon-toggle-button.c
6221         * src/hildon-toggle-button.h
6222         * src/hildon.h: Removed HildonToggleButton widget, a derived
6223         class is not necessary for this.
6224
6225 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
6226
6227         * src/hildon-pannable-area.c,
6228         (hildon_pannable_area_realize),
6229         (hildon_pannable_area_size_allocate): Code refactoring, add tests
6230         for negative sizes.
6231
6232 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
6233
6234         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6235         "done" button the default widget for the dialog.
6236
6237 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
6238
6239         * src/hildon-touch-selector.c:
6240         (hildon_touch_selector_class_init),
6241         (hildon_touch_selector_get_property),
6242         (_hildon_touch_selector_set_model),
6243         (_hildon_touch_selector_has_multiple_selection),
6244         (hildon_touch_selector_has_multiple_selection):
6245         Add a "has-multiple-selection" property with a virtual
6246         has_multiple_selection() method to allow derived classes to
6247         override the default value for it. See the method and property
6248         documentation for details.
6249
6250         * src/hildon-touch-selector.h: Add the new API.
6251
6252         * src/hildon-picker-dialog.c: (requires_done_button): Call
6253         hildon_touch_selector_has_multiple_selection() instead of
6254         determining the need for a button itself.
6255
6256 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
6257
6258         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6259         (_hildon_touch_selector_set_model),
6260         (hildon_touch_selector_set_model): Move working code to
6261         _hildon_touch_selector_set_mode(). Call the class method instead.
6262
6263         * src/hildon-touch-selector.h: Add (*set_model) to
6264         HildonTouchSelectorClass.
6265
6266         Make hildon_touch_selector_set_model() a virtual method, so that
6267         derived classes can extend it and do fancy stuff with the model.
6268
6269 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
6270
6271         * configure.ac: Set back the tarname in AC_INIT to hildon.
6272
6273 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6274
6275         Release 2.1.3
6276
6277         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6278         instead of libesd (NB#86876). Volume handling is still an open issue.
6279
6280         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6281         cleanups.
6282
6283 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
6284
6285         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6286         (hildon_touch_selector_append_column): Make the widget a GtkVBox
6287         derived class to ease placement of an entry widget in
6288         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6289         end, where the selector columns are packed now.
6290
6291 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
6292
6293         * src/hildon-picker-button.c: Removed the simple _text() API.
6294         * src/hildon-picker-button.h: Likewise.
6295
6296         * src/hildon-touch-selector.h:
6297         * src/hildon-touch-selector.c:
6298         (hildon_touch_selector_new_text),
6299         (hildon_touch_selector_append_text),
6300         (hildon_touch_selector_prepend_text),
6301         (hildon_touch_selector_insert_text):
6302
6303         Moved the simple _text() API from HildonPickerButton to
6304         HildonTouchPicker, to provide better escalability and not to tie
6305         that API to HildonPickerButton.
6306
6307         * examples/hildon-picker-button-example.c: (main): Example updated.
6308
6309 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
6310
6311         * src/hildon-button.c: Updated documentation.
6312
6313         * examples/hildon-button-example.c: Add the posibility to create
6314         the buttons using horizontal layout for title and value.
6315
6316 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
6317
6318         * src/hildon-app-menu-private.h
6319         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6320         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6321         GtkSizeGroup for the filters, use the 'homogeneous' property of
6322         the box instead.
6323
6324 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
6325
6326         * examples/hildon-button-example.c: Updated example.
6327
6328 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
6329
6330         * doc/hildon-docs.sgml:
6331         * doc/hildon.types:
6332
6333         Update documentation.
6334
6335         * examples/Makefile.am: Update renamed examples.
6336
6337         * examples/hildon-picker-button-multicolumn-example.c:
6338         (create_touch_selector), (main): Update after the rename.
6339
6340         * examples/hildon-touch-picker-example.c: Removed.
6341         * examples/hildon-touch-selector-example.c: (value_changed),
6342         (create_selector), (get_visible_content), (main): Renamed from
6343         hildon-touch-picker-example.c
6344
6345         * src/Makefile.am: Updated renamed files.
6346
6347         * src/hildon-date-button.c: (hildon_date_button_init),
6348         (hildon_date_button_get_date), (hildon_date_button_set_date):
6349         * src/hildon-date-selector.c: (hildon_date_selector_init),
6350         (_custom_print_func), (_update_day_model),
6351         (_manage_selector_change_cb),
6352         (hildon_date_selector_select_current_date),
6353         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6354         * src/hildon-date-selector.h:
6355         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6356         (hildon_picker_button_set_property),
6357         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6358         (hildon_picker_button_init), (hildon_picker_button_new_text),
6359         (hildon_picker_button_append_text),
6360         (hildon_picker_button_prepend_text),
6361         (hildon_picker_button_insert_text),
6362         (hildon_picker_button_set_selector),
6363         (hildon_picker_button_get_selector):
6364         * src/hildon-picker-button.h:
6365         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6366         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6367         (_update_title_on_selector_changed_cb), (requires_done_button),
6368         (_hildon_picker_dialog_set_selector),
6369         (hildon_picker_dialog_set_selector),
6370         (hildon_picker_dialog_get_selector):
6371         * src/hildon-picker-dialog.h:
6372         * src/hildon-time-button.c: (hildon_time_button_init),
6373         (hildon_time_button_get_time), (hildon_time_button_set_time):
6374         * src/hildon-time-selector.c: (hildon_time_selector_init),
6375         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6376         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6377         * src/hildon-time-selector.h:
6378         * src/hildon.h:
6379
6380         Massive code updates after the rename.
6381
6382         * src/hildon-touch-picker.c: Removed.
6383         * src/hildon-touch-picker.h: Removed.
6384
6385         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6386         (hildon_touch_selector_init), (hildon_touch_selector_map),
6387         (hildon_touch_selector_remove), (_default_print_func),
6388         (_selection_changed_cb), (_create_new_column),
6389         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6390         (hildon_touch_selector_append_text_column),
6391         (hildon_touch_selector_remove_column),
6392         (hildon_touch_selector_set_column_attributes),
6393         (hildon_touch_selector_insert_column),
6394         (hildon_touch_selector_get_num_columns),
6395         (hildon_touch_selector_get_column_selection_mode),
6396         (hildon_touch_selector_set_column_selection_mode),
6397         (hildon_touch_selector_set_print_func),
6398         (hildon_touch_selector_get_print_func),
6399         (hildon_touch_selector_get_active_iter),
6400         (hildon_touch_selector_set_active_iter),
6401         (hildon_touch_selector_get_selected_rows),
6402         (hildon_touch_selector_get_model),
6403         (hildon_touch_selector_set_model),
6404         (hildon_touch_selector_get_current_text),
6405         (_hildon_touch_selector_center_on_selected_items):
6406         * src/hildon-touch-selector.h: Renamed from
6407         hildon-touch-picker.[ch]
6408
6409         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6410         references, code examples, and related documentation.
6411
6412 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
6413
6414         * doc/hildon-docs.sgml
6415         * doc/hildon.types
6416         * src/Makefile.am
6417         * src/hildon-toggle-button.c
6418         * src/hildon-toggle-button.h
6419         * src/hildon.h: New HildonToggleButton widget.
6420
6421 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
6422
6423         * src/hildon-button.c: Add API documentation.
6424         (hildon_button_set_size_groups): Check input parameters
6425
6426 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
6427
6428         * src/hildon-pannable-area.c
6429         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6430         effect after reaching the movement thredshold. This way we start
6431         using the distance after passing the thredshold.
6432
6433 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6434
6435         * src/hildon-button.c: (hildon_button_set_property): Use the
6436         appropriate g_value_get_flags() method.
6437
6438 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6439
6440         * doc/hildon-docs.sgml:
6441         * doc/hildon.types:
6442
6443          Add the touch pickers, picker dialogs, and picker button widgets
6444         to the documentation.
6445
6446 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6447
6448         * src/hildon-button.c: (hildon_button_set_property),
6449         (hildon_button_class_init): Make "arrangement-flags" a proper
6450         G_TYPE_FLAGS derived property.
6451
6452 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6453
6454         * examples/Makefile.am: Add below examples.
6455         * examples/hildon-date-button-example.c:
6456         * examples/hildon-picker-button-example.c:
6457         * examples/hildon-picker-button-multicolumn-example.c:
6458         * examples/hildon-time-button-example.c:
6459         * examples/hildon-touch-picker-example.c:
6460
6461         Add examples for the recently added touch pickers,
6462         picker dialogs, and picker button widgets.
6463
6464 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
6465
6466         * src/hildon-button.c: Add some API documentation
6467
6468 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
6469
6470         * src/hildon-button.h
6471         * src/hildon-button.c
6472         (hildon_button_new)
6473         (hildon_button_new_with_text): New constructor to create a button
6474         with no text at all.
6475         (hildon_button_init, hildon_button_set_arrangement)
6476         (hildon_button_set_title, hildon_button_set_value)
6477         (hildon_button_set_text)
6478         (hildon_button_construct_child): Hide the value when it's not used
6479         so the rest of the text is properly aligned.
6480         Allow creating buttons with arbitrary widgets inside (not just
6481         title/value labels).
6482
6483         * examples/hildon-button-example.c (vertical_buttons_window)
6484         (horizontal_buttons_window): Update example to use new API.
6485
6486 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6487
6488         * src/Makefile.am: Added HildonTimeButton.
6489         * src/hildon-time-button.c: Added missing LGPL header.
6490         * src/hildon-time-button.h: Added missing LGPL header.
6491         * src/hildon.h: Add hildon-time-button.h
6492
6493         Copied HildonTimeButton from sandbox to trunk. Future work on this
6494         widget must take place in trunk.
6495
6496 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6497
6498         * src/Makefile.am: Added HildonDateButton.
6499         * src/hildon-date-button.c: Update includes.
6500         * src/hildon.h: Add hildon-date-button.h
6501
6502         Copied HildonDateButton from sandbox to trunk. Future work on this
6503         widget must take place in trunk.
6504
6505 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6506
6507         * src/Makefile.am: Added HildonPickerButton.
6508         * src/hildon-picker-button.h: Update includes.
6509         * src/hildon.h: Add hildon-picker-button.h
6510
6511         Copied HildonPickerButton from sandbox to trunk. Future work on
6512         this widget must take place in trunk.
6513
6514 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6515
6516         * src/Makefile.am: Added HildonPickerDialog.
6517         * src/hildon-picker-dialog.c: Update includes.
6518         * src/hildon.h: Add hildon-picker-dialog.h
6519
6520         Copied HildonPickerDialog from sandbox to trunk. Future work
6521         on this widget must take place in trunk.
6522
6523 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6524
6525         * src/Makefile.am: Added HildonTimeSelector.
6526         * src/hildon.h: Add hildon-time-selector.h
6527
6528         Copied HildonTimeSelector widget from sandbox to trunk. Future
6529         work on this widget must happen in trunk.
6530
6531 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6532
6533         * src/Makefile.am: Added HildonDateSelector.
6534         * src/hildon.h: Add hildon-date-selector.h
6535
6536         Copied HildonDateSelector widget from sandbox to trunk.  Future
6537         work on this widget must happen in trunk.
6538
6539 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6540
6541         * src/Makefile.am: Added HildonTouchPicker.
6542         * src/hildon-touch-picker.c: Update includes.
6543         * src/hildon.h: Add hildon-touch-picker.h
6544
6545         Copied HildonTouchPicker widget from sandbox to trunk. Future work
6546         on this widget must happen in trunk.
6547
6548 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6549
6550         * src/hildon-pannable-area.c:
6551         (hildon_pannable_area_motion_notify_cb): Fix a typo.
6552
6553 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
6554
6555         * examples/hildon-app-menu-example.c (main): Let the window
6556         destroy the menu.
6557
6558 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
6559
6560         * src/hildon-pannable-area.c
6561         (hildon_pannable_area_class_init): Set the min value of the
6562         overshoot properties to zero, which points out that not
6563         overshooting allowed.
6564
6565 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
6566
6567         Modified the procedure to get the widget at a point inside the
6568         pannable area when using the movement type signals. Now the user
6569         has to call a function to get the child, that way we just
6570         calculate the child in case the user really want to use it and not
6571         all the time.
6572
6573         * src/hildon-marshalers.list: Modified the marshallers, now we do
6574         not have the widget as a parameter.
6575
6576         * src/hildon-pannable-area.c
6577         (hildon_pannable_area_motion_notify_cb),
6578         (hildon_pannable_area_class_init),
6579         (hildon_pannable_get_child_widget_at):  Removed the widget
6580         parameter from the signal callback. We have also refactored the
6581         emission of the signals.
6582
6583         * src/hildon-pannable-area.h: Added a new method to the API to
6584         calculate a widget at a point inside the pannable area,
6585         hildon_pannable_get_child_widget_at.
6586
6587         * examples/hildon-pannable-area-example-4.c
6588         (horizontal_movement): Modified the example to use the new API,
6589         added condition to control which widget is under the event. This
6590         way we can avoid scrolling laterally over other widgets.
6591
6592 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
6593
6594         * src/hildon-pannable-area.c
6595         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6596         modes, we stop getting the pointer events due to returning the
6597         callback without properly calling the get pointer again. Fixed
6598         also an error using the hscroll and vscroll.
6599
6600 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
6601
6602         * src/hildon-app-menu-private.h
6603         * src/hildon-app-menu.c (hildon_app_menu_button_press)
6604         (hildon_app_menu_button_release, hildon_app_menu_init)
6605         (hildon_app_menu_class_init): Don't hide the menu on button
6606         release if the user didn't press outside first.
6607
6608         * src/hildon-window.h
6609         * src/hildon-window.c (hildon_window_toggle_menu)
6610         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6611         hildon_window_toggle_menu a virtual function for the stackable
6612         window to override it.
6613
6614         * src/hildon-stackable-window.h
6615         * src/hildon-stackable-window-private.h
6616         * src/hildon-stackable-window.c
6617         (hildon_stackable_window_realize)
6618         (hildon_stackable_window_finalize)
6619         (hildon_stackable_window_class_init)
6620         (hildon_stackable_window_init)
6621         (hildon_stackable_window_set_main_menu): New function to set the
6622         app menu of a HildonStackableWindow.
6623
6624         * examples/hildon-app-menu-example.c: Remove the button to show
6625         the app menu, now it'll be shown when clicking on the title bar
6626         instead.
6627
6628 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
6629
6630         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6631         set the widget name if the arrangement flags do not specify
6632         a particular size.
6633
6634 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
6635
6636         * src/hildon-button.c: (hildon_button_set_property),
6637         (hildon_button_class_init), (hildon_button_new_full),
6638         (hildon_button_set_arrangement): Added "arrangement-flags"
6639         property.
6640
6641         Make the HildonButtonFlags a construction-only property, to allow
6642         subclasses to set them properly.
6643
6644 2008-07-21 Tim Janik  <timj@imendio.com>
6645
6646         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6647         insertion position after backspace, so additional digits are appended,
6648         fixes Bug #85874.
6649
6650 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
6651
6652         * src/hildon-pannable-area.c,
6653         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6654         TODO list, it was complete and removed the g_debug and g_print
6655         lines.
6656
6657 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
6658
6659         Added the movement modes to the hildon-pannable-area, with this
6660         modes the developers can control in which directions the widget
6661         can scroll. They can also connect to signals in order to do
6662         something when that happens, allowing applications scroll. There
6663         is an example uploaded showing how to use it.
6664
6665         * examples/Makefile.am:
6666         * examples/hildon-pannable-area-example-4.c: Added this example of
6667         an application using the modes.
6668
6669         * src/hildon-marshalers.list: Added a new marshaller for the new
6670         signals.
6671
6672         * src/hildon-pannable-area.h: Added new enumerations and flags in
6673         order to control the movement modes and the new signals to warn
6674         about the movements in the area.
6675
6676         * src/hildon-pannable-area.c:
6677         (hildon_pannable_axis_scroll),
6678         (hildon_pannable_area_scroll),
6679         (hildon_pannable_area_motion_notify_cb),
6680         (hildon_pannable_area_get_property),
6681         (hildon_pannable_area_set_property),
6682         (hildon_pannable_area_map),
6683         (hildon_pannable_area_class_init),
6684         (hildon_pannable_area_init),
6685         (hildon_pannable_area_jump_to): Added the modes to control the
6686         movement in the widget. We have added properties to control it,
6687         signals to warn about the movements and refactored some code.
6688
6689 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
6690
6691         Changes required in order to allow vfast_factor set to zero to
6692         work properly.
6693
6694         * src/hildon-pannable-area.c:
6695         (hildon_pannable_area_button_press_cb): Changed the condition, it
6696         is required for not allowing click when vfast_factor is zero.
6697         (hildon_pannable_area_timeout): Initialized velocity variables
6698         when we stop moving, it was less than 1 but not zero and we need
6699         to check zero in some situations.
6700         (hildon_pannable_area_class_init): Changed the default value of
6701         the speed factor, now the button_press is just sent in case the
6702         speed is 2 per cent of the max speed.
6703         (hildon_pannable_area_init): Initialization with 0.
6704
6705 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
6706
6707         * src/hildon-pannable-area.c,
6708         (hildon_pannable_area_get_topmost): replaced
6709         gdk_window_get_children with gdk_window_peek_children, this way we
6710         do not have to free the list because it is not a copy.
6711
6712         (hildon_pannable_axis_scroll),
6713         (hildon_pannable_area_scroll),
6714         (hildon_pannable_area_timeout),
6715         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6716         two parameters that were only used inside the
6717         hildon_pannable_area_scroll function.
6718
6719         * examples/hildon-pannable-area-example.c,
6720         (get_sawtooth_label): Fixed small memory leak.
6721
6722 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
6723
6724         More checks for the case where the overshoot is bigger than the
6725         size of the widget.
6726
6727         * src/hildon-pannable-area.c:
6728         (hildon_pannable_draw_vscroll),
6729         (hildon_pannable_draw_hscroll): with this new calculation we avoid
6730         to draw the slider of the scrollbar under the other scrollbar.
6731         (hildon_pannable_area_expose_event): added new checks to control
6732         the drawing of the overshooting area rectangle, in case it is too
6733         big for the area of the widget.
6734         (hildon_pannable_area_size_allocate): add more checks to avoid
6735         setting a position to the child widget outside the area.
6736
6737 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
6738
6739         * src/hildon-pannable-area.c
6740         (hildon_pannable_area_size_allocate): Added conditions to control
6741         when overshooting is bigger than the allocated space for the
6742         children, this avoids negative allocations.
6743
6744 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
6745
6746         * doc/hildon-docs.sgml
6747         * doc/hildon.types
6748         * examples/Makefile.am
6749         * examples/hildon-button-example.c
6750         * src/Makefile.am
6751         * src/hildon-button.c
6752         * src/hildon-button.h
6753         * src/hildon.h: Initial version of the new HildonButton widget,
6754         with examples.
6755
6756 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
6757
6758         * src/hildon-pannable-area.c:
6759         (hildon_pannable_area_button_press_cb),
6760         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6761         (hildon_pannable_area_motion_notify_cb),
6762         (hildon_pannable_area_button_release_cb),
6763         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6764         (hildon_pannable_area_jump_to_child):
6765
6766         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6767
6768 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
6769
6770         * examples/Makefile.am
6771         * examples/hildon-pannable-area-touch-grid-example.c
6772         * examples/hildon-pannable-area-touch-list-example.c: Examples of
6773         the Hildon Touch List and Hildon Touch Grid using the
6774         HildonPannableArea widget.
6775
6776 2008-06-27  Alejandro G. Castro <alex@igalia.com>
6777
6778         * src/hildon-pannable-area.c,
6779         (hildon_pannable_area_button_press_cb),
6780         (hildon_pannable_area_refresh),
6781         (hildon_pannable_area_scroll),
6782         (hildon_pannable_area_motion_notify_cb),
6783         (hildon_pannable_area_button_release_cb),
6784         (hildon_pannable_area_expose_event),
6785         (hildon_pannable_area_add),
6786         (hildon_pannable_area_remove),
6787         (hildon_pannable_area_realize),
6788         (hildon_pannable_area_size_allocate),
6789         (hildon_pannable_area_class_init),
6790         (hildon_pannable_area_init),
6791         (hildon_pannable_area_scroll_to_child),
6792         (hildon_pannable_area_jump_to_child): Fixed the problem of
6793         removing the child from the GtkBin, we have rearranged the widget
6794         hierarchy, now there is no GtkAlignment which was not doing
6795         anything interesting but breaking some of the assumptions of
6796         GtkContainer. Now developers if they want to add a GtkAlignment
6797         they could, but it is not inside the area.
6798
6799         We had to review the whole allocation/expose process, now it is
6800         improved and we save at least three signals which would be saving
6801         some time when rendering the widget. The allocation of the
6802         scrollbars is now made in the allocate method as usual.
6803
6804         We have also added some conditions in order to control when there
6805         is no child of the pannable area. Maybe we will need more work
6806         here.
6807
6808 2008-06-27  Alejandro G. Castro <alex@igalia.com>
6809
6810         * src/hildon-pannable-area.c,
6811         (hildon_pannable_area_dispose): Released the fade-out timeout when
6812         disposing the widget.
6813
6814 2008-06-27  Alejandro G. Castro <alex@igalia.com>
6815
6816         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6817         zero, we are going to use that property in order to deactivate the
6818         overshooting
6819         (hildon_pannable_axis_scroll),
6820         (hildon_pannable_area_size_allocate): Added conditions to control
6821         when overshoot_max is zero. Moved the gtk_adjustment_set_value
6822         call, now it is called in all situations and we can remove calls
6823         in the allocate method.
6824         (hildon_pannable_area_map): Control the situation when
6825         overshoot_max is zero, we do not need the timeout.
6826         (hildon_pannable_area_class_init): Added documentation in order to
6827         point out that setting zero to overshoot_max means deactivate
6828         overshooting.
6829
6830         NOTE: removed trailing whitespaces from my previous comments of
6831         the Changelog.
6832
6833 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
6834
6835         * src/hildon-pannable-area.c
6836         (hildon_pannable_area_get_property),
6837         (hildon_pannable_area_set_property),
6838         (hildon_pannable_area_map),
6839         (hildon_pannable_area_class_init),
6840         (hildon_pannable_area_init): Add a boolean "initial-hint" property
6841         to cause the widget give a hint about its panning abilities upon
6842         realization.
6843
6844 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
6845
6846         * src/hildon-pannable-area.c: Several documentation improvements.
6847
6848 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
6849
6850         * src/hildon-program.c
6851         * src/hildon-stackable-window.c: Update documentation.
6852
6853 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
6854
6855         * src/hildon-stackable-window.c (get_previous_window_if_last):
6856         Renamed get_last_window()
6857         (hildon_stackable_window_map, hildon_stackable_window_unmap)
6858         (hildon_stackable_window_unset_program):
6859         Simplified code.
6860         (get_previous_window_if_last):
6861         Detect if the window hasn't been added to a HildonProgram.
6862
6863 2008-06-26  Alejandro G. Castro <alex@igalia.com>
6864
6865         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6866
6867         * src/hildon-pannable-area.c
6868         (hildon_pannable_area_button_press_cb),
6869         (hildon_pannable_axis_scroll),
6870         (hildon_pannable_area_scroll),
6871         (hildon_pannable_area_timeout),
6872         (hildon_pannable_calculate_vel_factor),
6873         (hildon_pannable_area_get_property),
6874         (hildon_pannable_area_set_property),
6875         (hildon_pannable_area_class_init),
6876         (hildon_pannable_area_init),
6877         (hildon_pannable_area_scroll_to),
6878         (hildon_pannable_area_jump_to),
6879         (hildon_pannable_area_scroll_to_child),
6880         (hildon_pannable_area_jump_to_child):
6881         * src/hildon-pannable-area.h: Added the new API functions:
6882         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6883         hildon_pannable_area_scroll_to_child,
6884         hildon_pannable_area_jump_to_child
6885
6886
6887         * examples/Makefile.am
6888         * examples/hildon-pannable-area-example-2.c
6889         * examples/hildon-pannable-area-example-3.c: Added these two new
6890         examples in order to test and show how the new APIs work.
6891
6892 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
6893
6894         * examples/hildon-stackable-window-example.c (new_window):
6895         * src/Makefile.am (noinst_HEADERS):
6896         * src/hildon-program.c (hildon_program_go_to_root_window):
6897         * src/hildon-program.h:
6898         * src/hildon-stackable-window-private.h:
6899         * src/hildon-stackable-window.c:
6900         * src/hildon-stackable-window.h:
6901         Create hildon-stackable-window-private.h
6902         Move hildon_stackable_window_go_to_root_window() to HildonProgram
6903
6904         * examples/hildon-app-menu-example.c (create_menu):
6905         * examples/hildon-hvolumebar-insensitive-example.c (main):
6906         * examples/hildon-hvolumebar-timer-example.c (on_idle):
6907         * examples/hildon-toolbar-seekbar-example.c (main):
6908         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6909         * src/hildon-banner.c (hildon_banner_set_property):
6910         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6911         Fix compilation warnings
6912
6913         * src/hildon-window.c:
6914         Fix typo in doc
6915
6916 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
6917
6918         * src/hildon-stackable-window.c
6919         (hildon_stackable_window_unset_program):
6920         Calculate correctly whether to show the previous window if the
6921         last one is removed from the stack.
6922         (hildon_stackable_window_go_to_root_window):
6923         Send delete events starting from the topmost window.
6924         Stop if one of the windows is not destroyed.
6925         Update doc.
6926         (hildon_stackable_window_delete_event)
6927         (hildon_stackable_window_class_init):
6928         Ignore the delete event if the window is not the topmost one.
6929
6930 2008-06-24  Alejandro G. Castro <alex@igalia.com>
6931
6932         * src/hildon-pannable-area.c
6933         (hildon_pannable_area_expose_event): Fixed a problem when
6934         selecting the background color of the scrollbars.
6935
6936 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
6937
6938         * examples/hildon-stackable-window-example.c
6939         * src/hildon-stackable-window.c
6940         * src/hildon-stackable-window.h
6941         hildon_stackable_window_go_home() renamed to
6942         hildon_stackable_window_go_to_root_window()
6943         Send delete events to windows rather than closing them with
6944         gtk_widget_destroy()
6945
6946 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
6947
6948         * src/hildon-pannable-area.c
6949         (hildon_pannable_area_button_release_cb): Fix overshooting in
6950         accel mode.
6951
6952 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
6953
6954         * src/hildon-pannable-area.c
6955         (hildon_pannable_area_init): Initially show the scroll indicators.
6956         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6957
6958         Add initial effect showing the widget is pannable.
6959
6960 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
6961
6962         * src/hildon-pannable-area.c
6963         (hildon_pannable_area_class_init)
6964         (hildon_pannable_area_set_property)
6965         (hildon_pannable_area_get_property)
6966         (hildon_pannable_area_button_press_cb):
6967         New 'velocity_fast_factor' property to decide which velocity is
6968         considered fast.
6969
6970 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
6971
6972         * src/hildon-pannable-area.c
6973         (hildon_pannable_draw_hscroll)
6974         (hildon_pannable_draw_vscroll):
6975         Use float variables to calculate the size of the scrollbars to
6976         avoid error propagation and resizing during scrolling.
6977
6978 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
6979
6980         * src/hildon-pannable-area.c
6981         (hildon_pannable_draw_vscroll)
6982         (hildon_pannable_draw_hscroll):
6983         Define a minimum size for the scroll bars
6984
6985         * src/hildon-stackable-window.c
6986         (hildon_stackable_window_go_home): Fix compilation warning
6987         (get_last_window): Minor optimizations
6988         (hildon_stackable_window_class_init): Fix initialization of
6989         private structure.
6990
6991 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
6992
6993         * src/hildon-stackable-window.c: Fixed typos in doc
6994
6995 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
6996
6997         * src/hildon-pannable-area.c
6998         (hildon_pannable_area_scroll):
6999         Calculate here whether we need to scroll instead of using the booleans
7000         that tell us whether to /draw/ the scrolling bars.
7001
7002 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
7003
7004         * src/hildon-app-menu.h
7005         Update API.
7006         * src/hildon-app-menu.c
7007         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7008         multiple filter groups related code and API. Now we support only
7009         one filter group.
7010         * examples/hildon-app-menu-example.c:
7011         (create_menu):
7012         Update to reflect API changes.
7013
7014 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
7015
7016         * src/hildon-stackable-window.c
7017         (hildon_stackable_window_class_init):
7018         Add hildon_stackable_window_realize.
7019         (hildon_stackable_window_realize):
7020         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7021         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7022         to apply theming and behavior specific to HildonStackableWindow
7023         windows.
7024
7025 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
7026
7027         * src/hildon-note.c (hildon_note_button_release):
7028         Close information notes also when tapping on them
7029
7030 2008-06-12  Alejandro G. Castro <alex@igalia.com>
7031
7032         Added BOUNCE_STEPS define to control the overshoot effect. Removed
7033         ELASTICITY, refactor and review, fix some issues with drawing
7034         scrollbars.
7035
7036         * src/hildon-pannable-area.c:
7037         (hildon_pannable_area_button_press_cb): removed the conditions to
7038         avoid clicks when overshooting. It is not required
7039
7040         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7041         define. Refatored and reviewed the code, now we do not need to
7042         manage velocity in motion_notify.
7043
7044         (hildon_pannable_area_motion_notify_cb): We have moved the code
7045         that controls the area_scroll to the axis_scroll function and get
7046         rid of duplicated code.
7047
7048         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7049
7050         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7051
7052         (hildon_pannable_draw_vscroll),
7053         (hildon_pannable_draw_hscroll): Fixed the problems with the
7054         scrollbar drawing, now we do not use two surfaces, it is easier
7055         and saves resources.
7056
7057         (hildon_pannable_area_get_property): Style modification.
7058
7059         (hildon_pannable_area_class_init): Changed some default values.
7060
7061 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
7062
7063         * src/hildon-stackable-window.c: Fix some typos in the
7064         documentation.
7065
7066 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
7067
7068         * src/hildon-dialog.c:
7069         Change indentation style
7070
7071         * src/hildon-note.c
7072         (hildon_note_button_release):
7073         Use root coordinates to check if the release event happened
7074         outside the widget.
7075
7076         * src/hildon-app-menu.c
7077         (hildon_app_menu_button_release):
7078         Remove unnecessary check
7079
7080         * examples/hildon-app-menu-example.c
7081         (button_clicked):
7082         Add cast to fix warning
7083
7084         * src/hildon-app-menu.c
7085         (hildon_app_menu_class_init):
7086         New inner-border style property.
7087         Set all default spacings to 16
7088         (hildon_app_menu_init):
7089         Use vertical-spacing to set the space between filter buttons and
7090         regular menu buttons.
7091         Set the default container border using the inner-border value.
7092
7093         * examples/hildon-app-menu-example.c
7094         (create_menu):
7095         Don't set the menu border explicitly, now we have the inner-border
7096         style property for that.
7097
7098 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
7099
7100         * src/hildon-app-menu.c (hildon_app_menu_init):
7101         Make the window modal
7102
7103         * src/hildon-note.c (hildon_note_map)
7104         * src/hildon-app-menu.c (hildon_app_menu_map):
7105         Destroy the grab window if we're unable to grab the pointer
7106
7107         * src/hildon-app-menu-private.h
7108         * src/hildon-app-menu.c
7109         (hildon_app_menu_init, hildon_app_menu_finalize)
7110         (hildon_app_menu_map, hildon_app_menu_unmap)
7111         (hildon_app_menu_button_release)
7112         (grab_transfer_window_get):
7113         Bring back the grab window
7114         (hildon_app_menu_realize):
7115         Decorate the window, set WM hint for Matchbox
7116
7117         * src/hildon-note.c (hildon_note_realize):
7118         * src/hildon-banner.c (hildon_banner_realize):
7119         Add WM hints for Matchbox
7120
7121 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
7122
7123         * src/hildon-app-menu-private.h
7124         * src/hildon-app-menu.c
7125         (hildon_app_menu_init, hildon_app_menu_finalize)
7126         (hildon_app_menu_map, hildon_app_menu_unmap)
7127         (hildon_app_menu_button_release):
7128         Remove the grab window, it's not needed anymore
7129
7130         * src/hildon-program.c
7131         Fixed typo in documentation
7132
7133         * src/hildon-app-menu.h
7134         * src/hildon-app-menu.c
7135         * examples/hildon-app-menu-example.c
7136         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7137
7138 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
7139
7140         * src/hildon-note.c
7141         Added new transfer_window and close_if_pressed_outside private
7142         attributes.
7143         (hildon_note_rebuild):
7144         Don't add a cancel button to the information note. It will be
7145         closed when tapping outside
7146         Remove the comment about the OK button in the documentation
7147         (hildon_note_realize):
7148         Set the notification type hint
7149         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7150         Grab/ungrab pointer and keyboard if the note has to be closed when
7151         tapping outside
7152         (hildon_note_button_release):
7153         Close the note when tapping outside (if applicable)
7154
7155         * src/hildon-app-menu.c
7156         Grab/ungrab pointer and keyboard on map/unmap
7157         (hildon_app_menu_button_release, hildon_app_menu_class_init):
7158         Close the menu on button release, not button press
7159
7160         * src/hildon-banner.c
7161         (hildon_banner_set_property)
7162         (hildon_banner_check_position):
7163         Make the banner use the full width of the screen
7164         (hildon_banner_show_information)
7165         (hildon_banner_show_information_with_markup):
7166         Don't display an icon by default
7167
7168 2008-06-09  Alejandro G. Castro <alex@igalia.com>
7169
7170         Added fading scrollbars and adapted all the overshooting code to
7171         horizontal scrolling. We have also fixed bugs with overshooting
7172         and current fading implementation.
7173
7174         * src/hildon-pannable-area.c
7175         (hildon_pannable_area_scroll_indicator_fade): Time out function
7176         used to change the transparency of the scrollbars.
7177
7178         (hildon_pannable_area_button_press_cb): Added horizontal overshot
7179         control and fixed a problem with fading, we now remove the fade
7180         timeout before adding a new one.
7181
7182         (hildon_pannable_axis_scroll):
7183         (hildon_pannable_area_scroll):
7184         (hildon_pannable_area_timeout): Added this functions so we can use
7185         the scroll code both for vertical and horizontal.
7186
7187         (hildon_pannable_area_motion_notify_cb):
7188         (hildon_pannable_area_button_release_cb): Added the horizontal
7189         scrolling control, fixed a problem with the overshooting timeout.
7190
7191         (rgb_from_gdkcolor): Added this function, it is used in the cairo
7192         painting of the scrolls.
7193
7194         (hildon_pannable_draw_vscroll):
7195         (hildon_pannable_draw_hscroll):
7196         (hildon_pannable_area_expose_event):
7197         Draw both scrollbars and rectangles in the overshooting area.
7198
7199         (hildon_pannable_area_get_property):
7200         (hildon_pannable_area_set_property):
7201         Modified the overshoot property to overshoot_max
7202
7203         (hildon_pannable_area_map):
7204         Replaced the comments symbols.
7205
7206         (hildon_pannable_area_size_allocate):
7207         (hildon_pannable_area_class_init):
7208         (hildon_pannable_area_init): Added horizontal scroll, fading
7209         effect properties, fixed a problem when overshooting in the bottom
7210         of the widget.
7211
7212         * examples/hildon-pannable-area-example.c:
7213         (get_sawtooth_label): Now we use smaller sawtooths, the effect
7214         looks better in the example.
7215
7216 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
7217
7218         * src/hildon-window.c
7219         * src/hildon-window.h
7220         (hildon_window_class_init)
7221         (hildon_window_unset_program)
7222         (hildon_window_unset_program_real):
7223         Make unset_program a virtual function
7224
7225         * src/hildon-stackable-window.c
7226         * src/hildon-stackable-window.h
7227         Added hildon_stackable_window_go_home()
7228
7229         * examples/Makefile.am
7230         * examples/hildon-stackable-window-example.c
7231         HildonStackableWindow example
7232
7233 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7234
7235         * hildon-pannable-area.c: Added the overshoot property and removed
7236         the OVERSHOOT define. Fixed an indent style error.
7237         (hildon_pannable_area_motion_notify_cb):
7238         (hildon_pannable_area_get_property):
7239         (hildon_pannable_area_set_property): Add overshoot property.
7240
7241         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7242         overshoot property.
7243
7244         (hildon_pannable_area_class_init): Installed the new property.
7245
7246         * hildon-pannable-area-example.c: Added a sawtooth function, this
7247         way it is easier to check the movement in the pannable.
7248         (get_sawtooth_label): Added this function.
7249         (main): Now we get the labels from the new get_sawtooth_label
7250         function.
7251
7252 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
7253
7254         * src/hildon-app-menu.h
7255         * src/hildon-app-menu.c
7256         Renamed API variables for consistency
7257
7258         (hildon_app_menu_popup): Use also the default window size to
7259         decide where to place the menu
7260
7261         (hildon_app_menu_init, hildon_app_menu_class_init): New
7262         external-border style property
7263
7264 2008-05-26  Michael Natterer  <mitch@imendio.com>
7265
7266         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7267         widget_class->tap_and_hold_setup signal slot doesn't exist any
7268         longer, stop overriding it.
7269
7270         (hildon_time_editor_init): g_signal_connect() to the
7271         tap-and-hold-setup signal instead.
7272
7273         (hildon_time_editor_entry_keypress): add cast to fix warning.
7274
7275 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
7276
7277         * doc/hildon-docs.sgml
7278         * doc/hildon.types
7279         * examples/Makefile.am
7280         * examples/hildon-app-menu-example.c
7281         * src/Makefile.am
7282         * src/hildon-app-menu-private.h
7283         * src/hildon-app-menu.c
7284         * src/hildon-app-menu.h
7285         * src/hildon.h
7286         New HildonAppMenu widget
7287
7288 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7289
7290         Rearranged the inheritance of the pannable area, now it inherits
7291         from GtkBin. This will allow us to control the event_window and
7292         the allocation process of the widget, required for some effects.
7293
7294         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7295         GtkBin structures.  * src/hildon-pannable-area.c: Added the
7296         event_window variable.
7297         (hildon_pannable_area_button_press_cb):
7298         (hildon_pannable_area_button_release_cb):
7299         (hildon_pannable_area_motion_notify_cb):
7300         Changed the signature of the method, now we override the event
7301         callback instead of connecting to the signal.
7302
7303         (hildon_pannable_area_realize):
7304         (hildon_pannable_area_unrealize):
7305         (hildon_pannable_area_map):
7306         (hildon_pannable_area_unmap):
7307         (hildon_pannable_area_size_allocate):
7308         Added functions to control the widget construction. We add a
7309         INPUT_ONLY window and we put it over the widgets inside the
7310         container, this event_window handles the events.
7311
7312         (hildon_pannable_area_class_init):
7313         Replaced the signal connections with overrides of the event
7314         callbacks.
7315
7316 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7317
7318         Bouncing effect added when touching the borders, you can change
7319         the elasticity of the border changing the ELASTICITY define.
7320
7321         * src/hildon-pannable-area.c: Added ELASTICITY define.
7322         (hildon_pannable_area_timeout): Added inverse velocity when
7323         touching the border of the child widget, that causes a bounce.
7324
7325 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7326
7327         Improved performance, we now do not go to the X server in order to
7328         get the list of window children. Apparently the effect is the
7329         same, we have to be careful and check if this breaks something in
7330         any corner case.
7331
7332         * src/hildon-pannable-area.c:
7333         (get_ordered_children): Removed this function.
7334         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7335         the children windows function with gdk_window_get_children.
7336
7337 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7338
7339         * src/hildon-pannable-area.c:
7340         (hildon_pannable_area_dispose): Fixed a crash when closing the
7341         window and kinetics is activated.
7342
7343 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
7344
7345         * src/hildon-pannable-area.h
7346         * src/hildon-pannable-area.c
7347         Changed indentation style to meet the one used in Hildon
7348
7349 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7350
7351         Reviewed the interaction of the AUTO mode, now we use the time
7352         attribute of the events and calculate the velocity in the motion,
7353         doing a gimp like calculation. The velocity is calculated in each
7354         motion event using the last velocity and the current one, the
7355         SMOOTH_FACTOR controls the percentage of the new velocity we use.
7356
7357         * src/hildon-pannable-area.c: Replaced the time based algorithm
7358         for the AUTO mode.
7359         (hildon_pannable_area_motion_notify_cb): now we do not launch the
7360         timeout for the AUTO mode when we are still moving the cursor. We
7361         added also the velocity calculation in this function.
7362         (hildon_pannable_area_button_release_cb): launch the timeout in
7363         case we are in AUTO mode. There are still some constants here that
7364         come from the old implementation that should be reviewed and
7365         handled properly.
7366
7367 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
7368
7369         * doc/hildon-docs.sgml
7370         * doc/hildon.types
7371         * src/Makefile.am
7372         * src/hildon-stackable-window.c
7373         * src/hildon-stackable-window.h
7374         * src/hildon.h
7375         New HildonStackableWindow widget
7376
7377         * examples/hildon-dialog-example.c
7378         * examples/hildon-pannable-area-example.c
7379         Updated copyright
7380
7381 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
7382
7383         * src/hildon-dialog.c
7384         (hildon_dialog_new_with_buttons): New constructor.
7385
7386         * examples/hildon-dialog-example.c
7387         (main): Update the example to use the new
7388         hildon_dialog_new_with_buttons().
7389
7390         * examples/hildon-pannable-area-example.c
7391         (main): Update example.
7392
7393 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7394
7395         * doc/hildon-docs.sgml
7396         * doc/hildon.types
7397         Added HildonPannableArea to the documentation.
7398
7399 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7400
7401         * doc/visual_index.xml
7402         Fix reference to HildonLoginDialog in documentation
7403
7404         * doc/hildon-docs.sgml
7405         * doc/hildon.types
7406         * examples/Makefile.am
7407         * examples/hildon-dialog-example.c
7408         * src/Makefile.am
7409         * src/hildon-dialog.c
7410         * src/hildon-dialog.h
7411         * src/hildon.h
7412         New HildonDialog widget.
7413
7414 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7415
7416         * src/hildon-pannable-area.c
7417         Merge latest changes (r4318, r4342) from libmokoui trunk
7418
7419 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7420
7421         * examples/Makefile.am
7422         * examples/hildon-pannable-area-example.c
7423         * src/Makefile.am
7424         * src/hildon-pannable-area.c
7425         * src/hildon-pannable-area.h
7426         * src/hildon.h
7427         New HildonPannableArea widget.
7428
7429 2008-04-15 18:05:19    <timj@imendio.com>
7430
7431         * src/hildon-banner.c: revert the recent change, that introduced
7432         gtk_window_present() calls. this reopens:
7433           Bug 78481 - [freetest] information banners are hidden under browser menu
7434         But resolves another variant of:
7435           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7436
7437 2008-04-15 13:21:13    <timj@imendio.com>
7438
7439         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7440         recreated its layout, spotted by Kris. this fixes all remaining
7441         artefacts and stability issues with the banner code. in particular:
7442         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7443
7444 2008-04-14 16:52:59    <timj@imendio.com>
7445
7446         * src/hildon-banner.c: guard force_to_wrap_truncated() against
7447         operating on unrealized widgets, fixes:
7448         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7449
7450         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7451
7452 2008-04-09  Kristian Rietveld  <kris@imendio.com>
7453
7454         Fixes: NB#77775: Media Player, Save Now playing list, too long name
7455         makes banner disappear.
7456         Fixes: NB#79182: info banner flickering with certain message lengts.
7457
7458         * src/hildon-banner.c (hildon_banner_constructor),
7459         (hildon_banner_init), (hildon_banner_set_text),
7460         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7461         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7462         FALSE, reset size requests of label and banner,
7463         (force_to_wrap_truncated): when the text is too wide, always enforce
7464         the maximum possible width instead of recalculating it from the
7465         layout; enforce the maximum banner height of 3 lines,
7466         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7467         nicer wrapping and no truncated chars if space gets tight.
7468
7469         * src/hildon-banner-private.h: add has_been_wrapped and
7470         has_been_truncated fields.
7471
7472 2008-04-07  Sven Herzberg  <sven@imendio.com>
7473
7474         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7475         local values in hildon_date_editor_size_allocate
7476
7477         * src/hildon-date-editor.c: moved the real allocation code into the
7478         if() branch
7479
7480 2008-04-07  Sven Herzberg  <sven@imendio.com>
7481
7482         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7483         local values in hildon_date_editor_size_allocate
7484
7485         * src/hildon-date-editor.c: merged the two if() branches together
7486
7487 2008-04-07  Sven Herzberg  <sven@imendio.com>
7488
7489         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7490         local values in hildon_date_editor_size_allocate
7491
7492         * src/hildon-date-editor.c: changed the arguments of the if()
7493         conditions
7494
7495 2008-04-07  Sven Herzberg  <sven@imendio.com>
7496
7497         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7498         local values in hildon_date_editor_size_allocate
7499
7500         * src/hildon-date-editor.c: split the calculation of the allocation
7501         from the real allocation
7502
7503 2008-03-27  Michael Natterer  <mitch@imendio.com>
7504
7505         Fixes: NB#81696: The passcode is not overwritten even after
7506         selecting
7507
7508         * src/hildon-code-dialog.c
7509         (hildon_code_dialog_button_clicked)
7510         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7511         because that doesn't overwrite selected text. Instead, emit the
7512         "commit" signal on the entry's im_context so the entry's normal
7513         insert logic is triggered. Set the cursor to the end of the entry
7514         after each insert operation so that we *only* insert in the middle
7515         of the text if something was selected.
7516
7517 2008-03-27  Michael Natterer  <mitch@imendio.com>
7518
7519         Enable fixing: NB#79916 and NB#79918: The help topic for Color
7520         selector cannot be opened
7521
7522         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7523         when the popup color selector is created. Please connect to this
7524         signal in order to set the dialog's help ID.
7525
7526 2008-03-25  Sven Herzberg  <sven@imendio.com>
7527
7528         Fixes: MB#1212: Hide info banners (infoprints) on click
7529
7530         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7531         extracted the close event simulation into an extra function
7532         (hildon_banner_button_press_event): simulate a close event and destroy
7533         the widget if the event wasn't handled
7534         (hildon_banner_class_init): added the button_press_event handler
7535         (hildon_banner_init): added button-press events to the widget
7536
7537 2008-03-25  Sven Herzberg  <sven@imendio.com>
7538
7539         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7540         Patch from: Mohammad Anwari  <mdamt@maemo.org>
7541
7542         * src/hildon-banner.c: let the HildonBanners pop up on the left side
7543         instead of the right in RTL mode
7544         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7545         breadcrumb button list in RTL mode
7546         * src/hildon-caption.c: mirror the appearance of the caption widget in
7547         RTL mode
7548         * src/hildon-date-editor.c: mirror appearance of the date editor in
7549         RTL mode
7550         * src/hildon-time-editor.c: mirror appearance of the time editor in
7551         RTL mode
7552         * src/hildon-window.c: fix the position of the popup in RTL mode
7553
7554 2008-03-25  Sven Herzberg  <sven@imendio.com>
7555
7556         Amendment to the fix of NB#22072. Fix compilation.
7557
7558         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7559
7560 2008-03-19  Sven Herzberg  <sven@imendio.com>
7561
7562         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7563         in Info Banner" bug
7564
7565         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7566         timeout id properly when the timeout will disappear this leaves no
7567         artifacts around in the destroy(); there will only be the timeout
7568         created by hildon_banner_ensure_timeout() and adding a new timeout
7569         will also work if the timeout gets removed because the timeout_handler
7570         returned FALSE
7571
7572 2008-03-19  Michael Natterer  <mitch@imendio.com>
7573
7574         Fixes: NB#79791: Cannot set focus to Master volume using stylus
7575
7576         * src/hildon-volumebar.c
7577         * src/hildon-vvolumebar.c
7578         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7579         the widget becomes focussable at all.
7580
7581         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7582         set the focus to wither the mute button or the volumebar.
7583
7584         Remove own "can-focus" property and instead listen to
7585         notify::can-focus in order to update the widget's state.
7586
7587         Implement GtkWidget::focus() and make sure we can also *leave* the
7588         widget, not only enter it, depending on volumebar orientation and
7589         requested focus direction.
7590
7591         Clean up set_mute() to cooperate nicely with all the above.
7592
7593 2008-03-04  Michael Natterer  <mitch@imendio.com>
7594
7595         Fixes: NB#78481: information banners are hidden under browser menu
7596
7597         * src/hildon-banner.c: call gtk_window_present() on the banners so
7598         they are risen if they are already visible.
7599
7600 2008-03-03  Sven Herzberg  <sven@imendio.com>
7601
7602         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7603
7604         * examples/hildon-window-menu-example.c: (main): extended the window
7605         menu example to serve as a testcase for automatically added
7606         accelerator groups, too
7607         * src/hildon-window.c: (hildon_window_add_accel_group),
7608         (hildon_window_set_menu): added patch by Tommi Komulainen
7609
7610 2008-03-03  Sven Herzberg  <sven@imendio.com>
7611
7612         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7613
7614         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7615         knowledge about the border allocators used within GTK+
7616
7617 2008-02-26  Sven Herzberg  <sven@imendio.com>
7618
7619         Fixes: MB#2981: Build with asserts broken
7620
7621         * src/hildon-date-editor.c,
7622         * src/hildon-number-editor.c,
7623         * src/hildon-time-editor.c,
7624         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7625         the proper GType instance check
7626
7627 2008-02-25  Sven Herzberg  <sven@imendio.com>
7628
7629         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7630
7631         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7632         * examples/hildon-window-menu-example.c: (main): explicitly show
7633         the menu item
7634         * src/hildon-window.c:
7635         (hildon_window_set_main_menu): moved most of the code from set_menu()
7636         to this place; skipped the call to gtk_widget_show_all(); also didn't
7637         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7638         (hildon_window_set_menu): removed most of the code, just keep the
7639         questionable gtk_widget_show_all()
7640         * src/hildon-window.h: added the new function and deprecate the old
7641         one
7642
7643 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
7644
7645         [2.0.1-1 release]
7646
7647         * NEWS:
7648         * configure.ac:
7649         * debian/changelog: Updating.
7650
7651 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
7652
7653         * configure.ac:
7654         * pkgconfig/Makefile.am:
7655         * pkgconfig/hildon.pc.in:
7656         * src/Makefile.am:
7657
7658         Do not use PACKAGE_VERSION_MAJOR as the API revision,
7659         use newly created API_MAJOR_VERSION.
7660
7661 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
7662
7663         [2.0.0-1 release]
7664
7665         * NEWS:
7666         * configure.ac:
7667         * debian/changelog: Updating.
7668
7669 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
7670
7671         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7672
7673         Add outer_border style property, we use it but don't define it (!).
7674
7675         Fixes NB#75310
7676
7677 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
7678
7679         * examples/hildon-bread-crumb-trail-example.c (main):
7680
7681         Add clear button.
7682
7683         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7684
7685         Fix logic for the bread crumb trail node removal.
7686
7687         Fixes: NB#78616
7688
7689 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7690
7691         [1.99.1-1 release]
7692
7693         * NEWS:
7694         * configure.ac:
7695         * debian/changelog: Updating.
7696
7697 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7698
7699         Patch by Alejandro to get/set passwords dialogs accesibility.
7700
7701         * hildon-1/src/hildon-get-password-dialog.c:
7702         * hildon-1/src/hildon-set-password-dialog.c:
7703         Set atk_set_name to the passwd entries in order to allow
7704         accessibility by name on this entries.
7705
7706 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7707
7708         [1.99.0-2 release]
7709
7710         * debian/changelog:
7711         * debian/control: Updating gtk dep.
7712
7713 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
7714
7715         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7716         USE_MAEMO_GTK is enabled.
7717
7718 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
7719
7720         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7721         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7722
7723 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7724
7725         [1.99.0-1 release]
7726
7727         * NEWS:
7728         * configure.ac:
7729         * debian/changelog: Updating.
7730
7731 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7732
7733         * examples/Makefile.am:
7734         * examples/hildon-logical-color-example.c:
7735         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7736         applied + adding a test case. Fixes: NB#71660.
7737
7738 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
7739
7740         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7741         to be visible, fixes warning on map for windows without toolbars.
7742
7743 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
7744
7745         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7746         2.11.0, add a check for that besides the MAEMO_GTK check.
7747
7748 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7749
7750         [1.0.17-1 release]
7751
7752         * NEWS:
7753         * configure.ac:
7754         * debian/changelog: Updating.
7755
7756 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7757
7758         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7759         visibility. Fixes: NB#70842 and MB#615.
7760
7761 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
7762
7763         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7764         set the separator as no-show-all so it doesn't unintentionally appear when
7765         someone does a show_all.
7766
7767 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
7768
7769         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7770         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7771         toplevel item. Fixes: NB#62031
7772
7773 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
7774
7775         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7776         fix the name of the function in the docs.
7777
7778 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7779
7780         [1.0.16-1 release]
7781
7782         * NEWS:
7783         * configure.ac:
7784         * debian/changelog: Updating.
7785
7786 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7787
7788         * examples/hildon-banner-long-example.c: Adding a test-case for long
7789         hildon banner.
7790
7791         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7792
7793 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7794
7795         * src/hildon-color-chooser-dialog.c:
7796         * src/hildon-color-chooser.c:
7797         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7798         memory leaks in font selector and color selector. Fixes: NB#70499 and
7799         NB#70474.
7800
7801 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
7802
7803         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7804
7805 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7806
7807         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7808         little bit bigger. Fixes: #NB63694.
7809
7810 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7811
7812         [1.0.15-1 release]
7813
7814         * NEWS:
7815         * configure.ac:
7816         * debian/changelog: Updating.
7817
7818 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7819
7820         * doc/Makefile.am:
7821         * doc/hildon-docs.sgml:
7822         * doc/images/bread-crumb-trail.png:
7823         * doc/images/calendar-popup.png:
7824         * doc/images/caption.png:
7825         * doc/images/code-dialog.png:
7826         * doc/images/color-button.png:
7827         * doc/images/color-chooser-dialog.png:
7828         * doc/images/color-chooser.png:
7829         * doc/images/controlbar.png:
7830         * doc/images/date-editor.png:
7831         * doc/images/font-selection-dialog.png:
7832         * doc/images/get-password-dialog.png:
7833         * doc/images/hvolumebar.png:
7834         * doc/images/login-dialog.png:
7835         * doc/images/note.png:
7836         * doc/images/number-editor.png:
7837         * doc/images/range-editor.png:
7838         * doc/images/seekbar.png:
7839         * doc/images/set-password-dialog.png:
7840         * doc/images/sort-dialog.png:
7841         * doc/images/time-editor.png:
7842         * doc/images/time-picker.png:
7843         * doc/images/vvolumebar.png:
7844         * doc/images/weekday-picker.png: Adding the new generated widget shots.
7845         Adding the bread-crumb-trial and helpers to the documentation.
7846
7847 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7848
7849         * examples/hildon-find-toolbar-example.c:
7850         * src/hildon-find-toolbar.c:
7851         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7852         actually continue firing the other handlers if connected. Adding a new
7853         function:
7854         hildon_find_toolbar_get_last_index that gets the index of the most
7855         recently added (last) item. Fixes: NB#52301.
7856
7857 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7858
7859         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7860         behaviour. Fixes: NB#68610.
7861
7862 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7863
7864         * src/hildon-banner.c: Actually reverting the previous change. It somehow
7865         looks a bit worse.
7866
7867 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7868
7869         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7870         when realizing the banner. Should make the infonbanner effect a bit more
7871         bearable.
7872
7873 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7874
7875         * src/hildon-volumebar.c:
7876         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7877         hildon_volumebar_set_range_insensitive_message and
7878         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7879
7880 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7881
7882         * src/hildon-window.c: Fixing the border freeing on destroy.
7883
7884 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7885
7886         * src/hildon-code-dialog-private.h:
7887         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7888         kw keyboard support in HildonCodeDialog.
7889
7890 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7891
7892         [1.0.14-1 release]
7893
7894         * NEWS:
7895         * configure.ac:
7896         * debian/changelog: Updating.
7897
7898 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7899
7900         * src/hildon-date-editor.c:
7901         * src/hildon-number-editor.c:
7902         * src/hildon-private.c:
7903         * src/hildon-private.h:
7904         * src/hildon-time-editor.c:
7905         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7906         handling in subclassed composite widgets. Fixes: NB#66628.
7907
7908 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7909
7910         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7911         from destroy_ callback as it introduces problems in async dbus signal
7912         handlers. Fixes NB#66673.
7913
7914 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7915
7916         * examples/hildon-hvolumebar-example.c:
7917         * src/hildon-volumebar.c: Improving the focus handling in the
7918         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7919         set_property accessor so that "mute" property can be actually set. I'm
7920         scared that nobody noticed it's totally broken.
7921
7922 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7923
7924         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7925         Fixes NB#66548.
7926
7927 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7928
7929         * src/hildon-calendar.c:
7930         * src/hildon-number-editor.c:
7931         * src/hildon-time-picker.c: Changing the timeout repeat so that it
7932         matches the spec of 6 chars per second. Fixes: NB#60489.
7933
7934 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7935
7936         * src/hildon-helper.c: Really fixing NB#58352. Looks like
7937         gtk_style_lookup_color sometime returns FALSE even though color was
7938         found and values were filled properly. Weird. Removing the warning for the
7939         time being.
7940
7941 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7942
7943         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7944         expand vertically. Adding some extra space to the find toolbar buttons to
7945         make them thumbable. Fixes NB#66060.
7946
7947 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7948
7949         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7950         popup with "Ok" and "Cancel". Fixes NB#59299.
7951
7952 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7953
7954         * src/hildon-calendar.c: Process all window updates before executing next
7955         timeout. Fixes: NB#54146.
7956
7957 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7958
7959         [1.0.13-1 release]
7960
7961         * NEWS:
7962         * configure.ac:
7963         * debian/changelog: Updating.
7964
7965 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
7966
7967         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7968         the client event and ignore it, since we use the delete event to close
7969         after timeouts.
7970
7971 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7972
7973         * src/hildon-helper.c: Remove the bogus warning about color not being
7974         found. Fixes NB#58352.
7975
7976 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7977
7978         * examples/Makefile.am:
7979         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7980         HildonSeekbar widget inside a toolbar.
7981
7982 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
7983
7984         * src/hildon-banner.c (hildon_banner_init): mark the banners as
7985         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7986         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7987         don't want to be closed by non-temporary windows on map.
7988
7989         Also use G_DEFINE_TYPE instead of manually typed code.
7990
7991 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7992
7993         [1.0.12-1 release]
7994
7995         * NEWS:
7996         * configure.ac:
7997         * debian/changelog:
7998         * debian/rules: Updating.
7999
8000 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8001
8002         * examples/Makefile.am:
8003         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8004         bug NB#61128. Strangely it works.
8005
8006 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8007
8008         * src/hildon-date-editor.c: When the date editor entry has been changed
8009         but the numbers of characters < max, turn off the skip validation flag.
8010         Prevents a situation when we enter first a valid year and later re-write
8011         it with an invalid one. Fixes NB#60154.
8012
8013 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8014
8015         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8016         code dialog. Fixes NB#64355.
8017
8018 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8019
8020         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8021         switching the page. Fixes NB#49374.
8022
8023         * examples/Makefile.am:
8024         * examples/hildon-wizard-dialog-example.c: Adding an example for
8025         HildonWizardDialog that shows how to handle manual sensitivity setting on
8026         the wizard dialog.
8027
8028 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8029
8030         * configure.ac:
8031         * src/Makefile.am:
8032         * src/hildon-version.h.in:
8033         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8034
8035 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8036
8037         * src/hildon-volumebar.c: Updating the docs.
8038
8039 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8040
8041         [1.0.11-1 release]
8042
8043         * NEWS:
8044         * configure.ac:
8045         * debian/changelog: Updating.
8046
8047 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8048
8049         * src/hildon-find-toolbar.c:
8050         * src/hildon-find-toolbar.h: Adding a few new functions to control the
8051         selected item: hildon_find_toolbar_set_active,
8052         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8053         hildon_find_toolbar_get_active_iter . They correspond to respective
8054         GtkComboBox functions.
8055
8056         * examples/Makefile.am:
8057         * examples/hildon-find-toolbar-example.c: Adding the example to test the
8058         new functionality.
8059
8060 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8061
8062         * examples/Makefile.am:
8063         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8064         theming easily.
8065
8066         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8067         when font size > 32 and we pack a focusable widget inside. Actually using
8068         the default response would work too, but since we don't show default
8069         response state in any way (no theming) it would not be visible to the
8070         user. Fixes NB#63430.
8071
8072 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8073
8074         * src/hildon-date-editor.c: Adding the missing variable setter in the
8075         set_property handler. Fixes NB#54182.
8076
8077 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8078
8079         * src/hildon-window.h: Changing the long key press time from 1500ms to
8080         800ms as requested in NB#63700. I have a bad feeling about this, let's
8081         see... Fixes NB#63700.
8082
8083 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
8084
8085         * src/hildon-time-picker.c (hildon_time_picker_class_init,
8086         hildon_time_picker_map, hildon_time_picker_realize,
8087         hildon_time_picker_style_set): Split the contents of map to more
8088         appropriate functions; set window decorations on realize and update
8089         arrows' size requisitions on style-set. Avoids unnecessary resizing.
8090
8091 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
8092
8093         [1.0.10-2 release]
8094
8095         * NEWS:
8096         * debian/changelog: Updating.
8097
8098 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
8099
8100         * src/Makefile.am: fixed installation of the header files
8101
8102 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8103
8104         [1.0.10-1 release]
8105
8106         * NEWS:
8107         * configure.ac:
8108         * debian/changelog: Updating.
8109
8110 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8111
8112         * configure.ac: Removing some remaining of --enable-xan.
8113
8114 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
8115
8116         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8117         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8118
8119         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8120         2.10.12-osso6 because the move-focus signal needs to be available in
8121         GtkWidget.
8122
8123 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8124
8125         * examples/Makefile.am:
8126         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8127         that makes a HildonVolumebar insensitive before mapping it. Seems to work
8128         fine. Prolly NB#61128 is fixed now.
8129
8130 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8131
8132         * src/hildon-volumebar.c:
8133         * src/hildon-volumebar.h: Adding the
8134         hildon_volumebar_set_range_insensitive_message and
8135         hildon_volumebar_set_range_insensitive_messagef functions to set
8136         insensitive message on the slider of the volumebar. Fixes NB#61129.
8137
8138         * examples/Makefile.am:
8139         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8140         test the new insensitive messsage functionality on HildonVolumebar.
8141
8142 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
8143
8144         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8145         work again.
8146
8147 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
8148
8149         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8150         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8151         button on after clearing the trail.
8152
8153 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8154
8155         * src/hildon-code-dialog.c: Removing the separator from the dialog.
8156
8157 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
8158
8159         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8160         by splitting the installed headers in generated and non-generated groups. Use
8161         only the non-generated headers to create the hildon-enum-types.h file.
8162
8163         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8164
8165 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8166
8167         * src/hildon-window.c: Hide the window before performing the destroy.
8168         Should make the app closing a little tiny bit more snappy.
8169
8170 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
8171
8172         * src/hildon-seekbar.c: add gtkrange.h header
8173         * src/hildon-caption.c: remove unused variable
8174
8175 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
8176
8177         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8178         Loic Minier.
8179
8180 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8181
8182         [1.0.9-1 release]
8183
8184         * NEWS:
8185         * configure.ac:
8186         * debian/changelog: Updating.
8187
8188 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
8189
8190         * src/hildon-window.c (hildon_window_window_state_event,
8191         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8192         escape timeout on focus-out-event rather than notify::is-topmost; the
8193         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8194
8195 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8196
8197         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8198         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8199
8200 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
8201
8202         * src/hildon-window: actually, you need to use the macro always, there's
8203         no private pointer in the instance structure. We should have cleaned this up
8204         when we had the chance...
8205
8206 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
8207
8208         * src/hildon-window.c: do not get the private date from HildonWindow before
8209         it passes the g_return_if_fail check. Once it's passed the test, there's no
8210         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8211         if you are only going to access the data once. Whitespace cleanups.
8212
8213 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
8214
8215         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8216         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8217
8218 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8219
8220         [1.0.8-1 release]
8221
8222         * NEWS:
8223         * configure.ac:
8224         * debian/changelog: Updating.
8225
8226 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8227
8228         * src/hildon-window.c: When destroying the window, remove (if exists) the
8229         escape timeout handler. Fixes #NB59276.
8230
8231 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8232
8233         * src/hildon-banner.c: When realizing the widget, set the window
8234         transiency. Setting the transiency in the gobject constructor is not
8235         good, as the widget is not realized at that point. Fixes: #NB56624.
8236
8237 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
8238
8239         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8240         Add padding for future expansions.
8241
8242 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
8243
8244         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8245         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8246         will fake an activation on the previous to the last item of the trail, so
8247         the effect can be overrided by the developer as usual.
8248         Also change the callback for the back button to do the same thing, so its
8249         effect can be overrided too. Fixes: NB#58982
8250
8251 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8252
8253         * src/hildon-caption.c: Implementing the proper focus grabbing in the
8254         HildonCaption. Fixes NB#52379.
8255
8256 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
8257
8258         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8259         the internal state of the trail after the user has had the chance of executing
8260         his handler for the signal. Specifically, it may happen that the activated button
8261         is removed and the user still lets the default handler run. This would segfault
8262         previously.
8263
8264 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8265
8266         * src/hildon-font-selection-dialog.c: When the font is really big, add the
8267         scrollbar to the preview dialog. Fixes NB#54147.
8268
8269 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8270
8271         * src/hildon-date-editor.c: Changing the default max year to 2037. The
8272         max/min year properties can be altered, so the client can modify it
8273         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8274
8275 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8276
8277         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8278         hildonlike by default. Fixing a problem with disappearing arrows when
8279         scrolling through months and years. Fixes NB#54127.
8280
8281 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8282
8283         * examples/hildon-date-editor-example.c: Adding error callback to the date
8284         editor example.
8285
8286 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8287
8288         [1.0.7-1 release]
8289
8290         * NEWS:
8291         * debian/changelog:
8292         * configure.ac: Updating.
8293
8294 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8295
8296         * configure.ac: Adding a special '--enable-xan' configure option that
8297         turns off the -Werror compilation setting. Usefull for development.
8298
8299         * src/hildon-calendar.c:
8300         * src/hildon-number-editor.c:
8301         * src/hildon-time-picker.c: Adding the 5* multiplier to
8302         gtk-timeout-update.
8303
8304 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
8305
8306         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8307         instead of g_object_ref + gtk_object_sink.
8308
8309 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8310
8311         [1.0.6-1 release]
8312
8313         * NEWS:
8314         * configure.ac:
8315         * debian/changelog: Updating.
8316
8317 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8318
8319         * src/hildon-color-chooser-dialog.c:
8320         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8321         straight from Tommi labs.
8322
8323 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8324
8325         * examples/hildon-finger-example.c: Correcting the header file path.
8326
8327         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8328         the changed signal. Fixes a small memory leak.
8329
8330 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8331
8332         * autogen.sh:
8333         * debian/rules:
8334         * src/hildon-banner.c: Importing several usefull fixes from the
8335         ubuntu-mobile branch.
8336
8337 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8338
8339         * examples/Makefile.am:
8340         * examples/hildon-finger-example.c: Adding a finger-checking code
8341         example.
8342
8343         * src/hildon-font-selection-dialog.c: Do not allocate the color
8344         structure using the g_new. Fixes NB#54061.
8345
8346 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8347
8348         * src/hildon-helper.c: Correcting tabs in file.
8349
8350 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
8351
8352         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8353         control the visibility of the children.
8354
8355         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8356
8357 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8358
8359         [1.0.5-1 release]
8360
8361         * NEWS:
8362         * configure.ac:
8363         * debian/changelog: Updating.
8364
8365 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
8366
8367         * src/hildon-bread-crumb-trail.c:
8368         (hildon_bread_crumb_trail_size_allocate):
8369
8370         Make the back button always a square.
8371
8372 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
8373
8374         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8375         from the .c file as it's a private file.
8376
8377 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8378
8379         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8380         uses slightly bigger height.
8381
8382         * src/hildon-font-selection-dialog.c: Adding some checks before
8383         freeing memory in the font selection dialog.
8384
8385 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8386
8387         * src/hildon-font-selection-dialog.c: Adding a small check when
8388         freeing memory.
8389
8390         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8391         buttons sensitivity on page switching.
8392
8393 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
8394
8395         * src/hildon-bread-crumb-trail.c: make the add method handle all the
8396         internal details of adding a bread crumb to the trail.
8397
8398 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8399
8400         [1.0.4-1 release]
8401
8402         * README:
8403         * configure.ac:
8404         * debian/changelog: Updating.
8405
8406         * src/hildon-bread-crumb-trail.h:
8407         * src/hildon-bread-crumb.h: Changing the API guard to
8408         HILDON_ENABLE_UNSTABLE_API.
8409
8410 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8411
8412         [1.0.3-1 release]
8413
8414         * NEWS:
8415         * configure.ac:
8416         * debian/changelog:
8417         * debian/rules:
8418         * src/hildon-helper.h: Updating.
8419
8420 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8421
8422         [1.0.2-1 release]
8423
8424         * NEWS:
8425         * configure.ac:
8426         * debian/changelog:
8427
8428 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8429
8430         * README:
8431         * configure.ac:
8432         * src/hildon-helper.h: Small fix to make the package actually compile.
8433
8434 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
8435
8436         * src/hildon-bread-crumb-trail.h:
8437         * src/hildon-bread-crumb.h:
8438
8439         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8440         to define ENABLE_UNSTABLE_API in the code that includes these headers.
8441
8442 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
8443
8444         * examples/hildon-bread-crumb-trail-example.c:
8445         * src/Makefile.am:
8446         * src/hildon-bread-crumb-trail.c:
8447         * src/hildon-bread-crumb-trail.h:
8448         * src/hildon-bread-crumb.c:
8449         * src/hildon-bread-crumb.h:
8450         * src/hildon-marshalers.list:
8451         * src/hildon-bread-crumb-widget.c:
8452         * src/hildon-bread-crumb-widget.h:
8453
8454         Slight change in the widget design. The bread crumb trail API is
8455         unchanged, but HildonBreadCrumb is now an interface. A *private*
8456         implementation, hildon-bread-crumb-widget, is provided and used
8457         internally by the trail for the push_text/push_icon functions.
8458
8459         The generic push API is still available, so anyone can implement
8460         and use its own bread crumb widget.
8461
8462 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8463
8464         * debian/rules: Fixing the shlibs.
8465
8466 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8467
8468         * src/hildon-banner.c: Fixing a problem with timed banners having
8469         their parrent destroyed before they are.
8470
8471 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
8472
8473         * src/hildon-bread-crumb.c:
8474         * src/hildon-bread-crumb.h:
8475
8476         Make the get_natural_size function a vfunc.
8477
8478 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
8479
8480         * src/hildon-bread-crumb.c:
8481         * src/hildon-bread-crumb-trail.c:
8482
8483         Some cleanups.
8484
8485 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8486
8487         [1.0.1-1 release]
8488
8489         * AUTHORS:
8490         * NEWS:
8491         * configure.ac:
8492         * debian/changelog: Updating for release.
8493
8494 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
8495
8496         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8497         don't leak the pango layout.
8498
8499 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
8500
8501         * src/hildon.h:
8502         * examples/hildon-bread-crumb-trail-example.c:
8503
8504         Fix example.
8505
8506 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8507
8508         * debian/changelog: Removing the bug-fixed entries that were actually
8509         resolved as WONTFIX.
8510
8511         * src/hildon-date-editor.c: Removing a redundant check. Fixes
8512         NB#54182.
8513
8514 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
8515
8516         * src/hildon-bread-crumb-trail.c:
8517         * src/hildon-bread-crumb-trail.h:
8518         * src/hildon-bread-crumb.c:
8519         * src/hildon-bread-crumb.h:
8520
8521         Untabify.
8522
8523 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
8524
8525         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8526         until it's passed the type check.
8527
8528 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
8529
8530         * examples/hildon-bread-crumb-trail-example.c
8531
8532         Add license.
8533
8534 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
8535
8536         * examples/Makefile.am
8537         * examples/hildon-bread-crumb-trail-example.c
8538         * src/Makefile.am
8539         * src/hildon-bread-crumb-trail.c
8540         * src/hildon-bread-crumb-trail.h
8541         * src/hildon-bread-crumb.c
8542         * src/hildon-bread-crumb.h
8543
8544         New HildonBreadCrumbTrail widget.
8545
8546 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
8547
8548         * src/hildon-range-editor.c (hildon_range_editor_init),
8549         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8550         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8551         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8552         hildon_time_editor_class_init, hildon_time_editor_init),
8553         src/hildon-get-password-dialog.c (invalid_input,
8554         hildon_get_password_set_property, hildon_get_password_get_property,
8555         create_contents, hildon_get_password_dialog_set_max_characters),
8556         src/hildon-set-password-dialog.c (create_contents),
8557         src/hildon-date-editor.c (hildon_date_editor_init),
8558         src/hildon-login-dialog.c (hildon_login_dialog_init),
8559         src/hildon-number-editor.c (hildon_number_editor_init),
8560         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8561         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8562         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8563          configure option and adding the respective checks in the code.
8564         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8565         hildon_calendar_drag_data_received): fixed some build warnings.
8566
8567 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8568
8569         * debian/changelog: A 1.0.0 release notes.
8570