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