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