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