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