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