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