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