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