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