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