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