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