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