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