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