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