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