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