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