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