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