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