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