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