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