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