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