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