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