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