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