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