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