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