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