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