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