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