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