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