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