67e16e0177a6e40e15f3b4c22892e9615e5f9052
[hildon] / ChangeLog
1 2009-06-25  Claudio Saavedra  <csaavedra@igalia.com>
2
3         * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
4         (hildon_pannable_draw_hscroll),
5         (hildon_pannable_area_expose_event): Fix the panning indicator color,
6         so that it's "SecondaryTextColor", as desired.
7
8 2009-06-25  Alejandro Pinheiro  <apinheiro@igalia.com>
9
10         * hildon/hildon-picker-dialog.c:
11         (selection_completed): take into account HILDON_UI_MODE_NORMAL
12         * hildon/hildon-touch-selector.c
13         (hildon_touch_selector_init): Initialize hildon-ui-mode
14         (hildon_touch_selector_row_activated): new callback for the
15         "row-activated" signal, in order to save the last activated
16         (hildon_touch_selector_check_ui_mode_coherence): new method that checks
17         if the current hildon-ui-mode is coherent with the touch selector
18         (hildon_touch_selector_class_init)
19         (hildon_touch_selector_get_property)
20         (hildon_touch_selector_set_property)
21         Added "hildon-ui-mode" property
22         (disconnect_model_handlers): renamed to clean_column
23         (hildon_touch_selector_remove): use clean_column function
24         (_create_new_column): use the hildon-ui-mode to create the treeview, and
25         only select the first element on HILDON_UI_MODE_EDIT
26         (hildon_touch_selector_column_init): Initialize last_activate
27         (hildon_touch_selector_append_column): check that the touch selector
28         is coherent with the current hildon-ui-mode
29         (hildon_touch_selector_get_hildon_ui_mode)
30         (hildon_touch_selector_set_hildon_ui_mode)
31         Added a getter/setter for the hildon-ui-mode property
32         (hildon_touch_selector_get_last_activated_row): Added this method in
33         order to get the last activated row.
34         * examples/hildon-touch-selector-normal-mode-example.c
35         New example, that shows how to use the HildonTouchSelector in
36         HILDON_UI_MODE_NORMAL
37
38         Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
39         Kristian Rietveld <kris@lanedo.com> advices
40
41 2009-06-25  Claudio Saavedra  <csaavedra@igalia.com>
42
43         * hildon/hildon-time-selector.c: (update_format_policy): Do
44         not call update_format_dependant_columns() if not necessary.
45         (update_format_dependant_columns): Remove unnecessary check for
46         the number of columns.
47
48 2009-06-24  Claudio Saavedra  <csaavedra@igalia.com>
49
50         * hildon/hildon-note.c (+hildon_note_constructor),
51         (hildon_note_class_init), (+hildon_note_set_padding),
52         (hildon_note_rebuild): Install a constructor where to set the
53         padding properties in the note, so that it actually works fine.
54         Use hildon_note_set_padding() for this, and also to set it during
55         the note rebuild.
56
57 2009-06-24  Claudio Saavedra  <csaavedra@igalia.com>
58
59         * configure.ac: Bump GTK+ requirement to 2.14.3.
60         * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
61         when using maemo-gtk to define proper margins for the notes.
62
63         Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
64         with the dialog edge)
65
66 2009-06-24  Alberto Garcia  <agarcia@igalia.com>
67
68         * hildon/hildon-banner.c
69         (hildon_banner_class_init):
70         Center text.
71         (+hildon_banner_size_request):
72         Request always the full width of the screen.
73         (hildon_banner_realize)
74         (-hildon_banner_check_position, hildon_banner_map):
75         hildon_banner_check_position() is not needed in Hildon 2.2.
76         (-hildon_banner_reset_wrap_state)
77         (hildon_banner_constructor, hildon_banner_init):
78         Remove unnecessary calls to hildon_banner_reset_wrap_state()
79         (+banner_do_set_text)
80         (force_to_wrap_truncated):
81         Remove has_been_wrapped and has_been_truncated attributes.
82         (+reshow_banner, hildon_banner_real_show_information)
83         (hildon_banner_show_information_with_markup)
84         (hildon_banner_show_animation, hildon_banner_show_progress)
85         (hildon_banner_set_text, hildon_banner_set_markup):
86         Refactor code. Shrink banner vertically to use the minimum space
87         necessary everytime the text of the label is updated.
88         (screen_size_changed):
89         Call force_to_wrap_truncated() when the size of the screen
90         changes.
91
92         Fixes: NB#120500 (only device memory connect mmc in use info
93         banner is left aligned)
94
95         Fixes: NB#120613 (Size of HildonBanner varies depending on
96         previously opened banners)
97
98 2009-06-24  Claudio Saavedra  <csaavedra@igalia.com>
99
100         * hildon/hildon-color-chooser.c
101         (hildon_color_chooser_pointer_motion): Take the widget allocation
102         into account.
103
104         Fixes: NB#124385 (Unable to select exact point in color mixing box
105         in color palette dialog)
106
107 2009-06-23  Alejandro G. Castro  <alex@igalia.com>
108
109         * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
110         (hildon_pannable_area_dispose)
111         (hildon_pannable_area_button_press_cb)
112         (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
113         (hildon_pannable_area_button_release_cb)
114         (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
115         New 'panning-started' and 'panning-finished' signals.
116
117         Fixes: NB#121732 (New feature request: Signal to pannable area
118         that informs when panning is stopped.)
119
120 2009-06-23  Mox Soini  <ext-mox.soini@nokia.com>
121
122         * hildon/hildon-wizard-dialog.c: (create_title): Use separator
123         instead of hardcoded colon.
124
125         Fixes: NB#124090 (New calendar wizard title is not using
126         ecdg_ti_caption_separator)
127
128 2009-06-22  David King  <davidk@openismus.com>
129
130         * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
131         constants and functions, as well as correct many typos throughout the
132         documentation text.
133
134         Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
135         and needs cleanup)
136
137 2009-06-22  Claudio Saavedra  <csaavedra@igalia.com>
138
139         * configure.ac: postrelease version bump.
140         * debian/changelog: post release version bump
141
142 2009-06-22  Claudio Saavedra  <csaavedra@igalia.com>
143
144         [Release 2.1.84]
145
146         * NEWS: Updates.
147         * configure.ac: Bump version.
148         * debian/changelog: Updates.
149
150 2009-06-18  Alberto Garcia  <agarcia@igalia.com>
151
152         * hildon/hildon-window-stack.c
153         (hildon_window_stack_pop_and_push_list):
154         Prevent windows from having the same stack index
155
156 2009-06-18  Alberto Garcia  <agarcia@igalia.com>
157
158         * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
159         Use the index of the previous window rather than the stack length
160         to calculate the new index.
161
162         Fixes: NB#122389
163
164 2009-06-18  Alejandro Pinheiro <apinheiro@igalia.com>
165
166         * hildon/hildon-date-selector.c
167         (hildon_date_selector_select_current_date)
168         (hildon_date_selector_get_date)
169         (hildon_date_selector_select_day):
170         Update the documentation: uses always the range (1-31), as it is obvious
171         that the final one will depend on the month and the year, but globally
172         the range is this, in a similar GtkCalendar approach
173         (hildon_date_selector_get_date):
174         Update the documentation: add NULL as a valid value for the day, month
175         and year locations
176
177         Fix some details, after talk with David King on bug MB#4698
178
179 2009-06-18  Alejandro Pinheiro <apinheiro@igalia.com>
180
181         * hildon/hildon-touch-selector-entry.c
182         * hildon/hildon-touch-selector.c
183         Update the documentation of the "text-column" property
184
185 2009-06-18  David King  <davidk@openismus.com>
186
187         * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
188         several typos and errors throughout the documentation.
189
190         Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
191         has some mistakes)
192
193 2009-06-18  Alberto Garcia  <agarcia@igalia.com>
194
195         * hildon/hildon-note.c (hildon_note_realize):
196         Make HildonNote support portrait mode.
197
198         Fixes: NB#123448 (HildonNote is not portrait-friendly)
199
200 2009-06-17  Alberto Garcia  <agarcia@igalia.com>
201
202         * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
203         Document this function
204
205 2009-06-17  David King  <davidk@openismus.com>
206
207         * hildon/hildon-date-selector.c
208         (hildon_date_selector_select_current_date)
209         (hildon_date_selector_get_date): Update documentation regarding days,
210         as the day of the month is dependent on both the month and the year.
211         (hildon_date_selector_get_date): Fix documentation of output arguments.
212
213         Fixes: MB#4698 (DateSelector documentation has bad output argument
214         description, and the day depends on both the month and the year)
215
216 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
217
218         * hildon/hildon-caption.c: Other documentation fixes to
219         HildonCaption.
220
221 2009-06-17  David King  <davidk@openismus.com>
222
223         * hildon/hildon-caption.c: Minor documentation updates for
224         HildonCaption. Fixes MB#4697.
225
226 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
227
228         * doc/hildon-docs.sgml: Add hildon-version section.
229         * doc/hildon-sections.txt:
230         * hildon/hildon-version.h.in: Document versioning macros and
231         add HILDON_VERSION.
232
233 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
234
235         * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
236         from HildonPickerDialog section.
237
238 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
239
240         * hildon/hildon-banner.c (hildon_banner_bind_style)
241         (screen_size_changed, hildon_banner_init)
242         (hildon_banner_real_show_information)
243         (hildon_banner_show_information_with_markup)
244         (hildon_banner_show_animation, hildon_banner_show_progress):
245         Set a different widget name to banners in portrait mode, for them
246         to be themed correctly.
247
248 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
249
250         * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
251         Set a different widget name to notes in portrait mode, for them to
252         be themed correctly.
253
254         Partially fixes: NB#118401 (HildonNote causes unnecessary
255         rescaling of images)
256
257 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
258
259         * hildon/hildon-note.c (hildon_note_class_init)
260         (+hildon_note_size_request, screen_size_changed):
261         Always request the full width of the screen.
262
263         Fixes: NB#118375 (unnecessary rescaling of images)
264
265 2009-06-16  Alejandro G. Castro  <alex@igalia.com>
266
267         * hildon/hildon-pannable-area.c,
268         (hildon_pannable_area_init),
269         (hildon_pannable_area_realize): Replaced old code adding flags in
270         the object init, now we add it with the other flags in the realize
271         method.
272
273 2009-06-16  Claudio Saavedra  <csaavedra@igalia.com>
274
275         * hildon/hildon-note.c: (hildon_note_class_init): Several
276         documentation improvements to the HildonNote widget.
277
278 2009-06-16  Claudio Saavedra  <csaavedra@igalia.com>
279
280         * hildon/hildon-note.h: Document the HildonNoteType enumeration.
281
282         Fixes: MB#4556 (HildonNoteType is undocumented)
283
284 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
285
286         * hildon/hildon-picker-button.c:
287         Explain how HildonPickerButton sets the title of its dialog
288
289         Fixes: MB#4528 (HildonPickerButton docs should mention how to set
290         the title of its dialog)
291
292 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
293
294         * hildon/hildon-check-button.c:
295         Documentation updates
296
297         Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
298         exists)
299
300 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
301
302         * hildon/Makefile.am
303         * hildon/hildon-edit-toolbar-private.h
304         * hildon/hildon-edit-toolbar.c
305         (+hildon_edit_toolbar_set_progress_indicator)
306         (hildon_edit_toolbar_init): Add progress indicator to the
307         toolbar.
308
309         * hildon/hildon-gtk.c
310         (hildon_gtk_window_set_progress_indicator):
311         If the window contains a HildonEditToolbar, enable the progress
312         indicator there too.
313
314         * hildon/hildon-private.h
315         * hildon/hildon-private.c
316         (+hildon_private_create_animation)
317         * hildon/hildon-banner.c
318         (-hildon_banner_create_animation):
319         Moved to hildon-private.c
320
321         Fixes: NB#102373 (Progress indicator also for the Edit mode
322         toolbar)
323
324 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
325
326         * hildon/hildon-app-menu-private.h
327         * hildon/hildon-app-menu.c (hildon_app_menu_insert)
328         (hildon_app_menu_add_filter, +menu_item_button_event)
329         (hildon_app_menu_button_release, hildon_app_menu_init):
330         Make sure that buttons receive 'button-release-event' in spite of
331         the grab held by HildonAppMenu
332
333         Fixes: NB#108337 (Focus mismatch in items of AppMenu)
334
335 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
336
337         * hildon/hildon-app-menu.c
338         (hildon_app_menu_apply_style, hildon_app_menu_class_init):
339         New style property to set the size of the group of filter buttons.
340
341         Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
342
343 2009-06-15  Claudio Saavedra  <csaavedra@igalia.com>
344
345         [Release 2.1.82]
346
347         * NEWS: Updates.
348         * configure.ac: Bump version.
349         * debian/changelog: Updates.
350
351 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
352
353         * hildon/hildon-main.c: Minor documentation fixes.
354
355 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
356
357         * doc/hildon-sections.txt:
358         * hildon/hildon-defines.h: Document the defines, organize them,
359         and mark deprecations as such.
360
361         Fixes: MB#4463 (Hildon size #defines are undocumented)
362
363 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
364
365         * hildon/hildon-animation-actor.c:
366         * hildon/hildon-app-menu.c:
367         * hildon/hildon-button.c:
368         * hildon/hildon-date-editor.c:
369         * hildon/hildon-dialog.c:
370         * hildon/hildon-edit-toolbar.c:
371         * hildon/hildon-entry.c:
372         * hildon/hildon-program.c:
373         * hildon/hildon-remote-texture.c:
374         * hildon/hildon-stackable-window.c:
375         * hildon/hildon-text-view.c:
376         * hildon/hildon-touch-selector.c:
377         * hildon/hildon-window-stack.c:
378         * hildon/hildon-window.c:
379
380         Remove redundant "represents" wording from most of the documentation.
381
382         Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
383
384 2009-06-12  Alberto Garcia  <agarcia@igalia.com>
385
386         * po/POTFILES.in
387         * doc/Makefile.am
388         * hildon/Makefile.am
389         * hildon/hildon-banner-private.h
390         * hildon/hildon-banner.c:
391         Move HildonBannerPrivate to hildon-banner.c and remove
392         hildon-banner-private.h
393         Use a bit field to store private booleans.
394
395 2009-06-12  Alberto Garcia  <agarcia@igalia.com>
396
397         * hildon/hildon-app-menu.c (hildon_app_menu_map):
398         Don't install a new idle function if there's already one
399         installed.
400
401         Fixes: NB#122254
402
403 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
404
405         * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
406         (+legacy_menu_realized, +legacy_menu_unmapped)
407         (+set_legacy_menu_type):
408         Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
409         they can be identified by the window manager.
410
411         Fixes: NB#101437 (Invoking CSM on the left side of page area is
412         displayed in wrong location)
413
414         Fixes: MB#4563 (Popup menu won't locate at the left side of the
415         screen)
416
417 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
418
419         Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
420
421         Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
422         use gtk-doc support)
423
424 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
425
426         * hildon/hildon-code-dialog.c
427         * hildon/hildon-date-editor.c
428         * hildon/hildon-number-editor.c
429         * hildon/hildon-seekbar.c
430         * hildon/hildon-stackable-window.c
431         * hildon/hildon-window.c:
432         Misc documentation updates
433
434 2009-06-10  Claudio Saavedra  <csaavedra@igalia.com>
435
436         * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
437         a G_PARAM_CONSTRUCT property, to allow the default size to be set.
438
439         Fixes: NB#117931 (Theming issues in accounts dialogs)
440
441 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
442
443         * hildon/hildon-pannable-area.c,
444         (hildon_pannable_area_button_release_cb): Changed the coordinates
445         of the original release in case we want to discard the release,
446         some widgets in Fremantle do not handle the leave-notify.
447
448 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
449
450         * hildon/hildon-pannable-area.c,
451         (hildon_pannable_area_button_release_cb): Reviewed the logic of
452         the release using the last refactored functions and avoiding the
453         movement if an element was selected.
454
455 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
456
457         * hildon/hildon-pannable-area.c,
458         (hildon_pannable_area_check_move),
459         (hildon_pannable_area_handle_move),
460         (hildon_pannable_area_motion_notify_cb): Refactored the
461         motion_notify method using a couple of new functions.
462
463 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
464
465         * hildon/hildon-date-selector.c:
466         (hildon_date_selector_construct_ui):
467         * hildon/hildon-time-selector.c:
468         (hildon_time_selector_constructor):
469         * hildon/hildon-touch-selector-entry.c:
470         (hildon_touch_selector_entry_set_text_column),
471         (hildon_touch_selector_entry_get_text_column):
472         * hildon/hildon-touch-selector.c: (_default_print_func),
473         (hildon_touch_selector_new_text): Use
474         hildon_touch_selector_set/get_text_column() instead of
475         setting/getting the "text-column" property.
476
477 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
478
479         * doc/hildon-sections.txt: Add the new public methods below.
480
481         * examples/hildon-picker-button-multicolumn-example.c:
482         (create_touch_selector):
483         * examples/hildon-touch-selector-example.c: (create_selector):
484         * examples/hildon-touch-selector-multi-cells-example.c:
485         (create_selector):
486         Use hildon_touch_selector_column_set_text_column()
487
488         * hildon/hildon-touch-selector-column.h:
489         * hildon/hildon-touch-selector.c:
490         (hildon_touch_selector_column_set_text_column),
491         (hildon_touch_selector_column_get_text_column):
492         Make hildon_touch_selector_column_set/get_column() public, use
493         them in the inline example, document them, and reference to them
494         in the docs.
495
496 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
497
498         * hildon/hildon-time-selector.c: Fix the docs for
499         hildon_time_selector_new_step().
500
501 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
502
503         * hildon/hildon-touch-selector.c: Improve the documentation for
504         hildon_touch_selector_append_column().
505
506         Fixes MB#4641 (Documentation:
507         hildon_touch_selector_append_column() ref-counting)
508
509 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
510
511         * tests/check-hildon-controlbar.c: (test_set_range_invalid):
512         Comment out test 5, since the hildon_controlbar_set_range() range
513         check is broken and fixing it would have side effects. Also,
514         this finally fixes make distcheck.
515
516         Fixes: NB#101420 (Update unit tests and fix make distcheck)
517
518 2009-06-18  Claudio Saavedra  <csaavedra@igalia.com>
519
520         * tests/TEST-CASES.txt: Remove other bogus test.
521         * tests/check-hildon-controlbar.c: (test_set_value_invalid):
522         Remove bogus test that was setting/retrieving a valid value.
523
524 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
525
526         * tests/TEST-CASES.txt: Remove bogus tests.
527         * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
528         Remove three bogus tests that were actually setting valid colors.
529
530 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
531
532         * configure.ac: post release version bump
533         * debian/changelog: post release version bump
534
535 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
536
537         [Release 2.1.80]
538
539         * NEWS: Updates.
540         * configure.ac: Bump version.
541         * debian/changelog: Updates.
542
543 2009-06-08  Christian Dywan  <christian@lanedo.com>
544
545         * debian/changelog:
546         * debian/control:
547         * hildon/hildon-helper.c (hildon_format_file_size_for_display):
548         Correct errors in hildon_format_file-size_for_display and use
549         translations from the hildon-fm package instead of osso-filemanager.
550
551 2009-06-08  Alejandro G. Castro  <alex@igalia.com>
552
553         * hildon/hildon-pannable-area.c,
554         (hildon_pannable_area_init): Initialized new values to handle the
555         adjustment position.
556         (hildon_pannable_area_adjust_value_changed): Check if the values
557         changed before even call the redraw function.
558         (hildon_pannable_area_size_allocate),
559         (hildon_pannable_axis_scroll),
560         (hildon_pannable_area_scroll),
561         (hildon_pannable_area_jump_to): Improved the diagonal movement
562         case.
563
564         Fixes: NB#113065 (Image viewer image scrolling updates in X, then
565         Y)
566
567 2009-06-08  Alberto Garcia  <agarcia@igalia.com>
568
569         * examples/hildon-banner-example.c:
570         Several style updates
571         (on_animation_clicked, on_animation_idle)
572         (on_progress_clicked, on_progress_idle):
573         Add additional reference for the cases when the parent window is
574         destroyed.
575
576 2009-06-08  Alberto Garcia  <agarcia@igalia.com>
577
578         * doc/hildon-sections.txt
579         * hildon/hildon-pannable-area.c
580         * hildon/hildon-banner.h
581         * hildon/hildon-banner.c: Documentation updates.
582
583         Fixes: MB#4643 (Documentation: hildon_banner_show_information()
584         memory management)
585
586 2009-06-05  Alejandro G. Castro  <alex@igalia.com>
587
588         * hildon/hildon-calendar-popup.h:
589         * hildon/hildon-caption.h:
590         * hildon/hildon-code-dialog.h:
591         * hildon/hildon-controlbar.h:
592         * hildon/hildon-date-editor.h:
593         * hildon/hildon-dialog.h:
594         * hildon/hildon-get-password-dialog.h:
595         * hildon/hildon-hvolumebar.h:
596         * hildon/hildon-login-dialog.h:
597         * hildon/hildon-note.h:
598         * hildon/hildon-number-editor.h:
599         * hildon/hildon-range-editor.h:
600         * hildon/hildon-seekbar.h:
601         * hildon/hildon-set-password-dialog.h:
602         * hildon/hildon-sort-dialog.h:
603         * hildon/hildon-time-editor.h:
604         * hildon/hildon-time-picker.h:
605         * hildon/hildon-volumebar-range.h:
606         * hildon/hildon-volumebar.h:
607         * hildon/hildon-vvolumebar.h:
608         * hildon/hildon-weekday-picker.h:
609         * hildon/hildon-window.h:
610         * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
611         macros with the current replacements
612
613         Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
614
615 2009-06-04  Claudio Saavedra  <csaavedra@igalia.com>
616
617         * hildon/hildon-color-button.c (hildon_color_button_init): Use
618         HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
619         itself, to make it fit better with Fremantle style.
620
621         Fixes: NB#109878 (height and width of focus on color icon is not
622         consistent with other item in the application tool bar)
623
624 2009-06-02  Alejandro Pinheiro  <apinheiro@igalia.com>
625
626         * hildon/hildon-touch-selector.c:
627         (hildon_touch_selector_optimal_size_request): use the current requisition
628         as the base, in order to include any possible extra widget, like the
629         hildon entry on HildonTouchSelectorEntry
630
631         Fixes: NB#119805 (Merge conflict picker dialogs are too small)
632
633 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
634
635         * configure.ac: post release version bump
636         * debian/changelog: post release version bump
637
638 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
639
640         [Release 2.1.78]
641
642         * NEWS: Updates.
643         * configure.ac: Bump version.
644         * debian/changelog: Updates.
645
646 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
647
648         * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
649         structure.
650         * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
651         to ensure the banner contents are centered, instead of relying on
652         the expand and fill properties in GtkHBox.
653         (hildon_banner_ensure_child): Do not expand nor fill the child widget.
654
655         Fixes: NB#108265 (Animation banner not properly centered)
656
657 2009-05-28  Alejandro Pinheiro <apinheiro@igalia.com>
658
659         * hildon/hildon-pannable-area.c
660         (hildon_pannable_area_initial_effect): Remove the initial_effect
661         management, check initial_hint
662         (hildon_pannable_are_expose_event): Remove the initial_hint management,
663         set initial_effect to FALSE
664         (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
665         by launching the fade_timeout if the scrollbars state has changed and are
666         visible
667         * examples/hildon-pannable-area-initial-hint-example.c
668         Modified to allow to remove rows too. Add and remove rows one by one.
669
670 2009-05-28  Alberto Garcia  <agarcia@igalia.com>
671
672         * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
673         Don't close the menu if there's an animation actor below it.
674
675         Fixes: NB#117927 (Application menu not usable with animation
676         actors)
677
678 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
679
680         * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
681         "focus-on-click" from the dialog button, to avoid stealing the
682         focus from the entry.
683
684         Fixes: NB#118903 (Account setup wizard: Text in Search field
685         should be focused when "Region" touch list picker is reopened
686         again)
687
688 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
689
690         * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
691         (prepare_action_area): Completely hide the dialog separator.
692
693 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
694
695         * hildon/hildon-touch-selector-entry.c
696         (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
697         (hildon_touch_selector_entry_changed): Use HildonEntry text API,
698         now that the entry is exposed.
699
700 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
701
702         * hildon/hildon-touch-selector-entry.c
703         (hildon_touch_selector_entry_init): Change the entry's size
704         to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
705
706 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
707
708         * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
709         height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
710         avoid unnecessary scaling.
711
712 2009-05-27  Alberto Garcia  <agarcia@igalia.com>
713
714         * hildon/hildon-app-menu.c (hildon_app_menu_map):
715         Create grab transfer window before calling parent's map function.
716
717         Fixes: NB#115988 (hildon_app_menu_popup creates menu with
718         "crushed" button(s) in the top left corner)
719
720 2009-05-26  Alberto Garcia  <agarcia@igalia.com>
721
722         * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
723         Check if the window is already realized when pushing it.
724
725 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
726
727         * configure.ac: post release version bump
728         * debian/changelog: post release version bump
729
730 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
731
732         [Release 2.1.76]
733
734         * NEWS: Updates.
735         * configure.ac: Bump version.
736         * debian/changelog: Updates.
737
738 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
739
740         * hildon/hildon-app-menu.c: Doc updates.
741
742 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
743
744         * hildon/hildon-banner.c: Remove leftover macro.
745
746 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
747
748         * hildon/hildon-pannable-area.c,
749         (hildon_pannable_area_scroll_indicator_fade),
750         (hildon_pannable_area_button_release_cb): Reviewed vmin
751         conditions, it could cause problems in the fadeout procedure.
752
753 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
754
755         * hildon/hildon-pannable-area.c
756         (hildon_pannable_area_button_release_cb): Added a threshold to
757         push the animation if the speed is big (MAX_SPEED_THRESHOLD).
758
759 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
760
761         * hildon/hildon-pannable-area.c,
762         (hildon_pannable_area_set_property): Added code to sync the gtk
763         dnd threshold with the panning threshold.
764
765 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
766
767         * hildon/hildon-pannable-area.c,
768         (hildon_pannable_area_class_init): Changed some of the default
769         values, now it should be less responsive and more accurate.
770
771 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
772
773         * hildon/hildon-pannable-area.c,
774         (hildon_pannable_area_init),
775         (hildon_pannable_area_scroll_indicator_fade),
776         (hildon_pannable_area_button_press_cb),
777         (hildon_pannable_axis_scroll),
778         (hildon_pannable_area_timeout),
779         (hildon_pannable_area_motion_notify_cb),
780         (hildon_pannable_area_button_release_cb): Changed the name of the
781         clicked attribute to button_pressed, it is more clear about its use.
782
783 2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
784
785         * src/hildon-pannable-area.c
786         (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
787         to 0
788         (hildon_pannable_area_initial_effect): avoid to compute horizontal and
789         vertical scrollbar visibility, and use the data on private section instead,
790         remove the initial_hint check
791         (hildon_pannable_area_expose_event): add the initial_hint check here
792
793 2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
794
795         * src/hildon-pannable-area.c
796         (hildon_pannable_area_initial_effect): set to FALSE initial_effect
797         if the fadeout effect was used
798         (hildon_pannable_area_expose_event): check if it is required to
799         manage the initial effect on the begining of the function. Previously
800         it was made at the end, but this doesn't ensure that the scrollbars
801         will be painted on the first show. Do not set to FALSE initial_effect,
802         to ensure that the initial hint is showed the first time the pannable
803         becomes scrollable.
804         * examples/Makefile.am
805         * examples/hildon-pannable-area-initial-hint-example.c:
806         New example, to show that the initial-hint is showed when the widget
807         becomes scrollable
808
809         Fixes: NB#116607 (Pannable area should always have scrollbar visible
810         initially if the application can be scrolled)
811
812 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
813
814         * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
815         Resize table before adding new items to make sure that
816         gtk_table_resize() is called just once.
817
818 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
819
820         * hildon/hildon-app-menu-private.h
821         * hildon/hildon-app-menu.c (item_visibility_changed)
822         (filter_visibility_changed, hildon_app_menu_show_all)
823         (hildon_app_menu_hide_all, hildon_app_menu_init):
824         Rearrange items just once when gtk_widget_show_all()/hide_all()
825         are used.
826
827 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
828
829         * hildon/hildon-app-menu.c
830         (hildon_app_menu_insert, hildon_app_menu_add_filter):
831         Don't call gtk_widget_show() on added items.
832
833         Fixes: NB#109063 (HildonAppMenu shouldn't show its items
834         automatically when they're added)
835
836 2009-05-20  Alberto Garcia  <agarcia@igalia.com>
837
838         * hildon/hildon-banner.c
839         (hildon_banner_realize, +hildon_banner_unrealize)
840         (+screen_size_changed, hildon_banner_class_init):
841         Redisplay the banner if the screen is rotated.
842
843         Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
844         on transition from landscape to portrait)
845
846 2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
847
848         * hildon/hildon-banner.[ch]:
849         (hildon_banner_show_information_override_dnd): remove icon_name from the
850         method definition as it is ignored.
851         * examples/hildon-banner-dnd-example.c: updated with the change on
852         hildon-banner.h API
853
854 2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
855
856         * hildon/hildon-banner-private.h: new require_override_dnd and
857         overrides_dnd variables
858         * hildon/hildon-banner.h:
859         (hildon_banner_show_information_override_dnd): new method, that shows
860         the information but sets the override flag, in order to show important
861         messages
862         * hildon/hildon-banner.c
863         (hildon_banner_show_information_override_dnd): new method
864         (hildon_banner_set_override_flag): new utility function
865         (hildon_banner_real_show_information): new utility function, in order to
866         generalize the current hildon_banner_show_information_override_dnd and
867         hildon_banner_show_information_override_dnd
868         * examples/Makefile.am
869         * examples/hildon-banner-dnd-example.c: New example that show how to
870         use the new hildon_banner_show_information_override_dnd
871
872         Fixes: NB#114874 (There is no possibility to show hildon banners with
873         DND flag set)
874
875 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
876
877         * hildon/hildon-pannable-area.c: Add a comment explaining the math
878         behind hildon_pannable_calculate_vel_factor().
879
880 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
881
882         * hildon/hildon-pannable-area.c
883         (hildon_pannable_calculate_vel_factor): Correct the sum of the
884         deceleration factors.
885
886 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
887
888         * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
889         Reduce the default value for 'scroll_time' to 1 second, since the
890         current initial scrolling takes too much time.
891
892 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
893
894         * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
895         calculate velocity factor during initialization, since the properties
896         are not yet set.
897
898 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
899
900         * hildon/hildon-pannable-area.c
901         (hildon_pannable_area_set_property): Calculate the velocity factor
902         after setting the deceleration property and not after.
903
904 2009-05-20  Alberto Garcia  <agarcia@igalia.com>
905
906         * hildon/hildon-entry.c
907         (hildon_entry_class_init, +set_property, hildon_entry_new)
908         * hildon/hildon-check-button.c
909         (hildon_check_button_class_init)
910         (+set_property, hildon_check_button_new):
911         Make the theme size a property.
912
913         Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
914         others) do too much in the _new function)
915
916 2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
917
918         * configure.ac: post release version bump
919         * debian/changelog: post release version bump
920
921 2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
922
923         [Release 2.1.74]
924
925         * NEWS: Updates.
926         * configure.ac: Bump version.
927         * debian/changelog: Updates.
928
929 2009-05-15  Alberto Garcia  <agarcia@igalia.com>
930
931         * hildon/hildon-gtk.h
932         * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
933         New API function to take a screenshot of a window
934
935         Fixes: NB#106374 (Need API to take a loading screenshot)
936
937 2009-05-15  Alejandro Pinheiro  <apinheiro@igalia.com>
938
939         * hildon/hildon-time-selector.c
940         (update_format_policy): prevent to use hours and minutes unitialized
941
942 2009-05-15  Alberto Garcia  <agarcia@igalia.com>
943
944         * hildon/hildon-window.c (hildon_window_size_request):
945         Always request the full size of the screen (minus the title bar if
946         not in fullscreen mode).
947
948         Fixes: NB#107486 (HildonWindow should size itself properly)
949
950 2009-05-14  Claudio Saavedra  <csaavedra@igalia.com>
951
952         * hildon/hildon-note-private.h: Add idle_handler to the private data.
953         * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
954         (on_show_cb), (sound_handling): Disconnect the idle handler for
955         the sound when the note is finalized to avoid possible crashes.
956
957         Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
958         in a scenario)
959
960 2009-05-13  Artem Egorkine  <ext-artem.egorkine@nokia.com>
961
962         * src/hildon-animation-actor.c,
963         * src/hildon-remote-texture.c:
964         Added proper object cleanup to remove signal handler and object
965         references as HildonAnimationActor and HildonRemoteTexture
966         objects get destroyed.
967
968         Fixes: NB#116682 (Destroying parented animation actors when
969         parent in unmapped leads to crash)
970
971 2009-05-13  Claudio Saavedra  <csaavedra@igalia.com>
972
973         Based on a patch by Christian Dywan (christian@imendio.com)
974
975         * doc/hildon-sections.txt:
976         * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
977         * hildon/hildon-helper.h: New file size formatting method.
978         * debian/changelog:
979         * debian/control: Depend on osso-filemanager l10n package for
980         proper localization strings.
981
982 2009-05-13  Claudio Saavedra  <csaavedra@igalia.com>
983
984         * tests/Makefile.am: Include top_srcdir to make possible to build
985         tests in a different builddir.
986         * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
987         on a different builddir.
988
989 2009-05-12  Claudio Saavedra  <csaavedra@igalia.com>
990
991         * hildon/hildon-touch-selector.c (disconnect_model_handlers),
992         (hildon_touch_selector_remove): Disconnect model's signal handler
993         on column removal.
994
995         Fixes: NB#116289 (Hildon home crashes while adding task
996         shortcuts.)
997
998 2009-05-11  Alberto Garcia  <agarcia@igalia.com>
999
1000         * hildon/hildon-button.c
1001         (hildon_button_set_title, hildon_button_set_value):
1002         Hide labels containing an empty string.
1003
1004 2009-05-11  Claudio Saavedra  <csaavedra@igalia.com>
1005
1006         * configure.ac: post release version bump
1007         * debian/changelog: post release version bump
1008
1009 2009-05-11  Claudio Saavedra  <csaavedra@igalia.com>
1010
1011         [Release 2.1.72]
1012
1013         * NEWS: Updates.
1014         * configure.ac: Bump version.
1015         * debian/changelog: Updates.
1016
1017 2009-05-08  Alejandro Pinheiro <apinheiro@igalia.com>
1018
1019         * hildon/hildon-note-private.h: Removed sound_signal_handler
1020         * hildon/hildon-note.c
1021         (on_show_cb): new callback on note "show" event, this simply adds
1022         a idle, with the function sound_handling
1023         (sound_handling): removed the sound_signal_handler management
1024         (hildon_note_init): connect note "show" event to on_show_cb
1025         (hildon_note_realize): remove the connection to "expose-event"
1026
1027         Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1028         device?' confirmation note)
1029
1030 2009-05-08  Alberto Garcia  <agarcia@igalia.com>
1031
1032         * hildon/hildon-note.c
1033         (hildon_note_new_information_with_icon_name)
1034         (hildon_note_new_confirmation_with_icon_name):
1035         Terminate the list of parameters in g_object_set() calls
1036
1037         Fixes: NB#115166 (Formatting memory card is not taking place)
1038
1039 2009-05-08  Claudio Saavedra  <csaavedra@igalia.com>
1040
1041         * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1042         "dialog-information" role for the sound being played.
1043
1044 2009-05-06  Alberto Garcia  <agarcia@igalia.com>
1045
1046         * hildon/hildon-app-menu.c (hildon_app_menu_init):
1047         Don't make the menu a modal window, it causes strange interactions
1048         with the pointer grab and it's not really needed.
1049
1050         Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1051
1052 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1053
1054         * hildon/hildon-touch-selector.[ch]
1055         (hildon_touch_selector_optimal_size_request): function added to get a
1056         optimal size request from the touch selector, when you want a dialog to
1057         show as much of the selector
1058         * hildon/hildon-picker-dialog.c:
1059         Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1060         (hildon_app_menu_class_init):
1061         New "max-height-landscape" and "max-height-portrait" style properties
1062         (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1063         (hildon_picker_dialog_get_max_height): returns the maximum height using
1064         the style properties defined and checking the current portrait/landscape
1065         status
1066         (_hildon_picker_dialog_set_selector): removed the set_size_request
1067
1068         Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1069
1070 2009-05-06  Claudio Saavedra  <csaavedra@igalia.com>
1071
1072         * hildon/hildon-bread-crumb-trail.c:
1073         * hildon/hildon-bread-crumb.c:
1074         * hildon/hildon-seekbar.c:
1075         Add reference to replacements for these deprecated widgets.
1076
1077         Fixes: MB#4461 (Documentation: All deprecations should mention
1078         replacements)
1079
1080 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1081
1082         * examples/hildon-remote-texture-example.c
1083
1084         Change the include to the hildon-remote-texture in order to compile
1085         properly the examples on the installed libhildon1-examples package
1086
1087 2009-05-05  Claudio Saavedra  <csaavedra@igalia.com>
1088
1089         * tests/Makefile.am: Add check for HildonPickerButton.
1090         * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1091         (START_TEST), (create_hildon_picker_button_suite): Add three simple
1092         checks for the HildonPickerButton.
1093         * tests/check_test.c (configure_tests): Add the test suite.
1094         * tests/test_suites.h: likewise.
1095
1096 2009-05-05  Claudio Saavedra  <csaavedra@igalia.com>
1097
1098         * hildon/hildon-touch-selector.c
1099         (+on_row_changed): Emit HildonTouchSelector:changed when the
1100         contents of a selected row change.
1101         (_create_new_column), (_hildon_touch_selector_set_model): connect
1102         to GtkTreeModel:row-changed on a newly set model.
1103
1104         Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1105
1106 2009-05-05  Alberto Garcia  <agarcia@igalia.com>
1107
1108         Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1109
1110         * hildon/hildon-banner.c (hildon_banner_destroy)
1111         (hildon_banner_show_progress, hildon_banner_set_fraction):
1112         Remove the progress bar from HildonBanner and use a progress
1113         indicator instead.
1114
1115         Fixes: NB#113761 (Update progress banner to use progress
1116         indicator)
1117
1118 2009-05-04  Alberto Garcia  <agarcia@igalia.com>
1119
1120         * hildon/hildon-banner.c:
1121         Calculate size of the banner label using the actual screen width
1122         rather than using a fixed value.
1123
1124         Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1125         is truncated)
1126
1127 2009-05-04  Alejandro G. Castro  <alex@igalia.com>
1128
1129         * hildon/hildon-pannable-area.c,
1130         (hildon_pannable_area_class_init): Fixed signals documentation
1131         typo.
1132
1133 2009-05-04  Claudio Saavedra  <csaavedra@igalia.com>
1134
1135         * configure.ac: post release version bump
1136         * debian/changelog: post release version bump
1137
1138 2009-05-04  Claudio Saavedra  <csaavedra@igalia.com>
1139
1140         [Release 2.1.70]
1141
1142         * NEWS: Updates.
1143         * configure.ac: Bump version.
1144         * debian/changelog: Updates.
1145
1146 2009-05-01  Alberto Garcia  <agarcia@igalia.com>
1147
1148         * hildon/hildon-edit-toolbar.c
1149         (hildon_edit_toolbar_init):
1150         Don't let buttons in HildonEditToolbar receive focus.
1151
1152         Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1153         typing on an HW arrows key)
1154
1155 2009-04-30  Claudio Saavedra  <csaavedra@igalia.com>
1156
1157         * doc/Makefile.am: Fix build.
1158
1159 2009-04-30  Claudio Saavedra  <csaavedra@igalia.com>
1160
1161         * doc/Makefile.am: Do not redefine content_files.
1162
1163 2009-04-30  Alberto Garcia  <agarcia@igalia.com>
1164
1165         * src/
1166         * Makefile.am
1167         * configure.ac
1168         * doc/Makefile.am
1169         * doc/hildon.types
1170         * po/POTFILES.in:
1171         Renamed src/ to hildon/
1172
1173         * examples/*.c
1174         * debian/changelog
1175         * debian/rules:
1176         Include <hildon/hildon.h> directly in all examples.
1177
1178 2009-04-29  Alejandro Pinheiro  <apinheiro@igalia.com>
1179
1180         * src/hildon-sort-dialog.c
1181         (hildon_sort_dialog_add_sort_key_with_sorting)
1182         (sort_key_changed)
1183         Add safety checks
1184
1185 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1186
1187         * src/Makefile.am: Move generated sources to CLEANFILES, so that
1188         make distcheck passes.
1189
1190 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1191
1192         * Makefile.am: Enable gtk-doc during distcheck.
1193
1194 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1195
1196         * Makefile.am: Do not distribute the debian/ directory.
1197
1198 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1199
1200         * doc/Makefile.am: Add the extra SGML files to content_files,
1201         so that they are distributed properly.
1202
1203 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1204
1205         * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1206         to the SOURCES.
1207
1208 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1209
1210         * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1211         (hildon_note_new_information_with_icon_name): Set the "icon" property
1212         to preserve soundness.
1213
1214 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1215
1216         * src/hildon-font-selection-dialog.c
1217         (hildon_font_selection_dialog_set_property): Fail when the "family"
1218         property is set to NULL.
1219
1220 2009-04-28  Claudio Saavedra  <csaavedra@igalia.com>
1221
1222         * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1223         safety checks.
1224
1225 2009-04-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1226
1227         * src/hildon-time-selector.h:
1228         Added HildonTimeSelectorFormatPolicy
1229         * src/hildon-time-selector.c:
1230         Added PROP_TIME_FORMAT_POLICY
1231         (_check_ampm_format): renamed to check_automatic_ampm_format
1232         (update_format_policy), (update_format_dependant_columns): new functions
1233         (hildon_time_selector_class_init)
1234         (hildon_time_selector_contructor)
1235         (hildon_time_selector_init)
1236         (hildon_time_selector_get_property)
1237         (hildon_time_selector_set_property)
1238         (hildon_time_selector_get_time)
1239         (hildon_time_selector_set_time)
1240         * src/hildon-touch-selector.h: new file
1241         * src/hildon-touch-selector.c
1242         (hildon_touch_selector_emit_changed)
1243         (hildon_touch_selector_block_changed)
1244         (hildon_touch_selector_unblock_changed)
1245         Added functions to allow to block the emission of the "changed" signal
1246         * src/hildon-picker-dialog.c
1247         (hildon_picker_dialog_show): call the parent show before the custom code
1248         * examples/hildon-time-button-example.c
1249         Modified, so now you can configure the time format using the new property
1250
1251         Added a new property "time-format-policy" that allow to choose the time
1252         format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1253         case it uses gconf in order to check if the time selector must use
1254         AM/PM or 24H.
1255
1256         Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1257         mode)
1258
1259 2009-04-28  Alberto Garcia  <agarcia@igalia.com>
1260
1261         * src/hildon-note.c (hildon_note_init):
1262         Label in HildonNote must be left aligned, not centered. This
1263         reverts the last commit in HildonNote.
1264
1265         Fixes: NB#112933 (text is not left aligned in confirmation dialog
1266         is connectivity dialog)
1267
1268 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
1269
1270         * src/hildon-gtk.c:
1271         Minor style fixes
1272
1273         * doc/hildon-sections.txt:
1274         Added hildon_gtk_window_set_do_not_disturb()
1275
1276 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
1277
1278         * src/hildon-note.c (hildon_note_init): Center label.
1279
1280         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1281         properly)
1282
1283 2009-04-27  Claudio Saavedra  <csaavedra@igalia.com>
1284
1285         [Release 2.1.68]
1286
1287         * NEWS: Updates.
1288         * configure.ac: Bump version.
1289         * debian/changelog: Updates.
1290
1291 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1292
1293         * src/hildon-note-private.h: Add button-width to the private data.
1294         * src/hildon-note.c (+resize_button),
1295         (+hildon_note_orientation_update): methods to repack widgets on orientation
1296         changes.
1297         (screen_size_changed): Call above method for confirmation notes.
1298         (hildon_note_realize): Always connect to the "screen-size" changed signal.
1299         (hildon_note_rebuild): Store the original width request from buttons.
1300
1301         Fixes: NB#109635 (Confirmation notes do not support portrait)
1302
1303 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1304
1305         * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1306         when it is a progress note.
1307
1308 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1309
1310         * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1311         in the note, since there are no horizontally arranged contents.
1312
1313 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1314
1315         * src/hildon-gtk.c (+set_flag): new generic method to
1316         set/delay a flag setting in a window.
1317         (hildon_gtk_window_set_progress_indicator):
1318         (hildon_gtk_window_set_do_not_disturb),
1319         (hildon_gtk_window_set_portrait_flags): use set_flag() to
1320         avoid code redundance.
1321
1322 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1323
1324         Based on a patch by Alberto Garcia (agarcia@igalia.com)
1325
1326         * src/hildon-gtk.c (set_clear_window_flag),
1327         (do_set_progress_indicator), (do_set_do_not_disturb),
1328         (do_set_portrait_flags),
1329         (hildon_gtk_window_set_progress_indicator),
1330         (hildon_gtk_window_set_do_not_disturb),
1331         (hildon_gtk_window_set_portrait_flags):
1332         Allow setting dnd-flag, progress indicator, and portrait flags
1333         when the window is not realized.
1334
1335 2009-04-24  Alejandro G. Castro  <alex@igalia.com>
1336
1337         * src/hildon-pannable-area.c,
1338         * src/hildon-pannable-area.h: Add the hildon deprecated define to
1339         the size request policy function and defines.
1340
1341 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
1342
1343         * doc/hildon-sections.txt: Add the new API.
1344         * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1345         method to set the portrait flags.
1346         * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1347
1348         Fixes: NB#112328 (Adding helpers for setting portrait properties)
1349
1350 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
1351
1352         * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1353         to allow using this method with other flags.
1354         (hildon_gtk_window_set_progress_indicator): Update accordingly.
1355         (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1356
1357 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
1358
1359         * src/hildon-touch-selector.c
1360         (hildon_touch_selector_append_text_column):
1361         Make the cell renderer use the smallest width possible.
1362
1363         Fixes: NB#108470 (Selected items in multiple selection are either
1364         having a tick that is cut or not visible at all.)
1365
1366 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
1367
1368         * src/hildon-touch-selector.c
1369         (hildon_touch_selector_append_text_column):
1370         Code cleanups
1371
1372 2009-04-22  Claudio Saavedra  <csaavedra@igalia.com>
1373
1374         * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1375         Use g_strdup_printf() instead of a fixed size buffer.
1376
1377 2009-04-21  Alberto Garcia  <agarcia@igalia.com>
1378
1379         * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1380         Close banners when a HildonAppMenu is popped up.
1381
1382         Fixes: NB#111027 (Title menu closed immediately if activated when
1383         "Invalid e-mail address" banner is shown)
1384
1385 2009-04-21  Claudio Saavedra  <csaavedra@igalia.com>
1386
1387         [Release 2.1.66]
1388
1389         * NEWS: Updates.
1390         * configure.ac: Bump version.
1391         * debian/changelog: Updates.
1392
1393 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1394
1395         * src/hildon-banner.c (hildon_banner_realize):
1396         Mark HildonBanner as supporting portrait mode.
1397         Use GDK to set window properties insetad of direct Xlib calls.
1398
1399         Fixes: NB#111830 (HildonBanner should be marked as supporting
1400         portrait)
1401
1402 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1403
1404         * src/hildon-note.c (hildon_note_rebuild):
1405         Hide action area in information notes. Prevents text from being
1406         slightly aligned to the left.
1407
1408         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1409         properly)
1410
1411 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1412
1413         Patch by Mox Soini (ext-mox.soini@nokia.com)
1414
1415         * src/hildon-banner.c (hildon_banner_create_animation):
1416         Use stylus-sized icons in animation banner.
1417
1418         Fixes: NB#111206 (stylus sized icon for animation banner)
1419
1420 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1421
1422         * src/hildon-gtk.h
1423         * src/hildon-gtk.c
1424         (+hildon_gtk_window_set_do_not_disturb):
1425         New API to set the do-not-disturb flag.
1426
1427         Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1428
1429 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1430
1431         * examples/hildon-progress-indicator-example.c: Fix example
1432
1433         * src/hildon-gtk.c (set_clear_window_flag)
1434         (hildon_gtk_window_set_progress_indicator):
1435         Create a generic function for setting flags to a window.
1436         Use GDK instead of direct Xlib calls.
1437
1438 2009-04-14  Alberto Garcia  <agarcia@igalia.com>
1439
1440         * src/hildon-button.c (hildon_button_set_arrangement):
1441         Due to NB#88126, if one of the labels is too long it will be
1442         painted outside the button. The 'value' label is more likely to be
1443         the longest one, so we change its packing options in order to
1444         truncate it if necessary. As a side effect, the 'title' label will
1445         no longer be truncated.
1446
1447         Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1448
1449 2009-04-14  Claudio Saavedra  <csaavedra@igalia.com>
1450
1451         [Release 2.1.64]
1452
1453         * NEWS: Updates.
1454         * configure.ac: Bump version.
1455         * debian/changelog: Updates.
1456
1457 2009-04-13  Alejandro G. Castro  <alex@igalia.com>
1458
1459         Deprecation of the hildon_pannable_area_set_size_request_policy
1460         API, the only policy properly supported in gtk+ nowadays is the
1461         minimum size.
1462
1463         * src/hildon-pannable-area.c,
1464         (hildon_pannable_area_size_request): Added a workaround for the
1465         size_request to avoid the problems of huge pixmaps in case someone
1466         is still using the function.
1467         * src/hildon-pannable-area.h: Deprecated the enum with the
1468         policies.
1469
1470         Fixes: NB#110244 (Problems with the
1471         hildon_pannable_area_set_size_request_policy API)
1472
1473 2009-04-08  Alejandro G. Castro  <alex@igalia.com>
1474
1475         * src/hildon-pannable-area.c,
1476         (hildon_pannable_area_init),
1477         (hildon_pannable_area_size_request),
1478         (hildon_pannable_area_style_set),
1479         (hildon_pannable_draw_vscroll),
1480         (hildon_pannable_draw_hscroll),
1481         (hildon_pannable_area_check_scrollbars): Replaced area_width with
1482         indicator_width to clarify the use of the attribute.
1483
1484 2009-04-08  Claudio Saavedra  <csaavedra@igalia.com>
1485
1486         [Release 2.1.62]
1487
1488         * NEWS: Updates.
1489         * configure.ac: Bump version.
1490         * debian/changelog: Updates.
1491
1492 2009-04-07  Alejandro Pinheiro <apinheiro@igalia.com>
1493
1494         * src/hildon-picker-dialog.c
1495         * src/hildon-touch-selector.c
1496         Reverting the change that tried to avoid the hardcoded height on
1497         the picker dialog, as causes problems on the hildon-touch-selector
1498         initial-hint
1499
1500         Fixes: NB#110029 (selectors not scrolling to selected value)
1501
1502 2009-04-07  Alberto Garcia  <agarcia@igalia.com>
1503
1504         * src/hildon-touch-selector.c: Fix typos
1505
1506 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1507
1508         * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1509         Use the event coordinates instead of gdk_window_get_pointer(). Also,
1510         request more motions after using it.
1511
1512 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1513
1514         * src/hildon-calendar.c (hildon_calendar_expose),
1515         (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1516         Remove unused variables.
1517
1518 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1519
1520         * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1521         variable assignment.
1522
1523 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1524
1525         * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1526         Check the return value of gtk_tree_selection_get_selected()
1527         for safety.
1528
1529 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
1530
1531         * src/hildon-animation-actor.c
1532         * src/hildon-button.c
1533         * src/hildon-main.c
1534         * src/hildon-pannable-area.c
1535         * src/hildon-picker-button.c
1536         * src/hildon-program.c
1537         * src/hildon-remote-texture.c
1538         * src/hildon-text-view.c
1539         * src/hildon-touch-selector.c
1540         * src/hildon-window-stack.c
1541         * src/hildon-window.c:
1542         Add missing 'Since: 2.2' tags.
1543
1544         * doc/hildon-sections.txt:
1545         Add some missing symbols.
1546
1547         * doc/hildon-docs.sgml:
1548         New 'Other' section for HildonAnimationActor and
1549         HildonRemoteTexture
1550
1551 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
1552
1553         Patch by Iván Gómez (igomez@igalia.com)
1554
1555         * doc/building.sgml
1556         * doc/compiling.sgml
1557         * doc/hildon-docs.sgml
1558         * doc/hildon-sections.txt
1559         * doc/migration.sgml
1560         * doc/resources.sgml
1561         * doc/running.sgml:
1562         New chapters on using the Hildon library.
1563         Updated the general structure of the reference manual.
1564         Other minor documentation fixes.
1565
1566         * src/hildon-calendar-popup.c
1567         * src/hildon-calendar.c
1568         * src/hildon-controlbar.c
1569         * src/hildon-date-editor.c
1570         * src/hildon-dialog.c
1571         * src/hildon-hvolumebar.c
1572         * src/hildon-number-editor.c
1573         * src/hildon-range-editor.c
1574         * src/hildon-sort-dialog.c
1575         * src/hildon-time-editor.c
1576         * src/hildon-time-picker.c
1577         * src/hildon-volumebar-range.c
1578         * src/hildon-volumebar.c
1579         * src/hildon-vvolumebar.c
1580         * src/hildon-weekday-picker.c:
1581         Add deprecation notes
1582
1583         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1584         Document 'horizontal-movement' and 'vertical-movement' signals.
1585
1586 2009-04-06  Claudio Saavedra  <csaavedra@igalia.com>
1587
1588         [Release 2.1.60]
1589
1590         * NEWS: Updates.
1591         * configure.ac: Bump version.
1592         * debian/changelog: Updates.
1593
1594 2009-04-06  Alejandro G. Castro  <alex@igalia.com>
1595
1596         * src/hildon-pannable-area.c,
1597         (hildon_pannable_area_class_init): increased the minimum velocity.
1598         (hildon_pannable_area_button_release_cb): Updated the
1599         CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1600         setup. Review the code to control that last event.
1601
1602         Fixes: NB#109790 (Releasing finger in pannable area easily causes
1603         unwanted scrolling)
1604
1605 2009-04-03  Claudio Saavedra  <csaavedra@igalia.com>
1606
1607         Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1608
1609         * src/hildon-get-password-dialog.c
1610         (hildon_get_password_set_property),
1611         (hildon_get_password_get_property), (create_contents):
1612         * src/hildon-login-dialog-private.h:
1613         * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1614         (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1615         (hildon_login_dialog_get_password):
1616         * src/hildon-set-password-dialog-private.h:
1617         * src/hildon-set-password-dialog.c
1618         (hildon_set_password_set_property),
1619         (hildon_set_password_get_property), (create_contents),
1620         (hildon_set_password_response_change),
1621         (hildon_set_password_response_set), (hildon_checkbox_toggled):
1622
1623         Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1624         instead and look more Fremantle style.
1625
1626         Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1627
1628 2009-04-03  Alberto Garcia  <agarcia@igalia.com>
1629
1630         * doc/hildon-sections.txt
1631         * src/hildon-window-stack.h
1632         * src/hildon-window-stack.c
1633         (+hildon_window_stack_get_windows):
1634         New API to obtain the list of windows on a stack.
1635
1636 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
1637
1638         * src/hildon-app-menu.c (hildon_app_menu_popup)
1639         (hildon_app_menu_class_init, -hildon_app_menu_show):
1640         Remove hildon_app_menu_show() and move all its checks to
1641         hildon_app_menu_popup()
1642
1643 2009-04-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1644
1645         * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1646         (_hildon_picker_dialog_set_selector): removed call to
1647         gtk_widget_set_size_request
1648         * src/hildon-touch-selector.c
1649         (_create_new_column): change the pannable size request policy
1650
1651         Avoid to use a hardcoded height for the hildon picker dialog. In order
1652         to get that, we needed to change the hildon pannable size request
1653         policy
1654         Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1655
1656 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
1657
1658         * src/hildon-window.c (hildon_window_map): Check for vbox to be
1659         not NULL.  Avoids a (very unlikely) crasher. See related NB#103301
1660         browser crash.
1661
1662 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
1663
1664         * debian/control: Depend on osso-system-lock localization package.
1665         * src/hildon-code-dialog.c: Obtain the secu_application_title
1666         translation from osso-system-lock.
1667         * src/hildon-get-password-dialog.c (create_contents): Do not mark
1668         for translation the atk related strings, that's not necessary.
1669         * src/hildon-set-password-dialog.c (create_contents): Ditto.
1670         * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1671         cancel button, it is not required.
1672
1673 2009-04-02  Alejandro G. Castro  <alex@igalia.com>
1674
1675         * src/hildon-pannable-area.c,
1676         (hildon_pannable_area_class_init): Modified the default value of
1677         the overshooting max speed, we have reduced it.
1678
1679 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
1680
1681         * doc/hildon-sections.txt
1682         * src/hildon-window-private.h
1683         * src/hildon-window.h
1684         * src/hildon-window.c (hildon_window_class_init)
1685         (hildon_window_init, hildon_window_finalize)
1686         (hildon_window_realize, hildon_window_get_property)
1687         (hildon_window_set_property, hildon_window_update_markup)
1688         (hildon_window_get_markup, hildon_window_set_markup):
1689         New "markup" property and hildon_window_{get,set}_markup() methods.
1690
1691         * examples/hildon-stackable-window-example.c (new_window):
1692         Update example to use hildon_window_set_markup()
1693
1694         Fixes: NB#106375 (Need API to retitle a window with a title
1695         including markup)
1696
1697 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
1698
1699         * src/hildon-pannable-area.c,
1700         (hildon_pannable_area_class_init): Changed the default value of
1701         the initial_hint to TRUE.
1702         (hildon_pannable_area_initial_effect): Changed the initial effect,
1703         not the effect is just the fade-out of the scrollbars.
1704
1705         Fixes: NB#107775 (No scrollbars can be seen when several items are
1706         available in a dialog)
1707
1708 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
1709
1710         * src/hildon-program.c (hildon_program_update_top_most):
1711         Fix memory leak.
1712
1713         Fixes: NB#109179 (Memory leak in Hildon program)
1714
1715 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
1716
1717         * src/hildon-banner.c (-get_current_app_window):
1718         Remove unused function.
1719
1720 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
1721
1722         * src/hildon-pannable-area.c: Modified the documentation of the
1723         get adjustments functions to explain the problem of using the
1724         adjustment directly.
1725         (hildon_pannable_area_class_init): Improved the explanation about
1726         the velocity.
1727
1728 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
1729
1730         * src/hildon-app-menu-private.h
1731         * src/hildon-app-menu.c
1732         (hildon_app_menu_class_init):
1733         Bring back the 'external-border' style property
1734         (hildon_app_menu_class_init, hildon_app_menu_init)
1735         (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1736         Set a fixed width-request for the menu, independent of the number
1737         of items.
1738
1739         Fixes: NB#94957 (Smoothly opened application menu)
1740
1741 2009-03-30  Alberto Garcia  <agarcia@igalia.com>
1742
1743         * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1744
1745         * src/hildon-banner.c
1746         Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1747         (hildon_banner_map)
1748         Make sure that the banner is correctly placed the first time it's
1749         shown.
1750         (hildon_banner_check_position, -check_fullscreen_state):
1751         Show the banner in the same place no matter if the window is in
1752         fullscreen mode or not.
1753
1754         Fixes: NB#107386 (Odd stacking behaviour for information banners)
1755
1756 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
1757
1758         * src/hildon-touch-selector.c (_default_print_func): reorder
1759         concatenation for clarity.
1760
1761 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
1762
1763         * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1764         for multicolumn selectors.
1765
1766         Fixes: NB#109099 (Memory leak in Hildon touch selector)
1767
1768 2009-03-30  Claudio Saavedra  <csaavedra@igalia.com>
1769
1770         [Release 2.1.58]
1771
1772         * NEWS: Updates.
1773         * configure.ac: Bump version.
1774         * debian/changelog: Updates.
1775
1776 2009-03-27  Claudio Saavedra  <csaavedra@igalia.com>
1777
1778         * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1779         coding style fixes.
1780
1781 2009-03-26  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1782
1783         * configure.ac: removed libcangerra-gtk dependency
1784         * debian/control: removed libcanberra-gtk dependency
1785         * src/Makefile.am: removed libcanberra gtk related flags
1786         * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1787         context, and manage a global canberra context instead
1788
1789         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1790
1791 2009-03-26  Alberto Garcia  <agarcia@igalia.com>
1792
1793         Patch by Daniel Borgmann (danielb@openismus.com)
1794
1795         * src/hildon-edit-toolbar.c:
1796         Adjust the left padding.
1797         (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1798         Paint background of the edit toolbar.
1799
1800         Fixes: NB#107897 (Patch to make editmodetoolbar background
1801         themeable and adjust margin)
1802
1803 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
1804
1805         Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1806
1807         * src/hildon-program.c (hildon_program_update_top_most):
1808         Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1809
1810         Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1811         change when the user tasks in/out of an application)
1812
1813 2009-03-25  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1814
1815         * configure.ac: added libcangerra-gtk dependency
1816         * debian/control: added libcanberra-gtk dependency
1817         * src/Makefile.am: added libcanberra gtk related flags
1818         * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1819         instead of use it.
1820
1821         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1822
1823 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
1824
1825         * src/hildon-program.c (hildon_program_remove_window)
1826         (hildon_program_add_window): Add checks for the window
1827         parameter. Don't decrease the window counter if the window is not
1828         registered.
1829
1830 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
1831
1832         * src/hildon-pannable-area.c,
1833         (hildon_pannable_area_realize): Fixed position of the event_window
1834         in the realize method.
1835
1836 2009-03-24  Alberto Garcia  <agarcia@igalia.com>
1837
1838         * src/hildon-app-menu-private.h
1839         * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1840         (hildon_app_menu_map, hildon_app_menu_hide_idle)
1841         (hildon_app_menu_key_press, hildon_app_menu_init)
1842         (hildon_app_menu_finalize):
1843         Make sure that all idle functions are removed when the widget is
1844         destroyed.
1845
1846         Fixes: NB#107583 (Hildon app menu crashes in various applications)
1847
1848 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
1849
1850         [Release 2.1.56]
1851
1852         * NEWS: Updates.
1853         * configure.ac: Bump version.
1854         * debian/changelog: Updates.
1855
1856 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
1857
1858         * src/hildon-entry.c
1859         (+hildon_entry_show_placeholder),
1860         (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1861         that replace hildon_entry_update_contents().
1862         (hildon_entry_set_text),
1863         (hildon_entry_set_placeholder),
1864         (hildon_entry_focus_in_event),
1865         (hildon_entry_focus_out_event): Determine when it is needed
1866         either to show or hide the placeholder and call the above methods.
1867
1868         Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1869         when the placeholder text is already set)
1870
1871 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
1872
1873         * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1874         simple GdkPixbufAnim using the new icons for the banner.
1875         (hildon_banner_show_animation): Use the above mentioned method to
1876         create the animation widget.
1877
1878         Fixes: NB#103564 (Make hildon animation banner use individual
1879         image files as the animation)
1880
1881 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
1882
1883         * src/hildon-pannable-area.c,
1884         (hildon_pannable_leave_notify_event): Check if the child is NULL
1885         to avoid sending the leave.
1886
1887 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
1888
1889         * src/hildon-pannable-area.c,
1890         (hildon_pannable_area_class_init),
1891         (hildon_pannable_leave_notify_event): Added a handler of the
1892         leave-notify-signal to consider when no motion notify before
1893         leaving.
1894
1895         Fixes: NB#107494 (Items stay selected when clicking and moving
1896         away when inside pannable area)
1897
1898 2009-03-23  Claudio Saavedra  <csaavedra@igalia.com>
1899
1900         [Release 2.1.54]
1901
1902         * NEWS: Updates.
1903         * configure.ac: Bump version.
1904         * debian/changelog: Updates.
1905
1906 2009-03-19  Alejandro G. Castro  <alex@igalia.com>
1907
1908         Patch by Alberto Garcia (agarcia@igalia.com)
1909
1910         * src/hildon-date-button.c,
1911         (hildon_date_button_class_init),
1912         (hildon_date_button_init): Removed the construct property handling
1913         and created a default selector in the init method.
1914         * src/hildon-picker-button.c,
1915         (hildon_picker_button_class_init): Removed the construct flag of the
1916         selector property.
1917
1918 2009-03-18  Alberto Garcia  <agarcia@igalia.com>
1919
1920         * src/hildon-main.c (hildon_init):
1921         Don't allow hildon_init() to be called more than once.
1922
1923         Fixes: NB#106607 (hildon_init should issue error message upon
1924         successive calls)
1925
1926 2009-03-17  Alejandro Pinheiro  <apinheiro@igalia.com>
1927
1928         * examples/hildon-pannable-area-touch-list-example.c
1929         * examples/hildon-pannagle-area-touch-grid-example.c
1930         * examples/hildon-edit-toolbar-example.c
1931         * examples/hildon-touch-selector-multi-cells-example.c
1932         Removed the call to gtk_rc_parse_string, as it is not required since
1933         some time ago.
1934
1935 2009-03-17  Alejandro G. Castro  <alex@igalia.com>
1936
1937         * src/hildon-pannable-area.c,
1938         (hildon_pannable_area_class_init): Modified the default panning
1939         threshold of the widget to 6px.
1940
1941         Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1942         than the threshold value ) within the button is not sending the
1943         event to the clild)
1944
1945 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1946
1947         * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1948         for the treeview in the new column. This way, the touch list will never
1949         grab the focus.
1950
1951         Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1952         be selected manually for the HW keys to work)
1953
1954 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1955
1956         * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1957         comparison instead of using strcmp(). Fixes a compiler warning as well.
1958
1959 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1960
1961         * doc/hildon-docs.sgml: Do not set the library version in the
1962         document title, use the releaseinfo tag for that purpose instead.
1963
1964 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1965
1966         * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1967         Do not jump to the first item if the text in the entry is removed.
1968
1969 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1970
1971         [Release 2.1.52]
1972
1973         * NEWS: Updates.
1974         * configure.ac: Bump version.
1975         * debian/changelog: Updates.
1976
1977 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1978
1979         * src/hildon-entry.c (hildon_entry_refresh_contents):
1980         * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1981         Use "ReversedSecondaryTextColor" for the placeholder text.
1982
1983 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
1984
1985         * src/hildon-text-view.c: Fix compilation warning.
1986
1987 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
1988
1989         * src/hildon-button.c (hildon_button_class_init): Don't make
1990         "title" and "value" construction properties, to prevent them from
1991         overwriting labels set from derived classes.
1992
1993         * src/hildon-picker-button.c
1994         (hildon_picker_button_set_selector): Allow setting a NULL selector.
1995         (hildon_picker_button_class_init): Make touch-selector a
1996         construction property.
1997
1998         * src/hildon-date-button.c (hildon_date_button_class_init)
1999         (+hildon_date_button_constructed): Add a default date selector if
2000         none is provided.
2001
2002 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
2003
2004         * src/hildon-touch-selector.c: Small documentation fixes.
2005
2006 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
2007
2008         Based on a patch by Daniel Borgmann (danielb@openismus.com)
2009
2010         * src/hildon-entry.c (hildon_entry_refresh_contents),
2011         (hildon_entry_get_text), (hildon_entry_init): Do not use the
2012         widget name, set the logical color directly instead and a boolean
2013         showing_placeholder instead.
2014         * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2015         use the widget name here either.
2016
2017         Fixes: NB#105678 (HildonTextView should use logical colours
2018         instead of setting widget name)
2019
2020 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
2021
2022         Patch by Daniel Elster (danielk@openismus.com)
2023
2024         * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2025         Add user_data parameter.
2026         (hildon_touch_selector_set_print_func_full): New function akin
2027         hildon_touch_selector_set_print_func() but with support for user
2028         data and a destroy callback.
2029         (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2030         to clean up the print function user data.
2031         (hildon_touch_selector_class_init): Install dispose function.
2032         (HildonTouchSelectorPrivate::print_user_data),
2033         (HildonTouchSelectorPrivate::print_destroy_func): New private
2034         member data.
2035         (hildon_touch_selector_init): Initialize new private members.
2036         (hildon_touch_selector_get_current_text): Pass along user data
2037         to the print function.
2038         (_default_print_func): Add dummy user_data to parameter list.
2039         * hildon-date-selector.c (_custom_print_func): ditto,
2040         * hildon-time-selector.c (_custom_print_func): ditto,
2041         * hildon-touch-selector-entry.c
2042         (hildon_touch_selector_entry_print_func): ditto.
2043
2044         Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2045
2046 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
2047
2048         * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2049
2050 2009-03-12  Alejandro G. Castro  <alex@igalia.com>
2051
2052         * src/hildon-pannable-area.c,
2053         (hildon_pannable_area_init),
2054         (hildon_pannable_area_button_press_cb),
2055         (hildon_pannable_area_motion_notify_cb): We have added code to
2056         handle the leave and enter events when using the motion events.
2057
2058         Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2059
2060 2009-03-11  Alberto Garcia  <agarcia@igalia.com>
2061
2062         * src/hildon-date-button.c (hildon_date_button_get_date)
2063         (hildon_date_button_set_date): Make sure that the button has a
2064         selector.
2065
2066         Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2067
2068 2009-03-11  Alejandro G. Castro  <alex@igalia.com>
2069
2070         * src/hildon-pannable-area.c,
2071         (hildon_pannable_area_class_init),
2072         (hildon_pannable_area_calculate_velocity): Modify the use of the
2073         force and adapt the value.
2074
2075 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
2076
2077         * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2078         (hildon_app_menu_class_init): Hide the menu if it receives a
2079         delete-event, but don't destroy it
2080
2081         Fixes: NB#104485 (Not able to address the call when application
2082         menu is opened at background)
2083
2084 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
2085
2086         * src/hildon-app-menu.c
2087         (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2088         Remove the "external-border" style property, let the menu take its
2089         natural size (or the one set by the window manager)
2090         (hildon_app_menu_repack_items):
2091         Don't reshow the menu, avoid flickers.
2092
2093         Partially fixes NB#94957 (Smoothly opened application menu)
2094
2095 2009-03-10  Claudio Saavedra  <csaavedra@igalia.com>
2096
2097         [Release 2.1.50]
2098
2099         * NEWS: Updates.
2100         * configure.ac: Bump version.
2101         * debian/changelog: Updates.
2102
2103 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
2104
2105         * src/hildon-pannable-area.c,
2106         (hildon_pannable_area_motion_notify_cb): We control that the
2107         direction error margin is used just in case the movement is
2108         allowed in the other direction.
2109
2110         Fixes: NB#105012 (buttons inside a pannable area not getting
2111         release event when dragging/releasing)
2112
2113 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
2114
2115         * src/hildon-pannable-area.c,
2116         (hildon_pannable_area_class_init),
2117         (hildon_pannable_area_get_property),
2118         (hildon_pannable_area_set_property),
2119         (hildon_pannable_area_initial_effect),
2120         (hildon_pannable_axis_scroll),
2121         (hildon_pannable_area_button_release_cb): Reviewed the
2122         overshooting effect, now it has its own max
2123         speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2124         speed when bouncing.
2125
2126 2009-03-09  Claudio Saavedra  <csaavedra@igalia.com>
2127
2128         [Release 2.1.48]
2129
2130         * NEWS: Updates.
2131         * configure.ac: Bump version.
2132         * debian/changelog: Updates.
2133
2134 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
2135
2136         * src/hildon-pannable-area.c,
2137         (hildon_pannable_area_class_init): Changed the max speed, now
2138         users can launch the widget very fast. Reduced the default force,
2139         that way it is easier to control the launch speed.
2140
2141 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
2142
2143         * src/hildon-pannable-area.c,
2144         (hildon_pannable_area_button_release_cb): Removed this check
2145         because it causes problems when the device is overloaded.
2146
2147 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
2148
2149         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2150         add a current_text field to store the text entered in the
2151         touch selector entry.
2152         (_clean_current_selection): clean up the current text as well.
2153         (_save_current_selection), (_restore_current_selection):
2154         Save/restore the text in the entry if the selector is a
2155         HildonTouchSelectorEntry.
2156
2157         Fixes: NB#102541 (value entered in the touch selector entry is not
2158         shown when opened for second time)
2159
2160 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
2161
2162         * doc/hildon-sections.txt:
2163         * src/hildon-touch-selector-entry.c
2164         (+hildon_touch_selector_entry_get_entry):
2165         * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2166
2167         Fixes: NB#104815 (I need accessor to the entry inside
2168         HildonTouchSelectorEntry)
2169
2170 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
2171
2172         * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2173         (hildon_app_menu_class_init):
2174         New "filter-vertical-spacing" style property.
2175
2176 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
2177
2178         * src/hildon-find-toolbar.c
2179         (hildon_find_toolbar_emit_close)
2180         (hildon_find_toolbar_emit_invalid_input)
2181         (hildon_find_toolbar_entry_activate):
2182         Use g_signal_emit() instead of g_signal_emit_by_name()
2183
2184 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
2185
2186         Patch by Mox Soini (ext-mox.soini@nokia.com)
2187
2188         * tests/TEST-CASES.txt
2189         * tests/check-hildon-banner.c
2190         * tests/check-hildon-note.c
2191         * src/hildon-banner.c
2192         * src/hildon-code-dialog.c
2193         * src/hildon-date-editor.c (real_set_calendar_icon_state)
2194         * src/hildon-time-editor.c
2195         * examples/hildon-lookup-example.c (main):
2196         Replace obsolete icon names with new ones.
2197
2198         * src/hildon-find-toolbar-private.h:
2199         * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2200         (-hildon_find_toolbar_emit_search):
2201         Remove find button and change icon of close button.
2202
2203         Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2204
2205 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
2206
2207         * src/hildon-time-button.c (hildon_time_button_new_step):
2208         Use the "touch-selector" property to set the selector directly
2209         when creating the object.
2210
2211 2009-03-05  Alejandro G. Castro  <alex@igalia.com>
2212
2213         Added a new example application that allows tuning the pannable
2214         area and replaced defines with properties in order to simplify the
2215         tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2216         PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2217         PROP_DIRECTION_ERROR_MARGIN.
2218
2219         * examples/hildon-pannable-area-tuning-example.c: New example
2220         application.
2221         * src/hildon-pannable-area.c,
2222         (hildon_pannable_area_class_init),
2223         (hildon_pannable_area_init),
2224         (hildon_pannable_area_get_property),
2225         (hildon_pannable_area_set_property),
2226         (hildon_pannable_area_launch_fade_timeout),
2227         (hildon_pannable_area_adjust_value_changed),
2228         (hildon_pannable_axis_scroll),
2229         (hildon_pannable_area_motion_notify_cb),
2230         (hildon_pannable_area_scroll_cb),
2231         (hildon_pannable_area_button_release_cb): We have converted some
2232         of the defines that control the widget to properties to simplify
2233         the tuning.
2234
2235 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
2236
2237         * src/hildon-app-menu.c (hildon_app_menu_map)
2238         (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2239         so it's closed if a new window appears.
2240
2241         Fixes: NB#104485 (Not able to address the call when application
2242         menu is opened at background)
2243
2244 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2245
2246         * src/hildon-color-button.c (hildon_color_button_get_property):Add
2247         missing 'break' statement in in 'case' construct to avoid
2248         incorrect warnings.
2249
2250 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2251
2252         * src/hildon-touch-selector-entry.c
2253         (hildon_touch_selector_entry_get_property),
2254         (hildon_touch_selector_entry_set_property): Add missing 'break'
2255         statements in in 'case' constructs to avoid incorrect warnings.
2256
2257 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2258
2259         * src/hildon-time-editor.c
2260         (hildon_time_editor_get_time_separators): Do not crash if
2261         the first label is NULL.
2262
2263 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2264
2265         * src/hildon-date-selector.c (_month_days): Check for month to be
2266         strictly less than 12, since otherwise we may overrun the array.
2267
2268 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2269
2270         * src/hildon-date-button.c (+hildon_date_button_new_full)
2271         (hildon_date_button_new, hildon_date_button_new_with_year_range)
2272         (hildon_date_button_init): Set the date selector using a
2273         construction property, to make it happen after HildonButton's
2274         "value" property is set.
2275
2276         Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2277         current date by default)
2278
2279 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2280
2281         * doc/hildon-sections.txt
2282         * src/hildon-program.c
2283         * src/hildon-stackable-window.c
2284         * src/hildon-window.c:
2285         Documentation updates
2286
2287 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2288
2289         * src/hildon-window-stack.c (hildon_window_stack_get_default)
2290         (hildon_window_stack_new, +hildon_window_stack_set_property)
2291         (+hildon_window_stack_get_property)
2292         (hildon_window_stack_class_init)
2293         (+hildon_window_stack_set_window_group)
2294         (+hildon_window_stack_get_window_group):
2295         Make the window group a construction property.
2296
2297 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2298
2299         * doc/hildon-sections.txt
2300         * src/hildon-stackable-window-private.h
2301         * src/hildon-stackable-window.h
2302         * src/hildon-stackable-window.c
2303         (-hildon_stackable_window_set_app_menu)
2304         (-hildon_stackable_window_get_app_menu)
2305         (-hildon_stackable_window_toggle_menu)
2306         (-hildon_stackable_window_finalize)
2307         (hildon_stackable_window_class_init)
2308         (hildon_stackable_window_init)
2309         * src/hildon-window-private.h
2310         * src/hildon-window.h
2311         * src/hildon-window.c (hildon_window_init)
2312         (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2313         (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2314         (hildon_window_get_main_menu, hildon_window_set_main_menu)
2315         (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2316         Moved all HildonAppMenu code to HildonWindow. The menu does not
2317         require a HildonStackableWindow anymore.
2318
2319         * src/hildon-app-menu.c
2320         * src/hildon-program.c
2321         * examples/hildon-app-menu-example.c (main):
2322         Update examples and documentation to reflect HildonAppMenu
2323         changes.
2324
2325 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2326
2327         * src/hildon-remote-texture.c
2328         * src/hildon-animation-actor.c:
2329         Don't include unused private headers.
2330
2331 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2332
2333         * src/hildon-program-private.h
2334         * src/hildon-program.c
2335         (hildon_program_set_common_menu)
2336         (hildon_program_get_common_menu)
2337         (hildon_program_set_common_app_menu)
2338         (hildon_program_get_common_app_menu):
2339         Change common menu pointers from GtkWidget* to GtkMenu* and
2340         HildonAppMenu* to avoid unnecessary casts.
2341
2342 2009-03-03  Alberto Garcia  <agarcia@igalia.com>
2343
2344         * src/hildon-window.c (hildon_window_set_main_menu):
2345         Removed incorrect 'Since:' tag
2346
2347 2009-03-03  Alejandro G. Castro  <alex@igalia.com>
2348
2349         * src/hildon-pannable-area.c,
2350         (hildon_pannable_area_calculate_velocity): We use now the
2351         RATIO_TOLERANCE here to check the distance, fixed typo in the
2352         algorithm.
2353         (hildon_pannable_area_motion_notify_cb): We have to set the type
2354         and time even if we are not sending the motion.
2355
2356 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2357
2358         * doc/hildon-sections.txt
2359         * src/hildon-app-menu.h
2360         * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2361         (+hildon_app_menu_get_filters): New methods to get the contents of
2362         a HildonAppMenu.
2363
2364         Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2365         children)
2366
2367 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2368
2369         * src/hildon-app-menu.c (hildon_app_menu_popup):
2370         Add "Since" tag.
2371
2372 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2373
2374         * src/hildon-window.h
2375         * src/hildon-window.c (+hildon_window_get_main_menu)
2376         (hildon_window_get_menu): Created hildon_window_get_main_menu()
2377         and deprecated hildon_window_get_menu().
2378
2379         * src/hildon-stackable-window.h
2380         * src/hildon-stackable-window.c
2381         (+hildon_stackable_window_set_app_menu)
2382         (+hildon_stackable_window_get_app_menu)
2383         (hildon_stackable_window_set_main_menu): Created
2384         hildon_stackable_window_{get,set}_app_menu() and deprecated
2385         hildon_stackable_window_set_main_menu().
2386
2387         * doc/hildon-sections.txt
2388         * examples/hildon-app-menu-example.c (main)
2389         * src/hildon-app-menu.c
2390         * src/hildon-program.c:
2391         Updated examples and documentation.
2392
2393         Fixes: NB#103758 (No way to obtain a menu from a
2394         HildonStackableWindow)
2395
2396 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
2397
2398         [Release 2.1.46]
2399
2400         * NEWS: Updates.
2401         * configure.ac: Bump version.
2402         * debian/changelog: Updates.
2403
2404 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
2405
2406         * examples/hildon-remote-texture-example.c: Include
2407         hildon-remote-texture.h explicitely.
2408         * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2409         applications not defining _XOPEN_SOURCE which don't require this header.
2410
2411 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2412
2413         * doc/hildon-sections.txt
2414         * src/hildon-app-menu.h
2415         * src/hildon-app-menu.c (+hildon_app_menu_popup):
2416         New function to pop up a HildonAppMenu
2417
2418         * src/hildon-stackable-window.c
2419         (hildon_stackable_window_toggle_menu):
2420         Use hildon_app_menu_popup() to show the menu.
2421
2422 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2423
2424         * src/hildon-app-menu.c (hildon_app_menu_show)
2425         (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2426         menu if there's another window between it and its parent window.
2427
2428         Fixes: NB#100468 (Application menu window is launched even when a
2429         new secondary-window/dialog is pending to be shown/realized)
2430
2431 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2432
2433         * src/hildon-window-stack.c (hildon_window_stack_push)
2434         (hildon_window_stack_pop_and_push):
2435         Don't forget to push/pop the first window.
2436         Reverse the window list before calling _push_list()
2437
2438 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2439
2440         * src/hildon-picker-button.h
2441         * src/hildon-picker-button.c (hildon_picker_button_class_init):
2442         Remove "value_changed" slot to avoid ABI breakage
2443
2444 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
2445
2446         * src/hildon-pannable-area.c,
2447         (hildon_pannable_area_realize),
2448         (hildon_pannable_area_unrealize),
2449         (hildon_pannable_draw_vscroll),
2450         (hildon_pannable_draw_hscroll): Changed the method to handle the
2451         GC used to draw the transparent scrollbar, this way we avoid
2452         creating the GC all the time when drawing the scrollbars.
2453
2454 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
2455
2456         * src/hildon-pannable-area.c,
2457         (hildon_pannable_area_init),
2458         (hildon_pannable_area_remove): Removed some unnecessary casts.
2459         (hildon_pannable_area_dispose): Disconnected some signals before
2460         releasing the adjustments.
2461
2462 2009-02-26  Alberto Garcia  <agarcia@igalia.com>
2463
2464         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2465         Make sure that all widgets contained in the toolbar are shown.
2466
2467 2009-02-25  Alberto Garcia  <agarcia@igalia.com>
2468
2469         * doc/hildon-sections.txt
2470         * src/hildon-picker-button.h
2471         * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2472         (_selection_changed, hildon_picker_button_on_dialog_response)
2473         (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2474         New hildon_picker_button_value_changed() method.
2475
2476         * src/Makefile.am
2477         * src/hildon-picker-button-private.h
2478         * src/hildon-picker-button.c (hildon_picker_button_init)
2479         (+hildon_picker_button_disable_value_changed): Add protected
2480         function for disabling the "value-changed" signal.
2481
2482         * src/hildon-date-button.c (hildon_date_button_set_date):
2483         Don't emit "value-changed" for each one of the three columns.
2484
2485         Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2486         before actual change of values)
2487
2488 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
2489
2490         * src/hildon-pannable-area.c,
2491         (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2492         for the treeview overshooting.
2493
2494 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
2495
2496         * src/hildon-banner.c (+hildon_banner_bind_style):
2497         Renamed from hildon_banner_bind_label_style(), now naming the
2498         banner itself as well.
2499         (hildon_banner_show_information),
2500         (hildon_banner_show_information_with_markup),
2501         (hildon_banner_show_animation), (hildon_banner_show_progress):
2502         Name the widgets and labels, based on their type.
2503
2504         See NB#98597 (Hildon Note and Hildon Banner should use themeable
2505         background image)
2506
2507 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
2508
2509         * src/hildon-note.c (hildon_note_set_property): call
2510         hildon_note_rename() on HildonNote:note-type set.
2511         (hildon_note_rename): Name the note and its label, based on the
2512         HildonNote:note-type property.
2513
2514         See NB#98597 (Hildon Note and Hildon Banner should use themeable
2515         background image)
2516
2517 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
2518
2519         * src/hildon-pannable-area.c,
2520         (hildon_pannable_area_class_init),
2521         (hildon_pannable_area_motion_notify_cb): Reviewed the default
2522         panning parameters, increased SPS and deceleration factor. Added
2523         also a margin to control fake directions.
2524
2525 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
2526
2527         Patch by Sven Herzberg (sven@imendio.com)
2528
2529         * configure.ac: Add missing AM_PROG_CC_C_0
2530         * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2531
2532         See NB#101420 (Update unit tests and fix make check)
2533
2534 2009-02-23  Alejandro G. Castro  <alex@igalia.com>
2535
2536         This patch was applied before but reverted because it caused
2537         problems, we have changed the main condition and tested the
2538         regressions we detected before and they work ok. We have done a
2539         complete review of the topmost algorithm in order to get a more
2540         general solution.
2541
2542         * src/hildon-pannable-area.c,
2543         (hildon_pannable_area_get_topmost): Added a new parameter to
2544         filter the the windows that do not include those events.
2545         (hildon_pannable_area_button_press_cb),
2546         (hildon_pannable_area_button_release_cb),
2547         (hildon_pannable_get_child_widget_at): Reviewed the call the the
2548         topmost function, we have added the new parameter.
2549
2550         Fixes: NB#97458 (Pannable area prevents propagation of button
2551         press events)
2552
2553 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
2554
2555         * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2556         if all columns in the selector have an item selected.
2557         (_on_dialog_response): Stop "response" signal emission if there is
2558         any selector column without selected items.
2559
2560         Fixes: NB#101889 (Picker dialog should not close when nothing is
2561         selected in multiple selection list)
2562
2563 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
2564
2565         * src/hildon-font-selection-dialog.c
2566         (hildon_font_selection_dialog_class_init),
2567         (hildon_font_selection_dialog_init): Remove the preview
2568         button and dialog, since previewing with default theming is likely
2569         to be overcomplicated. The :preview property has now no effect.
2570         Update documentation blurbs to inform about this.
2571
2572         Fixes: NB#92297 (Preview content is not clearly visible for
2573         default colour text)
2574
2575 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
2576
2577         Reviewed the geometry that handles the children size and
2578         scrollbar, now it tries a size and reviews the results depending
2579         on the scrollbars visibility.
2580
2581         * src/hildon-pannable-area.c,
2582         (hildon_pannable_area_realize): Fixed a typo.
2583         (hildon_pannable_area_child_allocate_calculate): Added this
2584         function to calculate the child allocation.
2585         (hildon_pannable_area_size_allocate): Reviewed the allocation
2586         code.
2587         (hildon_pannable_area_check_scrollbars),
2588         (hildon_pannable_area_refresh): Refactored refresh function, this
2589         way we can call the code handling the scrollbars without causing a
2590         size_request, it is interesting in the allocate.
2591         (hildon_pannable_area_init): Replace the callbacks of the
2592         value_changed and changed signals to propertly deal with the
2593         geometry.
2594         (hildon_pannable_area_grab_notify),
2595         (hildon_pannable_area_initial_effect),
2596         (hildon_pannable_area_launch_fade_timeout),
2597         (hildon_pannable_area_adjust_changed),
2598         (hildon_pannable_area_adjust_value_changed),
2599         (hildon_pannable_area_redraw),
2600         (hildon_pannable_area_button_press_cb),
2601         (hildon_pannable_area_button_release_cb),
2602         (hildon_pannable_area_scroll_cb),
2603         (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2604         code and use the new functions adjust_changed and
2605         adjust_value_changed.
2606
2607         Fixes: NB#101603 (Focus is not even for the text entry boxes in
2608         Contact editor dialog)
2609
2610 2009-02-20  Claudio Saavedra  <csaavedra@igalia.com>
2611
2612         [Release 2.1.44]
2613
2614         * NEWS: Updates.
2615         * configure.ac: Bump version.
2616         * debian/changelog: Updates.
2617
2618 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
2619
2620         * src/hildon-pannable-area.c,
2621         (hildon_pannable_area_get_topmost),
2622         (hildon_pannable_area_button_press_cb),
2623         (hildon_pannable_area_button_release_cb),
2624         (hildon_pannable_get_child_widget_at): Reverted the patch for the
2625         topmost function adding the event mask. We have to try a
2626         differente approach because it is still causing problems (NB#9745,
2627         reopened).
2628
2629 2009-02-19  Alberto Garcia  <agarcia@igalia.com>
2630
2631         * src/hildon-banner.c:
2632         Update the maximum width of timed banners.
2633         (force_to_wrap_truncated): Enforce the maximum text width if the
2634         label is wrapped.
2635
2636         Fixes: NB#102413 (The text margins (wrapping) in information
2637         banner should be HILDON_MARGIN_TRIPLE)
2638
2639 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
2640
2641         Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2642
2643         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2644         (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2645         bound when calculating the scroll indicator position.
2646
2647         Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2648         treat ->lower correctly)
2649
2650 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
2651
2652         * src/hildon-caption.c (hildon_caption_class_init): Remove the
2653         expose event handling, since it is not necessary to draw the focus
2654         anymore.
2655
2656         Fixes: NB#102467 (Do not show highlight on the text in
2657         HildonCaption)
2658
2659 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2660
2661         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2662         full height of the toolbar for the button and the label.
2663
2664 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2665
2666         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2667         padding before the label and after the button.
2668
2669 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2670
2671         * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2672
2673         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2674         Add a GtkVSeparator between the button and the back arrow.
2675         Let the button have automatic size.
2676         Set a name to the widget for theming handling.
2677
2678         Fixes: NB#101793 (Make edit toolbar the same height as window
2679         title bar (use title area theming))
2680
2681 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2682
2683         * src/hildon-helper.c (attach_new_color_element): Fix memory
2684         leak.
2685
2686         Fixes: NB#102262 (memory leak in hildon_button_set_style())
2687
2688 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2689
2690         * examples/hildon-button-example.c (common_buttons_window): Don't
2691         leak size groups.
2692
2693 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2694
2695         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2696         Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2697
2698 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2699
2700         * src/hildon-gtk.c: Check that the window is realized.
2701
2702         Fixes: NB#102225 (Crash setting the progress indicator to a non
2703         visible window)
2704
2705 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
2706
2707         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2708         (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2709         instead of modifying the one in the widget style.
2710
2711         Fixes: NB#101043 (Second row of all the command button are
2712         displayed in transparent mode.)
2713
2714 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
2715
2716         * src/hildon-date-button.c
2717         * src/hildon-time-button.c: Add gettext macros
2718
2719 2009-02-16  Claudio Saavedra  <csaavedra@igalia.com>
2720
2721         * src/hildon-date-button.c (hildon_date_button_new):
2722         * src/hildon-time-button.c (hildon_time_button_new_step):
2723         Use new logical strings to set the button default title.
2724
2725         Fixes: NB#99915 (Date and Time options are not localised in Date
2726         and Time setttings)
2727
2728 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
2729
2730         * src/hildon-pannable-area.c
2731         (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2732         the PANNING_THRESHOLD.
2733
2734 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
2735
2736         * src/hildon-pannable-area.c,
2737         (hildon_pannable_area_class_init): Increased the maximum speed.
2738         (hildon_pannable_area_get_property),
2739         (hildon_pannable_area_set_property),
2740         (hildon_pannable_area_timeout): Added a new low friction mode, it
2741         allows the user avoid friction when launching the widget fast
2742         enough. It is interesting to traverse long lists.
2743
2744 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
2745
2746         * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2747         (+hildon_stackable_window_delete_event): Ignore delete events if
2748         the window is not the topmost one.
2749
2750         Fixes: NB#101698 (Back button long press and delete-event handling)
2751
2752 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
2753
2754         * src/hildon-pannable-area.c,
2755         (hildon_pannable_area_motion_notify_cb): Removed the use of the
2756         gtk-dnd-drag-threshold, it was too big. We have defined our own
2757         dnd define and set a smaller value: PANNIG_THRESHOLD.
2758
2759 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
2760
2761         * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2762         user-defined icons, use always the default one.
2763
2764         Fixes: NB#101916 (Do not allow custom icons on animation banner)
2765
2766 2009-02-13  Alejandro G. Castro  <alex@igalia.com>
2767
2768         This patch was applied before but reverted because it caused
2769         problems, we have changed the main condition and tested the
2770         regressions we detected before and they work ok.
2771
2772         * src/hildon-pannable-area.c,
2773         (hildon_pannable_area_get_topmost): Added a new parameter to
2774         filter the the windows that do not include those events. Added
2775         also a condition when finding the window to filter windows that do
2776         not ask for those events.
2777         (hildon_pannable_area_button_press_cb),
2778         (hildon_pannable_area_button_release_cb),
2779         (hildon_pannable_get_child_widget_at): Reviewed the call the the
2780         topmost function, we have added the new parameter.
2781
2782         Fixes: NB#97458 (Pannable area prevents propagation of button
2783         press events)
2784
2785 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2786
2787         * tests/check-hildon-color-button.c (START_TEST): do not leak
2788         ret_color.
2789
2790 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2791
2792         * src/hildon-font-selection-dialog.c
2793         (hildon_font_selection_dialog_get_preview_text): Return NULL
2794         instead of FALSE on the g_return_val_if_fail().
2795
2796 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2797
2798         * src/hildon-time-selector.c (hildon_time_selector_set_time):
2799         * src/hildon-date-selector.c
2800         (hildon_date_selector_select_current_date):
2801         Do not compare unsigned integers to be greater than or equal 0,
2802         because it's always TRUE.
2803
2804 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2805
2806         * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2807         (hildon_date_selector_constructor): Do not select the current
2808         date until we are handle the "changed" signal, to avoid having bogus
2809         elements in the days model.
2810
2811 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2812
2813         * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2814         for num_days, since _month_days() can return a negative value.
2815
2816 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2817
2818         * src/hildon-caption.c (hildon_caption_size_allocate):
2819         * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2820         * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2821
2822         Initialize allocation variables to 0, to avoid eventually using
2823         unitialized variables.
2824
2825 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
2826
2827         * src/hildon-bread-crumb-trail.c
2828         (hildon_bread_crumb_trail_size_allocate):
2829         * src/hildon-calendar.c (hildon_calendar_set_background):
2830         * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2831         * src/hildon-range-editor.c (hildon_range_editor_get_range):
2832         * src/hildon-seekbar.c (hildon_seekbar_init):
2833         * src/hildon-time-editor.c (hildon_time_editor_get_time):
2834         * src/hildon-time-selector.c (hildon_time_selector_finalize):
2835         * src/hildon-touch-selector-entry.c
2836         (hildon_touch_selector_get_text_from_model):
2837         * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2838         * src/hildon-window.c (hildon_window_finalize):
2839
2840         Remove many unused variables.
2841
2842 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
2843
2844         * src/hildon-seekbar.c: (hildon_seekbar_init),
2845         (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2846
2847         Remove unnecessary g_assert() calls.
2848
2849 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
2850
2851         * src/hildon-caption.c: (hildon_caption_expose),
2852         (hildon_caption_set_property), (hildon_caption_init),
2853         (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2854         (hildon_caption_size_request), (hildon_caption_size_allocate),
2855         (hildon_caption_forall), (hildon_caption_set_separator),
2856         (hildon_caption_activate), (hildon_caption_set_child_expand),
2857         (hildon_caption_set_label_text),
2858         (hildon_caption_get_label_alignment):
2859
2860         Remove unnecessary g_assert() calls.
2861
2862 2009-02-12  Alberto Garcia  <agarcia@igalia.com>
2863
2864         * src/hildon-banner.c
2865         (hildon_banner_map, hildon_banner_init): Make banner temporary
2866         before mapping it to avoid closing other temporary windows, but
2867         make it non-temporary afterwards to avoid being closed by other
2868         non-temporary windows.
2869         (-hildon_banner_client_event, hildon_banner_init):
2870         _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2871
2872         Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2873         opened)
2874
2875 2009-02-11  Alberto Garcia  <agarcia@igalia.com>
2876
2877         * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2878         deprecation guard.
2879
2880 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
2881
2882         * src/hildon-remote-texture.c
2883         * src/hildon-remote-texture.h
2884         * src/hildon-remote-texture-private.h
2885         * examples/hildon-remote-texture-example.c:
2886         Updates/fixes to remote-texture and its example.
2887
2888 2009-02-11  Claudio Saavedra  <csaavedra@igalia.com>
2889
2890         Patch by Mox Soini (ext-mox.soini@nokia.com)
2891
2892         * src/hildon-code-dialog.c: Update logical id.
2893         * src/hildon-set-password-dialog.c: Update logical id.
2894
2895         Fixes: NB#100646 (Logical strings is shown for ok in set
2896         password,Password needed dialogs)
2897
2898 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
2899
2900         * src/hildon.h
2901         * src/hildon-remote-texture.c
2902         * src/hildon-remote-texture.h
2903         * src/hildon-remote-texture-private.h
2904         * src/Makefile.am
2905         Added remote texture widget (for Clutter shared memory textures)
2906
2907         * examples/hildon-remote-texture-example.c
2908         * examples/Makefile.am
2909         Added example file for remote texture usage
2910
2911 2009-02-10  Claudio Saavedra  <csaavedra@igalia.com>
2912
2913         * configure.ac: post release version bump.
2914         * debian/changelog: version bump.
2915
2916 2009-02-06  Claudio Saavedra  <csaavedra@igalia.com>
2917
2918         [Release 2.1.42]
2919
2920         * NEWS: Updates.
2921         * configure.ac: Bump version.
2922         * debian/changelog: Updates.
2923
2924 2009-02-06  Alberto Garcia  <agarcia@igalia.com>
2925
2926         * src/hildon-date-selector.c (hildon_date_selector_init)
2927         (hildon_date_selector_constructor): Don't connect to the "changed"
2928         signal until the selector is completely constructed.
2929
2930 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2931
2932         * src/hildon-touch-selector.c: (_create_new_column),
2933         (hildon_touch_selector_append_column),
2934         (hildon_touch_selector_set_column_selection_mode),
2935         (hildon_touch_selector_set_active),
2936         (hildon_touch_selector_select_iter):
2937         Emit the HildonTouchSelector::changed signal every time selection
2938         is changed in any of the methods above.  This behavior was already
2939         documented but not fully functional.
2940
2941         Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2942         selection is programmatically changed)
2943
2944 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2945
2946         * doc/hildon-sections.txt: Remove obsolete icon
2947         sizes from here as well.
2948
2949 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
2950
2951         * examples/hildon-stackable-window-example.c (add_window): Remove
2952         unnecessary return.
2953
2954 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
2955
2956         * src/hildon-app-menu.c
2957         (hildon_app_menu_show): Check whether the parent window of a menu
2958         is topmost before popping it up.
2959
2960         Fixes: NB#100468 (Application menu window is launched even when a
2961         new secondary-window/dialog is pending to be shown/realized.)
2962
2963 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2964
2965         * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2966         icon sizes.
2967
2968 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2969
2970         Patch by Mox Soini (ext-mox.soini@nokia.com)
2971
2972         * src/hildon-banner.c: (hildon_banner_show_animation):
2973         use stylus size instead of obsolete note size.
2974         * src/hildon-defines.h: Update icon sizes.
2975
2976 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2977
2978         * src/hildon-touch-selector-entry.c:
2979         (hildon_touch_selector_entry_init): Disable unsupported
2980         input modes.
2981         (hildon_touch_selector_entry_get_text_column): Emit a warning
2982         if an unsupported input modes is used and explicitile state
2983         these modes in the documentation.
2984
2985         Fixes: NB#99802 (Hildon touch selector entry not working properly
2986         for some of the input modes)
2987
2988 2009-02-05  Alejandro G. Castro  <alex@igalia.com>
2989
2990         * src/hildon-pannable-area.c,
2991         (hildon_pannable_area_init): Added the changed signal handlers of
2992         the adjustments.
2993
2994         Fixes: NB#100320 (HildonPannableArea does not listen to
2995         GtkAdjustment "change" signals)
2996
2997 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
2998
2999         * doc/hildon-sections.txt
3000         * src/hildon-window-private.h
3001         * src/hildon-window.h
3002         * src/hildon-window.c (hildon_window_init)
3003         (hildon_window_realize, hildon_window_unrealize)
3004         (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3005         (hildon_window_size_request, hildon_window_size_allocate)
3006         (hildon_window_forall, hildon_window_show_all)
3007         (hildon_window_destroy, +paint_edit_toolbar)
3008         (+hildon_window_set_edit_toolbar):
3009         New hildon_window_set_edit_toolbar() method, to add a
3010         HildonEditToolbar to a window without having to pack it manually.
3011
3012         Reorganize hildon_window_size_allocate()
3013
3014         * src/hildon-edit-toolbar.c: Update documentation.
3015
3016         * examples/hildon-edit-toolbar-example.c (edit_window): Update
3017         example to use the new API.
3018
3019         Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3020
3021 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
3022
3023         * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3024         Remove from stack before calling parent's hide.
3025
3026 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
3027
3028         * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3029         window is removed from the middle of the stack, update the
3030         transiency of the previous one.
3031
3032         Fixes: NB#100487 (HildonStackableWindow transiency becomes
3033         incoherent)
3034
3035 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
3036
3037         * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3038         block/unblock the signal handler if it's not actually being used.
3039         Fixes some critical warnings.
3040
3041 2009-02-02  Alberto Garcia  <agarcia@igalia.com>
3042
3043         Based on a patch by Iván Gómez (igomez@igalia.com)
3044
3045         * src/hildon-banner.c
3046         * src/hildon-gtk.c
3047         * src/hildon-main.c
3048         * src/hildon-note.c
3049         * src/hildon-pannable-area.c
3050         * src/hildon-picker-dialog.c
3051         * src/hildon-wizard-dialog.h
3052         * src/hildon-wizard-dialog.c: Documentation updates.
3053
3054         * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3055         gtk_dialog_add_button() instead of hildon_dialog_add_button().
3056
3057 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
3058
3059         * configure.ac: post release version bump.
3060         * debian/changelog: version bump.
3061
3062 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
3063
3064         [Release 2.1.40]
3065
3066         * NEWS: Updates.
3067         * configure.ac: Bump version.
3068         * debian/changelog: Updates.
3069
3070 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
3071
3072         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3073         a stock icon nor change the relief of the back arrow.
3074
3075         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3076         graphics from theme)
3077
3078 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
3079
3080         * src/hildon-button.c (hildon_button_set_alignment): Use
3081         priv->alignment if the button has no child yet.
3082
3083 2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
3084
3085         * src/hildon-button.c: (hildon_button_init): Set the
3086         button style during initialization to give it the proper
3087         label color.
3088
3089         Fixes: NB#99713 (HildonButton value label color is wrong)
3090
3091 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
3092
3093         * src/hildon-touch-selector.c: Document
3094         hildon_touch_selector_center_on_selected()
3095
3096 2009-01-28  Alberto Garcia  <agarcia@igalia.com>
3097
3098         * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3099         (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3100         all menu items, but not the menu itself.
3101         (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3102         (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3103         items after adding them to the menu so keyboard accelerators work.
3104         (hildon_app_menu_show): Don't show the menu if it contains items
3105         but none of them are visible.
3106
3107         * examples/hildon-app-menu-example.c (create_menu): Use
3108         gtk_widget_show_all() to show all menu items.
3109
3110 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
3111
3112         * src/hildon-picker-dialog.c:
3113         (-_update_title_on_selector_changed_cb),
3114         (-_dialog_update_title): Removed.
3115         (_select_on_selector_changed_cb), (_on_dialog_response),
3116         (on_selector_columns_changed): Do not update the dialog title.
3117         (setup_interaction_mode): Do not connect to
3118         HildonTouchSelector::changed signal if there's a "done" button, as
3119         the dialog title doesn't need to be updated.
3120
3121         Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3122         contents in title)
3123
3124 2009-01-27  Claudio Saavedra  <csaavedra@igalia.com>
3125
3126         Patch by Kristian Rietveld (kris@imendio.com)
3127
3128         * src/hildon-touch-selector.c: (_create_new_column): Use new
3129         GtkTreeView::hildon-row-tapped signal to react to user interactions
3130         instead of ::changed.
3131
3132         Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3133         with some dynamic tree model)
3134
3135 2009-01-27  Alberto Garcia  <agarcia@igalia.com>
3136
3137         * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3138         (+screen_size_changed, +label_size_request)
3139         (hildon_note_class_init): Make the Hildon information note have a
3140         minimum height, and make its text hvae a maximum width.
3141
3142         Fixes: NB#98614 (Hildon information note (background) should have
3143         minimum height and maximum text width)
3144
3145 2009-01-26  Alberto Garcia  <agarcia@igalia.com>
3146
3147         * src/hildon-banner.h
3148         * src/hildon-banner.c (hildon_banner_show_information)
3149         (hildon_banner_show_informationf)
3150         (hildon_banner_show_information_with_markup): Update documentation
3151         to reflect that the icon_name parameter is not used anymore.
3152         (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3153         Remove all code from these functions and mark them as deprecated.
3154         (hildon_banner_show_progress): Mark as deprecated.
3155
3156         Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3157
3158 2009-01-26  Alejandro G. Castro  <alex@igalia.com>
3159
3160         * src/hildon-pannable-area.c,
3161         (hildon_pannable_area_class_init),
3162         (tranparency_color),
3163         (hildon_pannable_draw_vscroll),
3164         (hildon_pannable_draw_hscroll),
3165         (hildon_pannable_area_expose_event): Added a new way to render the
3166         scrollbars of the pannable area avoiding using cairo at all. This
3167         way we improve the performance of the pannable area rendering. The
3168         cairo rendering procedure is still in the code, we can control
3169         which one to use changing the value of the define
3170         USE_CAIRO_SCROLLBARS.
3171
3172 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
3173
3174         * configure.ac: post release version bump.
3175         * debian/changelog: version bump.
3176
3177 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
3178
3179         [Release 2.1.38]
3180
3181         * NEWS: Updates.
3182         * configure.ac: Bump version.
3183         * debian/changelog: Updates.
3184
3185 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3186
3187         * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3188         banners instead of destroying them when they receive a button
3189         press.
3190
3191 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
3192
3193         Reverted commit 34028, it was causing regressions, probably the
3194         topmost condition is not correct, we have to check it in more
3195         detail. We have reponed the bug: NB#97458 (Pannable area prevents
3196         propagation of button press events)
3197
3198 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
3199
3200         * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3201         that the selection is not empty before attempting to retrieve the
3202         current ampm selection.
3203
3204 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
3205
3206         * src/hildon-picker-button.c:
3207         (hildon_picker_button_on_dialog_response): Directly update the
3208         button contents when required instead of calling _selection_changed.
3209
3210 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3211
3212         * src/hildon-program.c (hildon_program_update_top_most): Update
3213         'is-topmost' property also when wm_hints is not set.
3214
3215         Fixes: NB#98383 (is-topmost signal is not emitted when task
3216         switcher is clicked.)
3217
3218 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
3219
3220         Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3221
3222         * src/Makefile.am,
3223         * src/hildon.h,
3224         * src/hildon-animation-actor.c,
3225         * src/hildon-animation-actor.h: Added the animation actor class,
3226         this widget represents an animation actor for WM-assisted
3227         animation effects in the Hildon framework.
3228
3229 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3230
3231         * src/hildon-window-stack-private.h
3232         * src/hildon-window-stack.c
3233         * src/hildon-stackable-window.c (hildon_stackable_window_show):
3234         Avoid calling gtk_widget_show() again indirectly from
3235         hildon_stackable_window_show()
3236
3237 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3238
3239         * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3240         unused variable.
3241
3242 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3243
3244         * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3245         (hildon_time_selector_init): Move the construction of the hours and
3246         ampm columns to the constructor to preserve the order the columns
3247         are appended.
3248
3249 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3250
3251         * src/hildon-picker-dialog.c:
3252         (hildon_picker_dialog_class_init): Connect a realize method.
3253         (+hildon_picker_dialog_realize): Setup the interaction mode here
3254         and not before.
3255         (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3256         yet, do it during the realize instead.
3257         (_on_dialog_response):
3258         (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3259         if the widget is not realized, to avoid the dialog response before it
3260         is even shown.
3261
3262         Avoid premature responses in the HildonPickerDialog that can cause it
3263         to be hidden before it's even shown.
3264
3265 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3266
3267         * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3268         (on_selector_columns_changed), (requires_done_button),
3269         (+prepare_action_area), (setup_interaction_mode),
3270         (_hildon_picker_dialog_set_selector):
3271
3272         Split the interaction mode setup into preparation of the
3273         action area (prepare_action_area()) and the connection of
3274         the signals in setup_interaction_mode() and update the code to
3275         reflect this.
3276
3277 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3278
3279         * src/hildon-pannable-area.c,
3280         (hildon_pannable_area_class_init): Reduced the amount of scrolls
3281         per second to 15, we will check if this is ok regarding
3282         smoothness.
3283
3284 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3285
3286         * src/hildon-pannable-area.c,
3287         (hildon_pannable_axis_scroll): Avoid resize if we already have
3288         reached overshoot_max.
3289
3290 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3291
3292         * src/hildon-pannable-area.c,
3293         (hildon_pannable_area_init),
3294         (hildon_pannable_area_realize),
3295         (hildon_pannable_area_size_allocate),
3296         (hildon_pannable_area_map),
3297         (hildon_pannable_area_unmap),
3298         (hildon_pannable_draw_vscroll),
3299         (hildon_pannable_draw_hscroll),
3300         (hildon_pannable_area_expose_event),
3301         (hildon_pannable_area_refresh): Added a new GdkWindow to the
3302         pannable are to avoid the expose events go to the window and
3303         redraw the window. We save this way that part of the stack and the
3304         paint_boxes. We had to change the positions of the elements when
3305         drawing.
3306
3307 2009-01-21  Claudio Saavedra  <csaavedra@igalia.com>
3308
3309         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3310         * src/hildon-color-chooser-dialog.c:
3311         (hildon_color_chooser_dialog_init):
3312         * src/hildon-font-selection-dialog.c:
3313         (hildon_font_selection_dialog_init),
3314         (hildon_font_selection_dialog_show_preview):
3315         * src/hildon-get-password-dialog.c:
3316         * src/hildon-login-dialog.c:
3317         * src/hildon-set-password-dialog.c:
3318         * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3319         * src/hildon-time-picker.c: (hildon_time_picker_init):
3320
3321         Remove obsolete logical string IDs and update to the appropriate ones.
3322
3323         Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3324
3325 2009-01-21  Alberto Garcia  <agarcia@igalia.com>
3326
3327         * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3328         that happens if the window hasn't been realized yet.
3329
3330         Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3331         - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3332
3333 2009-01-20  Alberto Garcia  <agarcia@igalia.com>
3334
3335         * src/hildon-app-menu.c (hildon_app_menu_class_init)
3336         (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3337         by another grab.
3338
3339         Fixes: NB#98537 (Device hangs in account settings dialog)
3340
3341 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3342
3343         * configure.ac: post release version bump.
3344         * debian/changelog: version bump
3345
3346 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3347
3348         [Release 2.1.36]
3349
3350         * NEWS: Updates.
3351         * configure.ac: Bump version.
3352         * debian/changelog: Updates.
3353
3354 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3355
3356         Added a new function to the HildonTimeButton widget that allows to
3357         change the step of the minutes in the selector associated with the
3358         button: hildon_time_button_new_step
3359
3360         * src/hildon-time-button.c,
3361         (hildon_time_button_init),
3362         (hildon_time_button_new),
3363         (hildon_time_button_new_step):
3364         * src/hildon-time-button.h: Added the new function and refactored
3365         the code.
3366         * examples/hildon-time-button-example.c,
3367         (main): We have replaced the function without parameters with the
3368         function with the steps set to 5
3369
3370         Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3371
3372 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3373
3374         * src/hildon-time-selector.c,
3375         (hildon_time_selector_class_init),
3376         (hildon_time_selector_constructor),
3377         (hildon_time_selector_get_property),
3378         (hildon_time_selector_set_property),
3379         (_create_minutes_model),
3380         (hildon_time_selector_new_step),
3381         (hildon_time_selector_set_time),
3382         * src/hildon-time-selector.h: Added a new property to the
3383         HildonTimeSelector (minutes-step), we use that property to control
3384         the steps between the minutes in the list of the selector. We have
3385         added a new function to the API to create a widget changing the
3386         step: hildon_time_selector_new_step.
3387
3388 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3389
3390         * src/hildon-time-selector.c,
3391         (hildon_time_selector_class_init),
3392         (hildon_time_selector_constructor),
3393         (hildon_time_selector_init): Overrided the construct function when
3394         creating the time selector object. We have moved the minutes model
3395         handling code from the init to the new construction function:
3396         hildon_time_selector_constructor.
3397
3398 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3399
3400         * examples/hildon-date-button-example.c: (main): Use the new
3401         hildon_date_button_new_with_year_range() method in the example.
3402         * src/hildon-date-button.c:
3403         (+hildon_date_button_new_with_year_range): New public method
3404         to conveniently create a HildonDateButton with a custom year range
3405         in its HildonDateSelector.
3406         * src/hildon-date-button.h: Add the new public method definition.
3407
3408         Fixes: NB#97908 (Not possible to change the year range in
3409         HildonDateSelector/HildonDateButton)
3410
3411 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3412
3413         * src/hildon-date-selector.c:
3414         (+hildon_date_selector_set_property),
3415         (+hildon_date_selector_get_property),
3416         (hildon_date_selector_class_init): Install new properties "min-year"
3417         and "max-year" to define boundaries for the year column.
3418         (_create_year_model): Use the boundary properties to populate the model.
3419         (+hildon_date_selector_new_with_year_range): New public method to
3420         create a HildonDateSelector with a user defined year range.
3421         (hildon_date_selector_select_current_date): Use the new boundaries to
3422         calculate the iterator of current year.
3423         * src/hildon-date-selector.h: Add the new public method definition.
3424
3425 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3426
3427         * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3428         Install a constructor method.
3429         (+hildon_date_selector_construct_ui): construct the widget.
3430         (+hildon_date_selector_constructor): new constructor.
3431         (+hildon_date_selector_init): move out widget construction code to
3432         the new constructor.
3433
3434 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3435
3436         * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3437         that there's actually a month or year selected before obtaining them.
3438         * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3439         of the HildonTouchSelector::changed signal, as it was emitted on every
3440         single item selection.
3441
3442         Fix some warnings and possible crashers due to the selection restoring.
3443
3444 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3445
3446         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3447         the signal handlers only after creating the dialog instead of on every
3448         button click.
3449
3450 2009-01-19  Alberto Garcia  <agarcia@igalia.com>
3451
3452         * src/hildon-button.c (hildon_button_init)
3453         * src/hildon-check-button.c (hildon_check_button_init)
3454         * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3455         focus when clicked by default.
3456
3457 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3458
3459         * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3460         g_object_unref().
3461
3462 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
3463
3464         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3465         Alejandro G. Castro  (alex@igalia.com)
3466
3467         * src/hildon-picker-dialog.c:
3468         (hildon_picker_dialog_class_init): install new "center-on-show"
3469         property.
3470         (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3471         (hildon_picker_dialog_set_property): add setter code for the new
3472         property.
3473         (hildon_picker_dialog_get_property): add getter code for the new
3474         property.
3475         (hildon_picker_dialog_show): Ensure visibility of selected items in the
3476         HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3477         default.
3478
3479         Fixes: NB#92849 (Selected item is not always visible when
3480         HildonTouchSelector is shown)
3481
3482 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
3483
3484         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3485         Alejandro G. Castro  (alex@igalia.com)
3486
3487         * src/hildon-touch-selector.c:
3488         (_create_new_column): Do not connect to the "realize" signal of the
3489         pannable area.
3490         (hildon_touch_selector_append_column): center on the selected items
3491         when a new column is appended.
3492         (hildon_touch_selector_select_iter): Factor out the code to select a
3493         column to hildon_touch_selector_scroll_to().
3494         (+search_nearest_element): Method to retrieve the nearest selected
3495         element to the visible area of the pannable area in a column.
3496         (+on_realize_cb): scroll to the initially selected item.
3497         (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3498         the pannable area is realized, otherwise delay this until it is.
3499         (+_hildon_touch_selector_center_on_selected_items): Centers on the
3500         selected items of a given column.
3501         (+hildon_touch_selector_center_on_selected): Public method to center
3502         all columns on the nearest selected item.
3503         * src/hildon-touch-selector.h: Add definition for
3504         hildon_touch_selector_center_on_selected().
3505
3506         Implement public API to ensure visibility of all selected items in
3507         a HildonTouchSelector.
3508
3509 2009-01-16  Alejandro G. Castro  <alex@igalia.com>
3510
3511         Fixed a problem in the fading when calling the scroll_to API, and
3512         improve scrollbar fading handling.
3513
3514         * src/hildon-pannable-area.c,
3515         (hildon_pannable_area_grab_notify): avoid the timeout when the
3516         alpha is zero.
3517         (hildon_pannable_area_button_press_cb),
3518         (hildon_pannable_area_motion_notify_cb): Code style changes.
3519         (hildon_pannable_area_button_release_cb): Review the conditions
3520         when releasing the mouse button to avoid unrequired fading
3521         timeouts.
3522         (hildon_pannable_area_scroll_to): Do not calculate and set the
3523         velocity if the scroll is not required.
3524
3525 2009-01-15  Alberto Garcia  <agarcia@igalia.com>
3526
3527         * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3528         Don't check whether the new selector is NULL: it cannot be.
3529         Hold a reference to the selector while doing the replacement.
3530
3531 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
3532
3533         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3534         unnecessary size_request in a removed widget.
3535
3536 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
3537
3538         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3539         an unnecessary reference tracking that was leaking.
3540
3541 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3542
3543         Added delayed motion notify event handling, this way we can
3544         discard redrawing if more than 25 events arrive per second.
3545
3546         * src/hildon-pannable-area.c,
3547         (hildon_pannable_area_init): Initialized the new private atributes
3548         controlling this timeout
3549         (hildon_pannable_area_dispose): Remove the timeout that controls
3550         the motion notify events.
3551         (hildon_pannable_area_scroll): Added a condition to control the
3552         use of the acceleration.
3553         (hildon_pannable_area_motion_event_scroll_timeout),
3554         (hildon_pannable_area_motion_event_scroll): Added this two
3555         functions, they handle the motion notify events inside the
3556         timeout.
3557         (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3558         to the scroll method with the new function.
3559         (hildon_pannable_area_button_release_cb): We have to remove the
3560         timeout handler and move to the last position if the last motion
3561         events were not handled.
3562
3563         Fixes: NB#97028 (Pannable area updates on every motion event)
3564
3565 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3566
3567         * src/hildon-pannable-area.c,
3568         (hildon_pannable_area_get_topmost): Added a new parameter to
3569         filter the the windows that do not include those events. Added
3570         also a condition when finding the window to filter windows that do
3571         not ask for those events.
3572         (hildon_pannable_area_button_press_cb),
3573         (hildon_pannable_area_button_release_cb),
3574         (hildon_pannable_get_child_widget_at): Reviewed the call the the
3575         topmost function, we have added the new parameter.
3576
3577         Fixes: NB#97458 (Pannable area prevents propagation of button
3578         press events)
3579
3580 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3581
3582         * src/hildon-pannable-area.c,
3583         (hildon_pannable_area_initial_effect): Added controls before
3584         launching the timeout and the idle functions.
3585         (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3586         of the method, in some situations it can return with TRUE and 0 in
3587         the timeout.
3588         (hildon_pannable_area_button_press_cb): We do not need to set
3589         DELAY for fading out here.
3590
3591         Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3592
3593 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3594
3595         * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3596         post-cleaning if the selection is not NULL.
3597
3598 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3599
3600         * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3601         all items before restoring the selection.
3602
3603 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3604
3605         * src/hildon-touch-selector.c:
3606         (+hildon_touch_selector_unselect_all):
3607         * src/hildon-touch-selector.h: New API to unselect all items in a
3608         column of the touch selector.
3609
3610 2009-01-14  Alejandro G. Castro  <alex@igalia.com>
3611
3612         * src/hildon-pannable-area.c,
3613         (hildon_pannable_area_redraw): Added a call to the refresh
3614         function inside the redraw because apparently in some cases the
3615         change in the adjustment does not imply a size allocate.
3616
3617         Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3618         despite the view not being scrollable)
3619
3620 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3621
3622         * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3623         leak. Check for NULL before attempting to set the window title.
3624
3625 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3626
3627         * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3628         whether to show or not the 'Done' button each time the dialog is
3629         shown, as it depends on the HildonTouchSelector selection mode.
3630
3631         Fixes: NB#96226 (In multiple selection mode Done button is shown
3632         sometimes in listpicker)
3633
3634 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3635
3636         * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3637         for the number of columns in the HildonTouchSelector more than once.
3638
3639 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3640
3641         * src/hildon-touch-selector.c: Minor documentation fixes.
3642
3643         * src/hildon-picker-dialog.c (+_dialog_update_title)
3644         (_select_on_selector_changed_cb)
3645         (_update_title_on_selector_changed_cb)
3646         (on_selector_columns_changed): Update dialog title when there's no
3647         'Done' button and also when the number of columns in the selector
3648         changes.
3649         Code refactoring.
3650
3651         * src/hildon-picker-button.c (hildon_picker_button_finalize)
3652         (+_selection_changed, hildon_picker_button_on_dialog_response)
3653         (hildon_picker_button_selector_selection_changed)
3654         (+hildon_picker_button_selector_columns_changed)
3655         (hildon_picker_button_set_selector): Update button value and emit
3656         'value-changed' when the number of columns in the selector
3657         changes.
3658         Code refactoring.
3659
3660         Fixes: NB#96225 (Dialog titles are not shown according to the
3661         values selected in the list picker)
3662
3663 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
3664
3665         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3666         (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3667         New "arrow-width" and "arrow-height" style properties to set the
3668         size of the arrow button.
3669         Set name of arrow button ("hildon-edit-toolbar-arrow").
3670
3671         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3672         graphics from theme)
3673
3674 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
3675
3676         * src/hildon-picker-button.c:
3677         (hildon_picker_button_selector_selection_changed): Use
3678         GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3679         the dialog is present.
3680
3681         Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3682         the selection is accepted in the dialog)
3683
3684 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
3685
3686         * src/hildon-color-chooser.h
3687         * src/hildon-color-chooser-dialog.h:
3688         Added G_BEGIN_DECLS and G_END_DECLS
3689
3690 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
3691
3692         (_clean_current_selection): plug a leak in the list.
3693
3694 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
3695
3696         * src/hildon-picker-dialog.c:
3697         (+free_path_list): Method to free a GList of GtkTreePaths.
3698         (_clean_current_selection), (_save_current_selection),
3699         (_restore_current_selection): Save the current selection in
3700         as a list of lists, to support multiple selection properly.
3701
3702 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
3703
3704         patch by Claudio Saavedra (csaavedra@igalia.com)
3705
3706         * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3707         Store the press position.
3708         (+hildon_text_view_button_release_event): If the release position is
3709         close enough to the press position, move the cursor here. Otherwise,
3710         ignore.
3711         (hildon_text_view_class_init): Override GtkTextView press, release, and
3712         motion event handlers, disabling this way text selection through
3713         pointer interaction, and allowing the container widget to handle the
3714         motion event.
3715
3716         Fixes: NB#95828 (HildonTextView functionality)
3717
3718 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
3719
3720         Based on a patch by Iván Gómez (igomez@igalia.com)
3721
3722         * src/hildon-button.[ch]
3723         * src/hildon-calendar.c
3724         * src/hildon-check-button.c
3725         * src/hildon-date-editor.c
3726         * src/hildon-date-selector.c
3727         * src/hildon-picker-button.c
3728         * src/hildon-time-editor.c
3729         * src/hildon-time-selector.c
3730         * src/hildon-touch-selector.[ch]:
3731         Documentation updates
3732
3733 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
3734
3735         * src/hildon-pannable-area.c,
3736         (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3737         threshold, it was required due to X events handling.
3738
3739 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
3740
3741         * src/hildon-pannable-area.c,
3742         (hildon_pannable_area_grab_notify),
3743         (hildon_pannable_area_initial_effect),
3744         (hildon_pannable_area_button_press_cb),
3745         (hildon_pannable_area_button_release_cb),
3746         (hildon_pannable_area_scroll_cb),
3747         (hildon_pannable_area_scroll_to): Review the timeout management of
3748         the scrollbar, the frecuency was incorrectly set.
3749
3750 2009-01-09  Claudio Saavedra  <csaavedra@igalia.com>
3751
3752         * src/hildon-picker-button.c:
3753         (+hildon_picker_button_on_dialog_response),
3754         (hildon_picker_button_clicked): Present the dialog instead of
3755         running it with gtk_dialog_run().
3756
3757         Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3758         picker dialog)
3759
3760 2009-01-07  Alberto Garcia  <agarcia@igalia.com>
3761
3762         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3763         (hildon_app_menu_finalize): When a window is hidden it doesn't
3764         emit notify::is-topmost, so make sure than the menu also
3765         disappears in that case.
3766         (parent_window_topmost_notify): Renamed from parent_window_hidden
3767
3768         Fixes: NB#94460 (stackable window's menu is not closed when its
3769         window is hidden)
3770
3771 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
3772
3773         * src/hildon-touch-selector-entry.c:
3774         (+hildon_touch_selector_entry_set_input_mode),
3775         (+hildon_touch_selector_entry_get_input_mode):
3776         * src/hildon-touch-selector-entry.h: New methods to access the input
3777         mode in the selector's entry.
3778
3779         Fixes: NB#93410 (API required for setting IM mode in
3780         HildonTouchSelectorEntry)
3781
3782 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
3783
3784         * configure.ac: post release version bump.
3785         * debian/changelog: version bump
3786
3787 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
3788
3789         [Release 2.1.34]
3790
3791         * NEWS: Updates.
3792         * configure.ac: Bump version.
3793         * debian/changelog: Updates.
3794
3795 2008-12-19  Claudio Saavedra  <csaavedra@igalia.com>
3796
3797         * src/hildon-touch-selector.c:
3798         (_hildon_touch_selector_has_multiple_selection): No need
3799         to initialize the variables here.
3800
3801 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
3802
3803         * src/hildon-note-private.h
3804         * src/hildon-note.c (event_box_press_event, hildon_note_init)
3805         (hildon_note_finalize, hildon_note_rebuild): Close information
3806         notes when they receive a button press.
3807
3808         Fixes: NB#89890 (Information notes does not get disappeared after
3809         few seconds)
3810
3811 2008-12-17  Claudio Saavedra  <csaavedra@igalia.com>
3812
3813         * src/hildon-wizard-dialog.c: (create_title): Remove translation
3814         mark from the wizard title, as it's not really necessary. Also,
3815         do not display the page title if not set.
3816
3817 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
3818
3819         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3820         (parent_window_hidden): Use the window's "is-topmost" property to
3821         detect when to hide the menu.
3822
3823 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
3824
3825         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3826         (hildon_app_menu_finalize): If the parent window of the menu is
3827         hidden, hide the menu too.
3828
3829         Fixes: NB#94460 (stackable window's menu is not closed when its
3830         window is hidden)
3831
3832 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
3833
3834         * debian/changelog
3835         * debian/libhildon1-examples.install
3836         * debian/rules
3837         * examples/Makefile.am:
3838         Use dh_install to install all examples.
3839         Use DEB_SRCDIR instead of defining SOURCE_DIR
3840
3841 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
3842
3843         * configure.ac: post release version bump.
3844         * debian/changelog: version bump
3845
3846 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
3847
3848         [Release 2.1.32]
3849
3850         * NEWS: updates
3851         * configure.ac: bump version
3852         * debian/changelog: updates
3853         * debian/control: bump gtk+ dependency
3854
3855 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
3856
3857         patch by Christian Dywan (christian@imendio.com)
3858
3859         * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3860         (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3861
3862 2008-12-15  Alberto Garcia  <agarcia@igalia.com>
3863
3864         * src/hildon-check-button.c (hildon_check_button_init)
3865         (hildon_check_button_class_init, hildon_check_button_style_set)
3866         (hildon_check_button_apply_style):
3867         New "checkbox-size" style property.
3868
3869         Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3870         larger / configurable size)
3871
3872 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
3873
3874         * configure.ac: post release version bump.
3875         * debian/changelog: version bump
3876
3877 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
3878
3879         [Release 2.1.30]
3880
3881         * NEWS: updates
3882         * configure.ac: bump version
3883         * debian/changelog: updates
3884
3885 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
3886
3887         * doc/hildon-sections.txt
3888         * src/hildon-pannable-area.c
3889         * src/hildon-program.c
3890         * src/hildon-time-editor.c
3891         * src/hildon-touch-selector-entry.c:
3892
3893         More documentation updates.
3894
3895 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
3896
3897         * doc/hildon-sections.txt
3898         * src/hildon-caption.c
3899         * src/hildon-code-dialog.c
3900         * src/hildon-color-button.c
3901         * src/hildon-controlbar.c
3902         * src/hildon-date-editor.c
3903         * src/hildon-date-selector.c
3904         * src/hildon-edit-toolbar.c
3905         * src/hildon-find-toolbar.c
3906         * src/hildon-font-selection-dialog.c
3907         * src/hildon-gtk.c
3908         * src/hildon-program.c
3909         * src/hildon-range-editor.c
3910         * src/hildon-seekbar.c
3911         * src/hildon-time-editor.c
3912         * src/hildon-time-selector.c
3913         * src/hildon-volumebar-range.c
3914         * src/hildon-volumebar.c
3915         * src/hildon-vvolumebar.c
3916         * src/hildon-weekday-picker.c
3917         * src/hildon-window.c
3918         * src/hildon-wizard-dialog.c:
3919
3920         Lots of documentation fixes.
3921
3922 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3923
3924         Patch contributed by Iván Gómez (igomez@igalia.com)
3925
3926         * src/hildon-check-button.c:
3927         * src/hildon-date-button.c:
3928         * src/hildon-date-selector.c:
3929         * src/hildon-dialog.c:
3930         * src/hildon-edit-toolbar.c:
3931         * src/hildon-entry.c:
3932         * src/hildon-picker-button.c:
3933         * src/hildon-program.c:
3934         * src/hildon-text-view.c:
3935         * src/hildon-time-button.c:
3936         * src/hildon-touch-selector-entry.c:
3937         * src/hildon-window-stack.c:
3938
3939         Add more "since" tags to the new API.
3940
3941 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3942
3943         * doc/hildon-sections.txt: Add below method.
3944         * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3945         version for the hildonized scale.
3946         * src/hildon-gtk.h: Add the definition.
3947
3948         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3949
3950 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3951
3952         * doc/hildon-sections.txt: Add missing entries for new methods.
3953
3954 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
3955
3956         Added API to pannable are in order to get its adjustments. We
3957         added two properties to manage the values we had in the private
3958         structure.
3959
3960         * src/hildon-pannable-area.c:
3961         (hildon_pannable_area_class_init): Added hadjustment and
3962         vadjustment properties in order to expose horizontal and vertical
3963         adjustment.
3964         (hildon_pannable_area_get_property),
3965         (hildon_pannable_area_set_property): Added code to handle the new
3966         properties
3967         (hildon_pannable_area_get_hadjustment),
3968         (hildon_pannable_area_get_vadjustment): API functions to get the
3969         adjustments
3970         * src/hildon-pannable-area.h:
3971         (hildon_pannable_area_get_hadjustment),
3972         (hildon_pannable_area_get_vadjustment): API functions to get the
3973         adjustments
3974
3975 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
3976
3977         Fixed some leaks, after valgrinding.
3978
3979         * src/hildon-touch-selector.c:
3980         (_default_print_func): Fixed a leak.
3981         (hildon_touch_selector_append_column): Fixed a leak.
3982         * src/hildon-date-button.c:
3983         (hildon_date_button_init): Fixed a leak.
3984         * src/hildon-date-selector.c
3985         (hildon_date_selector_finalize): Fixed a leak.
3986
3987 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3988
3989         Based on a patch by Christian Dywan (christian@imendio.com)
3990
3991         * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3992         GtkHScale.
3993         * src/hildon-gtk.h: Add definition.
3994
3995         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3996
3997 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
3998
3999         * src/hildon-picker-button.c: (hildon_picker_button_init),
4000         (hildon_picker_button_new): Set the HildonButton::style property
4001         in the init method, to propagate the value to the derived classes.
4002
4003 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
4004
4005         * src/hildon-button.c: (hildon_button_class_init): Do not make
4006         the "style" property a construct property.
4007
4008 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
4009
4010         * src/hildon-wizard-dialog.h
4011         * src/hildon-wizard-dialog.c
4012         (hildon_wizard_dialog_set_forward_page_func)
4013         * src/hildon-pannable-area.h
4014         * src/hildon-pannable-area.c
4015         (hildon_pannable_area_set_size_request_policy):
4016         Documentation fixes.
4017
4018 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
4019
4020         * doc/hildon-sections.txt: Fixed warning about unused symbols.
4021
4022 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
4023
4024         * doc/hildon-sections.txt: Added sections file.
4025
4026 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
4027
4028         * AUTHORS: Updates.
4029         * src/*.[ch]: Updates.
4030
4031 2008-12-10  Thomas Thurman  <thomas.thurman@collabora.co.uk>
4032
4033         * examples/hildon-progress-indicator-example.c: new file
4034         * examples/Makefile.am: include the new example program
4035
4036 2008-12-10  Alberto Garcia  <agarcia@igalia.com>
4037
4038         * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4039
4040 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4041
4042         * configure.ac: post release version bump
4043         * debian/changelog: version bump
4044
4045 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4046
4047         [Release 2.1.28]
4048
4049         * NEWS: updates
4050         * configure.ac: bump version
4051         * debian/changelog: updates
4052         * debian/control: bump gtk+ dependency
4053
4054 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4055
4056         * src/hildon-dialog.c: Mark as deprecated.
4057         * src/hildon-dialog.h: Mark as deprecated.
4058         * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4059         from HildonDialog and still work, even if
4060         HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4061         break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4062
4063         Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4064         maemo changes) instead)
4065
4066 2008-12-09  Alejandro G. Castro  <alex@igalia.com>
4067
4068         * src/hildon-pannable_area.h:
4069         * src/hildon-pannable_area.c:
4070         (hildon_pannable_area_class_init),
4071         (hildon_pannable_area_set_property),
4072         (hildon_pannable_area_get_property),
4073         (hildon_pannable_area_size_request),
4074         (hildon_pannable_area_get_size_request_policy),
4075         (hildon_pannable_area_set_size_request_policy): Added new API
4076         allowing applications to control the request policy. Now they can
4077         choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4078         children allocation (HILDON_MOVEMENT_CHILDREN).
4079
4080 2008-12-09  Alberto Garcia  <agarcia@igalia.com>
4081
4082         * src/hildon-gtk.h
4083         * src/hildon-gtk.c
4084         (hildon_gtk_tree_view_set_ui_mode)
4085         (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4086         mode of treeviews and iconviews.
4087
4088 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4089
4090         * src/hildon-touch-selector-entry.c:
4091         (hildon_touch_selector_entry_init): Use a HildonEntry instead
4092         of a GtkEntry to get proper theming.
4093
4094         Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4095         widget, not GtkEntry)
4096
4097 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4098
4099         * src/hildon-wizard-dialog.c: (response): Move forward if there is
4100         no HildonWizardDialogPageFunc.
4101
4102 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4103
4104         Patch contributed by Iván Gómez (igomez@igalia.com)
4105
4106         * src/hildon-app-menu.c:
4107         * src/hildon-button.c:
4108         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4109         * src/hildon-stackable-window.c:
4110         * src/hildon-time-selector.c:
4111         * src/hildon-touch-selector.c:
4112         * src/hildon-window.c:
4113
4114         Add more "since" tags to the new API in hildon 2.2.
4115
4116 2008-12-05  Tim Janik  <timj@imendio.com>
4117
4118         Patch contributed by Christian Dywan (christian@imendio.com)
4119
4120         * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4121         HildonSizeType, which are supplied by Gtk+ now.
4122
4123         * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4124
4125         Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4126         (with maemo changes) instead)
4127
4128 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
4129
4130         Patch contributed by Iván Gómez (igomez@igalia.com)
4131
4132         * src/hildon-pannable-area.c: Add "since" tags to the new API in
4133         hildon 2.2.
4134
4135 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
4136
4137         * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4138         (some_page_func), (main): Update the example to use a
4139         HildonWizardDialogPageFunc function.
4140
4141         * src/hildon-wizard-dialog-private.h: Add private data for
4142         the HildonWizardDialogPageFunc function usage.
4143
4144         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4145         (destroy), (hildon_wizard_dialog_init), (response),
4146         (hildon_wizard_dialog_set_forward_page_func):
4147         * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4148         that applications can use to stop a HildonWizardDialog to jump to
4149         the next page.
4150
4151         Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4152         next page)
4153
4154 2008-12-04  Alberto Garcia  <agarcia@igalia.com>
4155
4156         * src/hildon-program.h
4157         * src/hildon-program-private.h
4158         * src/hildon-program.c (hildon_program_init)
4159         (hildon_program_set_common_app_menu)
4160         (hildon_program_get_common_app_menu):
4161         New API for setting a common HildonAppMenu for all
4162         HildonStackableWindows registered with the HildonProgram.
4163
4164         * src/hildon-stackable-window.c
4165         (hildon_stackable_window_toggle_menu):
4166         Use the common HildonAppMenu if a window doesn't have a specific
4167         one.
4168
4169         * src/hildon-app-menu-private.h
4170         * src/hildon-app-menu.c
4171         (hildon_app_menu_get_parent_window):
4172         Function to obtain the window a HildonAppMenu is attached to.
4173         (hildon_app_menu_set_parent_window):
4174         Hide the menu if the parent window is set to NULL.
4175
4176 2008-12-04  Claudio Saavedra  <csaavedra@igalia.com>
4177
4178         * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4179         set GtkTreeView::enable-search to FALSE, to avoid the interactive
4180         search widget to popup.
4181
4182 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
4183
4184         * configure.ac: post release version bump
4185         * debian/changelog: version bump
4186
4187 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
4188
4189         [Release 2.1.26]
4190
4191         * NEWS: updates
4192         * configure.ac: bump version
4193         * debian/changelog: updates
4194
4195 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4196
4197         Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4198
4199         * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4200         (hildon_window_stack_window_realized)
4201         (hildon_window_stack_remove, _hildon_window_stack_do_push):
4202         Set the leader GdkWindow when a window is stacked and realized,
4203         unset it when it's unstacked.
4204         (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4205
4206         Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4207
4208 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4209
4210         * src/hildon-stackable-window.h
4211         * src/hildon-window-stack.h:
4212         Protect definition of HildonWindowStack using the preprocessor.
4213
4214 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4215
4216         * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4217         Fix warning if all menu items are hidden.
4218
4219 2008-12-02  Claudio Saavedra  <csaavedra@igalia.com>
4220
4221         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4222
4223         * src/hildon-controlbar.c:
4224         * src/hildon-hvolumebar.c:
4225         * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4226         Multiple scale size defines updates.
4227
4228         Fixes: NB#94322 (Scale Updates)
4229
4230 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4231
4232         * examples/hildon-app-menu-example.c (create_menu)
4233         Show items after adding them to the menu, as in the future the
4234         menu will no longer call gtk_widget_show() on the added items.
4235
4236         * src/hildon-app-menu.c:
4237         Update example as explained above.
4238
4239 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4240
4241         * src/hildon-app-menu.c
4242         (hildon_app_menu_insert, hildon_app_menu_add_filter):
4243         Make sure that all menu items have finger height.
4244
4245 2008-12-01  Alejandro Pinheiro  <apinheiro@igalia.com>
4246
4247         * src/hildon-picker-dialog.c:
4248         (_on_dialog_response), (_save_current_selection),
4249         (_restore_current_selection), (_clean_current_selection),
4250         (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4251         Defined new functions in order to save the current internal selector
4252         selection previous open the dialog, in case that the use cancel the
4253         interaction, so the widget restores the previous selection.
4254
4255         Fixes: NB#92032 (In calendar application, date values in 'new event' 
4256         are not proper)
4257
4258         (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4259
4260 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
4261
4262         * src/hildon-button.c: Add a reference to the button examples in
4263         hildon-button-example.c
4264
4265         * examples/hildon-button-example.c: Added examples of the most
4266         common button layouts.
4267
4268 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
4269
4270         * src/hildon-app-menu.c (hildon_app_menu_show)
4271         (hildon_app_menu_class_init): Don't show the menu if it's empty.
4272
4273         Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4274
4275 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4276
4277         * src/hildon-picker-dialog.c:
4278         (hildon_picker_dialog_init): Initialize the signal id for
4279         HildonTouchSelector::columns-changed.
4280         (+on_selector_columns_changed): Set up the interaction mode everytime a
4281         column is added or removed from the HildonTouchSelector.
4282         (_hildon_picker_dialog_set_selector): Connect to
4283         HildonTouchSelector::columns-changed and keep track of it.
4284
4285         Make sure to update the interaction mode of the dialog everytime a
4286         column is added or removed in the HildonTouchSelector.
4287
4288         Fixes: NB#93228 (Done button is not shown always in listpicker)
4289
4290 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4291
4292         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4293         a new ::columns-changed signal.
4294         (hildon_touch_selector_append_column): Emit ::columns-changed.
4295         (hildon_touch_selector_remove_column): Emit ::columns-changed.
4296
4297         Add a ::columns-changed signal, emitted when the number of columns in a
4298         HildonTouchSelector changes.
4299
4300 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4301
4302         * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4303         (_hildon_picker_dialog_set_selector): Factor out the code
4304         to set up the dialog interaction mode.
4305
4306 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4307
4308         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4309         (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4310         to signal_changed_id.
4311
4312 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4313
4314         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4315         Minor doc. fixes.
4316
4317 2008-11-27  Alejandro Pinheiro  <apinheiro@igalia.com>
4318
4319         * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4320         Updated the logical ids related to ampm format, as now it is required to
4321         show it correctly localized even on languages with no default
4322         abbreviations for am or pm
4323         (_check_am_pm_format): check correctly the 24h format gconf property
4324
4325         Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4326
4327 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
4328
4329         * src/hildon-button.c: Documentation updates.
4330
4331 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4332
4333         * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4334         * src/hildon-caption.c: (hildon_caption_class_init):
4335         * src/hildon-color-button.c: (hildon_color_button_class_init):
4336         * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4337         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4338         * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4339         * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4340
4341         Remove deprecated GTK+ marshalers and replace them with the ones
4342         provided by GLib, for those available, add a marshaler for
4343         BOOLEAN:VOID, which is not available in GLib, and use it.
4344
4345 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4346
4347         * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4348         the text from the previous column if there is no
4349         HildonTouchSelectorColumn::text-property set.
4350
4351 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
4352
4353         * src/hildon-button.h
4354         * src/hildon-button.c (hildon_button_set_property)
4355         (hildon_button_get_property, hildon_button_class_init)
4356         (hildon_button_set_style, hildon_button_get_style):
4357         New "style" property to change the visual appearance of the
4358         button.
4359
4360         * src/hildon-picker-button.c (hildon_picker_button_new):
4361         Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4362
4363         Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4364         HildonButton look like PickerButton)
4365
4366 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4367
4368         * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4369         column while building the default string.
4370
4371 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
4372
4373         * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4374         scroll indicator by default.
4375
4376         Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4377
4378 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
4379
4380         * src/hildon-main.c: Fix the documentation for hildon_init()
4381
4382 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4383
4384         * doc/hildon-docs.sgml
4385         * doc/hildon.types
4386         * src/Makefile.am
4387         * src/hildon.h
4388         * src/hildon-window-stack-private.h
4389         * src/hildon-window-stack.h
4390         * src/hildon-window-stack.c:
4391         New HildonWindowStack object, that adds support for multiple
4392         stacks of windows per process.
4393
4394         * src/hildon-stackable-window-private.h
4395         * src/hildon-stackable-window.h
4396         * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4397         (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4398         (hildon_stackable_window_show, hildon_stackable_window_hide)
4399         (hildon_stackable_window_class_init)
4400         (hildon_stackable_window_init):
4401         Use HildonWindowStack for stack management.
4402
4403         * src/hildon-program.c (hildon_program_pop_window_stack)
4404         (hildon_program_peek_window_stack)
4405         (hildon_program_go_to_root_window):
4406         Add a fallback implementation to the deprecated functions using
4407         HildonWindowStack.
4408
4409         * examples/hildon-stackable-window-example.c:
4410         Use the new HildonWindowStack API.
4411
4412 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4413
4414         * src/hildon-stackable-window-private.h
4415         * src/hildon-stackable-window.c (hildon_stackable_window_show)
4416         (hildon_stackable_window_hide, hildon_stackable_window_init):
4417         Remove all window stack management.
4418
4419         * src/hildon-program-private.h
4420         * src/hildon-program.h
4421         * src/hildon-program.c (hildon_program_init)
4422         (hildon_program_pop_window_stack)
4423         (hildon_program_peek_window_stack)
4424         (hildon_program_go_to_root_window):
4425         Remove all window stack management and mark functions as
4426         deprecated.
4427
4428 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4429
4430         * src/hildon-app-menu.c (hildon_app_menu_realize):
4431         Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4432
4433 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4434
4435         * configure.ac: post release version bump
4436         * debian/changelog: version bump
4437
4438 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4439
4440         [Release 2.1.24]
4441
4442         * NEWS: updates
4443         * configure.ac: bump version
4444         * debian/changelog: updates
4445
4446 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4447
4448         Based on initial code by Christian Dywan (christian@imendio.com)
4449
4450         * doc/hildon-docs.sgml: Add section for hildon-main.
4451         * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4452         * src/Makefile.am: Add new hildon-main.[ch]
4453         * src/hildon-defines.h: Update the icon sizes.
4454         * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4455         new library initialization files and register icon sizes.
4456         * src/hildon-main.h: New declarations.
4457         * src/hildon.h: Include hildon-main.h
4458
4459         Add new initialization functions to the library. These methods
4460         will register the hildon specific icon sizes and can be used in the
4461         future for other hildon specific bits.
4462
4463         Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4464
4465 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
4466
4467         * src/hildon-window.c: (hildon_window_realize),
4468         (hildon_window_notify), (-hildon_window_update_title): Do not set
4469         the application name in the window title.
4470
4471         Fixes: NB#89754 (Applications shouldn't display their names in the
4472         window title)
4473
4474 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
4475
4476         * src/hildon-note-private.h:
4477         * src/hildon-note.c: (hildon_note_set_property),
4478         (hildon_note_get_property), (hildon_note_class_init),
4479         (hildon_note_init), (hildon_note_finalize),
4480         (hildon_note_new_confirmation_with_icon_name),
4481         (hildon_note_new_information_with_icon_name):
4482
4483         No need to mark as deprecated the actual code. Revert
4484         to avoid missing symbols in widgets using deprecated API.
4485
4486 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
4487
4488         Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4489
4490         * src/hildon-volumebar.h
4491         * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4492         (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4493
4494         * src/hildon-helper.h
4495         * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4496         (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4497
4498         * examples/Makefile.am:
4499         Deprecate hildon-insensitive-example
4500
4501         Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4502
4503 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
4504
4505         * examples/hildon-pannable-area-buttons-scroll-example.c:
4506         Make all buttons finger height
4507
4508 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
4509
4510         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4511         documentation
4512         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4513         update the day model only if it is really required, and to avoid the
4514         full-reconstruction aproach. Now it only add or remove the required days.
4515
4516         The purpose of this is avoid superfluous HildonTouchSelector::changed
4517         signals
4518
4519         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4520         with strange parameters)
4521
4522 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
4523
4524         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4525
4526         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4527         the WINDOW_TYPE property.
4528
4529         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4530
4531 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
4532
4533         * doc/gtk-doc.make:
4534         Fix dependency to allow parallel compilation with make -jX
4535
4536 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
4537
4538         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4539         color frame and some minor tweaks to make it more consistent with
4540         current theming.
4541
4542         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4543         highlighted but not visible)
4544
4545 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
4546
4547         * examples/Makefile.am: Fixed typo in the Makefile.am.
4548
4549 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
4550
4551         Reviewed the use of MAEMO_GTK define, now we add the define in the
4552         compilation line, and we also add it to the pc file.
4553
4554         * configure.ac: Added MAEMO_GTK define to the compilation command
4555         and removed it from the config.h.
4556
4557         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4558         do not have to take care about this define if the library was
4559         compiled with it.
4560
4561         * src/hildon-gtk.c:
4562         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4563
4564 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
4565
4566         * examples/Makefile.am,
4567         * examples/hildon-pannable-area-buttons-scroll-example.c,
4568         * examples/hildon-pannable-area-gesture-signals-example.c,
4569         * examples/hildon-pannable-area-scroll-jump-example.c,
4570         * examples/hildon-pannable-area-tree-view-example.c:
4571         Renamed the pannable area examples, now they have more meaningful
4572         names.
4573
4574 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
4575
4576         * src/hildon-touch-selector.c:
4577         (hildon_touch_selector_set_column_selection_mode): Used of
4578         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4579         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4580         to avoid re-seting the same selection mode.
4581
4582         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4583         breaks HildonPickerDialog)
4584
4585 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
4586
4587         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4588         conditional in the Makefile.am
4589
4590 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
4591
4592         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4593         Remove unused methods.
4594
4595 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
4596
4597         * src/hildon-button.c (hildon_button_init):
4598         Make button images center-aligned by default
4599
4600 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
4601
4602         * src/hildon-gtk.c:
4603         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4604         activated, we have to think about how to deal with both defines
4605         MAEMO_GTK and MAEMO_CHANGES.
4606
4607 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
4608
4609         * examples/hildon-app-menu-example.c (create_menu): Make all
4610         buttons finger size.
4611
4612 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
4613
4614         Fixed the compilation without maemo gtk adding ifdefs with
4615         MAEMO_GTK define to the code, we have to check this version more
4616         carefully.
4617
4618         * examples/Makefile.am: Added control to avoid some examples that
4619         just make sense with maemo gtk.
4620
4621         * src/hildon-gtk.c:
4622         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4623         hildon modes with the define.
4624
4625         * examples/hildon-edit-toolbar-example.c,
4626         (create_icon_view): Create the icon view without hildon-gtk
4627         helpers if we are not using maemo gtk.
4628
4629         * src/hildon-touch-selector.c,
4630         (_create_new_column): Create the treeview without hildon-gtk
4631         helpers if we are not using maemo gtk.
4632
4633 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
4634
4635         * src/hildon-pnnable-area.c,
4636         (hildon_pannable_area_dispose),
4637         (hildon_pannable_area_button_press_cb),
4638         (hildon_pannable_area_child_mapped),
4639         (hildon_pannable_area_add),
4640         (hildon_pannable_area_remove): Added code to control the position
4641         of the event_window when adding and removing children from the
4642         pannable. We have to raise the event window when the child is
4643         mapped.
4644
4645         Fixes: NB#89811 (Not able to select first image thumbnail in multi
4646         selection mode using custom widget inside pannable)
4647
4648 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
4649
4650         * configure.ac: post release version bump
4651         * debian/changelog: version bump
4652
4653 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
4654
4655         [Release 2.1.22]
4656
4657         * NEWS: updates
4658         * configure.ac: bump version
4659         * debian/changelog: updates
4660
4661 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
4662
4663         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4664         search mode, in order to avoid lose the focus on the treeview when
4665         a hw key (like enter) is pressed.
4666
4667         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4668         in HildonDateSelector dialog)
4669
4670 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
4671
4672         * debian/rules: Added --enable-maintainer-mode
4673         * Makefile.am: Added ACLOCAL_AMFLAGS
4674
4675         This allows to properly regenerate the Makefiles if you modify the
4676         configure.ac or any Makefile.am.
4677
4678 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
4679
4680         * examples/hildon-app-menu-example.c: (main): Do not set RC style
4681         properties, not needed at all.
4682
4683 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
4684
4685         * src/hildon-note-private.h: Add strings for the icon and stock_icon
4686         properties.
4687         * src/hildon-note.c: (hildon_note_set_property),
4688         (hildon_note_get_property), (hildon_note_class_init),
4689         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4690         (hildon_note_new_confirmation_add_buttons): Remove icons.
4691         (hildon_note_new_confirmation_with_icon_name): Deprecate.
4692         (hildon_note_new_information_with_icon_name): Deprecate.
4693         (hildon_note_new_confirmation): Act directly, without calling
4694         the deprecated constructor.
4695         (hildon_note_new_information): Act directly, without calling
4696         the deprecated constructor.
4697         * src/hildon-note.h: Mark deprecate methods as such.
4698         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4699         not run tests on the deprecated methods if built with deprecation
4700         disabled.
4701
4702         Fixes: NB#91688 (Never show icons in information notes/confirmation
4703         notes)
4704
4705 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
4706
4707         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4708         (hildon_app_menu_key_press): Remove leftover usage of the
4709         private structure in HildonAppMenu struct.
4710         * src/hildon-app-menu.h: Remove leftover private structure
4711         from the HildonAppMenu struct.
4712
4713         Fixes a crasher when using the HildonAppMenu.
4714
4715 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
4716
4717         * src/hildon-picker-dialog.c: Use appropriate logical id
4718         for the default "Done" text.
4719
4720 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
4721
4722         * configure.ac: post release version bump
4723         * debian/changelog: version bump
4724
4725 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
4726
4727         Modified the way to scroll to the current selection just when the touch
4728         selector is shown on the screen, avoiding a g_idle. Added too a property
4729         to configure this behaviour. See hildon_pannable_area_jump_to_child
4730         documentation for more information.
4731
4732         * src/hildon-touch-selector.c
4733         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4734         Added 'initial-scroll' property
4735         (hildon_touch_selector_set_property): Added
4736         (hildon_touch_selector_map): Removed as not required anymore
4737         (_hildon_touch_selector_on_selected_items): Modified in order to manage
4738         only a concrete column, instead of iterate along all the columns
4739
4740 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4741
4742         [Release 2.1.20]
4743
4744         * NEWS: updates
4745         * configure.ac: bump version
4746         * debian/changelog: updates
4747
4748 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4749
4750         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4751         compilation time warnings.
4752
4753 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4754
4755         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4756         the default value for HildonPannableArea::mov-mode to
4757         HILDON_PANNABLE_AREA_MODE_VERT.
4758
4759         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4760
4761 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4762
4763         Reverting following commit:
4764
4765         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
4766
4767           * src/hildon-app-menu-private.h
4768           * src/hildon-app-menu.[ch]
4769           * src/hildon-button.[ch]
4770           * src/hildon-check-button.[ch]
4771           * src/hildon-entry.[ch]
4772           * src/hildon-pannable-area.[ch]
4773           * src/hildon-text-view.[ch]:
4774           Added private field to the object's structure.
4775
4776         because it causes an ABI breakage. We will need to introduce these
4777         changes later at some point. See NB#91636 for an extensive
4778         explanation and status.
4779
4780 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4781
4782         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4783
4784         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4785         remove special cases that are no longer necessary.
4786
4787         Fixes: NB#91016 (Change toolbar sizes, simplification)
4788
4789 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
4790
4791         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4792         is shown in the cancel note.
4793
4794 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
4795
4796         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4797         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4798         (hildon_seekbar_init): Remove steppers, remove expose event.
4799         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4800
4801         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4802
4803 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
4804
4805         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4806         label font to "SmallSystemFont" for vertically arranged buttons.
4807
4808         Fixes: NB#90662 (HildonButton "value" and "detail" text is
4809         unformatted)
4810
4811 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
4812
4813         * src/hildon-check-button.c
4814         (hildon_check_button_set_active, hildon_check_button_clicked):
4815         Don't access private parts directly, use getters instead.
4816
4817 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
4818
4819         * src/hildon-check-button.c (hildon_check_button_new):
4820         Align the contents of the check button to the left.
4821
4822 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
4823
4824         * src/hildon-pannable-area.c,
4825         (hildon_pannable_area_scroll_to),
4826         (hildon_pannable_area_jump_to),
4827         (hildon_pannable_area_scroll_to_child),
4828         (hildon_pannable_area_jump_to_child): Replace the mapped
4829         precondition of these functions with the realized, it is the
4830         correct state of the widget in this case. Changed the
4831         documentation according to this modification.
4832
4833 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
4834
4835         Added a new EXTRA_CFLAGS option to add the deprecated define to
4836         the compilation command. This way we can avoid using the define in
4837         the documentation compilation.
4838
4839         * configure.ac: Defined EXTRA_CFLAGS.
4840
4841         * examples/Makefile.am:
4842         * src/Makefile.am:
4843         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4844
4845 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
4846
4847         * src/hildon-picker-dialog.c:
4848         Defined a utility macro with the desired touch selector height
4849         Removed currently unused separator, and title_label variables from
4850         private structure.
4851         (hildon_picker_dialog_init): Removed code related to the creation
4852         of unused private variables title_label and separator.
4853         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4854         to ensure correct visualization of the touch selector inside the dialog.
4855         * src/hildon-touch-selector.c
4856         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4857         ensure a concrete height of the widget.
4858
4859 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
4860
4861         * src/Makefile.am:
4862         * tests/Makefile.am:
4863
4864         Remove spurious whitespaces.
4865
4866 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
4867
4868         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4869         compilation warning after the cancel button removal.
4870
4871 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
4872
4873         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4874
4875         * configure.ac: Added an AM_CONDITIONAL in order to use in the
4876         Makefile.am, that way we can choose not to compile some examples
4877         and tests of the deprecated widgets.
4878
4879         * examples/Makefile.am: Divided the sources in deprecated and
4880         non-deprecated.
4881
4882         * src/Makefile.am: Added undef statement of the deprecated
4883         symbol to the enums file generation process.
4884
4885         * src/hildon-color-chooser-dialog.c
4886         * src/hildon-color-chooser-dialog.h
4887         * src/hildon-color-button.c
4888         * src/hildon-color-button.h
4889         * src/hildon-color-chooser.c
4890         * src/hildon-color-chooser.h
4891         * src/hildon-controlbar.c
4892         * src/hildon-controlbar.h
4893         * src/hildon-date-editor.c
4894         * src/hildon-date-editor.h
4895         * src/hildon-hvolumebar.c
4896         * src/hildon-hvolumebar.h
4897         * src/hildon-private.c
4898         * src/hildon-private.h
4899         * src/hildon-range-editor.c
4900         * src/hildon-range-editor.h
4901         * src/hildon-seekbar.c
4902         * src/hildon-seekbar.h
4903         * src/hildon-time-editor.c
4904         * src/hildon-time-editor.h
4905         * src/hildon-time-picker.c
4906         * src/hildon-time-picker.h
4907         * src/hildon-volumebar.c
4908         * src/hildon-volumebar.h
4909         * src/hildon-vvolumebar.c
4910         * src/hildon-vvolumebar.h
4911         * src/hildon-bread-crumb-trail.h
4912         * src/hildon-bread-crumb-trail.c
4913         * src/hildon-calendar-popup.c
4914         * src/hildon-calendar-popup.h
4915         * src/hildon-weekday-picker.c:
4916         * src/hildon-weekday-picker.h:
4917         * src/hildon-bread-crumb-widget.c:
4918         * src/hildon-bread-crumb-widget.h:
4919         * src/hildon-bread-crumb.c:
4920         * src/hildon-bread-crumb.h:
4921         * src/hildon-calendar.c:
4922         * src/hildon-calendar.h:
4923         * src/hildon-caption.c:
4924         * src/hildon-code-dialog.c:
4925         * src/hildon-code-dialog.h:
4926         * src/hildon-font-selection-dialog.c:
4927         * src/hildon-font-selection-dialog.h:
4928         * src/hildon-get-password-dialog.c:
4929         * src/hildon-get-password-dialog.h:
4930         * src/hildon-login-dialog.c:
4931         * src/hildon-login-dialog.h:
4932         * src/hildon-number-editor.c:
4933         * src/hildon-number-editor.h:
4934         * src/hildon-set-password-dialog.c:
4935         * src/hildon-set-password-dialog.h:
4936         * src/hildon-sort-dialog.c:
4937         * src/hildon-sort-dialog.h: This is the list of deprecated
4938         widgets.
4939
4940         * src/hildon-touch-selector.c:
4941         * src/hildon-window.c: Added undef statement to avoid compilation
4942         warnings
4943
4944         * tests/Makefile.am: Divided the sources in deprecated and
4945         non-deprecated.
4946
4947         * tests/check_test.c,
4948         (configure_tests): Marked the deprecated code that was adding
4949         suites with deprecated tests.
4950
4951         Fixes: NB#91135 (Deprecate legacy hildon widgets)
4952
4953 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
4954
4955         * src/hildon-touch-selector.c: (_default_print_func): Do not
4956         duplicate a string returned by gtk_tree_model_get(), it is already
4957         allocated for us.
4958
4959         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4960         function)
4961
4962 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
4963
4964         * src/hildon-pannable-area.c
4965         (hildon_pannable_area_add_with_viewport): Reviewed the complete
4966         method, it had problems when adding a widget with viewport the
4967         second time. Now checks if it already has a viewport and uses it.
4968
4969         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4970         on child)
4971
4972 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
4973
4974         * src/hildon-pannable-area.c,
4975         (hildon_pannable_area_scroll_to),
4976         (hildon_pannable_area_jump_to),
4977         (hildon_pannable_area_scroll_to_child),
4978         (hildon_pannable_area_jump_to_child): Added a precondition to the
4979         scroll and jump to functions: the widget must be mapped before we
4980         can safely call these functions. We have also added documentation
4981         to the functions to explain how to use them in this situation.
4982
4983
4984 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
4985
4986         Reviewed the threading handling of the pannable widget, we have
4987         used the gdk_threads_add_timeout function instead of the usual
4988         glib handlers. This avoids some problems with the threads.
4989
4990         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4991         (hildon_pannable_area_initial_effect),
4992         (hildon_pannable_area_scroll_indicator_fade),
4993         (hildon_pannable_area_button_press_cb),
4994         (hildon_pannable_area_timeout),
4995         (hildon_pannable_area_motion_notify_cb),
4996         (hildon_pannable_area_button_release_cb),
4997         (hildon_pannable_area_scroll_cb),
4998         (hildon_pannable_area_scroll_to): Removed the
4999         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5000         gdk_threads_add_timeout.
5001
5002         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5003
5004 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
5005
5006         [Release 2.1.18]
5007
5008         * NEWS: updates
5009         * configure.ac: bump version
5010         * debian/changelog: updates
5011
5012 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
5013
5014         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5015         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5016         * src/hildon-color-chooser-dialog.c:
5017         (hildon_color_chooser_dialog_init):
5018         * src/hildon-font-selection-dialog.c:
5019         (hildon_font_selection_dialog_init):
5020         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5021
5022         Remove all cancel/close-like dialogs, as these are not going to be
5023         displayed at all.
5024
5025 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
5026
5027         * src/hildon-note.c: (hildon_note_rebuild),
5028         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5029         when needed.
5030
5031         Fixes: NB#90661 (Delete dialog is displayed without NO button)
5032
5033 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
5034
5035         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5036         sure all buttons are shown, even the Cancel/Close-like ones.
5037
5038         Fixes: NB#90861 (Custom Confirmation dialogs should be
5039         protected from cancel button removal)
5040
5041 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
5042
5043         * debian/control: Change libhildon1-examples dependency from libhildon1
5044         to libhildon1-dev
5045         * debian/libhildon1-examples.install
5046         * debian/rules
5047         * Makefile.am: Modified the final install directory for the examples on
5048         package libhildon1-examples
5049         * Makefile.static: Update clean target in order to remove all the binary
5050         examples
5051
5052         Changes suggested by Claudio after review new libhildon1-examples package
5053
5054 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
5055
5056         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5057         * src/hildon-touch-selector.c: Ditto.
5058
5059 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
5060
5061         * debian/control: Added new package libhildon1-examples, in order to pack
5062         the current hildon examples as documentation
5063         * debian/rules: Not to compress .c files, modify some includes on the
5064         examples (as normally are compiled locally, but when installed it will
5065         require to include the installed libhildon1 library), and rename
5066         Makefile.static
5067         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5068         install all the example files on the new example package
5069         * examples/Makefile.static: Added static makefile that can be used to
5070         compile the examples, once installed the new example package
5071         * examples: Most of the examples were modified in order to grant that
5072         all use only '#include "hildon.h"', in order to be easy to prepare
5073         it on the example package
5074
5075 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
5076
5077         * debian/control
5078         * debian/libhildon1-dev.install
5079         * debian/libhildon1-doc.install:
5080         Move all gtk-doc files to a separate libhildon1-doc package.
5081
5082 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
5083
5084         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
5085
5086         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5087
5088 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
5089
5090         * debian/rules: Fixed a error in order to avoid unnecessary calls
5091         to autogen.sh on package building
5092
5093 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
5094
5095         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5096
5097 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
5098
5099         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5100         header include.
5101
5102 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
5103
5104         * src/hildon-picker-button.c
5105         (hildon_picker_button_finalize):
5106         Free priv->done_button_text
5107
5108         * src/hildon-time-button.c
5109         (hildon_time_button_set_time)
5110         * src/hildon-picker-button.c
5111         (hildon_picker_button_clicked)
5112         (hildon_picker_button_selector_selection_changed)
5113         (hildon_picker_button_set_selector)
5114         * src/hildon-date-button.c
5115         (hildon_date_button_set_date):
5116         Free strings returned by hildon_touch_selector_get_current_text()
5117
5118         * src/hildon-button.c (hildon_button_construct_child):
5119         Fix leaks in priv->image and priv->label_box
5120
5121         Fixes: NB#90535 (Memory leak in picker button)
5122
5123 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
5124
5125         * src/hildon-button.c: (hildon_button_get_property): Do not access
5126         private elements directly, use getters instead.
5127
5128 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
5129
5130         * src/hildon-app-menu-private.h
5131         * src/hildon-app-menu.c
5132         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5133         Store the menu's parent window.
5134
5135         * src/hildon-stackable-window.c
5136         (hildon_stackable_window_toggle_menu)
5137         (hildon_stackable_window_finalize):
5138         Set the menu's parent window when the menu is shown, unset it when
5139         it is destroyed.
5140
5141         * src/hildon-app-menu.c
5142         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5143         (hildon_app_menu_class_init):
5144         Send unhandled keyboard accelerators to the parent window.
5145
5146 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
5147
5148         * src/hildon-stackable-window.c
5149         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5150
5151 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5152
5153         * configure.ac: post release version bump
5154
5155 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5156
5157         * NEWS: Updates
5158         * configure.ac: Bump version
5159         * debian/changelog: Updates
5160         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5161         gtk-doc 1.10.
5162
5163 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
5164
5165         Patch contributed by Daniel Borgmann (danielb@openismus.com)
5166
5167         * src/hildon-gtk.h
5168         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5169         GtkMenu with Hildon style.
5170
5171 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5172
5173         * src/hildon-picker-button.c:
5174         (hildon_picker_button_set_done_button_text): Set the dialog's
5175         done button text here as well.
5176
5177         Fixes: NB#90232 (Picker button does not set the label on done button
5178         for the second time)
5179
5180 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5181
5182         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5183         warning message.
5184
5185 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
5186
5187         * src/hildon-app-menu.c (hildon_app_menu_insert)
5188         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5189         the HildonAppMenu to be activatable using keyboard accelerators
5190         when the menu is not being shown.
5191
5192         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5193
5194 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
5195
5196         * src/hildon-stackable-window.c
5197         (hildon_stackable_window_show):
5198         Don't hide old windows automatically when new windows are shown:
5199         this is now a task for the window manager.
5200         (hildon_stackable_window_class_init)
5201         (hildon_stackable_window_hide):
5202         Remove windows from the stack everytime they're hidden.
5203         (hildon_stackable_window_realize):
5204         Don't change the _NET_WM_WINDOW_TYPE property. Use
5205         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5206         it as a stackable window.
5207
5208         * src/hildon-program.c
5209         (hildon_program_pop_window_stack):
5210         Just hide the window to remove it from the stack.
5211         (hildon_program_go_to_root_window):
5212         Don't call gtk_widget_show(), this is now a task for the window
5213         manager.
5214
5215         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5216
5217 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
5218
5219         * src/hildon-button.c
5220         (hildon_button_construct_child):
5221         Don't pack anything in the button until text or image are
5222         set. This allows adding a custom child after creating the button
5223         with hildon_button_new().
5224         (hildon_button_finalize, hildon_button_class_init)
5225         (hildon_button_init, hildon_button_set_arrangement): Destroy the
5226         alignment and the label box even when they're not packed in the
5227         button.
5228
5229 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
5230
5231         * src/hildon-touch-selector.h:
5232         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5233         currently the type definition was using GTK_TYPE_VBOX
5234         * src/hildon-touch-selector.c:
5235         Added some implementation notes in order to clarify that any other widget
5236         added without the column related API will not be included on the
5237         selection logic, and how the widget is freed, as some people ask about
5238         it.
5239         (hildon_touch_selector_remove): Reimplemented in order to free properly
5240         the column related data when you remove the private hbox.
5241         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5242         to get a proper HildonTouchSelectorColumn documentation
5243
5244 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
5245
5246         * src/hildon-touch-selector-entry.c:
5247         (hildon_touch_selector_entry_print_func): Return NULL if there is no
5248         text in the GtkEntry and there is no item selected. Fixes a
5249         potential crasher.
5250
5251 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
5252
5253         * src/hildon-app-menu-private.h
5254         * src/hildon-app-menu.[ch]
5255         * src/hildon-button.[ch]
5256         * src/hildon-check-button.[ch]
5257         * src/hildon-entry.[ch]
5258         * src/hildon-pannable-area.[ch]
5259         * src/hildon-text-view.[ch]:
5260         Added private field to the object's structure.
5261
5262 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
5263
5264         * configure.ac: post-release version bump
5265
5266 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
5267
5268         [Release 2.1.14]
5269
5270         * configure.ac: pre-release version bump
5271         * NEWS: updates.
5272         * debian/changelog: updates.
5273
5274 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
5275
5276         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5277         Disconnect the handler for HildonTouchSelector::changed.
5278
5279         (hildon_picker_button_selector_selection_changed): Update the button
5280         value if the selection change was not triggered by the
5281         HildonPickerDialog.
5282
5283         (hildon_picker_button_set_selector): connect to
5284         HildonTouchSelector::changed.
5285
5286         Fixes: NB#89650 (Picker button is not updated, when selection in
5287         selector has changed)
5288
5289 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
5290
5291         * src/hildon-picker-dialog.c
5292         (hildon_picker_dialog_realize): Removed as not required
5293         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5294         * src/hildon-picker-button.c
5295         (_current_selector_empty): New function, checks if the selector is empty
5296         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5297         if the current selector is empty, in order to avoid to show the dialog
5298         close the dialog in this case (and shows a g_warning).
5299
5300         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5301
5302 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
5303
5304         * src/hildon-pannable-area.c,
5305         (hildon_pannable_area_scroll): Added clause to stop movement when
5306         the child of pannable is smaller than one page.
5307         (hildon_pannable_area_scroll_to): Added conditions to avoid
5308         starting the scrolling movement if the child is smaller than one
5309         page, the complete child is in the screen, we do not have to move.
5310
5311         Fixes: NB#89632 (Picker button selection doesn't change on first click)
5312
5313 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5314
5315         * src/hildon-app-menu.c: Removed the 'columns' property, as now
5316         this is managed automatically by the widget when the size of the
5317         screen changes.
5318
5319 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5320
5321         * src/hildon-picker-button.c
5322         (hildon_picker_button_set_done_button_text): Make a copy of the
5323         text, and free the previous value.
5324
5325 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
5326
5327         * src/hildon-touch-selector-entry.c:
5328         (hildon_touch_selector_entry_print_func): Return the selected row's
5329         text if the entry is empty.
5330
5331         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5332         entry is empty)
5333
5334 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
5335
5336         * src/hildon-touch-selector-entry.c: Minor docs fixes.
5337
5338 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5339
5340         * doc/hildon.types
5341         * src/hildon-check-button.h
5342         * src/hildon-check-button.c
5343         * examples/hildon-check-button-example.c:
5344         HildonCheckButton is now a new widget. 'toggled' signal added.
5345
5346 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
5347
5348         * src/hildon-program-private.h
5349         * src/hildon-program.c (hildon_program_init)
5350         (hildon_program_finalize): Removed unused variables group_leader
5351         and name from HildonProgramPrivate.
5352
5353 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
5354
5355         * src/hildon-check-button.c (hildon_check_button_set_active)
5356         (hildon_check_button_get_active, hildon_check_button_new): Use
5357         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5358
5359 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
5360
5361         * src/hildon-touch-selector.h
5362         (hildon_touch_selector_set_column_attributes): added deprecation
5363         guard HILDON_DISABLE_DEPRECATED
5364         * src/hildon-time-selector.c
5365         (hildon_time_selector_set_time)
5366         (hildon_time_selector_get_time): Fixed a typo on documentation
5367         * src/hildon-touch-selector.c: update HildonTouchSelector and
5368         HildonTouchSelectorColumn documentation
5369         * src/hildon-touch-selector-entry.c: update "text-column" property
5370         documentation
5371         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5372         to be added to the general documentation.
5373
5374 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
5375
5376         * examples/hildon-pannable-area-example-4.c,
5377         (main),
5378         * examples/hildon-pannable-area-example.c,
5379         (main): Modified the code in order to use the container add, with
5380         viewport treeviews could have problems if they are really big.
5381
5382 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
5383
5384         * src/hildon-weekday-picker.c,
5385         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5386         the agreement regarding deprecation in the library.
5387
5388 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
5389
5390         * examples/hildon-picker-button-multicolumn-example.c:
5391         (main): Use custom "done" button text.
5392
5393         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5394         (hildon_picker_button_set_property),
5395         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5396         (hildon_picker_button_init),
5397         (+hildon_picker_button_get_done_button_text),
5398         (+hildon_picker_button_set_done_button_text): New methods to customize
5399         the "done" button label in the launched HildonPickerDialog. Also,
5400         make it a property.
5401
5402         * src/hildon-picker-button.h: add the public API.
5403
5404 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
5405
5406         * src/hildon-date-selector.h:
5407         * src/hildon-picker-dialog.h:
5408         * src/hildon-time-selector.h:
5409         * src/hildon-touch-selector-column.h:
5410         * src/hildon-touch-selector.h:
5411
5412         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5413         declarations. Fixes gtk-doc warnings.
5414
5415 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5416
5417         * src/hildon-picker-dialog.h
5418         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5419         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5420
5421         Fixes: NB#89329 (selectors in picker dialog are not visible when a
5422         long text is set as label for done button)
5423
5424 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5425
5426         * src/hildon-dialog.c (hildon_dialog_add_button):
5427         Set fixed width to all buttons in the HildonDialog.
5428
5429 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5430
5431         Patch contributed by Daniel Borgmann (danielb@openismus.com)
5432
5433         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5434         Set widget name using class name plus "-finger" or "-thumb".
5435
5436 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
5437
5438         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5439         'clicked' when the state of the button is manually changed.
5440
5441 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
5442
5443         * src/hildon-app-menu.c (hildon_app_menu_realize)
5444         (hildon_app_menu_unrealize, hildon_app_menu_init)
5445         (hildon_app_menu_class_init, item_visibility_changed):
5446         Change the menu layout when the size of the screen changes.
5447         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5448         Show warning only when changing the number of colums using the
5449         property.
5450
5451 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
5452
5453         * debian/compat: Set to 5
5454         * debian/control: Update dependencies.
5455         * debian/libhildon1-dbg.install: Remove.
5456         * debian/libhildon1-dev.install: Update according to cdbs paths.
5457         * debian/libhildon1.install: Update according to cdbs paths.
5458         * debian/rules: Switch to cdbs.
5459
5460 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5461
5462         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5463         'item' variable renamed to 'filter'
5464
5465 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5466
5467         * src/hildon-app-menu.c (hildon_app_menu_insert)
5468         (hildon_app_menu_add_filter, remove_item_from_list)
5469         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5470         Don't leak hidden items when the menu is destroyed.
5471
5472 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5473
5474         * src/hildon-app-menu.c (hildon_app_menu_insert)
5475         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5476         (hildon_app_menu_set_columns, item_visibility_changed)
5477         (filter_visibility_changed, hildon_app_menu_repack_filters)
5478         (hildon_app_menu_repack_items):
5479         Repack items and filters separately.
5480
5481         Don't repack all items, change only the ones that are needed to
5482         update the layout.
5483
5484 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
5485
5486         * src/Makefile.am: added hildon-touch-selector-column.h
5487
5488 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
5489
5490         * src/hildon-touch-selector.c: added the property "text-column" to the
5491         class HildonTouchSelectorColumn, and related get/set functions
5492         (_default_printf_func): updated to use "text-column" property
5493         * src/hildon-touch-selector-entry.c: mark as deprecated the property
5494         "text-column" in his documentation, as this is now included on
5495         HildonTouchSelectorColumn. The get/set_property can still be used,
5496         working as a wrapper to the concrete column "text-column" property
5497         (_text_column_modified): callback added in order to handle the signal
5498         "notify::text-column" of the concrete HildonTouchSelectorColumn
5499         (hildon_touch_selector_entry_get_text_column)
5500         (hildon_touch_selector_entry_set_text_column): Added documentation, and
5501         modified in order to use the HildonTouchSelectorColumn "text-column"
5502         property
5503         * src/hildon-time-selector.c:
5504         * src/hildon-date-selector.c:
5505         * examples/hildon-touch-selector-example.c
5506         * examples/hildon-touch-selector-multi-cells-example.c
5507         * examples/hildon-picker-button-multicolumn-example.c
5508         Set the right value to "text-column" property on the creation of a new
5509         column using hildon_touch_selector_append_column()
5510
5511         Fixes: NB#88644 (Hardcoded first column of the model as text column)
5512
5513 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
5514
5515         * src/hildon-app-menu.c
5516         (hildon_app_menu_construct_child, hildon_app_menu_init): When
5517         updating the layout of the menu, don't create all widgets again,
5518         just repack the items in their new places.
5519
5520 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
5521
5522         * src/hildon-time-selector.c
5523         (hildon_time_selector_get_time)
5524         (hildon_time_selector_set_time)
5525         Added documentation of these public methods
5526
5527         * src/hildon-date-button.h
5528         * src/hildon-touch-selector-column.h
5529         * src/hildon-time-button.h
5530         * src/hildon-picker-dialog.h
5531         * src/hildon-time-selector.h
5532         * src/hildon-picker-button.h
5533         * src/hildon-touch-selector.h
5534         * src/hildon-time-picker.h
5535         * src/hildon-date-selector.h
5536         * src/hildon-touch-selector-entry.h
5537         Modified in order to use hildon-widgets code style
5538
5539 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
5540
5541         Added deprecated support to the compilation process using
5542         HILDON_DISABLE_DEPRECATED
5543
5544         * configure.ac: Added the --disable-deprecated to the configure
5545         script
5546
5547         * src/hildon-weekday-picker.c:
5548         * src/hildon-weekday-picker.h: Deprecated widget, example of how
5549         to use the deprecated support. We will update the other deprecated
5550         widgets status in a new patch.
5551
5552 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
5553
5554         * configure.ac: Fixed typo with fatal warnings support, the
5555         variable name was not correct
5556
5557 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
5558
5559         * src/hildon-app-menu.c
5560         * src/hildon-program.c: Update documentation.
5561
5562 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5563
5564         * configure.ac: Post-release version bump.
5565
5566 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5567
5568         [Release 2.1.12]
5569
5570         * NEWS: Update.
5571         * configure.ac: Pre-release version bump.
5572         * debian/changelog: Updates.
5573
5574 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5575
5576         * NEWS: Update news for previous releases.
5577
5578 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5579
5580         * examples/hildon-touch-selector-multi-cells-example.c:
5581         (create_selector): Update the example to use
5582         hildon_touch_selector_append_column() with a NULL renderer and set
5583         the renderers later.
5584         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5585         passed a NULL renderer. This is documented behavior now.
5586
5587         Allow passing a NULL renderer to hildon_touch_selector_append_column().
5588         This must be used if the developer wants full control on the layout of
5589         the renderers to be added to the column.
5590
5591         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5592
5593 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5594
5595         * src/hildon-touch-selector.c: Documentation fixes.
5596
5597 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5598
5599         * src/hildon-wizard-dialog-private.h: Remove image and box.
5600         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5601         (hildon_wizard_dialog_set_property), (response): Completely remove
5602         image/icon support, and the containers required for the layout.
5603
5604         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5605
5606 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
5607
5608         * src/hildon-app-menu.c: Updated documentation.
5609
5610         * src/hildon-stackable-window.c
5611         (hildon_stackable_window_set_main_menu): Unref the old menu after
5612         ref'ing the new one.
5613
5614 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
5615
5616         * src/hildon-stackable-window.c
5617         (hildon_stackable_window_set_main_menu): Unref the previous menu
5618         instead of destroying it.
5619
5620         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5621         floating reference and set has_user_ref_count to FALSE to make
5622         HildonAppMenu act like a normal ref-counted widget and not a
5623         toplevel widget.
5624
5625         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5626         changed)
5627
5628 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
5629
5630         * src/hildon-touch-selector-column.h: new file
5631         * src/hildon-touch-selector.h
5632         * src/hildon-touch-selector.c
5633         Implemented GtkCellLayout interface, in order to allow to configure
5634         the cell layout on each individual selector column
5635         (hildon_touch_selector_set_column_attributes): marked as deprecated
5636         * examples/hildon-touch-selector-multi-cells-example.c
5637         Example of how to use the GtkCellLayout interface on the selector
5638
5639         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5640
5641 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5642
5643         * src/hildon-app-menu.h
5644         * src/hildon-app-menu.c
5645         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5646         (hildon_app_menu_append, hildon_app_menu_prepend):
5647         New methods to prepend, insert and move items in the menu.
5648
5649 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
5650
5651         * src/hildon-wizard-dialog.c:
5652
5653         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5654         button.
5655         (create_title): Update logical IDs and related code.
5656         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5657
5658         * src/hildon-wizard-dialog.h: Note that
5659         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5660         point, as it is not used anymore.
5661
5662         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5663
5664 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
5665
5666         * src/hildon-note.c:
5667         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5668         shown.  Do not display an icon in confirmation notes nor information
5669         notes.
5670         (hildon_note_set_button_text): Update logical ID for cancel button.
5671
5672         Fixes: NB#88850 (Update HildonNote button strings + signals)
5673
5674 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5675
5676         * src/hildon-stackable-window.c
5677         (hildon_stackable_window_set_main_menu): Fix compilation warning.
5678
5679 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5680
5681         * src/hildon-app-menu-private.h
5682         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5683         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5684         (hildon_app_menu_init, hildon_app_menu_class_init): Added
5685         temporary property 'columns' to change the number of columns.
5686
5687 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
5688
5689         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5690
5691         * examples/hildon-note-example.c: (on_information_clicked),
5692         (on_confirmation_clicked), (on_progress_clicked), (main): Add
5693         debugging information.
5694         * src/hildon-note-private.h: Remove close_if_pressed_outside,
5695         not needed anymore.
5696         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5697         (hildon_note_rebuild): Remove special handling of tapping outside/inside
5698         in order to close: this will be handled by the WM from now on.
5699
5700         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5701
5702 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5703
5704         * src/hildon-app-menu-private.h
5705         * src/hildon-app-menu.c
5706         (hildon_app_menu_append, hildon_app_menu_add_filter)
5707         (button_visibility_changed, hildon_app_menu_apply_style)
5708         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5709         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5710         layout everytime a button (item or filter) is shown or hidden.
5711
5712         * src/hildon-stackable-window.c
5713         (hildon_stackable_window_set_main_menu): Destroy the old menu when
5714         setting a new one.
5715
5716 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
5717
5718         * src/hildon-touch-selector.c:
5719         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5720         that the treeview inside the touch selector is in fremantle hildon mode
5721         * examples/hildon-date-button-example.c
5722         * examples/hildon-picker-button-multicolumn-example.c
5723         * examples/hildon-touch-selector-entry-example.c
5724         * examples/hildon-touch-selector-example.c
5725         * examples/hildon-time-button-example.c
5726         * examples/hildon-picker-button-example.c:
5727         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5728
5729 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
5730
5731         * examples/hildon-text-view-example.c: (main): Remove the
5732         gtkrc bits, now handled by the theme.
5733
5734 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
5735
5736         * src/hildon-picker-button.c (hildon_picker_button_set_active):
5737         Fix memory leak
5738
5739 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5740
5741         * po/Makefile.am: Install properly the mo files.
5742         * po/en_GB.po: Update translation, to ease testing purposes.
5743
5744 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5745
5746         * examples/hildon-picker-button-example.c: (main): Select an item
5747         in the selector before setting it to the button.
5748
5749 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5750
5751         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5752         Update button's value if the selector has an item active.
5753
5754         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5755         'value' with the selector)
5756
5757 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5758
5759         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5760         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5761         (hildon_picker_button_class_init): Plug the finalize method.
5762         (hildon_picker_button_set_selector): If there's a previously set
5763         selector, unref'it before setting a new one.
5764
5765         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5766         HildonTouchSelector)
5767
5768 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
5769
5770         * src/hildon-touch-selector-entry.c:
5771         (hildon_touch_selector_entry_changed): Check if there is no text
5772         selected before setting the entry text.
5773         Fixes: NB#88576
5774
5775 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
5776
5777         * src/hildon-touch-selector.h
5778         * src/hildon-touch-selector.c
5779         (hildon_touch_selector_get_active)
5780         (hildon_touch_selector_set_active): New methods to set/get the
5781         index of the selected item.
5782
5783         * src/hildon-picker-button.h
5784         * src/hildon-picker-button.c
5785         (hildon_picker_button_get_active)
5786         (hildon_picker_button_set_active): New methods to set/get the
5787         index of the selected item.
5788
5789 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
5790
5791         * configure.ac: post-release version bump.
5792
5793 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
5794
5795         Release 2.1.10-1.
5796
5797         * configure.ac: Pre-release version bump.
5798         * debian/changelog: Updates.
5799         * debian/control: Add myself as maintainer and depend on l10n
5800         packages.
5801
5802 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
5803
5804         * src/hildon-window.c
5805         (hildon_window_set_main_menu)
5806         * src/hildon-stackable-window.c
5807         (hildon_stackable_window_set_main_menu):
5808         Updated documentation.
5809
5810 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
5811
5812         * src/hildon-date-selector.c (hildon_date_selector_finalize):
5813         Don't free selector->priv manually.
5814         Fixes: NB#88414
5815
5816 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
5817
5818         * src/hildon-gtk.c,
5819         (hildon_gtk_window_set_progress_indicator):
5820         * src/hildon-gtk.h: Added the new API
5821         hildon_gtk_window_set_progress_indicator, it changes the state of
5822         the window progress hint.
5823
5824 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
5825
5826         * src/hildon-button.c
5827         * src/hildon-stackable-window.c: Minor documentation updates.
5828
5829 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
5830
5831         * src/hildon-stackable-window.c: Updated documentation.
5832
5833 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
5834
5835         * src/hildon-defines.h: Update margins definitions
5836         to the Fremantle sizes.
5837         Fixes: NB#88364
5838
5839 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
5840
5841         * src/hildon-touch-selector.c,
5842         (_hildon_touch_selector_set_model): Cleaning the code after
5843         review, removed g_print and #if 0 from the code.
5844
5845 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
5846
5847         * src/hildon-edit-toolbar.c: Update documentation.
5848
5849 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
5850
5851         * src/hildon-check-button.h
5852         * src/hildon-check-button.c
5853         (hildon_check_button_set_label, hildon_check_button_get_label)
5854         * examples/hildon-check-button-example.c
5855         (button_clicked_cb):
5856         Removed deprecated methods.
5857
5858 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
5859
5860         * src/hildon-text-view.c:
5861         Add sample code to the documentation.
5862
5863         * src/hildon-entry.h
5864         * src/hildon-text-view.h:
5865         Minor cosmetic changes.
5866
5867         * src/hildon-entry.c:
5868         Add sample code to the documentation.
5869         (hildon_entry_init, hildon_entry_refresh_contents):
5870         Don't allow NULL values in the placeholder.
5871
5872 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
5873
5874         * doc/hildon-docs.sgml
5875         * doc/hildon.types
5876         * examples/Makefile.am
5877         * examples/hildon-text-view-example.c
5878         * src/Makefile.am
5879         * src/hildon-text-view.c
5880         * src/hildon-text-view.h
5881         * src/hildon.h:
5882         New HildonTextView widget, with example.
5883
5884 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
5885
5886         * po/POTFILES.in: Add missing files with translatable strings.
5887         Partially fixes NB#88287.
5888
5889 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
5890
5891         * examples/hildon-pannable-area-example-2.c: (main): No need to
5892         set the cellrenderer height inside hildon touch lists, the theme does
5893         that for us.
5894
5895 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
5896
5897         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5898         they are integrated in the theme.
5899
5900 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
5901
5902         * examples/hildon-entry-example.c: Update the example adding
5903         widgets to modify the text and the placeholder of the HildonEntry.
5904
5905         * src/hildon-entry.c: Show the placeholder everytime the widget
5906         is empty and loses the focus.
5907
5908 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
5909
5910         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5911
5912         * src/hildon-pannable-area.c,
5913         (hildon_pannable_area_size_request): Fixed bug in height
5914         requisition, avoid increasing size and add border twice.
5915
5916 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
5917
5918         * configure.ac: postrelease version bump.
5919
5920 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
5921
5922         Release 2.1.8-1.
5923
5924         * configure.ac: Prerelease version bump.
5925         * debian/changelog: update.
5926         * debian/rules: make -dbg package contain useful debugging symbols.
5927
5928 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
5929
5930         * src/hildon-dialog.h
5931         * src/hildon-dialog.c
5932         (hildon_dialog_add_button, hildon_dialog_add_buttons):
5933         New methods to add buttons with finger size.
5934         (hildon_dialog_new_with_buttons):
5935         Create buttons with finger size.
5936
5937         * examples/hildon-dialog-example.c (main): Use HildonDialog
5938         methods to add buttons.
5939
5940 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
5941
5942         * src/hildon-entry.c: Updated HildonButton documentation.
5943
5944 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
5945
5946         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5947         button value label with (FALSE, FALSE) to prevent NB#88126 from
5948         being triggered.
5949
5950 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
5951
5952         * examples/hildon-pannable-area-example.c,
5953         (main): Removed examples panning a vbox inside a pannable
5954         area. Check bug NB#87965
5955
5956 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
5957
5958         Patch contributed by Kris Rietveld (kris@imendio.com)
5959
5960         * src/hildon-pannable-area.c,
5961         (hildon_pannable_area_get_topmost): replaced the get_geometry with
5962         get_size and get_position, this saves an X server roundtrip.
5963
5964 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
5965
5966         * doc/hildon-docs.sgml
5967         * doc/hildon.types
5968         * examples/Makefile.am
5969         * examples/hildon-entry-example.c
5970         * src/Makefile.am
5971         * src/hildon-entry.c
5972         * src/hildon-entry.h
5973         * src/hildon.h:
5974         New HildonEntry widget, with example.
5975
5976 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
5977
5978         * src/hildon-button.c (hildon_button_construct_child): Pack the
5979         image with expand == fill == FALSE. This is a workaround for a bug
5980         in GtkBox.
5981
5982 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
5983
5984         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5985         labels for the text column, to make it more look more dynamic.
5986
5987 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
5988
5989         * src/hildon-time-selector.c
5990         Define gettext auxiliar macro N_
5991         (_create_minutes_model)
5992         (_create_hours_model)
5993         (_create_ampm_model): use of strftime in order to fill the model
5994         * src/hildon-date-selector.c
5995         (hildon_date_selector_finalize):
5996         (_locales_init): remove the logic related to get the name of the months
5997         using nl_langinfo, as it is not required anymore
5998         (_create_day_model)
5999         (_create_year_model)
6000         (_create_month_model)
6001         (_update_day_model): use of strftime in order to fill the model properly
6002
6003
6004 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
6005
6006         * src/hildon-button.h
6007         * src/hildon-button.c (hildon_button_get_image): New method to
6008         retrieve the image.
6009
6010 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
6011
6012         * src/hildon-touch-selector.c:
6013         (hildon_touch_selector_remove_column): Remove from the correct parent
6014         and also remove the list element and free it.
6015         Fixes: NB#88049
6016
6017 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
6018
6019         * src/hildon-time-selector.c
6020         (_create_hours_model): change the range on 12h ampm format in order to use
6021         a 12-11 range instead of previous 01-12 range
6022         (hildon_time_selector_set_time): change the way to select the current time
6023         on 12h ampm format, due the change on the range
6024         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6025         Fixes: NB#88036
6026
6027 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
6028
6029         * src/hildon-touch-selector.c
6030         (hildon_date_touch_selector_get_selected): fix the selection mode check,
6031         in order to allow use this function on multiple row selection mode if
6032         the column is different that the first one
6033         Fixes: NB#88047
6034
6035 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
6036
6037         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6038         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6039
6040 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
6041
6042         * src/hildon-date-selector.h: clean some comments, now on the .c
6043         * src/hildon-date-selector.c
6044         (hildon_date_selector_select_month): first implementation
6045         (hildon_date_selector_select_day): added documentation, reimplemented
6046         using hildon_date_selector_select_current_date to avoid repeat code
6047         Fixes: NB#88027
6048
6049 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
6050
6051         Reviewed interaction logic based on device experiences, refactored
6052         code.
6053
6054         * src/hildon-pannable-area.c,
6055         (hildon_pannable_area_class_init): Updated default vmax speed.
6056         (hildon_pannable_area_calculate_velocity): Added this function, it
6057         avoids duplicate valocity calculation. Adjusted calculation to
6058         avoid problems with zero dist events.
6059
6060         (hildon_pannable_area_motion_notify_cb): Now we use the
6061         calculate_velocity function.
6062
6063 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
6064
6065         * src/hildon-date-selector.c
6066         (hildon_date_selector_select_current_date): fix the day range check
6067         as it failed using the last day of the current month
6068         Fixes NB#88023
6069
6070 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
6071
6072         * src/hildon-touch-selector.c
6073         (hildon_touch_selector_get_num_columns): added a parameter validation
6074         Fixes: NB#88022
6075
6076 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
6077
6078         * examples/Makefile.am
6079         * examples/hildon-edit-toolbar-example.c: Example of the
6080         HildonEditToolbar widget.
6081
6082 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6083
6084         * configure.ac: postrelease version bump.
6085
6086 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6087
6088         Release 2.1.6-1.
6089
6090         * configure.ac: prerelease version bump.
6091         * debian/changelog: update.
6092
6093 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6094
6095         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6096         renderer to display stock icons in the touch list. Also, set the sizes
6097         to the recommended in the style guide.
6098
6099 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
6100         * src/hildon-touch-selector.h
6101         (hildon_touch_selector_set_active_iter): renamed, now is
6102         hildon_touch_selector_select_iter
6103         (hildon_touch_selector_get_active_iter): renamed, now is
6104         hildon_touch_selector_get_selected
6105         (hildon_touch_selector_unselect_iter): added
6106         * src/hildon-touch-selector.c
6107         Update after API modification (methods renamed)
6108         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6109         order to avoid problems selecting multiple elements on the column
6110         (hildon_touch_selector_unselect_iter): added the implementation
6111         * src/hildon-time-selector.c
6112         * src/hildon-date-selector.c
6113         * src/hildon-touch-selector-entry.c
6114         Update methods calls after hildon-touch-selector.h API modification (methods
6115         renamed)
6116
6117 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
6118
6119         * src/hildon-stackable-window.c
6120         (hildon_stackable_window_finalize): Call the parent class's finalize.
6121
6122 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6123
6124         * examples/hildon-touch-selector-example.c: (create_selector): Use
6125         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6126         cell height.
6127
6128 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6129
6130         * examples/hildon-touch-selector-example.c: (create_selector): Do not
6131         set a cell background color, to respect theming.
6132
6133 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
6134
6135         * doc/hildon-docs.sgml
6136         * doc/hildon.types
6137         * src/Makefile.am
6138         * src/hildon-edit-toolbar.c
6139         * src/hildon-edit-toolbar.h
6140         * src/hildon.h: New HildonEditToolbar widget.
6141
6142 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
6143
6144         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6145         extra GtkVBox.
6146
6147 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
6148         * src/hildon-touch-selector.c
6149         (_create_new_column): use g_object_set instead of two g_object_set_property
6150
6151 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
6152         * src/hildon-touch-selector.c
6153         (_create_new_column): use of hildon_gtk_tree_view_new to create
6154         the treeview, instead of use directly g_object_new
6155         (_create_new_column): update the property name "vindicator-mode" for the
6156         new one "vscrollbar-policy"
6157         * examples/hildon-date-button-example.c
6158         * examples/hildon-picker-button-multicolumn-example.c
6159         * examples/hildon-touch-selector-entry-example.c
6160         * examples/hildon-touch-selector-example.c
6161         * examples/hildon-time-button-example.c
6162         * examples/hildon-picker-button-example.c
6163         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6164         to all the treeviews inside a pannable area.
6165
6166 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
6167
6168         * src/hildon-button.h
6169         * src/hildon-button.c (hildon_button_init)
6170         (hildon_button_set_arrangement, hildon_button_set_alignment)
6171         (hildon_button_set_title_alignment)
6172         (hildon_button_set_value_alignment)
6173         (hildon_button_set_image_alignment)
6174         (hildon_button_construct_child): New methods to set the alignment
6175         of the individual components of the button (title, value,
6176         image). Also, new method to alter the xscale and yscale properties
6177         of the GtkAlignment inside the button, so more complex layouts can
6178         be created.
6179
6180 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
6181
6182         * src/hildon-button.c (hildon_button_style_set)
6183         (hildon_button_class_init, hildon_button_set_arrangement)
6184         (hildon_button_construct_child): Apply style properties
6185         correctly. Use the 'image-spacing' style property too.
6186
6187 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
6188
6189         * src/hildon-app-menu.c (hildon_app_menu_style_set)
6190         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6191         correctly.
6192
6193 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
6194
6195         * src/hildon-pannable-area.c,
6196         (hildon_pannable_area_size_request): Fixed problem with
6197         pannable-area size_request.
6198
6199 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
6200
6201         Added management for the grab-focus to a child widget, like a
6202         range, we need to fade out the scrollbar when releasing.
6203
6204         * src/hildon-pannable-area.c,
6205         (hildon_pannable_area_init): Connected the grab-focus signal to
6206         the callback.
6207         (hildon_pannable_area_grab_notify): Added this function in order
6208         to manage the situation when the grab-focus ends. We have to
6209         fade-out the scrollbar.
6210
6211 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
6212
6213         * src/hildon-app-menu.c: Minor documentation update.
6214
6215 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
6216
6217         * src/hildon-app-menu.c
6218         * examples/hildon-app-menu-example.c (create_menu): Update
6219         examples and documentation to explain how to connect callbacks.
6220
6221 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
6222
6223         * examples/hildon-button-example.c
6224         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6225         hildon_stackable_window_new instead of gtk_window_new
6226
6227 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
6228
6229         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6230         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6231         (hildon_pannable_area_set_property),
6232         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6233         (hildon_pannable_area_unrealize),
6234         (hildon_pannable_area_size_request),
6235         (hildon_pannable_area_size_allocate),
6236         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6237         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6238         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6239         (hildon_pannable_area_initial_effect),
6240         (hildon_pannable_area_redraw),
6241         (hildon_pannable_area_scroll_indicator_fade),
6242         (hildon_pannable_area_expose_event),
6243         (hildon_pannable_area_get_topmost), (synth_crossing),
6244         (hildon_pannable_area_button_press_cb),
6245         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6246         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6247         (hildon_pannable_area_motion_notify_cb),
6248         (hildon_pannable_area_button_release_cb),
6249         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6250         (hildon_pannable_area_remove),
6251         (hildon_pannable_calculate_vel_factor): Widget refactorization,
6252         chage the code layout to a more GtkWidget like. Review the use of
6253         variables.
6254
6255 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
6256
6257         * examples/hildon-pannable-area-example-4.c,
6258         (main): Modified the name of the hindicator_mode to
6259         hscrollbar_visible
6260
6261         * src/hildon-pannable-area.c,
6262         (hildon_pannable_area_class_init),
6263         (hildon_pannable_area_motion_notify_cb),
6264         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6265         we have reduced the amount of signals and managed reviewed its
6266         rationale. Changed the default decelerate value.
6267
6268         (hildon_pannable_area_add),
6269         (hildon_pannable_area_redraw): Refactored functions.
6270
6271         (hildon_pannable_area_init),
6272         (hildon_pannable_area_get_property),
6273         (hildon_pannable_area_set_property):
6274         (hildon_pannable_draw_vscroll),
6275         (hildon_pannable_draw_hscroll),
6276         (hildon_pannable_area_initial_effect),
6277         (hildon_pannable_area_expose_event),
6278         (hildon_pannable_area_scroll),
6279         (hildon_pannable_area_button_press_cb),
6280         (hildon_pannable_area_realize): Replaced the names hindicator_mode
6281         and vindicator_mode with hscrollbar_policy and
6282         vscrollbar_policy. Replaced hscroll and vscroll with
6283         hscroll_visible and vscroll_visible.
6284
6285         (hildon_pannable_area_refresh): Refactor the function, remove
6286         variables and check the calls to this function, added resize
6287         conditions in case the children change their layout.
6288
6289         (hildon_pannable_area_size_request): Added more detailed
6290         size_request calculation.
6291
6292
6293 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
6294
6295         * src/hildon-color-chooser.c
6296         (init_borders): use the correct gtk_border_free instead of g_free, to
6297         avoid a crash when this widget is used (ie: the three color selection
6298         examples)
6299
6300 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
6301
6302         * src/hildon-check-button.c,
6303         (hildon_check_button_set_active): Fixed problem when setting the
6304         active value, the widget was not redrawn.
6305
6306 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
6307
6308         * src/hildon-pannable-area.c,
6309         (hildon_pannable_area_refresh),
6310         (hildon_pannable_area_scroll),
6311         (hildon_pannable_area_motion_notify_cb): Small code style change.
6312
6313         (hildon_pannable_area_class_init): Default initial_hint set to
6314         FALSE, it is not in the specs.
6315
6316         (hildon_pannable_area_initial_effect),
6317         (hildon_pannable_area_expose_event),
6318         (hildon_pannable_area_map),
6319         (hildon_pannable_area_init): Moved the launching point of the
6320         initial effect, it was in map but the sizes where not correct in
6321         that method so we do not know if we have the reproduce it. Now it
6322         is placed in the expose_event method and uses a variable to
6323         reproduce it just once.
6324
6325 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6326
6327         * src/hildon-pannable-area.c,
6328         (hildon_pannable_draw_vscroll),
6329         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6330         position allowed for the scrollbars.
6331
6332         (hildon_pannable_area_size_allocate): Small style change.
6333
6334 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6335
6336         * src/hildon-pannable-area.c,
6337         (hildon_pannable_area_scroll_indicator_fade),
6338         (hildon_pannable_area_button_press_cb),
6339         (hildon_pannable_area_button_release_cb),
6340         (hildon_pannable_area_scroll_cb),
6341         (hildon_pannable_area_expose_event),
6342         (hildon_pannable_area_init): Added the define parameter
6343         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6344         and refactor the fade variable.
6345
6346 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6347
6348         * src/hildon-pannable-area.c,
6349         (hildon_pannable_area_redraw),
6350         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6351         lines, we were reimplemeting the redraw code.
6352
6353 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
6354
6355         * src/hildon-pannable-area.c,
6356         (hildon_pannable_area_scroll_cb),
6357         (hildon_pannable_area_realize),
6358         (hildon_pannable_area_class_init): Added scroll_event management
6359         for pannable area, now we can scroll the usual desktop method.
6360
6361         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6362         initialization of the parameters should depend on idle_id.
6363
6364         (hildon_pannable_area_init),
6365         (hildon_pannable_area_map): Small code style modifications
6366
6367 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
6368
6369         * src/hildon-pannable-area.c
6370         (hildon_pannable_area_button_press_cb),
6371         (hildon_pannable_area_motion_notify_cb),
6372         (hildon_pannable_area_button_release_cb),
6373         (hildon_pannable_area_size_allocate),
6374         (hildon_pannable_area_scroll_to): Improved the timeouts
6375         management, we avoid creating them each time.
6376
6377 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
6378
6379         * src/hildon-pannable-area.c:
6380         (hildon_pannable_area_refresh),
6381         (hildon_pannable_area_motion_notify_cb),
6382         (hildon_pannable_area_class_init):
6383         * src/hildon-pannable-area.h:
6384         * src/hildon-touch-selector.c
6385         (_create_new_column):
6386         * examples/hildon-pannable-area-example-4.c:
6387         (horizontal_movement),
6388         (vertical_movement),
6389         (main):
6390         Replaced the names of enums in the HildonPannableArea:
6391            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
6392               HILDON_MOVEMENT_MODE_*
6393            -  HILDON_PANNABLE_AREA_MOV_* ->
6394               HILDON_MOVEMENT_*
6395            - Removed HildonPannableAreaIndicatorMode, now we
6396              use GtkPolicyType
6397
6398 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6399
6400         * examples/hildon-pannable-area-touch-grid-example.c
6401         * examples/hildon-pannable-area-touch-list-example.c: Fix
6402         compilation warnings.
6403
6404 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6405
6406         * src/hildon-gtk.c (hildon_gtk_button_new)
6407         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6408         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6409         images overriding the value of the "gtk-button-images" setting.
6410
6411 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6412
6413         * src/hildon-check-button.c (hildon_check_button_new):
6414         Instead of using a custom container, display the label and the
6415         checkbox using the standard GtkButton API.
6416
6417         * examples/hildon-check-button-example.c (main): Don't use
6418         hildon_check_button_set_label() anymore
6419
6420         * src/hildon-check-button.h
6421         * src/hildon-check-button.c
6422         (hildon_check_button_set_label, hildon_check_button_get_label):
6423         Set as deprecated, now we're using gtk_button_{get,set}_label()
6424
6425 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
6426
6427         * src/hildon-pannable-area.c,
6428         (hildon_pannable_area_get_topmost): Fixed bug with click in the
6429         GtkTreeview first line we detected it after the inclusion of the
6430         GtkWindowImpl in gtk+. We now check if the window is visible, not
6431         just if the pointer is over the window.
6432         (hildon_pannable_axis_scroll),
6433         (hildon_pannable_area_expose_event): Small style changes.
6434
6435 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
6436
6437         * src/hildon-button.c: Update documentation.
6438
6439 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
6440
6441         * examples/hildon-button-example.c: Add a switch to show images in
6442         the buttons.
6443
6444 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
6445
6446         * doc/hildon-docs.sgml: Some docs reorganization.
6447
6448 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6449
6450         * examples/hildon-pannable-area-touch-list-example.c
6451         (create_tree_view)
6452         * examples/hildon-pannable-area-touch-grid-example.c
6453         (create_icon_view): Use gtk_{tree,icon}_view_new() and
6454         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6455         Fix memory leak when setting the tree model.
6456
6457 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6458
6459         Released 2.1.4
6460
6461 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
6462
6463         * doc/hildon.types: Remove duplicated hildon_window_get_type
6464         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6465         documentation comment.
6466
6467 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6468
6469         * doc/Makefile.am: Complete list of private headers.
6470
6471 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6472
6473         * doc/hildon-docs.sgml
6474         * src/hildon-app-menu.c
6475         * src/hildon-bread-crumb.c
6476         * src/hildon-button.c
6477         * src/hildon-gtk.c
6478         * src/hildon-program.c
6479         * src/hildon-stackable-window.c
6480         * src/hildon-window.c: Lots of documentation updates.
6481
6482 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6483
6484         * debian/control: Depend on Gtk 2:2.12.9-0osso3
6485
6486         * configure.ac: Require Gtk+ 2.12.9 at least
6487
6488 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
6489
6490         * src/hildon-pannable-area.c
6491         (hildon_pannable_area_scroll_indicator_fade),
6492         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6493         to protect the return of this timeout callbacks, avoiding deadlocks.
6494
6495 2008-08-12  Christian Dywan  <christian@imendio.com>
6496
6497         * src/hildon-*.c
6498         * src/hildon-*.h: Ensure a consistent include order,
6499         include <gtk/gtk.h> instead of particular files and
6500         only include the topmost header in the gtk stack. See NB #39857
6501
6502 2008-08-12  Christian Dywan  <christian@imendio.com>
6503
6504         * src/hildon-picker-dialog.c
6505         * src/hildon-touch-selector.c: Fix warnings about unused and
6506         uninitialized variables.
6507
6508 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6509
6510         * examples/Makefile.am
6511         * examples/hildon-check-button-example.c: Example of the hildon
6512         check button.
6513
6514 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6515
6516         * src/hildon-window.h
6517         * src/hildon-window.c (hildon_window_class_init)
6518         (hildon_window_unset_program): Don't make
6519         hildon_window_unset_program a virtual function anymore.
6520
6521         * src/hildon-stackable-window.c: Update documentation
6522
6523 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6524
6525         * doc/Makefile.am
6526         * doc/hildon-docs.sgml
6527         * doc/visual_index.xml
6528         * src/hildon-defines.c
6529         * src/hildon-gtk.c
6530         * src/hildon-helper.c
6531         * src/hildon-range-editor.c: Lots of documentation fixes.
6532
6533 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6534
6535         * examples/hildon-picker-button-multicolumn-example.c
6536         (create_touch_selector): Fix compilation warning.
6537
6538 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6539
6540         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6541         (hildon_pannable_area_button_release_cb)
6542         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6543
6544 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6545
6546         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6547         assertion.
6548
6549 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6550
6551         * src/hildon-bread-crumb-trail.h
6552         * src/hildon-date-editor.c
6553         * src/hildon-date-selector.c
6554         * src/hildon-pannable-area.c
6555         * src/hildon-picker-dialog.c
6556         * src/hildon-time-selector.c
6557         * src/hildon-touch-selector-entry.c
6558         * src/hildon-touch-selector.c
6559         * src/hildon-touch-selector.h: Misc documentation fixes
6560
6561 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6562
6563         * examples/hildon-date-editor-example.c (main): Updated date
6564         editor example.
6565
6566         * examples/hildon-note-example.c (on_confirmation_clicked):
6567         Updated confirmation note example.
6568
6569         * src/hildon-date-editor.c
6570         * src/hildon-note.c: Updated sample programs in documentation.
6571         Fixes: NB#87437
6572
6573 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6574
6575         * src/hildon-date-button.h:
6576         * src/hildon-picker-button.h:
6577         * src/hildon-time-button.c:
6578         * src/hildon-time-button.h:
6579
6580         Some declarations changes to allow gtk-doc to document the widgets
6581         properly.
6582
6583 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6584
6585         * src/hildon-date-button.c: Document the widget.
6586         * src/hildon-time-button.c: Document the widget.
6587
6588 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6589
6590         * src/hildon-picker-button.c: Document the widget.
6591         * src/hildon-touch-selector-entry.c: Document the widget.
6592
6593 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6594
6595         * doc/hildon-docs.sgml
6596         * src/Makefile.am
6597         * src/hildon.h
6598         * src/hildon-check-button.h
6599         * src/hildon-check-button.c: New functions to create the Hildon
6600         Touch Checkbox.
6601
6602         * src/hildon-gtk.h
6603         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6604
6605 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6606
6607         * src/hildon-button.h
6608         * src/hildon-button.c
6609         (hildon_button_add_title_size_group)
6610         (hildon_button_add_value_size_group)
6611         (hildon_button_add_image_size_group)
6612         (hildon_button_add_size_groups): New functions to set size groups
6613         for the button labels and image.
6614         (hildon_button_new_full): Removed
6615
6616 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
6617
6618         * src/hildon-time-selector.c
6619         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6620         in order to avoid a crash if gconf is not available
6621
6622 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6623
6624         * src/hildon-button.c (hildon_button_set_arrangement)
6625         (hildon_button_construct_child): Don't construct the button child
6626         before setting the arrangement.
6627
6628 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6629
6630         * src/hildon-program-private.h
6631         * src/hildon-program.c
6632         * src/hildon-program.h
6633         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6634         (hildon_program_peek_window_stack)
6635         (hildon_program_pop_window_stack)
6636         (hildon_program_go_to_root_window): HildonProgram now has a
6637         separate list for stackable windows. Functions are provided to
6638         manage that list with a stack-like API.
6639
6640         * src/hildon-stackable-window.c: Stackable window management is
6641         now much simpler with the new HildonProgram API. Windows no
6642         longer need to be manually added to the program, they're
6643         automatically pushed to the top of the stack when shown.
6644
6645         * examples/hildon-stackable-window-example.c: Updated example to
6646         reflect the API changes.
6647
6648 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
6649
6650         * src/hildon-touch-selector.c: Comment out unimplemented
6651         hildon_touch_selector_insert_column() to avoid a compile warning.
6652
6653 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
6654
6655         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6656         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6657         (hildon_touch_selector_set_column_selection_mode),
6658         (_hildon_touch_selector_set_model),
6659         (hildon_touch_selector_set_model):
6660
6661         Complete review of HildonTouchSelector documentation.
6662
6663 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6664
6665         * doc/hildon-docs.sgml
6666         * src/Makefile.am
6667         * src/hildon.h
6668         * src/hildon-gtk.h
6669         * src/hildon-gtk.c: Convenience functions for standard Gtk
6670         widgets, used to easily perform frequent operations.
6671
6672         * src/hildon-button-helpers.h
6673         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6674
6675         * src/hildon-helper.h
6676         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6677         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6678
6679         * src/hildon-button.h
6680         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6681
6682 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6683
6684         * src/hildon-button.c (hildon_button_init)
6685         (hildon_button_set_arrangement, hildon_button_construct_child):
6686         Pack the image and the labels inside the same GtkAlignment so
6687         gtk_button_set_alignment() can be used
6688
6689 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6690
6691         * src/hildon-button.h
6692         * src/hildon-button.c
6693         (hildon_button_init, hildon_button_set_image)
6694         (hildon_button_set_image_position)
6695         (hildon_button_construct_child): New functions to add an image to
6696         the HildonButton.
6697
6698 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6699
6700         * src/hildon-date-button.c
6701         * src/hildon-picker-button.c
6702         * src/hildon-time-button.c
6703         * src/hildon-button.c:
6704         (hildon_button_class_init): "size-flags" renamed to "size"
6705         (hildon_button_set_title): Hide the title label if set to NULL.
6706
6707 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6708
6709         HildonButtonFlags split into HildonButtonArrangement (to set the
6710         button layout) and HildonSizeType (which can be used for any
6711         widget).
6712
6713         * src/hildon-button.h
6714         * src/hildon-button.c
6715         (hildon_button_class_init)
6716         (hildon_button_set_arrangement)
6717         (hildon_button_set_property): New "size-flags"
6718         property. "arrangement-flags" renamed to "arrangement".
6719         (hildon_button_new, hildon_button_new_with_text)
6720         (hildon_button_new_full): Constructors updated to reflect type changes.
6721
6722         * src/hildon-helper.h
6723         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6724         to set the size of a widget.
6725
6726         * src/Makefile.am
6727         * src/hildon.h
6728         * src/hildon-button-helpers.c
6729         * src/hildon-button-helpers.h: New hildon-button-helpers module.
6730
6731         * src/hildon-date-button.c
6732         * src/hildon-date-button.h
6733         * src/hildon-picker-button.c
6734         * src/hildon-picker-button.h
6735         * src/hildon-time-button.c
6736         * src/hildon-time-button.h: Updated widgets to reflect
6737         HildonButton API changes.
6738
6739         * examples/hildon-button-example.c
6740         * examples/hildon-date-button-example.c
6741         * examples/hildon-picker-button-example.c
6742         * examples/hildon-picker-button-multicolumn-example.c
6743         * examples/hildon-time-button-example.c
6744         * examples/hildon-touch-selector-entry-example.c
6745         * examples/hildon-touch-selector-example.c: Updated examples to
6746         reflect HildonButton API changes.
6747
6748 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
6749
6750         * doc/hildon-docs.sgml:
6751         * doc/hildon.types:
6752         * examples/Makefile.am:
6753         * examples/hildon-touch-selector-entry-example.c:
6754         * src/Makefile.am:
6755         * src/hildon-touch-selector-entry.c:
6756         * src/hildon-touch-selector-entry.h:
6757         * src/hildon.h:
6758
6759         Moved HildonTouchSelectorEntry from sandbox. Added its
6760         documentation and examples.
6761
6762 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
6763
6764         * src/hildon-touch-selector.h:
6765         * examples/hildon-picker-button-multicolumn-example.c:
6766         (hildon_touch_selector_append_text_column): Add a gboolean
6767         parameter to determine if text must be centered in the column.
6768
6769         * src/hildon-date-selector.c: (hildon_date_selector_init):
6770         * src/hildon-time-selector.c: (hildon_time_selector_init):
6771         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6772         (create_touch_selector): Update widgets and example to reflect
6773         the API change.
6774
6775 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
6776
6777         * src/hildon-touch-selector.c:
6778         (hildon_touch_selector_set_active_iter): Set also the cursor in
6779         the active row.
6780
6781 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
6782
6783         * doc/hildon-docs.sgml
6784         * doc/hildon.types
6785         * src/Makefile.am
6786         * src/hildon-toggle-button.c
6787         * src/hildon-toggle-button.h
6788         * src/hildon.h: Removed HildonToggleButton widget, a derived
6789         class is not necessary for this.
6790
6791 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
6792
6793         * src/hildon-pannable-area.c,
6794         (hildon_pannable_area_realize),
6795         (hildon_pannable_area_size_allocate): Code refactoring, add tests
6796         for negative sizes.
6797
6798 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
6799
6800         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6801         "done" button the default widget for the dialog.
6802
6803 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
6804
6805         * src/hildon-touch-selector.c:
6806         (hildon_touch_selector_class_init),
6807         (hildon_touch_selector_get_property),
6808         (_hildon_touch_selector_set_model),
6809         (_hildon_touch_selector_has_multiple_selection),
6810         (hildon_touch_selector_has_multiple_selection):
6811         Add a "has-multiple-selection" property with a virtual
6812         has_multiple_selection() method to allow derived classes to
6813         override the default value for it. See the method and property
6814         documentation for details.
6815
6816         * src/hildon-touch-selector.h: Add the new API.
6817
6818         * src/hildon-picker-dialog.c: (requires_done_button): Call
6819         hildon_touch_selector_has_multiple_selection() instead of
6820         determining the need for a button itself.
6821
6822 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
6823
6824         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6825         (_hildon_touch_selector_set_model),
6826         (hildon_touch_selector_set_model): Move working code to
6827         _hildon_touch_selector_set_mode(). Call the class method instead.
6828
6829         * src/hildon-touch-selector.h: Add (*set_model) to
6830         HildonTouchSelectorClass.
6831
6832         Make hildon_touch_selector_set_model() a virtual method, so that
6833         derived classes can extend it and do fancy stuff with the model.
6834
6835 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
6836
6837         * configure.ac: Set back the tarname in AC_INIT to hildon.
6838
6839 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6840
6841         Release 2.1.3
6842
6843         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6844         instead of libesd (NB#86876). Volume handling is still an open issue.
6845
6846         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6847         cleanups.
6848
6849 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
6850
6851         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6852         (hildon_touch_selector_append_column): Make the widget a GtkVBox
6853         derived class to ease placement of an entry widget in
6854         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6855         end, where the selector columns are packed now.
6856
6857 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
6858
6859         * src/hildon-picker-button.c: Removed the simple _text() API.
6860         * src/hildon-picker-button.h: Likewise.
6861
6862         * src/hildon-touch-selector.h:
6863         * src/hildon-touch-selector.c:
6864         (hildon_touch_selector_new_text),
6865         (hildon_touch_selector_append_text),
6866         (hildon_touch_selector_prepend_text),
6867         (hildon_touch_selector_insert_text):
6868
6869         Moved the simple _text() API from HildonPickerButton to
6870         HildonTouchPicker, to provide better escalability and not to tie
6871         that API to HildonPickerButton.
6872
6873         * examples/hildon-picker-button-example.c: (main): Example updated.
6874
6875 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
6876
6877         * src/hildon-button.c: Updated documentation.
6878
6879         * examples/hildon-button-example.c: Add the posibility to create
6880         the buttons using horizontal layout for title and value.
6881
6882 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
6883
6884         * src/hildon-app-menu-private.h
6885         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6886         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6887         GtkSizeGroup for the filters, use the 'homogeneous' property of
6888         the box instead.
6889
6890 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
6891
6892         * examples/hildon-button-example.c: Updated example.
6893
6894 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
6895
6896         * doc/hildon-docs.sgml:
6897         * doc/hildon.types:
6898
6899         Update documentation.
6900
6901         * examples/Makefile.am: Update renamed examples.
6902
6903         * examples/hildon-picker-button-multicolumn-example.c:
6904         (create_touch_selector), (main): Update after the rename.
6905
6906         * examples/hildon-touch-picker-example.c: Removed.
6907         * examples/hildon-touch-selector-example.c: (value_changed),
6908         (create_selector), (get_visible_content), (main): Renamed from
6909         hildon-touch-picker-example.c
6910
6911         * src/Makefile.am: Updated renamed files.
6912
6913         * src/hildon-date-button.c: (hildon_date_button_init),
6914         (hildon_date_button_get_date), (hildon_date_button_set_date):
6915         * src/hildon-date-selector.c: (hildon_date_selector_init),
6916         (_custom_print_func), (_update_day_model),
6917         (_manage_selector_change_cb),
6918         (hildon_date_selector_select_current_date),
6919         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6920         * src/hildon-date-selector.h:
6921         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6922         (hildon_picker_button_set_property),
6923         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6924         (hildon_picker_button_init), (hildon_picker_button_new_text),
6925         (hildon_picker_button_append_text),
6926         (hildon_picker_button_prepend_text),
6927         (hildon_picker_button_insert_text),
6928         (hildon_picker_button_set_selector),
6929         (hildon_picker_button_get_selector):
6930         * src/hildon-picker-button.h:
6931         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6932         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6933         (_update_title_on_selector_changed_cb), (requires_done_button),
6934         (_hildon_picker_dialog_set_selector),
6935         (hildon_picker_dialog_set_selector),
6936         (hildon_picker_dialog_get_selector):
6937         * src/hildon-picker-dialog.h:
6938         * src/hildon-time-button.c: (hildon_time_button_init),
6939         (hildon_time_button_get_time), (hildon_time_button_set_time):
6940         * src/hildon-time-selector.c: (hildon_time_selector_init),
6941         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6942         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6943         * src/hildon-time-selector.h:
6944         * src/hildon.h:
6945
6946         Massive code updates after the rename.
6947
6948         * src/hildon-touch-picker.c: Removed.
6949         * src/hildon-touch-picker.h: Removed.
6950
6951         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6952         (hildon_touch_selector_init), (hildon_touch_selector_map),
6953         (hildon_touch_selector_remove), (_default_print_func),
6954         (_selection_changed_cb), (_create_new_column),
6955         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6956         (hildon_touch_selector_append_text_column),
6957         (hildon_touch_selector_remove_column),
6958         (hildon_touch_selector_set_column_attributes),
6959         (hildon_touch_selector_insert_column),
6960         (hildon_touch_selector_get_num_columns),
6961         (hildon_touch_selector_get_column_selection_mode),
6962         (hildon_touch_selector_set_column_selection_mode),
6963         (hildon_touch_selector_set_print_func),
6964         (hildon_touch_selector_get_print_func),
6965         (hildon_touch_selector_get_active_iter),
6966         (hildon_touch_selector_set_active_iter),
6967         (hildon_touch_selector_get_selected_rows),
6968         (hildon_touch_selector_get_model),
6969         (hildon_touch_selector_set_model),
6970         (hildon_touch_selector_get_current_text),
6971         (_hildon_touch_selector_center_on_selected_items):
6972         * src/hildon-touch-selector.h: Renamed from
6973         hildon-touch-picker.[ch]
6974
6975         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6976         references, code examples, and related documentation.
6977
6978 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
6979
6980         * doc/hildon-docs.sgml
6981         * doc/hildon.types
6982         * src/Makefile.am
6983         * src/hildon-toggle-button.c
6984         * src/hildon-toggle-button.h
6985         * src/hildon.h: New HildonToggleButton widget.
6986
6987 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
6988
6989         * src/hildon-button.c: Add API documentation.
6990         (hildon_button_set_size_groups): Check input parameters
6991
6992 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
6993
6994         * src/hildon-pannable-area.c
6995         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6996         effect after reaching the movement thredshold. This way we start
6997         using the distance after passing the thredshold.
6998
6999 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7000
7001         * src/hildon-button.c: (hildon_button_set_property): Use the
7002         appropriate g_value_get_flags() method.
7003
7004 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7005
7006         * doc/hildon-docs.sgml:
7007         * doc/hildon.types:
7008
7009          Add the touch pickers, picker dialogs, and picker button widgets
7010         to the documentation.
7011
7012 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7013
7014         * src/hildon-button.c: (hildon_button_set_property),
7015         (hildon_button_class_init): Make "arrangement-flags" a proper
7016         G_TYPE_FLAGS derived property.
7017
7018 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7019
7020         * examples/Makefile.am: Add below examples.
7021         * examples/hildon-date-button-example.c:
7022         * examples/hildon-picker-button-example.c:
7023         * examples/hildon-picker-button-multicolumn-example.c:
7024         * examples/hildon-time-button-example.c:
7025         * examples/hildon-touch-picker-example.c:
7026
7027         Add examples for the recently added touch pickers,
7028         picker dialogs, and picker button widgets.
7029
7030 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
7031
7032         * src/hildon-button.c: Add some API documentation
7033
7034 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
7035
7036         * src/hildon-button.h
7037         * src/hildon-button.c
7038         (hildon_button_new)
7039         (hildon_button_new_with_text): New constructor to create a button
7040         with no text at all.
7041         (hildon_button_init, hildon_button_set_arrangement)
7042         (hildon_button_set_title, hildon_button_set_value)
7043         (hildon_button_set_text)
7044         (hildon_button_construct_child): Hide the value when it's not used
7045         so the rest of the text is properly aligned.
7046         Allow creating buttons with arbitrary widgets inside (not just
7047         title/value labels).
7048
7049         * examples/hildon-button-example.c (vertical_buttons_window)
7050         (horizontal_buttons_window): Update example to use new API.
7051
7052 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7053
7054         * src/Makefile.am: Added HildonTimeButton.
7055         * src/hildon-time-button.c: Added missing LGPL header.
7056         * src/hildon-time-button.h: Added missing LGPL header.
7057         * src/hildon.h: Add hildon-time-button.h
7058
7059         Copied HildonTimeButton from sandbox to trunk. Future work on this
7060         widget must take place in trunk.
7061
7062 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7063
7064         * src/Makefile.am: Added HildonDateButton.
7065         * src/hildon-date-button.c: Update includes.
7066         * src/hildon.h: Add hildon-date-button.h
7067
7068         Copied HildonDateButton from sandbox to trunk. Future work on this
7069         widget must take place in trunk.
7070
7071 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7072
7073         * src/Makefile.am: Added HildonPickerButton.
7074         * src/hildon-picker-button.h: Update includes.
7075         * src/hildon.h: Add hildon-picker-button.h
7076
7077         Copied HildonPickerButton from sandbox to trunk. Future work on
7078         this widget must take place in trunk.
7079
7080 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7081
7082         * src/Makefile.am: Added HildonPickerDialog.
7083         * src/hildon-picker-dialog.c: Update includes.
7084         * src/hildon.h: Add hildon-picker-dialog.h
7085
7086         Copied HildonPickerDialog from sandbox to trunk. Future work
7087         on this widget must take place in trunk.
7088
7089 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7090
7091         * src/Makefile.am: Added HildonTimeSelector.
7092         * src/hildon.h: Add hildon-time-selector.h
7093
7094         Copied HildonTimeSelector widget from sandbox to trunk. Future
7095         work on this widget must happen in trunk.
7096
7097 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7098
7099         * src/Makefile.am: Added HildonDateSelector.
7100         * src/hildon.h: Add hildon-date-selector.h
7101
7102         Copied HildonDateSelector widget from sandbox to trunk.  Future
7103         work on this widget must happen in trunk.
7104
7105 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7106
7107         * src/Makefile.am: Added HildonTouchPicker.
7108         * src/hildon-touch-picker.c: Update includes.
7109         * src/hildon.h: Add hildon-touch-picker.h
7110
7111         Copied HildonTouchPicker widget from sandbox to trunk. Future work
7112         on this widget must happen in trunk.
7113
7114 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7115
7116         * src/hildon-pannable-area.c:
7117         (hildon_pannable_area_motion_notify_cb): Fix a typo.
7118
7119 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
7120
7121         * examples/hildon-app-menu-example.c (main): Let the window
7122         destroy the menu.
7123
7124 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
7125
7126         * src/hildon-pannable-area.c
7127         (hildon_pannable_area_class_init): Set the min value of the
7128         overshoot properties to zero, which points out that not
7129         overshooting allowed.
7130
7131 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
7132
7133         Modified the procedure to get the widget at a point inside the
7134         pannable area when using the movement type signals. Now the user
7135         has to call a function to get the child, that way we just
7136         calculate the child in case the user really want to use it and not
7137         all the time.
7138
7139         * src/hildon-marshalers.list: Modified the marshallers, now we do
7140         not have the widget as a parameter.
7141
7142         * src/hildon-pannable-area.c
7143         (hildon_pannable_area_motion_notify_cb),
7144         (hildon_pannable_area_class_init),
7145         (hildon_pannable_get_child_widget_at):  Removed the widget
7146         parameter from the signal callback. We have also refactored the
7147         emission of the signals.
7148
7149         * src/hildon-pannable-area.h: Added a new method to the API to
7150         calculate a widget at a point inside the pannable area,
7151         hildon_pannable_get_child_widget_at.
7152
7153         * examples/hildon-pannable-area-example-4.c
7154         (horizontal_movement): Modified the example to use the new API,
7155         added condition to control which widget is under the event. This
7156         way we can avoid scrolling laterally over other widgets.
7157
7158 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
7159
7160         * src/hildon-pannable-area.c
7161         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7162         modes, we stop getting the pointer events due to returning the
7163         callback without properly calling the get pointer again. Fixed
7164         also an error using the hscroll and vscroll.
7165
7166 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
7167
7168         * src/hildon-app-menu-private.h
7169         * src/hildon-app-menu.c (hildon_app_menu_button_press)
7170         (hildon_app_menu_button_release, hildon_app_menu_init)
7171         (hildon_app_menu_class_init): Don't hide the menu on button
7172         release if the user didn't press outside first.
7173
7174         * src/hildon-window.h
7175         * src/hildon-window.c (hildon_window_toggle_menu)
7176         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7177         hildon_window_toggle_menu a virtual function for the stackable
7178         window to override it.
7179
7180         * src/hildon-stackable-window.h
7181         * src/hildon-stackable-window-private.h
7182         * src/hildon-stackable-window.c
7183         (hildon_stackable_window_realize)
7184         (hildon_stackable_window_finalize)
7185         (hildon_stackable_window_class_init)
7186         (hildon_stackable_window_init)
7187         (hildon_stackable_window_set_main_menu): New function to set the
7188         app menu of a HildonStackableWindow.
7189
7190         * examples/hildon-app-menu-example.c: Remove the button to show
7191         the app menu, now it'll be shown when clicking on the title bar
7192         instead.
7193
7194 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
7195
7196         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7197         set the widget name if the arrangement flags do not specify
7198         a particular size.
7199
7200 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
7201
7202         * src/hildon-button.c: (hildon_button_set_property),
7203         (hildon_button_class_init), (hildon_button_new_full),
7204         (hildon_button_set_arrangement): Added "arrangement-flags"
7205         property.
7206
7207         Make the HildonButtonFlags a construction-only property, to allow
7208         subclasses to set them properly.
7209
7210 2008-07-21 Tim Janik  <timj@imendio.com>
7211
7212         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7213         insertion position after backspace, so additional digits are appended,
7214         fixes Bug #85874.
7215
7216 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
7217
7218         * src/hildon-pannable-area.c,
7219         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7220         TODO list, it was complete and removed the g_debug and g_print
7221         lines.
7222
7223 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
7224
7225         Added the movement modes to the hildon-pannable-area, with this
7226         modes the developers can control in which directions the widget
7227         can scroll. They can also connect to signals in order to do
7228         something when that happens, allowing applications scroll. There
7229         is an example uploaded showing how to use it.
7230
7231         * examples/Makefile.am:
7232         * examples/hildon-pannable-area-example-4.c: Added this example of
7233         an application using the modes.
7234
7235         * src/hildon-marshalers.list: Added a new marshaller for the new
7236         signals.
7237
7238         * src/hildon-pannable-area.h: Added new enumerations and flags in
7239         order to control the movement modes and the new signals to warn
7240         about the movements in the area.
7241
7242         * src/hildon-pannable-area.c:
7243         (hildon_pannable_axis_scroll),
7244         (hildon_pannable_area_scroll),
7245         (hildon_pannable_area_motion_notify_cb),
7246         (hildon_pannable_area_get_property),
7247         (hildon_pannable_area_set_property),
7248         (hildon_pannable_area_map),
7249         (hildon_pannable_area_class_init),
7250         (hildon_pannable_area_init),
7251         (hildon_pannable_area_jump_to): Added the modes to control the
7252         movement in the widget. We have added properties to control it,
7253         signals to warn about the movements and refactored some code.
7254
7255 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
7256
7257         Changes required in order to allow vfast_factor set to zero to
7258         work properly.
7259
7260         * src/hildon-pannable-area.c:
7261         (hildon_pannable_area_button_press_cb): Changed the condition, it
7262         is required for not allowing click when vfast_factor is zero.
7263         (hildon_pannable_area_timeout): Initialized velocity variables
7264         when we stop moving, it was less than 1 but not zero and we need
7265         to check zero in some situations.
7266         (hildon_pannable_area_class_init): Changed the default value of
7267         the speed factor, now the button_press is just sent in case the
7268         speed is 2 per cent of the max speed.
7269         (hildon_pannable_area_init): Initialization with 0.
7270
7271 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
7272
7273         * src/hildon-pannable-area.c,
7274         (hildon_pannable_area_get_topmost): replaced
7275         gdk_window_get_children with gdk_window_peek_children, this way we
7276         do not have to free the list because it is not a copy.
7277
7278         (hildon_pannable_axis_scroll),
7279         (hildon_pannable_area_scroll),
7280         (hildon_pannable_area_timeout),
7281         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7282         two parameters that were only used inside the
7283         hildon_pannable_area_scroll function.
7284
7285         * examples/hildon-pannable-area-example.c,
7286         (get_sawtooth_label): Fixed small memory leak.
7287
7288 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
7289
7290         More checks for the case where the overshoot is bigger than the
7291         size of the widget.
7292
7293         * src/hildon-pannable-area.c:
7294         (hildon_pannable_draw_vscroll),
7295         (hildon_pannable_draw_hscroll): with this new calculation we avoid
7296         to draw the slider of the scrollbar under the other scrollbar.
7297         (hildon_pannable_area_expose_event): added new checks to control
7298         the drawing of the overshooting area rectangle, in case it is too
7299         big for the area of the widget.
7300         (hildon_pannable_area_size_allocate): add more checks to avoid
7301         setting a position to the child widget outside the area.
7302
7303 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
7304
7305         * src/hildon-pannable-area.c
7306         (hildon_pannable_area_size_allocate): Added conditions to control
7307         when overshooting is bigger than the allocated space for the
7308         children, this avoids negative allocations.
7309
7310 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
7311
7312         * doc/hildon-docs.sgml
7313         * doc/hildon.types
7314         * examples/Makefile.am
7315         * examples/hildon-button-example.c
7316         * src/Makefile.am
7317         * src/hildon-button.c
7318         * src/hildon-button.h
7319         * src/hildon.h: Initial version of the new HildonButton widget,
7320         with examples.
7321
7322 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
7323
7324         * src/hildon-pannable-area.c:
7325         (hildon_pannable_area_button_press_cb),
7326         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7327         (hildon_pannable_area_motion_notify_cb),
7328         (hildon_pannable_area_button_release_cb),
7329         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7330         (hildon_pannable_area_jump_to_child):
7331
7332         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7333
7334 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
7335
7336         * examples/Makefile.am
7337         * examples/hildon-pannable-area-touch-grid-example.c
7338         * examples/hildon-pannable-area-touch-list-example.c: Examples of
7339         the Hildon Touch List and Hildon Touch Grid using the
7340         HildonPannableArea widget.
7341
7342 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7343
7344         * src/hildon-pannable-area.c,
7345         (hildon_pannable_area_button_press_cb),
7346         (hildon_pannable_area_refresh),
7347         (hildon_pannable_area_scroll),
7348         (hildon_pannable_area_motion_notify_cb),
7349         (hildon_pannable_area_button_release_cb),
7350         (hildon_pannable_area_expose_event),
7351         (hildon_pannable_area_add),
7352         (hildon_pannable_area_remove),
7353         (hildon_pannable_area_realize),
7354         (hildon_pannable_area_size_allocate),
7355         (hildon_pannable_area_class_init),
7356         (hildon_pannable_area_init),
7357         (hildon_pannable_area_scroll_to_child),
7358         (hildon_pannable_area_jump_to_child): Fixed the problem of
7359         removing the child from the GtkBin, we have rearranged the widget
7360         hierarchy, now there is no GtkAlignment which was not doing
7361         anything interesting but breaking some of the assumptions of
7362         GtkContainer. Now developers if they want to add a GtkAlignment
7363         they could, but it is not inside the area.
7364
7365         We had to review the whole allocation/expose process, now it is
7366         improved and we save at least three signals which would be saving
7367         some time when rendering the widget. The allocation of the
7368         scrollbars is now made in the allocate method as usual.
7369
7370         We have also added some conditions in order to control when there
7371         is no child of the pannable area. Maybe we will need more work
7372         here.
7373
7374 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7375
7376         * src/hildon-pannable-area.c,
7377         (hildon_pannable_area_dispose): Released the fade-out timeout when
7378         disposing the widget.
7379
7380 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7381
7382         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7383         zero, we are going to use that property in order to deactivate the
7384         overshooting
7385         (hildon_pannable_axis_scroll),
7386         (hildon_pannable_area_size_allocate): Added conditions to control
7387         when overshoot_max is zero. Moved the gtk_adjustment_set_value
7388         call, now it is called in all situations and we can remove calls
7389         in the allocate method.
7390         (hildon_pannable_area_map): Control the situation when
7391         overshoot_max is zero, we do not need the timeout.
7392         (hildon_pannable_area_class_init): Added documentation in order to
7393         point out that setting zero to overshoot_max means deactivate
7394         overshooting.
7395
7396         NOTE: removed trailing whitespaces from my previous comments of
7397         the Changelog.
7398
7399 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
7400
7401         * src/hildon-pannable-area.c
7402         (hildon_pannable_area_get_property),
7403         (hildon_pannable_area_set_property),
7404         (hildon_pannable_area_map),
7405         (hildon_pannable_area_class_init),
7406         (hildon_pannable_area_init): Add a boolean "initial-hint" property
7407         to cause the widget give a hint about its panning abilities upon
7408         realization.
7409
7410 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
7411
7412         * src/hildon-pannable-area.c: Several documentation improvements.
7413
7414 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
7415
7416         * src/hildon-program.c
7417         * src/hildon-stackable-window.c: Update documentation.
7418
7419 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
7420
7421         * src/hildon-stackable-window.c (get_previous_window_if_last):
7422         Renamed get_last_window()
7423         (hildon_stackable_window_map, hildon_stackable_window_unmap)
7424         (hildon_stackable_window_unset_program):
7425         Simplified code.
7426         (get_previous_window_if_last):
7427         Detect if the window hasn't been added to a HildonProgram.
7428
7429 2008-06-26  Alejandro G. Castro <alex@igalia.com>
7430
7431         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7432
7433         * src/hildon-pannable-area.c
7434         (hildon_pannable_area_button_press_cb),
7435         (hildon_pannable_axis_scroll),
7436         (hildon_pannable_area_scroll),
7437         (hildon_pannable_area_timeout),
7438         (hildon_pannable_calculate_vel_factor),
7439         (hildon_pannable_area_get_property),
7440         (hildon_pannable_area_set_property),
7441         (hildon_pannable_area_class_init),
7442         (hildon_pannable_area_init),
7443         (hildon_pannable_area_scroll_to),
7444         (hildon_pannable_area_jump_to),
7445         (hildon_pannable_area_scroll_to_child),
7446         (hildon_pannable_area_jump_to_child):
7447         * src/hildon-pannable-area.h: Added the new API functions:
7448         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7449         hildon_pannable_area_scroll_to_child,
7450         hildon_pannable_area_jump_to_child
7451
7452
7453         * examples/Makefile.am
7454         * examples/hildon-pannable-area-example-2.c
7455         * examples/hildon-pannable-area-example-3.c: Added these two new
7456         examples in order to test and show how the new APIs work.
7457
7458 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
7459
7460         * examples/hildon-stackable-window-example.c (new_window):
7461         * src/Makefile.am (noinst_HEADERS):
7462         * src/hildon-program.c (hildon_program_go_to_root_window):
7463         * src/hildon-program.h:
7464         * src/hildon-stackable-window-private.h:
7465         * src/hildon-stackable-window.c:
7466         * src/hildon-stackable-window.h:
7467         Create hildon-stackable-window-private.h
7468         Move hildon_stackable_window_go_to_root_window() to HildonProgram
7469
7470         * examples/hildon-app-menu-example.c (create_menu):
7471         * examples/hildon-hvolumebar-insensitive-example.c (main):
7472         * examples/hildon-hvolumebar-timer-example.c (on_idle):
7473         * examples/hildon-toolbar-seekbar-example.c (main):
7474         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7475         * src/hildon-banner.c (hildon_banner_set_property):
7476         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7477         Fix compilation warnings
7478
7479         * src/hildon-window.c:
7480         Fix typo in doc
7481
7482 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
7483
7484         * src/hildon-stackable-window.c
7485         (hildon_stackable_window_unset_program):
7486         Calculate correctly whether to show the previous window if the
7487         last one is removed from the stack.
7488         (hildon_stackable_window_go_to_root_window):
7489         Send delete events starting from the topmost window.
7490         Stop if one of the windows is not destroyed.
7491         Update doc.
7492         (hildon_stackable_window_delete_event)
7493         (hildon_stackable_window_class_init):
7494         Ignore the delete event if the window is not the topmost one.
7495
7496 2008-06-24  Alejandro G. Castro <alex@igalia.com>
7497
7498         * src/hildon-pannable-area.c
7499         (hildon_pannable_area_expose_event): Fixed a problem when
7500         selecting the background color of the scrollbars.
7501
7502 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
7503
7504         * examples/hildon-stackable-window-example.c
7505         * src/hildon-stackable-window.c
7506         * src/hildon-stackable-window.h
7507         hildon_stackable_window_go_home() renamed to
7508         hildon_stackable_window_go_to_root_window()
7509         Send delete events to windows rather than closing them with
7510         gtk_widget_destroy()
7511
7512 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
7513
7514         * src/hildon-pannable-area.c
7515         (hildon_pannable_area_button_release_cb): Fix overshooting in
7516         accel mode.
7517
7518 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
7519
7520         * src/hildon-pannable-area.c
7521         (hildon_pannable_area_init): Initially show the scroll indicators.
7522         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7523
7524         Add initial effect showing the widget is pannable.
7525
7526 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
7527
7528         * src/hildon-pannable-area.c
7529         (hildon_pannable_area_class_init)
7530         (hildon_pannable_area_set_property)
7531         (hildon_pannable_area_get_property)
7532         (hildon_pannable_area_button_press_cb):
7533         New 'velocity_fast_factor' property to decide which velocity is
7534         considered fast.
7535
7536 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
7537
7538         * src/hildon-pannable-area.c
7539         (hildon_pannable_draw_hscroll)
7540         (hildon_pannable_draw_vscroll):
7541         Use float variables to calculate the size of the scrollbars to
7542         avoid error propagation and resizing during scrolling.
7543
7544 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
7545
7546         * src/hildon-pannable-area.c
7547         (hildon_pannable_draw_vscroll)
7548         (hildon_pannable_draw_hscroll):
7549         Define a minimum size for the scroll bars
7550
7551         * src/hildon-stackable-window.c
7552         (hildon_stackable_window_go_home): Fix compilation warning
7553         (get_last_window): Minor optimizations
7554         (hildon_stackable_window_class_init): Fix initialization of
7555         private structure.
7556
7557 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
7558
7559         * src/hildon-stackable-window.c: Fixed typos in doc
7560
7561 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
7562
7563         * src/hildon-pannable-area.c
7564         (hildon_pannable_area_scroll):
7565         Calculate here whether we need to scroll instead of using the booleans
7566         that tell us whether to /draw/ the scrolling bars.
7567
7568 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
7569
7570         * src/hildon-app-menu.h
7571         Update API.
7572         * src/hildon-app-menu.c
7573         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7574         multiple filter groups related code and API. Now we support only
7575         one filter group.
7576         * examples/hildon-app-menu-example.c:
7577         (create_menu):
7578         Update to reflect API changes.
7579
7580 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
7581
7582         * src/hildon-stackable-window.c
7583         (hildon_stackable_window_class_init):
7584         Add hildon_stackable_window_realize.
7585         (hildon_stackable_window_realize):
7586         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7587         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7588         to apply theming and behavior specific to HildonStackableWindow
7589         windows.
7590
7591 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
7592
7593         * src/hildon-note.c (hildon_note_button_release):
7594         Close information notes also when tapping on them
7595
7596 2008-06-12  Alejandro G. Castro <alex@igalia.com>
7597
7598         Added BOUNCE_STEPS define to control the overshoot effect. Removed
7599         ELASTICITY, refactor and review, fix some issues with drawing
7600         scrollbars.
7601
7602         * src/hildon-pannable-area.c:
7603         (hildon_pannable_area_button_press_cb): removed the conditions to
7604         avoid clicks when overshooting. It is not required
7605
7606         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7607         define. Refatored and reviewed the code, now we do not need to
7608         manage velocity in motion_notify.
7609
7610         (hildon_pannable_area_motion_notify_cb): We have moved the code
7611         that controls the area_scroll to the axis_scroll function and get
7612         rid of duplicated code.
7613
7614         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7615
7616         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7617
7618         (hildon_pannable_draw_vscroll),
7619         (hildon_pannable_draw_hscroll): Fixed the problems with the
7620         scrollbar drawing, now we do not use two surfaces, it is easier
7621         and saves resources.
7622
7623         (hildon_pannable_area_get_property): Style modification.
7624
7625         (hildon_pannable_area_class_init): Changed some default values.
7626
7627 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
7628
7629         * src/hildon-stackable-window.c: Fix some typos in the
7630         documentation.
7631
7632 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
7633
7634         * src/hildon-dialog.c:
7635         Change indentation style
7636
7637         * src/hildon-note.c
7638         (hildon_note_button_release):
7639         Use root coordinates to check if the release event happened
7640         outside the widget.
7641
7642         * src/hildon-app-menu.c
7643         (hildon_app_menu_button_release):
7644         Remove unnecessary check
7645
7646         * examples/hildon-app-menu-example.c
7647         (button_clicked):
7648         Add cast to fix warning
7649
7650         * src/hildon-app-menu.c
7651         (hildon_app_menu_class_init):
7652         New inner-border style property.
7653         Set all default spacings to 16
7654         (hildon_app_menu_init):
7655         Use vertical-spacing to set the space between filter buttons and
7656         regular menu buttons.
7657         Set the default container border using the inner-border value.
7658
7659         * examples/hildon-app-menu-example.c
7660         (create_menu):
7661         Don't set the menu border explicitly, now we have the inner-border
7662         style property for that.
7663
7664 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
7665
7666         * src/hildon-app-menu.c (hildon_app_menu_init):
7667         Make the window modal
7668
7669         * src/hildon-note.c (hildon_note_map)
7670         * src/hildon-app-menu.c (hildon_app_menu_map):
7671         Destroy the grab window if we're unable to grab the pointer
7672
7673         * src/hildon-app-menu-private.h
7674         * src/hildon-app-menu.c
7675         (hildon_app_menu_init, hildon_app_menu_finalize)
7676         (hildon_app_menu_map, hildon_app_menu_unmap)
7677         (hildon_app_menu_button_release)
7678         (grab_transfer_window_get):
7679         Bring back the grab window
7680         (hildon_app_menu_realize):
7681         Decorate the window, set WM hint for Matchbox
7682
7683         * src/hildon-note.c (hildon_note_realize):
7684         * src/hildon-banner.c (hildon_banner_realize):
7685         Add WM hints for Matchbox
7686
7687 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
7688
7689         * src/hildon-app-menu-private.h
7690         * src/hildon-app-menu.c
7691         (hildon_app_menu_init, hildon_app_menu_finalize)
7692         (hildon_app_menu_map, hildon_app_menu_unmap)
7693         (hildon_app_menu_button_release):
7694         Remove the grab window, it's not needed anymore
7695
7696         * src/hildon-program.c
7697         Fixed typo in documentation
7698
7699         * src/hildon-app-menu.h
7700         * src/hildon-app-menu.c
7701         * examples/hildon-app-menu-example.c
7702         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7703
7704 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
7705
7706         * src/hildon-note.c
7707         Added new transfer_window and close_if_pressed_outside private
7708         attributes.
7709         (hildon_note_rebuild):
7710         Don't add a cancel button to the information note. It will be
7711         closed when tapping outside
7712         Remove the comment about the OK button in the documentation
7713         (hildon_note_realize):
7714         Set the notification type hint
7715         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7716         Grab/ungrab pointer and keyboard if the note has to be closed when
7717         tapping outside
7718         (hildon_note_button_release):
7719         Close the note when tapping outside (if applicable)
7720
7721         * src/hildon-app-menu.c
7722         Grab/ungrab pointer and keyboard on map/unmap
7723         (hildon_app_menu_button_release, hildon_app_menu_class_init):
7724         Close the menu on button release, not button press
7725
7726         * src/hildon-banner.c
7727         (hildon_banner_set_property)
7728         (hildon_banner_check_position):
7729         Make the banner use the full width of the screen
7730         (hildon_banner_show_information)
7731         (hildon_banner_show_information_with_markup):
7732         Don't display an icon by default
7733
7734 2008-06-09  Alejandro G. Castro <alex@igalia.com>
7735
7736         Added fading scrollbars and adapted all the overshooting code to
7737         horizontal scrolling. We have also fixed bugs with overshooting
7738         and current fading implementation.
7739
7740         * src/hildon-pannable-area.c
7741         (hildon_pannable_area_scroll_indicator_fade): Time out function
7742         used to change the transparency of the scrollbars.
7743
7744         (hildon_pannable_area_button_press_cb): Added horizontal overshot
7745         control and fixed a problem with fading, we now remove the fade
7746         timeout before adding a new one.
7747
7748         (hildon_pannable_axis_scroll):
7749         (hildon_pannable_area_scroll):
7750         (hildon_pannable_area_timeout): Added this functions so we can use
7751         the scroll code both for vertical and horizontal.
7752
7753         (hildon_pannable_area_motion_notify_cb):
7754         (hildon_pannable_area_button_release_cb): Added the horizontal
7755         scrolling control, fixed a problem with the overshooting timeout.
7756
7757         (rgb_from_gdkcolor): Added this function, it is used in the cairo
7758         painting of the scrolls.
7759
7760         (hildon_pannable_draw_vscroll):
7761         (hildon_pannable_draw_hscroll):
7762         (hildon_pannable_area_expose_event):
7763         Draw both scrollbars and rectangles in the overshooting area.
7764
7765         (hildon_pannable_area_get_property):
7766         (hildon_pannable_area_set_property):
7767         Modified the overshoot property to overshoot_max
7768
7769         (hildon_pannable_area_map):
7770         Replaced the comments symbols.
7771
7772         (hildon_pannable_area_size_allocate):
7773         (hildon_pannable_area_class_init):
7774         (hildon_pannable_area_init): Added horizontal scroll, fading
7775         effect properties, fixed a problem when overshooting in the bottom
7776         of the widget.
7777
7778         * examples/hildon-pannable-area-example.c:
7779         (get_sawtooth_label): Now we use smaller sawtooths, the effect
7780         looks better in the example.
7781
7782 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
7783
7784         * src/hildon-window.c
7785         * src/hildon-window.h
7786         (hildon_window_class_init)
7787         (hildon_window_unset_program)
7788         (hildon_window_unset_program_real):
7789         Make unset_program a virtual function
7790
7791         * src/hildon-stackable-window.c
7792         * src/hildon-stackable-window.h
7793         Added hildon_stackable_window_go_home()
7794
7795         * examples/Makefile.am
7796         * examples/hildon-stackable-window-example.c
7797         HildonStackableWindow example
7798
7799 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7800
7801         * hildon-pannable-area.c: Added the overshoot property and removed
7802         the OVERSHOOT define. Fixed an indent style error.
7803         (hildon_pannable_area_motion_notify_cb):
7804         (hildon_pannable_area_get_property):
7805         (hildon_pannable_area_set_property): Add overshoot property.
7806
7807         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7808         overshoot property.
7809
7810         (hildon_pannable_area_class_init): Installed the new property.
7811
7812         * hildon-pannable-area-example.c: Added a sawtooth function, this
7813         way it is easier to check the movement in the pannable.
7814         (get_sawtooth_label): Added this function.
7815         (main): Now we get the labels from the new get_sawtooth_label
7816         function.
7817
7818 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
7819
7820         * src/hildon-app-menu.h
7821         * src/hildon-app-menu.c
7822         Renamed API variables for consistency
7823
7824         (hildon_app_menu_popup): Use also the default window size to
7825         decide where to place the menu
7826
7827         (hildon_app_menu_init, hildon_app_menu_class_init): New
7828         external-border style property
7829
7830 2008-05-26  Michael Natterer  <mitch@imendio.com>
7831
7832         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7833         widget_class->tap_and_hold_setup signal slot doesn't exist any
7834         longer, stop overriding it.
7835
7836         (hildon_time_editor_init): g_signal_connect() to the
7837         tap-and-hold-setup signal instead.
7838
7839         (hildon_time_editor_entry_keypress): add cast to fix warning.
7840
7841 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
7842
7843         * doc/hildon-docs.sgml
7844         * doc/hildon.types
7845         * examples/Makefile.am
7846         * examples/hildon-app-menu-example.c
7847         * src/Makefile.am
7848         * src/hildon-app-menu-private.h
7849         * src/hildon-app-menu.c
7850         * src/hildon-app-menu.h
7851         * src/hildon.h
7852         New HildonAppMenu widget
7853
7854 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7855
7856         Rearranged the inheritance of the pannable area, now it inherits
7857         from GtkBin. This will allow us to control the event_window and
7858         the allocation process of the widget, required for some effects.
7859
7860         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7861         GtkBin structures.  * src/hildon-pannable-area.c: Added the
7862         event_window variable.
7863         (hildon_pannable_area_button_press_cb):
7864         (hildon_pannable_area_button_release_cb):
7865         (hildon_pannable_area_motion_notify_cb):
7866         Changed the signature of the method, now we override the event
7867         callback instead of connecting to the signal.
7868
7869         (hildon_pannable_area_realize):
7870         (hildon_pannable_area_unrealize):
7871         (hildon_pannable_area_map):
7872         (hildon_pannable_area_unmap):
7873         (hildon_pannable_area_size_allocate):
7874         Added functions to control the widget construction. We add a
7875         INPUT_ONLY window and we put it over the widgets inside the
7876         container, this event_window handles the events.
7877
7878         (hildon_pannable_area_class_init):
7879         Replaced the signal connections with overrides of the event
7880         callbacks.
7881
7882 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7883
7884         Bouncing effect added when touching the borders, you can change
7885         the elasticity of the border changing the ELASTICITY define.
7886
7887         * src/hildon-pannable-area.c: Added ELASTICITY define.
7888         (hildon_pannable_area_timeout): Added inverse velocity when
7889         touching the border of the child widget, that causes a bounce.
7890
7891 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7892
7893         Improved performance, we now do not go to the X server in order to
7894         get the list of window children. Apparently the effect is the
7895         same, we have to be careful and check if this breaks something in
7896         any corner case.
7897
7898         * src/hildon-pannable-area.c:
7899         (get_ordered_children): Removed this function.
7900         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7901         the children windows function with gdk_window_get_children.
7902
7903 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7904
7905         * src/hildon-pannable-area.c:
7906         (hildon_pannable_area_dispose): Fixed a crash when closing the
7907         window and kinetics is activated.
7908
7909 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
7910
7911         * src/hildon-pannable-area.h
7912         * src/hildon-pannable-area.c
7913         Changed indentation style to meet the one used in Hildon
7914
7915 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7916
7917         Reviewed the interaction of the AUTO mode, now we use the time
7918         attribute of the events and calculate the velocity in the motion,
7919         doing a gimp like calculation. The velocity is calculated in each
7920         motion event using the last velocity and the current one, the
7921         SMOOTH_FACTOR controls the percentage of the new velocity we use.
7922
7923         * src/hildon-pannable-area.c: Replaced the time based algorithm
7924         for the AUTO mode.
7925         (hildon_pannable_area_motion_notify_cb): now we do not launch the
7926         timeout for the AUTO mode when we are still moving the cursor. We
7927         added also the velocity calculation in this function.
7928         (hildon_pannable_area_button_release_cb): launch the timeout in
7929         case we are in AUTO mode. There are still some constants here that
7930         come from the old implementation that should be reviewed and
7931         handled properly.
7932
7933 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
7934
7935         * doc/hildon-docs.sgml
7936         * doc/hildon.types
7937         * src/Makefile.am
7938         * src/hildon-stackable-window.c
7939         * src/hildon-stackable-window.h
7940         * src/hildon.h
7941         New HildonStackableWindow widget
7942
7943         * examples/hildon-dialog-example.c
7944         * examples/hildon-pannable-area-example.c
7945         Updated copyright
7946
7947 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
7948
7949         * src/hildon-dialog.c
7950         (hildon_dialog_new_with_buttons): New constructor.
7951
7952         * examples/hildon-dialog-example.c
7953         (main): Update the example to use the new
7954         hildon_dialog_new_with_buttons().
7955
7956         * examples/hildon-pannable-area-example.c
7957         (main): Update example.
7958
7959 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7960
7961         * doc/hildon-docs.sgml
7962         * doc/hildon.types
7963         Added HildonPannableArea to the documentation.
7964
7965 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7966
7967         * doc/visual_index.xml
7968         Fix reference to HildonLoginDialog in documentation
7969
7970         * doc/hildon-docs.sgml
7971         * doc/hildon.types
7972         * examples/Makefile.am
7973         * examples/hildon-dialog-example.c
7974         * src/Makefile.am
7975         * src/hildon-dialog.c
7976         * src/hildon-dialog.h
7977         * src/hildon.h
7978         New HildonDialog widget.
7979
7980 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7981
7982         * src/hildon-pannable-area.c
7983         Merge latest changes (r4318, r4342) from libmokoui trunk
7984
7985 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7986
7987         * examples/Makefile.am
7988         * examples/hildon-pannable-area-example.c
7989         * src/Makefile.am
7990         * src/hildon-pannable-area.c
7991         * src/hildon-pannable-area.h
7992         * src/hildon.h
7993         New HildonPannableArea widget.
7994
7995 2008-04-15 18:05:19    <timj@imendio.com>
7996
7997         * src/hildon-banner.c: revert the recent change, that introduced
7998         gtk_window_present() calls. this reopens:
7999           Bug 78481 - [freetest] information banners are hidden under browser menu
8000         But resolves another variant of:
8001           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8002
8003 2008-04-15 13:21:13    <timj@imendio.com>
8004
8005         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8006         recreated its layout, spotted by Kris. this fixes all remaining
8007         artefacts and stability issues with the banner code. in particular:
8008         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8009
8010 2008-04-14 16:52:59    <timj@imendio.com>
8011
8012         * src/hildon-banner.c: guard force_to_wrap_truncated() against
8013         operating on unrealized widgets, fixes:
8014         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8015
8016         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8017
8018 2008-04-09  Kristian Rietveld  <kris@imendio.com>
8019
8020         Fixes: NB#77775: Media Player, Save Now playing list, too long name
8021         makes banner disappear.
8022         Fixes: NB#79182: info banner flickering with certain message lengts.
8023
8024         * src/hildon-banner.c (hildon_banner_constructor),
8025         (hildon_banner_init), (hildon_banner_set_text),
8026         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8027         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8028         FALSE, reset size requests of label and banner,
8029         (force_to_wrap_truncated): when the text is too wide, always enforce
8030         the maximum possible width instead of recalculating it from the
8031         layout; enforce the maximum banner height of 3 lines,
8032         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8033         nicer wrapping and no truncated chars if space gets tight.
8034
8035         * src/hildon-banner-private.h: add has_been_wrapped and
8036         has_been_truncated fields.
8037
8038 2008-04-07  Sven Herzberg  <sven@imendio.com>
8039
8040         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8041         local values in hildon_date_editor_size_allocate
8042
8043         * src/hildon-date-editor.c: moved the real allocation code into the
8044         if() branch
8045
8046 2008-04-07  Sven Herzberg  <sven@imendio.com>
8047
8048         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8049         local values in hildon_date_editor_size_allocate
8050
8051         * src/hildon-date-editor.c: merged the two if() branches together
8052
8053 2008-04-07  Sven Herzberg  <sven@imendio.com>
8054
8055         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8056         local values in hildon_date_editor_size_allocate
8057
8058         * src/hildon-date-editor.c: changed the arguments of the if()
8059         conditions
8060
8061 2008-04-07  Sven Herzberg  <sven@imendio.com>
8062
8063         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8064         local values in hildon_date_editor_size_allocate
8065
8066         * src/hildon-date-editor.c: split the calculation of the allocation
8067         from the real allocation
8068
8069 2008-03-27  Michael Natterer  <mitch@imendio.com>
8070
8071         Fixes: NB#81696: The passcode is not overwritten even after
8072         selecting
8073
8074         * src/hildon-code-dialog.c
8075         (hildon_code_dialog_button_clicked)
8076         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8077         because that doesn't overwrite selected text. Instead, emit the
8078         "commit" signal on the entry's im_context so the entry's normal
8079         insert logic is triggered. Set the cursor to the end of the entry
8080         after each insert operation so that we *only* insert in the middle
8081         of the text if something was selected.
8082
8083 2008-03-27  Michael Natterer  <mitch@imendio.com>
8084
8085         Enable fixing: NB#79916 and NB#79918: The help topic for Color
8086         selector cannot be opened
8087
8088         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8089         when the popup color selector is created. Please connect to this
8090         signal in order to set the dialog's help ID.
8091
8092 2008-03-25  Sven Herzberg  <sven@imendio.com>
8093
8094         Fixes: MB#1212: Hide info banners (infoprints) on click
8095
8096         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8097         extracted the close event simulation into an extra function
8098         (hildon_banner_button_press_event): simulate a close event and destroy
8099         the widget if the event wasn't handled
8100         (hildon_banner_class_init): added the button_press_event handler
8101         (hildon_banner_init): added button-press events to the widget
8102
8103 2008-03-25  Sven Herzberg  <sven@imendio.com>
8104
8105         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8106         Patch from: Mohammad Anwari  <mdamt@maemo.org>
8107
8108         * src/hildon-banner.c: let the HildonBanners pop up on the left side
8109         instead of the right in RTL mode
8110         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8111         breadcrumb button list in RTL mode
8112         * src/hildon-caption.c: mirror the appearance of the caption widget in
8113         RTL mode
8114         * src/hildon-date-editor.c: mirror appearance of the date editor in
8115         RTL mode
8116         * src/hildon-time-editor.c: mirror appearance of the time editor in
8117         RTL mode
8118         * src/hildon-window.c: fix the position of the popup in RTL mode
8119
8120 2008-03-25  Sven Herzberg  <sven@imendio.com>
8121
8122         Amendment to the fix of NB#22072. Fix compilation.
8123
8124         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8125
8126 2008-03-19  Sven Herzberg  <sven@imendio.com>
8127
8128         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8129         in Info Banner" bug
8130
8131         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8132         timeout id properly when the timeout will disappear this leaves no
8133         artifacts around in the destroy(); there will only be the timeout
8134         created by hildon_banner_ensure_timeout() and adding a new timeout
8135         will also work if the timeout gets removed because the timeout_handler
8136         returned FALSE
8137
8138 2008-03-19  Michael Natterer  <mitch@imendio.com>
8139
8140         Fixes: NB#79791: Cannot set focus to Master volume using stylus
8141
8142         * src/hildon-volumebar.c
8143         * src/hildon-vvolumebar.c
8144         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8145         the widget becomes focussable at all.
8146
8147         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8148         set the focus to wither the mute button or the volumebar.
8149
8150         Remove own "can-focus" property and instead listen to
8151         notify::can-focus in order to update the widget's state.
8152
8153         Implement GtkWidget::focus() and make sure we can also *leave* the
8154         widget, not only enter it, depending on volumebar orientation and
8155         requested focus direction.
8156
8157         Clean up set_mute() to cooperate nicely with all the above.
8158
8159 2008-03-04  Michael Natterer  <mitch@imendio.com>
8160
8161         Fixes: NB#78481: information banners are hidden under browser menu
8162
8163         * src/hildon-banner.c: call gtk_window_present() on the banners so
8164         they are risen if they are already visible.
8165
8166 2008-03-03  Sven Herzberg  <sven@imendio.com>
8167
8168         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8169
8170         * examples/hildon-window-menu-example.c: (main): extended the window
8171         menu example to serve as a testcase for automatically added
8172         accelerator groups, too
8173         * src/hildon-window.c: (hildon_window_add_accel_group),
8174         (hildon_window_set_menu): added patch by Tommi Komulainen
8175
8176 2008-03-03  Sven Herzberg  <sven@imendio.com>
8177
8178         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8179
8180         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8181         knowledge about the border allocators used within GTK+
8182
8183 2008-02-26  Sven Herzberg  <sven@imendio.com>
8184
8185         Fixes: MB#2981: Build with asserts broken
8186
8187         * src/hildon-date-editor.c,
8188         * src/hildon-number-editor.c,
8189         * src/hildon-time-editor.c,
8190         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8191         the proper GType instance check
8192
8193 2008-02-25  Sven Herzberg  <sven@imendio.com>
8194
8195         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8196
8197         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8198         * examples/hildon-window-menu-example.c: (main): explicitly show
8199         the menu item
8200         * src/hildon-window.c:
8201         (hildon_window_set_main_menu): moved most of the code from set_menu()
8202         to this place; skipped the call to gtk_widget_show_all(); also didn't
8203         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8204         (hildon_window_set_menu): removed most of the code, just keep the
8205         questionable gtk_widget_show_all()
8206         * src/hildon-window.h: added the new function and deprecate the old
8207         one
8208
8209 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
8210
8211         [2.0.1-1 release]
8212
8213         * NEWS:
8214         * configure.ac:
8215         * debian/changelog: Updating.
8216
8217 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
8218
8219         * configure.ac:
8220         * pkgconfig/Makefile.am:
8221         * pkgconfig/hildon.pc.in:
8222         * src/Makefile.am:
8223
8224         Do not use PACKAGE_VERSION_MAJOR as the API revision,
8225         use newly created API_MAJOR_VERSION.
8226
8227 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
8228
8229         [2.0.0-1 release]
8230
8231         * NEWS:
8232         * configure.ac:
8233         * debian/changelog: Updating.
8234
8235 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
8236
8237         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8238
8239         Add outer_border style property, we use it but don't define it (!).
8240
8241         Fixes NB#75310
8242
8243 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
8244
8245         * examples/hildon-bread-crumb-trail-example.c (main):
8246
8247         Add clear button.
8248
8249         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8250
8251         Fix logic for the bread crumb trail node removal.
8252
8253         Fixes: NB#78616
8254
8255 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8256
8257         [1.99.1-1 release]
8258
8259         * NEWS:
8260         * configure.ac:
8261         * debian/changelog: Updating.
8262
8263 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8264
8265         Patch by Alejandro to get/set passwords dialogs accesibility.
8266
8267         * hildon-1/src/hildon-get-password-dialog.c:
8268         * hildon-1/src/hildon-set-password-dialog.c:
8269         Set atk_set_name to the passwd entries in order to allow
8270         accessibility by name on this entries.
8271
8272 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8273
8274         [1.99.0-2 release]
8275
8276         * debian/changelog:
8277         * debian/control: Updating gtk dep.
8278
8279 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
8280
8281         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8282         USE_MAEMO_GTK is enabled.
8283
8284 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
8285
8286         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8287         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8288
8289 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8290
8291         [1.99.0-1 release]
8292
8293         * NEWS:
8294         * configure.ac:
8295         * debian/changelog: Updating.
8296
8297 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8298
8299         * examples/Makefile.am:
8300         * examples/hildon-logical-color-example.c:
8301         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8302         applied + adding a test case. Fixes: NB#71660.
8303
8304 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
8305
8306         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8307         to be visible, fixes warning on map for windows without toolbars.
8308
8309 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
8310
8311         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8312         2.11.0, add a check for that besides the MAEMO_GTK check.
8313
8314 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8315
8316         [1.0.17-1 release]
8317
8318         * NEWS:
8319         * configure.ac:
8320         * debian/changelog: Updating.
8321
8322 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8323
8324         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8325         visibility. Fixes: NB#70842 and MB#615.
8326
8327 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
8328
8329         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8330         set the separator as no-show-all so it doesn't unintentionally appear when
8331         someone does a show_all.
8332
8333 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
8334
8335         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8336         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8337         toplevel item. Fixes: NB#62031
8338
8339 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
8340
8341         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8342         fix the name of the function in the docs.
8343
8344 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8345
8346         [1.0.16-1 release]
8347
8348         * NEWS:
8349         * configure.ac:
8350         * debian/changelog: Updating.
8351
8352 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8353
8354         * examples/hildon-banner-long-example.c: Adding a test-case for long
8355         hildon banner.
8356
8357         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8358
8359 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8360
8361         * src/hildon-color-chooser-dialog.c:
8362         * src/hildon-color-chooser.c:
8363         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8364         memory leaks in font selector and color selector. Fixes: NB#70499 and
8365         NB#70474.
8366
8367 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
8368
8369         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8370
8371 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8372
8373         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8374         little bit bigger. Fixes: #NB63694.
8375
8376 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8377
8378         [1.0.15-1 release]
8379
8380         * NEWS:
8381         * configure.ac:
8382         * debian/changelog: Updating.
8383
8384 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8385
8386         * doc/Makefile.am:
8387         * doc/hildon-docs.sgml:
8388         * doc/images/bread-crumb-trail.png:
8389         * doc/images/calendar-popup.png:
8390         * doc/images/caption.png:
8391         * doc/images/code-dialog.png:
8392         * doc/images/color-button.png:
8393         * doc/images/color-chooser-dialog.png:
8394         * doc/images/color-chooser.png:
8395         * doc/images/controlbar.png:
8396         * doc/images/date-editor.png:
8397         * doc/images/font-selection-dialog.png:
8398         * doc/images/get-password-dialog.png:
8399         * doc/images/hvolumebar.png:
8400         * doc/images/login-dialog.png:
8401         * doc/images/note.png:
8402         * doc/images/number-editor.png:
8403         * doc/images/range-editor.png:
8404         * doc/images/seekbar.png:
8405         * doc/images/set-password-dialog.png:
8406         * doc/images/sort-dialog.png:
8407         * doc/images/time-editor.png:
8408         * doc/images/time-picker.png:
8409         * doc/images/vvolumebar.png:
8410         * doc/images/weekday-picker.png: Adding the new generated widget shots.
8411         Adding the bread-crumb-trial and helpers to the documentation.
8412
8413 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8414
8415         * examples/hildon-find-toolbar-example.c:
8416         * src/hildon-find-toolbar.c:
8417         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8418         actually continue firing the other handlers if connected. Adding a new
8419         function:
8420         hildon_find_toolbar_get_last_index that gets the index of the most
8421         recently added (last) item. Fixes: NB#52301.
8422
8423 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8424
8425         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8426         behaviour. Fixes: NB#68610.
8427
8428 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8429
8430         * src/hildon-banner.c: Actually reverting the previous change. It somehow
8431         looks a bit worse.
8432
8433 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8434
8435         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8436         when realizing the banner. Should make the infonbanner effect a bit more
8437         bearable.
8438
8439 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8440
8441         * src/hildon-volumebar.c:
8442         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8443         hildon_volumebar_set_range_insensitive_message and
8444         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8445
8446 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8447
8448         * src/hildon-window.c: Fixing the border freeing on destroy.
8449
8450 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8451
8452         * src/hildon-code-dialog-private.h:
8453         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8454         kw keyboard support in HildonCodeDialog.
8455
8456 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8457
8458         [1.0.14-1 release]
8459
8460         * NEWS:
8461         * configure.ac:
8462         * debian/changelog: Updating.
8463
8464 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8465
8466         * src/hildon-date-editor.c:
8467         * src/hildon-number-editor.c:
8468         * src/hildon-private.c:
8469         * src/hildon-private.h:
8470         * src/hildon-time-editor.c:
8471         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8472         handling in subclassed composite widgets. Fixes: NB#66628.
8473
8474 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8475
8476         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8477         from destroy_ callback as it introduces problems in async dbus signal
8478         handlers. Fixes NB#66673.
8479
8480 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8481
8482         * examples/hildon-hvolumebar-example.c:
8483         * src/hildon-volumebar.c: Improving the focus handling in the
8484         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8485         set_property accessor so that "mute" property can be actually set. I'm
8486         scared that nobody noticed it's totally broken.
8487
8488 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8489
8490         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8491         Fixes NB#66548.
8492
8493 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8494
8495         * src/hildon-calendar.c:
8496         * src/hildon-number-editor.c:
8497         * src/hildon-time-picker.c: Changing the timeout repeat so that it
8498         matches the spec of 6 chars per second. Fixes: NB#60489.
8499
8500 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8501
8502         * src/hildon-helper.c: Really fixing NB#58352. Looks like
8503         gtk_style_lookup_color sometime returns FALSE even though color was
8504         found and values were filled properly. Weird. Removing the warning for the
8505         time being.
8506
8507 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8508
8509         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8510         expand vertically. Adding some extra space to the find toolbar buttons to
8511         make them thumbable. Fixes NB#66060.
8512
8513 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8514
8515         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8516         popup with "Ok" and "Cancel". Fixes NB#59299.
8517
8518 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8519
8520         * src/hildon-calendar.c: Process all window updates before executing next
8521         timeout. Fixes: NB#54146.
8522
8523 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8524
8525         [1.0.13-1 release]
8526
8527         * NEWS:
8528         * configure.ac:
8529         * debian/changelog: Updating.
8530
8531 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
8532
8533         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8534         the client event and ignore it, since we use the delete event to close
8535         after timeouts.
8536
8537 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8538
8539         * src/hildon-helper.c: Remove the bogus warning about color not being
8540         found. Fixes NB#58352.
8541
8542 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8543
8544         * examples/Makefile.am:
8545         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8546         HildonSeekbar widget inside a toolbar.
8547
8548 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
8549
8550         * src/hildon-banner.c (hildon_banner_init): mark the banners as
8551         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8552         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8553         don't want to be closed by non-temporary windows on map.
8554
8555         Also use G_DEFINE_TYPE instead of manually typed code.
8556
8557 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8558
8559         [1.0.12-1 release]
8560
8561         * NEWS:
8562         * configure.ac:
8563         * debian/changelog:
8564         * debian/rules: Updating.
8565
8566 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8567
8568         * examples/Makefile.am:
8569         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8570         bug NB#61128. Strangely it works.
8571
8572 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8573
8574         * src/hildon-date-editor.c: When the date editor entry has been changed
8575         but the numbers of characters < max, turn off the skip validation flag.
8576         Prevents a situation when we enter first a valid year and later re-write
8577         it with an invalid one. Fixes NB#60154.
8578
8579 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8580
8581         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8582         code dialog. Fixes NB#64355.
8583
8584 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8585
8586         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8587         switching the page. Fixes NB#49374.
8588
8589         * examples/Makefile.am:
8590         * examples/hildon-wizard-dialog-example.c: Adding an example for
8591         HildonWizardDialog that shows how to handle manual sensitivity setting on
8592         the wizard dialog.
8593
8594 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8595
8596         * configure.ac:
8597         * src/Makefile.am:
8598         * src/hildon-version.h.in:
8599         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8600
8601 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8602
8603         * src/hildon-volumebar.c: Updating the docs.
8604
8605 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8606
8607         [1.0.11-1 release]
8608
8609         * NEWS:
8610         * configure.ac:
8611         * debian/changelog: Updating.
8612
8613 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8614
8615         * src/hildon-find-toolbar.c:
8616         * src/hildon-find-toolbar.h: Adding a few new functions to control the
8617         selected item: hildon_find_toolbar_set_active,
8618         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8619         hildon_find_toolbar_get_active_iter . They correspond to respective
8620         GtkComboBox functions.
8621
8622         * examples/Makefile.am:
8623         * examples/hildon-find-toolbar-example.c: Adding the example to test the
8624         new functionality.
8625
8626 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8627
8628         * examples/Makefile.am:
8629         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8630         theming easily.
8631
8632         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8633         when font size > 32 and we pack a focusable widget inside. Actually using
8634         the default response would work too, but since we don't show default
8635         response state in any way (no theming) it would not be visible to the
8636         user. Fixes NB#63430.
8637
8638 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8639
8640         * src/hildon-date-editor.c: Adding the missing variable setter in the
8641         set_property handler. Fixes NB#54182.
8642
8643 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8644
8645         * src/hildon-window.h: Changing the long key press time from 1500ms to
8646         800ms as requested in NB#63700. I have a bad feeling about this, let's
8647         see... Fixes NB#63700.
8648
8649 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
8650
8651         * src/hildon-time-picker.c (hildon_time_picker_class_init,
8652         hildon_time_picker_map, hildon_time_picker_realize,
8653         hildon_time_picker_style_set): Split the contents of map to more
8654         appropriate functions; set window decorations on realize and update
8655         arrows' size requisitions on style-set. Avoids unnecessary resizing.
8656
8657 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
8658
8659         [1.0.10-2 release]
8660
8661         * NEWS:
8662         * debian/changelog: Updating.
8663
8664 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
8665
8666         * src/Makefile.am: fixed installation of the header files
8667
8668 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8669
8670         [1.0.10-1 release]
8671
8672         * NEWS:
8673         * configure.ac:
8674         * debian/changelog: Updating.
8675
8676 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8677
8678         * configure.ac: Removing some remaining of --enable-xan.
8679
8680 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
8681
8682         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8683         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8684
8685         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8686         2.10.12-osso6 because the move-focus signal needs to be available in
8687         GtkWidget.
8688
8689 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8690
8691         * examples/Makefile.am:
8692         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8693         that makes a HildonVolumebar insensitive before mapping it. Seems to work
8694         fine. Prolly NB#61128 is fixed now.
8695
8696 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8697
8698         * src/hildon-volumebar.c:
8699         * src/hildon-volumebar.h: Adding the
8700         hildon_volumebar_set_range_insensitive_message and
8701         hildon_volumebar_set_range_insensitive_messagef functions to set
8702         insensitive message on the slider of the volumebar. Fixes NB#61129.
8703
8704         * examples/Makefile.am:
8705         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8706         test the new insensitive messsage functionality on HildonVolumebar.
8707
8708 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
8709
8710         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8711         work again.
8712
8713 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
8714
8715         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8716         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8717         button on after clearing the trail.
8718
8719 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8720
8721         * src/hildon-code-dialog.c: Removing the separator from the dialog.
8722
8723 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
8724
8725         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8726         by splitting the installed headers in generated and non-generated groups. Use
8727         only the non-generated headers to create the hildon-enum-types.h file.
8728
8729         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8730
8731 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8732
8733         * src/hildon-window.c: Hide the window before performing the destroy.
8734         Should make the app closing a little tiny bit more snappy.
8735
8736 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
8737
8738         * src/hildon-seekbar.c: add gtkrange.h header
8739         * src/hildon-caption.c: remove unused variable
8740
8741 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
8742
8743         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8744         Loic Minier.
8745
8746 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8747
8748         [1.0.9-1 release]
8749
8750         * NEWS:
8751         * configure.ac:
8752         * debian/changelog: Updating.
8753
8754 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
8755
8756         * src/hildon-window.c (hildon_window_window_state_event,
8757         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8758         escape timeout on focus-out-event rather than notify::is-topmost; the
8759         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8760
8761 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8762
8763         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8764         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8765
8766 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
8767
8768         * src/hildon-window: actually, you need to use the macro always, there's
8769         no private pointer in the instance structure. We should have cleaned this up
8770         when we had the chance...
8771
8772 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
8773
8774         * src/hildon-window.c: do not get the private date from HildonWindow before
8775         it passes the g_return_if_fail check. Once it's passed the test, there's no
8776         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8777         if you are only going to access the data once. Whitespace cleanups.
8778
8779 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
8780
8781         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8782         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8783
8784 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8785
8786         [1.0.8-1 release]
8787
8788         * NEWS:
8789         * configure.ac:
8790         * debian/changelog: Updating.
8791
8792 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8793
8794         * src/hildon-window.c: When destroying the window, remove (if exists) the
8795         escape timeout handler. Fixes #NB59276.
8796
8797 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8798
8799         * src/hildon-banner.c: When realizing the widget, set the window
8800         transiency. Setting the transiency in the gobject constructor is not
8801         good, as the widget is not realized at that point. Fixes: #NB56624.
8802
8803 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
8804
8805         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8806         Add padding for future expansions.
8807
8808 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
8809
8810         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8811         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8812         will fake an activation on the previous to the last item of the trail, so
8813         the effect can be overrided by the developer as usual.
8814         Also change the callback for the back button to do the same thing, so its
8815         effect can be overrided too. Fixes: NB#58982
8816
8817 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8818
8819         * src/hildon-caption.c: Implementing the proper focus grabbing in the
8820         HildonCaption. Fixes NB#52379.
8821
8822 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
8823
8824         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8825         the internal state of the trail after the user has had the chance of executing
8826         his handler for the signal. Specifically, it may happen that the activated button
8827         is removed and the user still lets the default handler run. This would segfault
8828         previously.
8829
8830 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8831
8832         * src/hildon-font-selection-dialog.c: When the font is really big, add the
8833         scrollbar to the preview dialog. Fixes NB#54147.
8834
8835 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8836
8837         * src/hildon-date-editor.c: Changing the default max year to 2037. The
8838         max/min year properties can be altered, so the client can modify it
8839         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8840
8841 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8842
8843         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8844         hildonlike by default. Fixing a problem with disappearing arrows when
8845         scrolling through months and years. Fixes NB#54127.
8846
8847 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8848
8849         * examples/hildon-date-editor-example.c: Adding error callback to the date
8850         editor example.
8851
8852 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8853
8854         [1.0.7-1 release]
8855
8856         * NEWS:
8857         * debian/changelog:
8858         * configure.ac: Updating.
8859
8860 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8861
8862         * configure.ac: Adding a special '--enable-xan' configure option that
8863         turns off the -Werror compilation setting. Usefull for development.
8864
8865         * src/hildon-calendar.c:
8866         * src/hildon-number-editor.c:
8867         * src/hildon-time-picker.c: Adding the 5* multiplier to
8868         gtk-timeout-update.
8869
8870 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
8871
8872         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8873         instead of g_object_ref + gtk_object_sink.
8874
8875 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8876
8877         [1.0.6-1 release]
8878
8879         * NEWS:
8880         * configure.ac:
8881         * debian/changelog: Updating.
8882
8883 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8884
8885         * src/hildon-color-chooser-dialog.c:
8886         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8887         straight from Tommi labs.
8888
8889 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8890
8891         * examples/hildon-finger-example.c: Correcting the header file path.
8892
8893         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8894         the changed signal. Fixes a small memory leak.
8895
8896 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8897
8898         * autogen.sh:
8899         * debian/rules:
8900         * src/hildon-banner.c: Importing several usefull fixes from the
8901         ubuntu-mobile branch.
8902
8903 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8904
8905         * examples/Makefile.am:
8906         * examples/hildon-finger-example.c: Adding a finger-checking code
8907         example.
8908
8909         * src/hildon-font-selection-dialog.c: Do not allocate the color
8910         structure using the g_new. Fixes NB#54061.
8911
8912 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8913
8914         * src/hildon-helper.c: Correcting tabs in file.
8915
8916 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
8917
8918         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8919         control the visibility of the children.
8920
8921         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8922
8923 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8924
8925         [1.0.5-1 release]
8926
8927         * NEWS:
8928         * configure.ac:
8929         * debian/changelog: Updating.
8930
8931 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
8932
8933         * src/hildon-bread-crumb-trail.c:
8934         (hildon_bread_crumb_trail_size_allocate):
8935
8936         Make the back button always a square.
8937
8938 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
8939
8940         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8941         from the .c file as it's a private file.
8942
8943 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8944
8945         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8946         uses slightly bigger height.
8947
8948         * src/hildon-font-selection-dialog.c: Adding some checks before
8949         freeing memory in the font selection dialog.
8950
8951 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8952
8953         * src/hildon-font-selection-dialog.c: Adding a small check when
8954         freeing memory.
8955
8956         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8957         buttons sensitivity on page switching.
8958
8959 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
8960
8961         * src/hildon-bread-crumb-trail.c: make the add method handle all the
8962         internal details of adding a bread crumb to the trail.
8963
8964 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8965
8966         [1.0.4-1 release]
8967
8968         * README:
8969         * configure.ac:
8970         * debian/changelog: Updating.
8971
8972         * src/hildon-bread-crumb-trail.h:
8973         * src/hildon-bread-crumb.h: Changing the API guard to
8974         HILDON_ENABLE_UNSTABLE_API.
8975
8976 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8977
8978         [1.0.3-1 release]
8979
8980         * NEWS:
8981         * configure.ac:
8982         * debian/changelog:
8983         * debian/rules:
8984         * src/hildon-helper.h: Updating.
8985
8986 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8987
8988         [1.0.2-1 release]
8989
8990         * NEWS:
8991         * configure.ac:
8992         * debian/changelog:
8993
8994 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8995
8996         * README:
8997         * configure.ac:
8998         * src/hildon-helper.h: Small fix to make the package actually compile.
8999
9000 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
9001
9002         * src/hildon-bread-crumb-trail.h:
9003         * src/hildon-bread-crumb.h:
9004
9005         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9006         to define ENABLE_UNSTABLE_API in the code that includes these headers.
9007
9008 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
9009
9010         * examples/hildon-bread-crumb-trail-example.c:
9011         * src/Makefile.am:
9012         * src/hildon-bread-crumb-trail.c:
9013         * src/hildon-bread-crumb-trail.h:
9014         * src/hildon-bread-crumb.c:
9015         * src/hildon-bread-crumb.h:
9016         * src/hildon-marshalers.list:
9017         * src/hildon-bread-crumb-widget.c:
9018         * src/hildon-bread-crumb-widget.h:
9019
9020         Slight change in the widget design. The bread crumb trail API is
9021         unchanged, but HildonBreadCrumb is now an interface. A *private*
9022         implementation, hildon-bread-crumb-widget, is provided and used
9023         internally by the trail for the push_text/push_icon functions.
9024
9025         The generic push API is still available, so anyone can implement
9026         and use its own bread crumb widget.
9027
9028 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9029
9030         * debian/rules: Fixing the shlibs.
9031
9032 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9033
9034         * src/hildon-banner.c: Fixing a problem with timed banners having
9035         their parrent destroyed before they are.
9036
9037 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
9038
9039         * src/hildon-bread-crumb.c:
9040         * src/hildon-bread-crumb.h:
9041
9042         Make the get_natural_size function a vfunc.
9043
9044 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
9045
9046         * src/hildon-bread-crumb.c:
9047         * src/hildon-bread-crumb-trail.c:
9048
9049         Some cleanups.
9050
9051 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9052
9053         [1.0.1-1 release]
9054
9055         * AUTHORS:
9056         * NEWS:
9057         * configure.ac:
9058         * debian/changelog: Updating for release.
9059
9060 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
9061
9062         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9063         don't leak the pango layout.
9064
9065 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
9066
9067         * src/hildon.h:
9068         * examples/hildon-bread-crumb-trail-example.c:
9069
9070         Fix example.
9071
9072 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9073
9074         * debian/changelog: Removing the bug-fixed entries that were actually
9075         resolved as WONTFIX.
9076
9077         * src/hildon-date-editor.c: Removing a redundant check. Fixes
9078         NB#54182.
9079
9080 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
9081
9082         * src/hildon-bread-crumb-trail.c:
9083         * src/hildon-bread-crumb-trail.h:
9084         * src/hildon-bread-crumb.c:
9085         * src/hildon-bread-crumb.h:
9086
9087         Untabify.
9088
9089 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
9090
9091         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9092         until it's passed the type check.
9093
9094 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
9095
9096         * examples/hildon-bread-crumb-trail-example.c
9097
9098         Add license.
9099
9100 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
9101
9102         * examples/Makefile.am
9103         * examples/hildon-bread-crumb-trail-example.c
9104         * src/Makefile.am
9105         * src/hildon-bread-crumb-trail.c
9106         * src/hildon-bread-crumb-trail.h
9107         * src/hildon-bread-crumb.c
9108         * src/hildon-bread-crumb.h
9109
9110         New HildonBreadCrumbTrail widget.
9111
9112 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
9113
9114         * src/hildon-range-editor.c (hildon_range_editor_init),
9115         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9116         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9117         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9118         hildon_time_editor_class_init, hildon_time_editor_init),
9119         src/hildon-get-password-dialog.c (invalid_input,
9120         hildon_get_password_set_property, hildon_get_password_get_property,
9121         create_contents, hildon_get_password_dialog_set_max_characters),
9122         src/hildon-set-password-dialog.c (create_contents),
9123         src/hildon-date-editor.c (hildon_date_editor_init),
9124         src/hildon-login-dialog.c (hildon_login_dialog_init),
9125         src/hildon-number-editor.c (hildon_number_editor_init),
9126         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9127         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9128         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9129          configure option and adding the respective checks in the code.
9130         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9131         hildon_calendar_drag_data_received): fixed some build warnings.
9132
9133 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9134
9135         * debian/changelog: A 1.0.0 release notes.
9136