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