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