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