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