2009-03-26 Alberto Garcia <agarcia@igalia.com>
[hildon] / ChangeLog
1 2009-03-26  Alberto Garcia  <agarcia@igalia.com>
2
3         Patch by Daniel Borgmann (danielb@openismus.com)
4
5         * src/hildon-edit-toolbar.c:
6         Adjust the left padding.
7         (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
8         Paint background of the edit toolbar.
9
10         Fixes: NB#107897 (Patch to make editmodetoolbar background
11         themeable and adjust margin)
12
13 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
14
15         Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
16
17         * src/hildon-program.c (hildon_program_update_top_most):
18         Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
19
20         Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
21         change when the user tasks in/out of an application)
22
23 2009-03-25  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
24
25         * configure.ac: added libcangerra-gtk dependency
26         * debian/control: added libcanberra-gtk dependency
27         * src/Makefile.am: added libcanberra gtk related flags
28         * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
29         instead of use it.
30
31         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
32
33 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
34
35         * src/hildon-program.c (hildon_program_remove_window)
36         (hildon_program_add_window): Add checks for the window
37         parameter. Don't decrease the window counter if the window is not
38         registered.
39
40 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
41
42         * src/hildon-pannable-area.c,
43         (hildon_pannable_area_realize): Fixed position of the event_window
44         in the realize method.
45
46 2009-03-24  Alberto Garcia  <agarcia@igalia.com>
47
48         * src/hildon-app-menu-private.h
49         * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
50         (hildon_app_menu_map, hildon_app_menu_hide_idle)
51         (hildon_app_menu_key_press, hildon_app_menu_init)
52         (hildon_app_menu_finalize):
53         Make sure that all idle functions are removed when the widget is
54         destroyed.
55
56         Fixes: NB#107583 (Hildon app menu crashes in various applications)
57
58 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
59
60         [Release 2.1.56]
61
62         * NEWS: Updates.
63         * configure.ac: Bump version.
64         * debian/changelog: Updates.
65
66 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
67
68         * src/hildon-entry.c
69         (+hildon_entry_show_placeholder),
70         (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
71         that replace hildon_entry_update_contents().
72         (hildon_entry_set_text),
73         (hildon_entry_set_placeholder),
74         (hildon_entry_focus_in_event),
75         (hildon_entry_focus_out_event): Determine when it is needed
76         either to show or hide the placeholder and call the above methods.
77
78         Fixes: NB#107471 (hildon_entry_set_text() not setting the text
79         when the placeholder text is already set)
80
81 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
82
83         * src/hildon-banner.c (+hildon_banner_create_animation): Build a
84         simple GdkPixbufAnim using the new icons for the banner.
85         (hildon_banner_show_animation): Use the above mentioned method to
86         create the animation widget.
87
88         Fixes: NB#103564 (Make hildon animation banner use individual
89         image files as the animation)
90
91 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
92
93         * src/hildon-pannable-area.c,
94         (hildon_pannable_leave_notify_event): Check if the child is NULL
95         to avoid sending the leave.
96
97 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
98
99         * src/hildon-pannable-area.c,
100         (hildon_pannable_area_class_init),
101         (hildon_pannable_leave_notify_event): Added a handler of the
102         leave-notify-signal to consider when no motion notify before
103         leaving.
104
105         Fixes: NB#107494 (Items stay selected when clicking and moving
106         away when inside pannable area)
107
108 2009-03-23  Claudio Saavedra  <csaavedra@igalia.com>
109
110         [Release 2.1.54]
111
112         * NEWS: Updates.
113         * configure.ac: Bump version.
114         * debian/changelog: Updates.
115
116 2009-03-19  Alejandro G. Castro  <alex@igalia.com>
117
118         Patch by Alberto Garcia (agarcia@igalia.com)
119
120         * src/hildon-date-button.c,
121         (hildon_date_button_class_init),
122         (hildon_date_button_init): Removed the construct property handling
123         and created a default selector in the init method.
124         * src/hildon-picker-button.c,
125         (hildon_picker_button_class_init): Removed the construct flag of the
126         selector property.
127
128 2009-03-18  Alberto Garcia  <agarcia@igalia.com>
129
130         * src/hildon-main.c (hildon_init):
131         Don't allow hildon_init() to be called more than once.
132
133         Fixes: NB#106607 (hildon_init should issue error message upon
134         successive calls)
135
136 2009-03-17  Alejandro Pinheiro  <apinheiro@igalia.com>
137
138         * examples/hildon-pannable-area-touch-list-example.c
139         * examples/hildon-pannagle-area-touch-grid-example.c
140         * examples/hildon-edit-toolbar-example.c
141         * examples/hildon-touch-selector-multi-cells-example.c
142         Removed the call to gtk_rc_parse_string, as it is not required since
143         some time ago.
144
145 2009-03-17  Alejandro G. Castro  <alex@igalia.com>
146
147         * src/hildon-pannable-area.c,
148         (hildon_pannable_area_class_init): Modified the default panning
149         threshold of the widget to 6px.
150
151         Fixes: NB#105427 (Clicking and dragging ( for pixel values more
152         than the threshold value ) within the button is not sending the
153         event to the clild)
154
155 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
156
157         * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
158         for the treeview in the new column. This way, the touch list will never
159         grab the focus.
160
161         Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
162         be selected manually for the HW keys to work)
163
164 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
165
166         * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
167         comparison instead of using strcmp(). Fixes a compiler warning as well.
168
169 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
170
171         * doc/hildon-docs.sgml: Do not set the library version in the
172         document title, use the releaseinfo tag for that purpose instead.
173
174 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
175
176         * src/hildon-touch-selector-entry.c (entry_on_text_changed):
177         Do not jump to the first item if the text in the entry is removed.
178
179 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
180
181         [Release 2.1.52]
182
183         * NEWS: Updates.
184         * configure.ac: Bump version.
185         * debian/changelog: Updates.
186
187 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
188
189         * src/hildon-entry.c (hildon_entry_refresh_contents):
190         * src/hildon-text-view.c (hildon_text_view_refresh_contents):
191         Use "ReversedSecondaryTextColor" for the placeholder text.
192
193 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
194
195         * src/hildon-text-view.c: Fix compilation warning.
196
197 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
198
199         * src/hildon-button.c (hildon_button_class_init): Don't make
200         "title" and "value" construction properties, to prevent them from
201         overwriting labels set from derived classes.
202
203         * src/hildon-picker-button.c
204         (hildon_picker_button_set_selector): Allow setting a NULL selector.
205         (hildon_picker_button_class_init): Make touch-selector a
206         construction property.
207
208         * src/hildon-date-button.c (hildon_date_button_class_init)
209         (+hildon_date_button_constructed): Add a default date selector if
210         none is provided.
211
212 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
213
214         * src/hildon-touch-selector.c: Small documentation fixes.
215
216 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
217
218         Based on a patch by Daniel Borgmann (danielb@openismus.com)
219
220         * src/hildon-entry.c (hildon_entry_refresh_contents),
221         (hildon_entry_get_text), (hildon_entry_init): Do not use the
222         widget name, set the logical color directly instead and a boolean
223         showing_placeholder instead.
224         * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
225         use the widget name here either.
226
227         Fixes: NB#105678 (HildonTextView should use logical colours
228         instead of setting widget name)
229
230 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
231
232         Patch by Daniel Elster (danielk@openismus.com)
233
234         * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
235         Add user_data parameter.
236         (hildon_touch_selector_set_print_func_full): New function akin
237         hildon_touch_selector_set_print_func() but with support for user
238         data and a destroy callback.
239         (hildon_touch_selector_dispose): Implement GObjectClass::dispose
240         to clean up the print function user data.
241         (hildon_touch_selector_class_init): Install dispose function.
242         (HildonTouchSelectorPrivate::print_user_data),
243         (HildonTouchSelectorPrivate::print_destroy_func): New private
244         member data.
245         (hildon_touch_selector_init): Initialize new private members.
246         (hildon_touch_selector_get_current_text): Pass along user data
247         to the print function.
248         (_default_print_func): Add dummy user_data to parameter list.
249         * hildon-date-selector.c (_custom_print_func): ditto,
250         * hildon-time-selector.c (_custom_print_func): ditto,
251         * hildon-touch-selector-entry.c
252         (hildon_touch_selector_entry_print_func): ditto.
253
254         Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
255
256 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
257
258         * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
259
260 2009-03-12  Alejandro G. Castro  <alex@igalia.com>
261
262         * src/hildon-pannable-area.c,
263         (hildon_pannable_area_init),
264         (hildon_pannable_area_button_press_cb),
265         (hildon_pannable_area_motion_notify_cb): We have added code to
266         handle the leave and enter events when using the motion events.
267
268         Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
269
270 2009-03-11  Alberto Garcia  <agarcia@igalia.com>
271
272         * src/hildon-date-button.c (hildon_date_button_get_date)
273         (hildon_date_button_set_date): Make sure that the button has a
274         selector.
275
276         Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
277
278 2009-03-11  Alejandro G. Castro  <alex@igalia.com>
279
280         * src/hildon-pannable-area.c,
281         (hildon_pannable_area_class_init),
282         (hildon_pannable_area_calculate_velocity): Modify the use of the
283         force and adapt the value.
284
285 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
286
287         * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
288         (hildon_app_menu_class_init): Hide the menu if it receives a
289         delete-event, but don't destroy it
290
291         Fixes: NB#104485 (Not able to address the call when application
292         menu is opened at background)
293
294 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
295
296         * src/hildon-app-menu.c
297         (hildon_app_menu_apply_style, hildon_app_menu_class_init):
298         Remove the "external-border" style property, let the menu take its
299         natural size (or the one set by the window manager)
300         (hildon_app_menu_repack_items):
301         Don't reshow the menu, avoid flickers.
302
303         Partially fixes NB#94957 (Smoothly opened application menu)
304
305 2009-03-10  Claudio Saavedra  <csaavedra@igalia.com>
306
307         [Release 2.1.50]
308
309         * NEWS: Updates.
310         * configure.ac: Bump version.
311         * debian/changelog: Updates.
312
313 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
314
315         * src/hildon-pannable-area.c,
316         (hildon_pannable_area_motion_notify_cb): We control that the
317         direction error margin is used just in case the movement is
318         allowed in the other direction.
319
320         Fixes: NB#105012 (buttons inside a pannable area not getting
321         release event when dragging/releasing)
322
323 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
324
325         * src/hildon-pannable-area.c,
326         (hildon_pannable_area_class_init),
327         (hildon_pannable_area_get_property),
328         (hildon_pannable_area_set_property),
329         (hildon_pannable_area_initial_effect),
330         (hildon_pannable_axis_scroll),
331         (hildon_pannable_area_button_release_cb): Reviewed the
332         overshooting effect, now it has its own max
333         speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
334         speed when bouncing.
335
336 2009-03-09  Claudio Saavedra  <csaavedra@igalia.com>
337
338         [Release 2.1.48]
339
340         * NEWS: Updates.
341         * configure.ac: Bump version.
342         * debian/changelog: Updates.
343
344 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
345
346         * src/hildon-pannable-area.c,
347         (hildon_pannable_area_class_init): Changed the max speed, now
348         users can launch the widget very fast. Reduced the default force,
349         that way it is easier to control the launch speed.
350
351 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
352
353         * src/hildon-pannable-area.c,
354         (hildon_pannable_area_button_release_cb): Removed this check
355         because it causes problems when the device is overloaded.
356
357 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
358
359         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
360         add a current_text field to store the text entered in the
361         touch selector entry.
362         (_clean_current_selection): clean up the current text as well.
363         (_save_current_selection), (_restore_current_selection):
364         Save/restore the text in the entry if the selector is a
365         HildonTouchSelectorEntry.
366
367         Fixes: NB#102541 (value entered in the touch selector entry is not
368         shown when opened for second time)
369
370 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
371
372         * doc/hildon-sections.txt:
373         * src/hildon-touch-selector-entry.c
374         (+hildon_touch_selector_entry_get_entry):
375         * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
376
377         Fixes: NB#104815 (I need accessor to the entry inside
378         HildonTouchSelectorEntry)
379
380 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
381
382         * src/hildon-app-menu.c (hildon_app_menu_apply_style)
383         (hildon_app_menu_class_init):
384         New "filter-vertical-spacing" style property.
385
386 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
387
388         * src/hildon-find-toolbar.c
389         (hildon_find_toolbar_emit_close)
390         (hildon_find_toolbar_emit_invalid_input)
391         (hildon_find_toolbar_entry_activate):
392         Use g_signal_emit() instead of g_signal_emit_by_name()
393
394 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
395
396         Patch by Mox Soini (ext-mox.soini@nokia.com)
397
398         * tests/TEST-CASES.txt
399         * tests/check-hildon-banner.c
400         * tests/check-hildon-note.c
401         * src/hildon-banner.c
402         * src/hildon-code-dialog.c
403         * src/hildon-date-editor.c (real_set_calendar_icon_state)
404         * src/hildon-time-editor.c
405         * examples/hildon-lookup-example.c (main):
406         Replace obsolete icon names with new ones.
407
408         * src/hildon-find-toolbar-private.h:
409         * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
410         (-hildon_find_toolbar_emit_search):
411         Remove find button and change icon of close button.
412
413         Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
414
415 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
416
417         * src/hildon-time-button.c (hildon_time_button_new_step):
418         Use the "touch-selector" property to set the selector directly
419         when creating the object.
420
421 2009-03-05  Alejandro G. Castro  <alex@igalia.com>
422
423         Added a new example application that allows tuning the pannable
424         area and replaced defines with properties in order to simplify the
425         tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
426         PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
427         PROP_DIRECTION_ERROR_MARGIN.
428
429         * examples/hildon-pannable-area-tuning-example.c: New example
430         application.
431         * src/hildon-pannable-area.c,
432         (hildon_pannable_area_class_init),
433         (hildon_pannable_area_init),
434         (hildon_pannable_area_get_property),
435         (hildon_pannable_area_set_property),
436         (hildon_pannable_area_launch_fade_timeout),
437         (hildon_pannable_area_adjust_value_changed),
438         (hildon_pannable_axis_scroll),
439         (hildon_pannable_area_motion_notify_cb),
440         (hildon_pannable_area_scroll_cb),
441         (hildon_pannable_area_button_release_cb): We have converted some
442         of the defines that control the widget to properties to simplify
443         the tuning.
444
445 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
446
447         * src/hildon-app-menu.c (hildon_app_menu_map)
448         (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
449         so it's closed if a new window appears.
450
451         Fixes: NB#104485 (Not able to address the call when application
452         menu is opened at background)
453
454 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
455
456         * src/hildon-color-button.c (hildon_color_button_get_property):Add
457         missing 'break' statement in in 'case' construct to avoid
458         incorrect warnings.
459
460 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
461
462         * src/hildon-touch-selector-entry.c
463         (hildon_touch_selector_entry_get_property),
464         (hildon_touch_selector_entry_set_property): Add missing 'break'
465         statements in in 'case' constructs to avoid incorrect warnings.
466
467 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
468
469         * src/hildon-time-editor.c
470         (hildon_time_editor_get_time_separators): Do not crash if
471         the first label is NULL.
472
473 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
474
475         * src/hildon-date-selector.c (_month_days): Check for month to be
476         strictly less than 12, since otherwise we may overrun the array.
477
478 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
479
480         * src/hildon-date-button.c (+hildon_date_button_new_full)
481         (hildon_date_button_new, hildon_date_button_new_with_year_range)
482         (hildon_date_button_init): Set the date selector using a
483         construction property, to make it happen after HildonButton's
484         "value" property is set.
485
486         Fixes: NB#104439 (hildon_date_button_new() isn't set to the
487         current date by default)
488
489 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
490
491         * doc/hildon-sections.txt
492         * src/hildon-program.c
493         * src/hildon-stackable-window.c
494         * src/hildon-window.c:
495         Documentation updates
496
497 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
498
499         * src/hildon-window-stack.c (hildon_window_stack_get_default)
500         (hildon_window_stack_new, +hildon_window_stack_set_property)
501         (+hildon_window_stack_get_property)
502         (hildon_window_stack_class_init)
503         (+hildon_window_stack_set_window_group)
504         (+hildon_window_stack_get_window_group):
505         Make the window group a construction property.
506
507 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
508
509         * doc/hildon-sections.txt
510         * src/hildon-stackable-window-private.h
511         * src/hildon-stackable-window.h
512         * src/hildon-stackable-window.c
513         (-hildon_stackable_window_set_app_menu)
514         (-hildon_stackable_window_get_app_menu)
515         (-hildon_stackable_window_toggle_menu)
516         (-hildon_stackable_window_finalize)
517         (hildon_stackable_window_class_init)
518         (hildon_stackable_window_init)
519         * src/hildon-window-private.h
520         * src/hildon-window.h
521         * src/hildon-window.c (hildon_window_init)
522         (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
523         (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
524         (hildon_window_get_main_menu, hildon_window_set_main_menu)
525         (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
526         Moved all HildonAppMenu code to HildonWindow. The menu does not
527         require a HildonStackableWindow anymore.
528
529         * src/hildon-app-menu.c
530         * src/hildon-program.c
531         * examples/hildon-app-menu-example.c (main):
532         Update examples and documentation to reflect HildonAppMenu
533         changes.
534
535 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
536
537         * src/hildon-remote-texture.c
538         * src/hildon-animation-actor.c:
539         Don't include unused private headers.
540
541 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
542
543         * src/hildon-program-private.h
544         * src/hildon-program.c
545         (hildon_program_set_common_menu)
546         (hildon_program_get_common_menu)
547         (hildon_program_set_common_app_menu)
548         (hildon_program_get_common_app_menu):
549         Change common menu pointers from GtkWidget* to GtkMenu* and
550         HildonAppMenu* to avoid unnecessary casts.
551
552 2009-03-03  Alberto Garcia  <agarcia@igalia.com>
553
554         * src/hildon-window.c (hildon_window_set_main_menu):
555         Removed incorrect 'Since:' tag
556
557 2009-03-03  Alejandro G. Castro  <alex@igalia.com>
558
559         * src/hildon-pannable-area.c,
560         (hildon_pannable_area_calculate_velocity): We use now the
561         RATIO_TOLERANCE here to check the distance, fixed typo in the
562         algorithm.
563         (hildon_pannable_area_motion_notify_cb): We have to set the type
564         and time even if we are not sending the motion.
565
566 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
567
568         * doc/hildon-sections.txt
569         * src/hildon-app-menu.h
570         * src/hildon-app-menu.c (+hildon_app_menu_get_items)
571         (+hildon_app_menu_get_filters): New methods to get the contents of
572         a HildonAppMenu.
573
574         Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
575         children)
576
577 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
578
579         * src/hildon-app-menu.c (hildon_app_menu_popup):
580         Add "Since" tag.
581
582 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
583
584         * src/hildon-window.h
585         * src/hildon-window.c (+hildon_window_get_main_menu)
586         (hildon_window_get_menu): Created hildon_window_get_main_menu()
587         and deprecated hildon_window_get_menu().
588
589         * src/hildon-stackable-window.h
590         * src/hildon-stackable-window.c
591         (+hildon_stackable_window_set_app_menu)
592         (+hildon_stackable_window_get_app_menu)
593         (hildon_stackable_window_set_main_menu): Created
594         hildon_stackable_window_{get,set}_app_menu() and deprecated
595         hildon_stackable_window_set_main_menu().
596
597         * doc/hildon-sections.txt
598         * examples/hildon-app-menu-example.c (main)
599         * src/hildon-app-menu.c
600         * src/hildon-program.c:
601         Updated examples and documentation.
602
603         Fixes: NB#103758 (No way to obtain a menu from a
604         HildonStackableWindow)
605
606 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
607
608         [Release 2.1.46]
609
610         * NEWS: Updates.
611         * configure.ac: Bump version.
612         * debian/changelog: Updates.
613
614 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
615
616         * examples/hildon-remote-texture-example.c: Include
617         hildon-remote-texture.h explicitely.
618         * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
619         applications not defining _XOPEN_SOURCE which don't require this header.
620
621 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
622
623         * doc/hildon-sections.txt
624         * src/hildon-app-menu.h
625         * src/hildon-app-menu.c (+hildon_app_menu_popup):
626         New function to pop up a HildonAppMenu
627
628         * src/hildon-stackable-window.c
629         (hildon_stackable_window_toggle_menu):
630         Use hildon_app_menu_popup() to show the menu.
631
632 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
633
634         * src/hildon-app-menu.c (hildon_app_menu_show)
635         (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
636         menu if there's another window between it and its parent window.
637
638         Fixes: NB#100468 (Application menu window is launched even when a
639         new secondary-window/dialog is pending to be shown/realized)
640
641 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
642
643         * src/hildon-window-stack.c (hildon_window_stack_push)
644         (hildon_window_stack_pop_and_push):
645         Don't forget to push/pop the first window.
646         Reverse the window list before calling _push_list()
647
648 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
649
650         * src/hildon-picker-button.h
651         * src/hildon-picker-button.c (hildon_picker_button_class_init):
652         Remove "value_changed" slot to avoid ABI breakage
653
654 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
655
656         * src/hildon-pannable-area.c,
657         (hildon_pannable_area_realize),
658         (hildon_pannable_area_unrealize),
659         (hildon_pannable_draw_vscroll),
660         (hildon_pannable_draw_hscroll): Changed the method to handle the
661         GC used to draw the transparent scrollbar, this way we avoid
662         creating the GC all the time when drawing the scrollbars.
663
664 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
665
666         * src/hildon-pannable-area.c,
667         (hildon_pannable_area_init),
668         (hildon_pannable_area_remove): Removed some unnecessary casts.
669         (hildon_pannable_area_dispose): Disconnected some signals before
670         releasing the adjustments.
671
672 2009-02-26  Alberto Garcia  <agarcia@igalia.com>
673
674         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
675         Make sure that all widgets contained in the toolbar are shown.
676
677 2009-02-25  Alberto Garcia  <agarcia@igalia.com>
678
679         * doc/hildon-sections.txt
680         * src/hildon-picker-button.h
681         * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
682         (_selection_changed, hildon_picker_button_on_dialog_response)
683         (hildon_picker_button_class_init, hildon_picker_button_set_selector):
684         New hildon_picker_button_value_changed() method.
685
686         * src/Makefile.am
687         * src/hildon-picker-button-private.h
688         * src/hildon-picker-button.c (hildon_picker_button_init)
689         (+hildon_picker_button_disable_value_changed): Add protected
690         function for disabling the "value-changed" signal.
691
692         * src/hildon-date-button.c (hildon_date_button_set_date):
693         Don't emit "value-changed" for each one of the three columns.
694
695         Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
696         before actual change of values)
697
698 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
699
700         * src/hildon-pannable-area.c,
701         (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
702         for the treeview overshooting.
703
704 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
705
706         * src/hildon-banner.c (+hildon_banner_bind_style):
707         Renamed from hildon_banner_bind_label_style(), now naming the
708         banner itself as well.
709         (hildon_banner_show_information),
710         (hildon_banner_show_information_with_markup),
711         (hildon_banner_show_animation), (hildon_banner_show_progress):
712         Name the widgets and labels, based on their type.
713
714         See NB#98597 (Hildon Note and Hildon Banner should use themeable
715         background image)
716
717 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
718
719         * src/hildon-note.c (hildon_note_set_property): call
720         hildon_note_rename() on HildonNote:note-type set.
721         (hildon_note_rename): Name the note and its label, based on the
722         HildonNote:note-type property.
723
724         See NB#98597 (Hildon Note and Hildon Banner should use themeable
725         background image)
726
727 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
728
729         * src/hildon-pannable-area.c,
730         (hildon_pannable_area_class_init),
731         (hildon_pannable_area_motion_notify_cb): Reviewed the default
732         panning parameters, increased SPS and deceleration factor. Added
733         also a margin to control fake directions.
734
735 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
736
737         Patch by Sven Herzberg (sven@imendio.com)
738
739         * configure.ac: Add missing AM_PROG_CC_C_0
740         * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
741
742         See NB#101420 (Update unit tests and fix make check)
743
744 2009-02-23  Alejandro G. Castro  <alex@igalia.com>
745
746         This patch was applied before but reverted because it caused
747         problems, we have changed the main condition and tested the
748         regressions we detected before and they work ok. We have done a
749         complete review of the topmost algorithm in order to get a more
750         general solution.
751
752         * src/hildon-pannable-area.c,
753         (hildon_pannable_area_get_topmost): Added a new parameter to
754         filter the the windows that do not include those events.
755         (hildon_pannable_area_button_press_cb),
756         (hildon_pannable_area_button_release_cb),
757         (hildon_pannable_get_child_widget_at): Reviewed the call the the
758         topmost function, we have added the new parameter.
759
760         Fixes: NB#97458 (Pannable area prevents propagation of button
761         press events)
762
763 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
764
765         * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
766         if all columns in the selector have an item selected.
767         (_on_dialog_response): Stop "response" signal emission if there is
768         any selector column without selected items.
769
770         Fixes: NB#101889 (Picker dialog should not close when nothing is
771         selected in multiple selection list)
772
773 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
774
775         * src/hildon-font-selection-dialog.c
776         (hildon_font_selection_dialog_class_init),
777         (hildon_font_selection_dialog_init): Remove the preview
778         button and dialog, since previewing with default theming is likely
779         to be overcomplicated. The :preview property has now no effect.
780         Update documentation blurbs to inform about this.
781
782         Fixes: NB#92297 (Preview content is not clearly visible for
783         default colour text)
784
785 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
786
787         Reviewed the geometry that handles the children size and
788         scrollbar, now it tries a size and reviews the results depending
789         on the scrollbars visibility.
790
791         * src/hildon-pannable-area.c,
792         (hildon_pannable_area_realize): Fixed a typo.
793         (hildon_pannable_area_child_allocate_calculate): Added this
794         function to calculate the child allocation.
795         (hildon_pannable_area_size_allocate): Reviewed the allocation
796         code.
797         (hildon_pannable_area_check_scrollbars),
798         (hildon_pannable_area_refresh): Refactored refresh function, this
799         way we can call the code handling the scrollbars without causing a
800         size_request, it is interesting in the allocate.
801         (hildon_pannable_area_init): Replace the callbacks of the
802         value_changed and changed signals to propertly deal with the
803         geometry.
804         (hildon_pannable_area_grab_notify),
805         (hildon_pannable_area_initial_effect),
806         (hildon_pannable_area_launch_fade_timeout),
807         (hildon_pannable_area_adjust_changed),
808         (hildon_pannable_area_adjust_value_changed),
809         (hildon_pannable_area_redraw),
810         (hildon_pannable_area_button_press_cb),
811         (hildon_pannable_area_button_release_cb),
812         (hildon_pannable_area_scroll_cb),
813         (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
814         code and use the new functions adjust_changed and
815         adjust_value_changed.
816
817         Fixes: NB#101603 (Focus is not even for the text entry boxes in
818         Contact editor dialog)
819
820 2009-02-20  Claudio Saavedra  <csaavedra@igalia.com>
821
822         [Release 2.1.44]
823
824         * NEWS: Updates.
825         * configure.ac: Bump version.
826         * debian/changelog: Updates.
827
828 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
829
830         * src/hildon-pannable-area.c,
831         (hildon_pannable_area_get_topmost),
832         (hildon_pannable_area_button_press_cb),
833         (hildon_pannable_area_button_release_cb),
834         (hildon_pannable_get_child_widget_at): Reverted the patch for the
835         topmost function adding the event mask. We have to try a
836         differente approach because it is still causing problems (NB#9745,
837         reopened).
838
839 2009-02-19  Alberto Garcia  <agarcia@igalia.com>
840
841         * src/hildon-banner.c:
842         Update the maximum width of timed banners.
843         (force_to_wrap_truncated): Enforce the maximum text width if the
844         label is wrapped.
845
846         Fixes: NB#102413 (The text margins (wrapping) in information
847         banner should be HILDON_MARGIN_TRIPLE)
848
849 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
850
851         Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
852
853         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
854         (hildon_pannable_draw_hscroll): Consider the adjustment's lower
855         bound when calculating the scroll indicator position.
856
857         Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
858         treat ->lower correctly)
859
860 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
861
862         * src/hildon-caption.c (hildon_caption_class_init): Remove the
863         expose event handling, since it is not necessary to draw the focus
864         anymore.
865
866         Fixes: NB#102467 (Do not show highlight on the text in
867         HildonCaption)
868
869 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
870
871         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
872         full height of the toolbar for the button and the label.
873
874 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
875
876         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
877         padding before the label and after the button.
878
879 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
880
881         * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
882
883         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
884         Add a GtkVSeparator between the button and the back arrow.
885         Let the button have automatic size.
886         Set a name to the widget for theming handling.
887
888         Fixes: NB#101793 (Make edit toolbar the same height as window
889         title bar (use title area theming))
890
891 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
892
893         * src/hildon-helper.c (attach_new_color_element): Fix memory
894         leak.
895
896         Fixes: NB#102262 (memory leak in hildon_button_set_style())
897
898 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
899
900         * examples/hildon-button-example.c (common_buttons_window): Don't
901         leak size groups.
902
903 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
904
905         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
906         Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
907
908 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
909
910         * src/hildon-gtk.c: Check that the window is realized.
911
912         Fixes: NB#102225 (Crash setting the progress indicator to a non
913         visible window)
914
915 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
916
917         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
918         (hildon_pannable_draw_hscroll): Make a copy of the graphic context
919         instead of modifying the one in the widget style.
920
921         Fixes: NB#101043 (Second row of all the command button are
922         displayed in transparent mode.)
923
924 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
925
926         * src/hildon-date-button.c
927         * src/hildon-time-button.c: Add gettext macros
928
929 2009-02-16  Claudio Saavedra  <csaavedra@igalia.com>
930
931         * src/hildon-date-button.c (hildon_date_button_new):
932         * src/hildon-time-button.c (hildon_time_button_new_step):
933         Use new logical strings to set the button default title.
934
935         Fixes: NB#99915 (Date and Time options are not localised in Date
936         and Time setttings)
937
938 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
939
940         * src/hildon-pannable-area.c
941         (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
942         the PANNING_THRESHOLD.
943
944 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
945
946         * src/hildon-pannable-area.c,
947         (hildon_pannable_area_class_init): Increased the maximum speed.
948         (hildon_pannable_area_get_property),
949         (hildon_pannable_area_set_property),
950         (hildon_pannable_area_timeout): Added a new low friction mode, it
951         allows the user avoid friction when launching the widget fast
952         enough. It is interesting to traverse long lists.
953
954 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
955
956         * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
957         (+hildon_stackable_window_delete_event): Ignore delete events if
958         the window is not the topmost one.
959
960         Fixes: NB#101698 (Back button long press and delete-event handling)
961
962 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
963
964         * src/hildon-pannable-area.c,
965         (hildon_pannable_area_motion_notify_cb): Removed the use of the
966         gtk-dnd-drag-threshold, it was too big. We have defined our own
967         dnd define and set a smaller value: PANNIG_THRESHOLD.
968
969 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
970
971         * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
972         user-defined icons, use always the default one.
973
974         Fixes: NB#101916 (Do not allow custom icons on animation banner)
975
976 2009-02-13  Alejandro G. Castro  <alex@igalia.com>
977
978         This patch was applied before but reverted because it caused
979         problems, we have changed the main condition and tested the
980         regressions we detected before and they work ok.
981
982         * src/hildon-pannable-area.c,
983         (hildon_pannable_area_get_topmost): Added a new parameter to
984         filter the the windows that do not include those events. Added
985         also a condition when finding the window to filter windows that do
986         not ask for those events.
987         (hildon_pannable_area_button_press_cb),
988         (hildon_pannable_area_button_release_cb),
989         (hildon_pannable_get_child_widget_at): Reviewed the call the the
990         topmost function, we have added the new parameter.
991
992         Fixes: NB#97458 (Pannable area prevents propagation of button
993         press events)
994
995 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
996
997         * tests/check-hildon-color-button.c (START_TEST): do not leak
998         ret_color.
999
1000 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
1001
1002         * src/hildon-font-selection-dialog.c
1003         (hildon_font_selection_dialog_get_preview_text): Return NULL
1004         instead of FALSE on the g_return_val_if_fail().
1005
1006 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
1007
1008         * src/hildon-time-selector.c (hildon_time_selector_set_time):
1009         * src/hildon-date-selector.c
1010         (hildon_date_selector_select_current_date):
1011         Do not compare unsigned integers to be greater than or equal 0,
1012         because it's always TRUE.
1013
1014 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
1015
1016         * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1017         (hildon_date_selector_constructor): Do not select the current
1018         date until we are handle the "changed" signal, to avoid having bogus
1019         elements in the days model.
1020
1021 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
1022
1023         * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1024         for num_days, since _month_days() can return a negative value.
1025
1026 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
1027
1028         * src/hildon-caption.c (hildon_caption_size_allocate):
1029         * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1030         * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1031
1032         Initialize allocation variables to 0, to avoid eventually using
1033         unitialized variables.
1034
1035 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
1036
1037         * src/hildon-bread-crumb-trail.c
1038         (hildon_bread_crumb_trail_size_allocate):
1039         * src/hildon-calendar.c (hildon_calendar_set_background):
1040         * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1041         * src/hildon-range-editor.c (hildon_range_editor_get_range):
1042         * src/hildon-seekbar.c (hildon_seekbar_init):
1043         * src/hildon-time-editor.c (hildon_time_editor_get_time):
1044         * src/hildon-time-selector.c (hildon_time_selector_finalize):
1045         * src/hildon-touch-selector-entry.c
1046         (hildon_touch_selector_get_text_from_model):
1047         * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1048         * src/hildon-window.c (hildon_window_finalize):
1049
1050         Remove many unused variables.
1051
1052 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
1053
1054         * src/hildon-seekbar.c: (hildon_seekbar_init),
1055         (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1056
1057         Remove unnecessary g_assert() calls.
1058
1059 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
1060
1061         * src/hildon-caption.c: (hildon_caption_expose),
1062         (hildon_caption_set_property), (hildon_caption_init),
1063         (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1064         (hildon_caption_size_request), (hildon_caption_size_allocate),
1065         (hildon_caption_forall), (hildon_caption_set_separator),
1066         (hildon_caption_activate), (hildon_caption_set_child_expand),
1067         (hildon_caption_set_label_text),
1068         (hildon_caption_get_label_alignment):
1069
1070         Remove unnecessary g_assert() calls.
1071
1072 2009-02-12  Alberto Garcia  <agarcia@igalia.com>
1073
1074         * src/hildon-banner.c
1075         (hildon_banner_map, hildon_banner_init): Make banner temporary
1076         before mapping it to avoid closing other temporary windows, but
1077         make it non-temporary afterwards to avoid being closed by other
1078         non-temporary windows.
1079         (-hildon_banner_client_event, hildon_banner_init):
1080         _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1081
1082         Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1083         opened)
1084
1085 2009-02-11  Alberto Garcia  <agarcia@igalia.com>
1086
1087         * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1088         deprecation guard.
1089
1090 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
1091
1092         * src/hildon-remote-texture.c
1093         * src/hildon-remote-texture.h
1094         * src/hildon-remote-texture-private.h
1095         * examples/hildon-remote-texture-example.c:
1096         Updates/fixes to remote-texture and its example.
1097
1098 2009-02-11  Claudio Saavedra  <csaavedra@igalia.com>
1099
1100         Patch by Mox Soini (ext-mox.soini@nokia.com)
1101
1102         * src/hildon-code-dialog.c: Update logical id.
1103         * src/hildon-set-password-dialog.c: Update logical id.
1104
1105         Fixes: NB#100646 (Logical strings is shown for ok in set
1106         password,Password needed dialogs)
1107
1108 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
1109
1110         * src/hildon.h
1111         * src/hildon-remote-texture.c
1112         * src/hildon-remote-texture.h
1113         * src/hildon-remote-texture-private.h
1114         * src/Makefile.am
1115         Added remote texture widget (for Clutter shared memory textures)
1116
1117         * examples/hildon-remote-texture-example.c
1118         * examples/Makefile.am
1119         Added example file for remote texture usage
1120
1121 2009-02-10  Claudio Saavedra  <csaavedra@igalia.com>
1122
1123         * configure.ac: post release version bump.
1124         * debian/changelog: version bump.
1125
1126 2009-02-06  Claudio Saavedra  <csaavedra@igalia.com>
1127
1128         [Release 2.1.42]
1129
1130         * NEWS: Updates.
1131         * configure.ac: Bump version.
1132         * debian/changelog: Updates.
1133
1134 2009-02-06  Alberto Garcia  <agarcia@igalia.com>
1135
1136         * src/hildon-date-selector.c (hildon_date_selector_init)
1137         (hildon_date_selector_constructor): Don't connect to the "changed"
1138         signal until the selector is completely constructed.
1139
1140 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
1141
1142         * src/hildon-touch-selector.c: (_create_new_column),
1143         (hildon_touch_selector_append_column),
1144         (hildon_touch_selector_set_column_selection_mode),
1145         (hildon_touch_selector_set_active),
1146         (hildon_touch_selector_select_iter):
1147         Emit the HildonTouchSelector::changed signal every time selection
1148         is changed in any of the methods above.  This behavior was already
1149         documented but not fully functional.
1150
1151         Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1152         selection is programmatically changed)
1153
1154 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
1155
1156         * doc/hildon-sections.txt: Remove obsolete icon
1157         sizes from here as well.
1158
1159 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
1160
1161         * examples/hildon-stackable-window-example.c (add_window): Remove
1162         unnecessary return.
1163
1164 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
1165
1166         * src/hildon-app-menu.c
1167         (hildon_app_menu_show): Check whether the parent window of a menu
1168         is topmost before popping it up.
1169
1170         Fixes: NB#100468 (Application menu window is launched even when a
1171         new secondary-window/dialog is pending to be shown/realized.)
1172
1173 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
1174
1175         * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1176         icon sizes.
1177
1178 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
1179
1180         Patch by Mox Soini (ext-mox.soini@nokia.com)
1181
1182         * src/hildon-banner.c: (hildon_banner_show_animation):
1183         use stylus size instead of obsolete note size.
1184         * src/hildon-defines.h: Update icon sizes.
1185
1186 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
1187
1188         * src/hildon-touch-selector-entry.c:
1189         (hildon_touch_selector_entry_init): Disable unsupported
1190         input modes.
1191         (hildon_touch_selector_entry_get_text_column): Emit a warning
1192         if an unsupported input modes is used and explicitile state
1193         these modes in the documentation.
1194
1195         Fixes: NB#99802 (Hildon touch selector entry not working properly
1196         for some of the input modes)
1197
1198 2009-02-05  Alejandro G. Castro  <alex@igalia.com>
1199
1200         * src/hildon-pannable-area.c,
1201         (hildon_pannable_area_init): Added the changed signal handlers of
1202         the adjustments.
1203
1204         Fixes: NB#100320 (HildonPannableArea does not listen to
1205         GtkAdjustment "change" signals)
1206
1207 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
1208
1209         * doc/hildon-sections.txt
1210         * src/hildon-window-private.h
1211         * src/hildon-window.h
1212         * src/hildon-window.c (hildon_window_init)
1213         (hildon_window_realize, hildon_window_unrealize)
1214         (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1215         (hildon_window_size_request, hildon_window_size_allocate)
1216         (hildon_window_forall, hildon_window_show_all)
1217         (hildon_window_destroy, +paint_edit_toolbar)
1218         (+hildon_window_set_edit_toolbar):
1219         New hildon_window_set_edit_toolbar() method, to add a
1220         HildonEditToolbar to a window without having to pack it manually.
1221
1222         Reorganize hildon_window_size_allocate()
1223
1224         * src/hildon-edit-toolbar.c: Update documentation.
1225
1226         * examples/hildon-edit-toolbar-example.c (edit_window): Update
1227         example to use the new API.
1228
1229         Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1230
1231 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
1232
1233         * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1234         Remove from stack before calling parent's hide.
1235
1236 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
1237
1238         * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1239         window is removed from the middle of the stack, update the
1240         transiency of the previous one.
1241
1242         Fixes: NB#100487 (HildonStackableWindow transiency becomes
1243         incoherent)
1244
1245 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
1246
1247         * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1248         block/unblock the signal handler if it's not actually being used.
1249         Fixes some critical warnings.
1250
1251 2009-02-02  Alberto Garcia  <agarcia@igalia.com>
1252
1253         Based on a patch by Iván Gómez (igomez@igalia.com)
1254
1255         * src/hildon-banner.c
1256         * src/hildon-gtk.c
1257         * src/hildon-main.c
1258         * src/hildon-note.c
1259         * src/hildon-pannable-area.c
1260         * src/hildon-picker-dialog.c
1261         * src/hildon-wizard-dialog.h
1262         * src/hildon-wizard-dialog.c: Documentation updates.
1263
1264         * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1265         gtk_dialog_add_button() instead of hildon_dialog_add_button().
1266
1267 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
1268
1269         * configure.ac: post release version bump.
1270         * debian/changelog: version bump.
1271
1272 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
1273
1274         [Release 2.1.40]
1275
1276         * NEWS: Updates.
1277         * configure.ac: Bump version.
1278         * debian/changelog: Updates.
1279
1280 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
1281
1282         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1283         a stock icon nor change the relief of the back arrow.
1284
1285         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1286         graphics from theme)
1287
1288 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
1289
1290         * src/hildon-button.c (hildon_button_set_alignment): Use
1291         priv->alignment if the button has no child yet.
1292
1293 2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
1294
1295         * src/hildon-button.c: (hildon_button_init): Set the
1296         button style during initialization to give it the proper
1297         label color.
1298
1299         Fixes: NB#99713 (HildonButton value label color is wrong)
1300
1301 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
1302
1303         * src/hildon-touch-selector.c: Document
1304         hildon_touch_selector_center_on_selected()
1305
1306 2009-01-28  Alberto Garcia  <agarcia@igalia.com>
1307
1308         * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1309         (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1310         all menu items, but not the menu itself.
1311         (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1312         (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1313         items after adding them to the menu so keyboard accelerators work.
1314         (hildon_app_menu_show): Don't show the menu if it contains items
1315         but none of them are visible.
1316
1317         * examples/hildon-app-menu-example.c (create_menu): Use
1318         gtk_widget_show_all() to show all menu items.
1319
1320 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
1321
1322         * src/hildon-picker-dialog.c:
1323         (-_update_title_on_selector_changed_cb),
1324         (-_dialog_update_title): Removed.
1325         (_select_on_selector_changed_cb), (_on_dialog_response),
1326         (on_selector_columns_changed): Do not update the dialog title.
1327         (setup_interaction_mode): Do not connect to
1328         HildonTouchSelector::changed signal if there's a "done" button, as
1329         the dialog title doesn't need to be updated.
1330
1331         Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1332         contents in title)
1333
1334 2009-01-27  Claudio Saavedra  <csaavedra@igalia.com>
1335
1336         Patch by Kristian Rietveld (kris@imendio.com)
1337
1338         * src/hildon-touch-selector.c: (_create_new_column): Use new
1339         GtkTreeView::hildon-row-tapped signal to react to user interactions
1340         instead of ::changed.
1341
1342         Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1343         with some dynamic tree model)
1344
1345 2009-01-27  Alberto Garcia  <agarcia@igalia.com>
1346
1347         * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1348         (+screen_size_changed, +label_size_request)
1349         (hildon_note_class_init): Make the Hildon information note have a
1350         minimum height, and make its text hvae a maximum width.
1351
1352         Fixes: NB#98614 (Hildon information note (background) should have
1353         minimum height and maximum text width)
1354
1355 2009-01-26  Alberto Garcia  <agarcia@igalia.com>
1356
1357         * src/hildon-banner.h
1358         * src/hildon-banner.c (hildon_banner_show_information)
1359         (hildon_banner_show_informationf)
1360         (hildon_banner_show_information_with_markup): Update documentation
1361         to reflect that the icon_name parameter is not used anymore.
1362         (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1363         Remove all code from these functions and mark them as deprecated.
1364         (hildon_banner_show_progress): Mark as deprecated.
1365
1366         Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1367
1368 2009-01-26  Alejandro G. Castro  <alex@igalia.com>
1369
1370         * src/hildon-pannable-area.c,
1371         (hildon_pannable_area_class_init),
1372         (tranparency_color),
1373         (hildon_pannable_draw_vscroll),
1374         (hildon_pannable_draw_hscroll),
1375         (hildon_pannable_area_expose_event): Added a new way to render the
1376         scrollbars of the pannable area avoiding using cairo at all. This
1377         way we improve the performance of the pannable area rendering. The
1378         cairo rendering procedure is still in the code, we can control
1379         which one to use changing the value of the define
1380         USE_CAIRO_SCROLLBARS.
1381
1382 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
1383
1384         * configure.ac: post release version bump.
1385         * debian/changelog: version bump.
1386
1387 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
1388
1389         [Release 2.1.38]
1390
1391         * NEWS: Updates.
1392         * configure.ac: Bump version.
1393         * debian/changelog: Updates.
1394
1395 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
1396
1397         * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1398         banners instead of destroying them when they receive a button
1399         press.
1400
1401 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
1402
1403         Reverted commit 34028, it was causing regressions, probably the
1404         topmost condition is not correct, we have to check it in more
1405         detail. We have reponed the bug: NB#97458 (Pannable area prevents
1406         propagation of button press events)
1407
1408 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
1409
1410         * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1411         that the selection is not empty before attempting to retrieve the
1412         current ampm selection.
1413
1414 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
1415
1416         * src/hildon-picker-button.c:
1417         (hildon_picker_button_on_dialog_response): Directly update the
1418         button contents when required instead of calling _selection_changed.
1419
1420 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
1421
1422         * src/hildon-program.c (hildon_program_update_top_most): Update
1423         'is-topmost' property also when wm_hints is not set.
1424
1425         Fixes: NB#98383 (is-topmost signal is not emitted when task
1426         switcher is clicked.)
1427
1428 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
1429
1430         Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1431
1432         * src/Makefile.am,
1433         * src/hildon.h,
1434         * src/hildon-animation-actor.c,
1435         * src/hildon-animation-actor.h: Added the animation actor class,
1436         this widget represents an animation actor for WM-assisted
1437         animation effects in the Hildon framework.
1438
1439 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
1440
1441         * src/hildon-window-stack-private.h
1442         * src/hildon-window-stack.c
1443         * src/hildon-stackable-window.c (hildon_stackable_window_show):
1444         Avoid calling gtk_widget_show() again indirectly from
1445         hildon_stackable_window_show()
1446
1447 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
1448
1449         * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1450         unused variable.
1451
1452 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
1453
1454         * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1455         (hildon_time_selector_init): Move the construction of the hours and
1456         ampm columns to the constructor to preserve the order the columns
1457         are appended.
1458
1459 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
1460
1461         * src/hildon-picker-dialog.c:
1462         (hildon_picker_dialog_class_init): Connect a realize method.
1463         (+hildon_picker_dialog_realize): Setup the interaction mode here
1464         and not before.
1465         (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1466         yet, do it during the realize instead.
1467         (_on_dialog_response):
1468         (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1469         if the widget is not realized, to avoid the dialog response before it
1470         is even shown.
1471
1472         Avoid premature responses in the HildonPickerDialog that can cause it
1473         to be hidden before it's even shown.
1474
1475 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
1476
1477         * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1478         (on_selector_columns_changed), (requires_done_button),
1479         (+prepare_action_area), (setup_interaction_mode),
1480         (_hildon_picker_dialog_set_selector):
1481
1482         Split the interaction mode setup into preparation of the
1483         action area (prepare_action_area()) and the connection of
1484         the signals in setup_interaction_mode() and update the code to
1485         reflect this.
1486
1487 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
1488
1489         * src/hildon-pannable-area.c,
1490         (hildon_pannable_area_class_init): Reduced the amount of scrolls
1491         per second to 15, we will check if this is ok regarding
1492         smoothness.
1493
1494 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
1495
1496         * src/hildon-pannable-area.c,
1497         (hildon_pannable_axis_scroll): Avoid resize if we already have
1498         reached overshoot_max.
1499
1500 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
1501
1502         * src/hildon-pannable-area.c,
1503         (hildon_pannable_area_init),
1504         (hildon_pannable_area_realize),
1505         (hildon_pannable_area_size_allocate),
1506         (hildon_pannable_area_map),
1507         (hildon_pannable_area_unmap),
1508         (hildon_pannable_draw_vscroll),
1509         (hildon_pannable_draw_hscroll),
1510         (hildon_pannable_area_expose_event),
1511         (hildon_pannable_area_refresh): Added a new GdkWindow to the
1512         pannable are to avoid the expose events go to the window and
1513         redraw the window. We save this way that part of the stack and the
1514         paint_boxes. We had to change the positions of the elements when
1515         drawing.
1516
1517 2009-01-21  Claudio Saavedra  <csaavedra@igalia.com>
1518
1519         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1520         * src/hildon-color-chooser-dialog.c:
1521         (hildon_color_chooser_dialog_init):
1522         * src/hildon-font-selection-dialog.c:
1523         (hildon_font_selection_dialog_init),
1524         (hildon_font_selection_dialog_show_preview):
1525         * src/hildon-get-password-dialog.c:
1526         * src/hildon-login-dialog.c:
1527         * src/hildon-set-password-dialog.c:
1528         * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1529         * src/hildon-time-picker.c: (hildon_time_picker_init):
1530
1531         Remove obsolete logical string IDs and update to the appropriate ones.
1532
1533         Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1534
1535 2009-01-21  Alberto Garcia  <agarcia@igalia.com>
1536
1537         * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1538         that happens if the window hasn't been realized yet.
1539
1540         Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1541         - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1542
1543 2009-01-20  Alberto Garcia  <agarcia@igalia.com>
1544
1545         * src/hildon-app-menu.c (hildon_app_menu_class_init)
1546         (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1547         by another grab.
1548
1549         Fixes: NB#98537 (Device hangs in account settings dialog)
1550
1551 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
1552
1553         * configure.ac: post release version bump.
1554         * debian/changelog: version bump
1555
1556 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
1557
1558         [Release 2.1.36]
1559
1560         * NEWS: Updates.
1561         * configure.ac: Bump version.
1562         * debian/changelog: Updates.
1563
1564 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
1565
1566         Added a new function to the HildonTimeButton widget that allows to
1567         change the step of the minutes in the selector associated with the
1568         button: hildon_time_button_new_step
1569
1570         * src/hildon-time-button.c,
1571         (hildon_time_button_init),
1572         (hildon_time_button_new),
1573         (hildon_time_button_new_step):
1574         * src/hildon-time-button.h: Added the new function and refactored
1575         the code.
1576         * examples/hildon-time-button-example.c,
1577         (main): We have replaced the function without parameters with the
1578         function with the steps set to 5
1579
1580         Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1581
1582 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
1583
1584         * src/hildon-time-selector.c,
1585         (hildon_time_selector_class_init),
1586         (hildon_time_selector_constructor),
1587         (hildon_time_selector_get_property),
1588         (hildon_time_selector_set_property),
1589         (_create_minutes_model),
1590         (hildon_time_selector_new_step),
1591         (hildon_time_selector_set_time),
1592         * src/hildon-time-selector.h: Added a new property to the
1593         HildonTimeSelector (minutes-step), we use that property to control
1594         the steps between the minutes in the list of the selector. We have
1595         added a new function to the API to create a widget changing the
1596         step: hildon_time_selector_new_step.
1597
1598 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
1599
1600         * src/hildon-time-selector.c,
1601         (hildon_time_selector_class_init),
1602         (hildon_time_selector_constructor),
1603         (hildon_time_selector_init): Overrided the construct function when
1604         creating the time selector object. We have moved the minutes model
1605         handling code from the init to the new construction function:
1606         hildon_time_selector_constructor.
1607
1608 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
1609
1610         * examples/hildon-date-button-example.c: (main): Use the new
1611         hildon_date_button_new_with_year_range() method in the example.
1612         * src/hildon-date-button.c:
1613         (+hildon_date_button_new_with_year_range): New public method
1614         to conveniently create a HildonDateButton with a custom year range
1615         in its HildonDateSelector.
1616         * src/hildon-date-button.h: Add the new public method definition.
1617
1618         Fixes: NB#97908 (Not possible to change the year range in
1619         HildonDateSelector/HildonDateButton)
1620
1621 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
1622
1623         * src/hildon-date-selector.c:
1624         (+hildon_date_selector_set_property),
1625         (+hildon_date_selector_get_property),
1626         (hildon_date_selector_class_init): Install new properties "min-year"
1627         and "max-year" to define boundaries for the year column.
1628         (_create_year_model): Use the boundary properties to populate the model.
1629         (+hildon_date_selector_new_with_year_range): New public method to
1630         create a HildonDateSelector with a user defined year range.
1631         (hildon_date_selector_select_current_date): Use the new boundaries to
1632         calculate the iterator of current year.
1633         * src/hildon-date-selector.h: Add the new public method definition.
1634
1635 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
1636
1637         * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1638         Install a constructor method.
1639         (+hildon_date_selector_construct_ui): construct the widget.
1640         (+hildon_date_selector_constructor): new constructor.
1641         (+hildon_date_selector_init): move out widget construction code to
1642         the new constructor.
1643
1644 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
1645
1646         * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1647         that there's actually a month or year selected before obtaining them.
1648         * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1649         of the HildonTouchSelector::changed signal, as it was emitted on every
1650         single item selection.
1651
1652         Fix some warnings and possible crashers due to the selection restoring.
1653
1654 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
1655
1656         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1657         the signal handlers only after creating the dialog instead of on every
1658         button click.
1659
1660 2009-01-19  Alberto Garcia  <agarcia@igalia.com>
1661
1662         * src/hildon-button.c (hildon_button_init)
1663         * src/hildon-check-button.c (hildon_check_button_init)
1664         * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1665         focus when clicked by default.
1666
1667 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
1668
1669         * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1670         g_object_unref().
1671
1672 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
1673
1674         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1675         Alejandro G. Castro  (alex@igalia.com)
1676
1677         * src/hildon-picker-dialog.c:
1678         (hildon_picker_dialog_class_init): install new "center-on-show"
1679         property.
1680         (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1681         (hildon_picker_dialog_set_property): add setter code for the new
1682         property.
1683         (hildon_picker_dialog_get_property): add getter code for the new
1684         property.
1685         (hildon_picker_dialog_show): Ensure visibility of selected items in the
1686         HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1687         default.
1688
1689         Fixes: NB#92849 (Selected item is not always visible when
1690         HildonTouchSelector is shown)
1691
1692 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
1693
1694         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1695         Alejandro G. Castro  (alex@igalia.com)
1696
1697         * src/hildon-touch-selector.c:
1698         (_create_new_column): Do not connect to the "realize" signal of the
1699         pannable area.
1700         (hildon_touch_selector_append_column): center on the selected items
1701         when a new column is appended.
1702         (hildon_touch_selector_select_iter): Factor out the code to select a
1703         column to hildon_touch_selector_scroll_to().
1704         (+search_nearest_element): Method to retrieve the nearest selected
1705         element to the visible area of the pannable area in a column.
1706         (+on_realize_cb): scroll to the initially selected item.
1707         (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1708         the pannable area is realized, otherwise delay this until it is.
1709         (+_hildon_touch_selector_center_on_selected_items): Centers on the
1710         selected items of a given column.
1711         (+hildon_touch_selector_center_on_selected): Public method to center
1712         all columns on the nearest selected item.
1713         * src/hildon-touch-selector.h: Add definition for
1714         hildon_touch_selector_center_on_selected().
1715
1716         Implement public API to ensure visibility of all selected items in
1717         a HildonTouchSelector.
1718
1719 2009-01-16  Alejandro G. Castro  <alex@igalia.com>
1720
1721         Fixed a problem in the fading when calling the scroll_to API, and
1722         improve scrollbar fading handling.
1723
1724         * src/hildon-pannable-area.c,
1725         (hildon_pannable_area_grab_notify): avoid the timeout when the
1726         alpha is zero.
1727         (hildon_pannable_area_button_press_cb),
1728         (hildon_pannable_area_motion_notify_cb): Code style changes.
1729         (hildon_pannable_area_button_release_cb): Review the conditions
1730         when releasing the mouse button to avoid unrequired fading
1731         timeouts.
1732         (hildon_pannable_area_scroll_to): Do not calculate and set the
1733         velocity if the scroll is not required.
1734
1735 2009-01-15  Alberto Garcia  <agarcia@igalia.com>
1736
1737         * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1738         Don't check whether the new selector is NULL: it cannot be.
1739         Hold a reference to the selector while doing the replacement.
1740
1741 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
1742
1743         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1744         unnecessary size_request in a removed widget.
1745
1746 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
1747
1748         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1749         an unnecessary reference tracking that was leaking.
1750
1751 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
1752
1753         Added delayed motion notify event handling, this way we can
1754         discard redrawing if more than 25 events arrive per second.
1755
1756         * src/hildon-pannable-area.c,
1757         (hildon_pannable_area_init): Initialized the new private atributes
1758         controlling this timeout
1759         (hildon_pannable_area_dispose): Remove the timeout that controls
1760         the motion notify events.
1761         (hildon_pannable_area_scroll): Added a condition to control the
1762         use of the acceleration.
1763         (hildon_pannable_area_motion_event_scroll_timeout),
1764         (hildon_pannable_area_motion_event_scroll): Added this two
1765         functions, they handle the motion notify events inside the
1766         timeout.
1767         (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1768         to the scroll method with the new function.
1769         (hildon_pannable_area_button_release_cb): We have to remove the
1770         timeout handler and move to the last position if the last motion
1771         events were not handled.
1772
1773         Fixes: NB#97028 (Pannable area updates on every motion event)
1774
1775 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
1776
1777         * src/hildon-pannable-area.c,
1778         (hildon_pannable_area_get_topmost): Added a new parameter to
1779         filter the the windows that do not include those events. Added
1780         also a condition when finding the window to filter windows that do
1781         not ask for those events.
1782         (hildon_pannable_area_button_press_cb),
1783         (hildon_pannable_area_button_release_cb),
1784         (hildon_pannable_get_child_widget_at): Reviewed the call the the
1785         topmost function, we have added the new parameter.
1786
1787         Fixes: NB#97458 (Pannable area prevents propagation of button
1788         press events)
1789
1790 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
1791
1792         * src/hildon-pannable-area.c,
1793         (hildon_pannable_area_initial_effect): Added controls before
1794         launching the timeout and the idle functions.
1795         (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1796         of the method, in some situations it can return with TRUE and 0 in
1797         the timeout.
1798         (hildon_pannable_area_button_press_cb): We do not need to set
1799         DELAY for fading out here.
1800
1801         Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1802
1803 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
1804
1805         * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1806         post-cleaning if the selection is not NULL.
1807
1808 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
1809
1810         * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1811         all items before restoring the selection.
1812
1813 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
1814
1815         * src/hildon-touch-selector.c:
1816         (+hildon_touch_selector_unselect_all):
1817         * src/hildon-touch-selector.h: New API to unselect all items in a
1818         column of the touch selector.
1819
1820 2009-01-14  Alejandro G. Castro  <alex@igalia.com>
1821
1822         * src/hildon-pannable-area.c,
1823         (hildon_pannable_area_redraw): Added a call to the refresh
1824         function inside the redraw because apparently in some cases the
1825         change in the adjustment does not imply a size allocate.
1826
1827         Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1828         despite the view not being scrollable)
1829
1830 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
1831
1832         * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1833         leak. Check for NULL before attempting to set the window title.
1834
1835 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
1836
1837         * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1838         whether to show or not the 'Done' button each time the dialog is
1839         shown, as it depends on the HildonTouchSelector selection mode.
1840
1841         Fixes: NB#96226 (In multiple selection mode Done button is shown
1842         sometimes in listpicker)
1843
1844 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
1845
1846         * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1847         for the number of columns in the HildonTouchSelector more than once.
1848
1849 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
1850
1851         * src/hildon-touch-selector.c: Minor documentation fixes.
1852
1853         * src/hildon-picker-dialog.c (+_dialog_update_title)
1854         (_select_on_selector_changed_cb)
1855         (_update_title_on_selector_changed_cb)
1856         (on_selector_columns_changed): Update dialog title when there's no
1857         'Done' button and also when the number of columns in the selector
1858         changes.
1859         Code refactoring.
1860
1861         * src/hildon-picker-button.c (hildon_picker_button_finalize)
1862         (+_selection_changed, hildon_picker_button_on_dialog_response)
1863         (hildon_picker_button_selector_selection_changed)
1864         (+hildon_picker_button_selector_columns_changed)
1865         (hildon_picker_button_set_selector): Update button value and emit
1866         'value-changed' when the number of columns in the selector
1867         changes.
1868         Code refactoring.
1869
1870         Fixes: NB#96225 (Dialog titles are not shown according to the
1871         values selected in the list picker)
1872
1873 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
1874
1875         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1876         (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1877         New "arrow-width" and "arrow-height" style properties to set the
1878         size of the arrow button.
1879         Set name of arrow button ("hildon-edit-toolbar-arrow").
1880
1881         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1882         graphics from theme)
1883
1884 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
1885
1886         * src/hildon-picker-button.c:
1887         (hildon_picker_button_selector_selection_changed): Use
1888         GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1889         the dialog is present.
1890
1891         Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1892         the selection is accepted in the dialog)
1893
1894 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
1895
1896         * src/hildon-color-chooser.h
1897         * src/hildon-color-chooser-dialog.h:
1898         Added G_BEGIN_DECLS and G_END_DECLS
1899
1900 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
1901
1902         (_clean_current_selection): plug a leak in the list.
1903
1904 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
1905
1906         * src/hildon-picker-dialog.c:
1907         (+free_path_list): Method to free a GList of GtkTreePaths.
1908         (_clean_current_selection), (_save_current_selection),
1909         (_restore_current_selection): Save the current selection in
1910         as a list of lists, to support multiple selection properly.
1911
1912 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
1913
1914         patch by Claudio Saavedra (csaavedra@igalia.com)
1915
1916         * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1917         Store the press position.
1918         (+hildon_text_view_button_release_event): If the release position is
1919         close enough to the press position, move the cursor here. Otherwise,
1920         ignore.
1921         (hildon_text_view_class_init): Override GtkTextView press, release, and
1922         motion event handlers, disabling this way text selection through
1923         pointer interaction, and allowing the container widget to handle the
1924         motion event.
1925
1926         Fixes: NB#95828 (HildonTextView functionality)
1927
1928 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
1929
1930         Based on a patch by Iván Gómez (igomez@igalia.com)
1931
1932         * src/hildon-button.[ch]
1933         * src/hildon-calendar.c
1934         * src/hildon-check-button.c
1935         * src/hildon-date-editor.c
1936         * src/hildon-date-selector.c
1937         * src/hildon-picker-button.c
1938         * src/hildon-time-editor.c
1939         * src/hildon-time-selector.c
1940         * src/hildon-touch-selector.[ch]:
1941         Documentation updates
1942
1943 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
1944
1945         * src/hildon-pannable-area.c,
1946         (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1947         threshold, it was required due to X events handling.
1948
1949 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
1950
1951         * src/hildon-pannable-area.c,
1952         (hildon_pannable_area_grab_notify),
1953         (hildon_pannable_area_initial_effect),
1954         (hildon_pannable_area_button_press_cb),
1955         (hildon_pannable_area_button_release_cb),
1956         (hildon_pannable_area_scroll_cb),
1957         (hildon_pannable_area_scroll_to): Review the timeout management of
1958         the scrollbar, the frecuency was incorrectly set.
1959
1960 2009-01-09  Claudio Saavedra  <csaavedra@igalia.com>
1961
1962         * src/hildon-picker-button.c:
1963         (+hildon_picker_button_on_dialog_response),
1964         (hildon_picker_button_clicked): Present the dialog instead of
1965         running it with gtk_dialog_run().
1966
1967         Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1968         picker dialog)
1969
1970 2009-01-07  Alberto Garcia  <agarcia@igalia.com>
1971
1972         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1973         (hildon_app_menu_finalize): When a window is hidden it doesn't
1974         emit notify::is-topmost, so make sure than the menu also
1975         disappears in that case.
1976         (parent_window_topmost_notify): Renamed from parent_window_hidden
1977
1978         Fixes: NB#94460 (stackable window's menu is not closed when its
1979         window is hidden)
1980
1981 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
1982
1983         * src/hildon-touch-selector-entry.c:
1984         (+hildon_touch_selector_entry_set_input_mode),
1985         (+hildon_touch_selector_entry_get_input_mode):
1986         * src/hildon-touch-selector-entry.h: New methods to access the input
1987         mode in the selector's entry.
1988
1989         Fixes: NB#93410 (API required for setting IM mode in
1990         HildonTouchSelectorEntry)
1991
1992 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
1993
1994         * configure.ac: post release version bump.
1995         * debian/changelog: version bump
1996
1997 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
1998
1999         [Release 2.1.34]
2000
2001         * NEWS: Updates.
2002         * configure.ac: Bump version.
2003         * debian/changelog: Updates.
2004
2005 2008-12-19  Claudio Saavedra  <csaavedra@igalia.com>
2006
2007         * src/hildon-touch-selector.c:
2008         (_hildon_touch_selector_has_multiple_selection): No need
2009         to initialize the variables here.
2010
2011 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
2012
2013         * src/hildon-note-private.h
2014         * src/hildon-note.c (event_box_press_event, hildon_note_init)
2015         (hildon_note_finalize, hildon_note_rebuild): Close information
2016         notes when they receive a button press.
2017
2018         Fixes: NB#89890 (Information notes does not get disappeared after
2019         few seconds)
2020
2021 2008-12-17  Claudio Saavedra  <csaavedra@igalia.com>
2022
2023         * src/hildon-wizard-dialog.c: (create_title): Remove translation
2024         mark from the wizard title, as it's not really necessary. Also,
2025         do not display the page title if not set.
2026
2027 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
2028
2029         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2030         (parent_window_hidden): Use the window's "is-topmost" property to
2031         detect when to hide the menu.
2032
2033 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
2034
2035         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2036         (hildon_app_menu_finalize): If the parent window of the menu is
2037         hidden, hide the menu too.
2038
2039         Fixes: NB#94460 (stackable window's menu is not closed when its
2040         window is hidden)
2041
2042 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
2043
2044         * debian/changelog
2045         * debian/libhildon1-examples.install
2046         * debian/rules
2047         * examples/Makefile.am:
2048         Use dh_install to install all examples.
2049         Use DEB_SRCDIR instead of defining SOURCE_DIR
2050
2051 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
2052
2053         * configure.ac: post release version bump.
2054         * debian/changelog: version bump
2055
2056 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
2057
2058         [Release 2.1.32]
2059
2060         * NEWS: updates
2061         * configure.ac: bump version
2062         * debian/changelog: updates
2063         * debian/control: bump gtk+ dependency
2064
2065 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
2066
2067         patch by Christian Dywan (christian@imendio.com)
2068
2069         * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2070         (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2071
2072 2008-12-15  Alberto Garcia  <agarcia@igalia.com>
2073
2074         * src/hildon-check-button.c (hildon_check_button_init)
2075         (hildon_check_button_class_init, hildon_check_button_style_set)
2076         (hildon_check_button_apply_style):
2077         New "checkbox-size" style property.
2078
2079         Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2080         larger / configurable size)
2081
2082 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
2083
2084         * configure.ac: post release version bump.
2085         * debian/changelog: version bump
2086
2087 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
2088
2089         [Release 2.1.30]
2090
2091         * NEWS: updates
2092         * configure.ac: bump version
2093         * debian/changelog: updates
2094
2095 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
2096
2097         * doc/hildon-sections.txt
2098         * src/hildon-pannable-area.c
2099         * src/hildon-program.c
2100         * src/hildon-time-editor.c
2101         * src/hildon-touch-selector-entry.c:
2102
2103         More documentation updates.
2104
2105 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
2106
2107         * doc/hildon-sections.txt
2108         * src/hildon-caption.c
2109         * src/hildon-code-dialog.c
2110         * src/hildon-color-button.c
2111         * src/hildon-controlbar.c
2112         * src/hildon-date-editor.c
2113         * src/hildon-date-selector.c
2114         * src/hildon-edit-toolbar.c
2115         * src/hildon-find-toolbar.c
2116         * src/hildon-font-selection-dialog.c
2117         * src/hildon-gtk.c
2118         * src/hildon-program.c
2119         * src/hildon-range-editor.c
2120         * src/hildon-seekbar.c
2121         * src/hildon-time-editor.c
2122         * src/hildon-time-selector.c
2123         * src/hildon-volumebar-range.c
2124         * src/hildon-volumebar.c
2125         * src/hildon-vvolumebar.c
2126         * src/hildon-weekday-picker.c
2127         * src/hildon-window.c
2128         * src/hildon-wizard-dialog.c:
2129
2130         Lots of documentation fixes.
2131
2132 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
2133
2134         Patch contributed by Iván Gómez (igomez@igalia.com)
2135
2136         * src/hildon-check-button.c:
2137         * src/hildon-date-button.c:
2138         * src/hildon-date-selector.c:
2139         * src/hildon-dialog.c:
2140         * src/hildon-edit-toolbar.c:
2141         * src/hildon-entry.c:
2142         * src/hildon-picker-button.c:
2143         * src/hildon-program.c:
2144         * src/hildon-text-view.c:
2145         * src/hildon-time-button.c:
2146         * src/hildon-touch-selector-entry.c:
2147         * src/hildon-window-stack.c:
2148
2149         Add more "since" tags to the new API.
2150
2151 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
2152
2153         * doc/hildon-sections.txt: Add below method.
2154         * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2155         version for the hildonized scale.
2156         * src/hildon-gtk.h: Add the definition.
2157
2158         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2159
2160 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
2161
2162         * doc/hildon-sections.txt: Add missing entries for new methods.
2163
2164 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
2165
2166         Added API to pannable are in order to get its adjustments. We
2167         added two properties to manage the values we had in the private
2168         structure.
2169
2170         * src/hildon-pannable-area.c:
2171         (hildon_pannable_area_class_init): Added hadjustment and
2172         vadjustment properties in order to expose horizontal and vertical
2173         adjustment.
2174         (hildon_pannable_area_get_property),
2175         (hildon_pannable_area_set_property): Added code to handle the new
2176         properties
2177         (hildon_pannable_area_get_hadjustment),
2178         (hildon_pannable_area_get_vadjustment): API functions to get the
2179         adjustments
2180         * src/hildon-pannable-area.h:
2181         (hildon_pannable_area_get_hadjustment),
2182         (hildon_pannable_area_get_vadjustment): API functions to get the
2183         adjustments
2184
2185 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
2186
2187         Fixed some leaks, after valgrinding.
2188
2189         * src/hildon-touch-selector.c:
2190         (_default_print_func): Fixed a leak.
2191         (hildon_touch_selector_append_column): Fixed a leak.
2192         * src/hildon-date-button.c:
2193         (hildon_date_button_init): Fixed a leak.
2194         * src/hildon-date-selector.c
2195         (hildon_date_selector_finalize): Fixed a leak.
2196
2197 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
2198
2199         Based on a patch by Christian Dywan (christian@imendio.com)
2200
2201         * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2202         GtkHScale.
2203         * src/hildon-gtk.h: Add definition.
2204
2205         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2206
2207 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
2208
2209         * src/hildon-picker-button.c: (hildon_picker_button_init),
2210         (hildon_picker_button_new): Set the HildonButton::style property
2211         in the init method, to propagate the value to the derived classes.
2212
2213 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
2214
2215         * src/hildon-button.c: (hildon_button_class_init): Do not make
2216         the "style" property a construct property.
2217
2218 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
2219
2220         * src/hildon-wizard-dialog.h
2221         * src/hildon-wizard-dialog.c
2222         (hildon_wizard_dialog_set_forward_page_func)
2223         * src/hildon-pannable-area.h
2224         * src/hildon-pannable-area.c
2225         (hildon_pannable_area_set_size_request_policy):
2226         Documentation fixes.
2227
2228 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
2229
2230         * doc/hildon-sections.txt: Fixed warning about unused symbols.
2231
2232 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
2233
2234         * doc/hildon-sections.txt: Added sections file.
2235
2236 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
2237
2238         * AUTHORS: Updates.
2239         * src/*.[ch]: Updates.
2240
2241 2008-12-10  Thomas Thurman  <thomas.thurman@collabora.co.uk>
2242
2243         * examples/hildon-progress-indicator-example.c: new file
2244         * examples/Makefile.am: include the new example program
2245
2246 2008-12-10  Alberto Garcia  <agarcia@igalia.com>
2247
2248         * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2249
2250 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
2251
2252         * configure.ac: post release version bump
2253         * debian/changelog: version bump
2254
2255 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
2256
2257         [Release 2.1.28]
2258
2259         * NEWS: updates
2260         * configure.ac: bump version
2261         * debian/changelog: updates
2262         * debian/control: bump gtk+ dependency
2263
2264 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
2265
2266         * src/hildon-dialog.c: Mark as deprecated.
2267         * src/hildon-dialog.h: Mark as deprecated.
2268         * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2269         from HildonDialog and still work, even if
2270         HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2271         break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2272
2273         Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2274         maemo changes) instead)
2275
2276 2008-12-09  Alejandro G. Castro  <alex@igalia.com>
2277
2278         * src/hildon-pannable_area.h:
2279         * src/hildon-pannable_area.c:
2280         (hildon_pannable_area_class_init),
2281         (hildon_pannable_area_set_property),
2282         (hildon_pannable_area_get_property),
2283         (hildon_pannable_area_size_request),
2284         (hildon_pannable_area_get_size_request_policy),
2285         (hildon_pannable_area_set_size_request_policy): Added new API
2286         allowing applications to control the request policy. Now they can
2287         choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2288         children allocation (HILDON_MOVEMENT_CHILDREN).
2289
2290 2008-12-09  Alberto Garcia  <agarcia@igalia.com>
2291
2292         * src/hildon-gtk.h
2293         * src/hildon-gtk.c
2294         (hildon_gtk_tree_view_set_ui_mode)
2295         (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2296         mode of treeviews and iconviews.
2297
2298 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
2299
2300         * src/hildon-touch-selector-entry.c:
2301         (hildon_touch_selector_entry_init): Use a HildonEntry instead
2302         of a GtkEntry to get proper theming.
2303
2304         Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2305         widget, not GtkEntry)
2306
2307 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
2308
2309         * src/hildon-wizard-dialog.c: (response): Move forward if there is
2310         no HildonWizardDialogPageFunc.
2311
2312 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
2313
2314         Patch contributed by Iván Gómez (igomez@igalia.com)
2315
2316         * src/hildon-app-menu.c:
2317         * src/hildon-button.c:
2318         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2319         * src/hildon-stackable-window.c:
2320         * src/hildon-time-selector.c:
2321         * src/hildon-touch-selector.c:
2322         * src/hildon-window.c:
2323
2324         Add more "since" tags to the new API in hildon 2.2.
2325
2326 2008-12-05  Tim Janik  <timj@imendio.com>
2327
2328         Patch contributed by Christian Dywan (christian@imendio.com)
2329
2330         * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2331         HildonSizeType, which are supplied by Gtk+ now.
2332
2333         * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2334
2335         Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2336         (with maemo changes) instead)
2337
2338 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
2339
2340         Patch contributed by Iván Gómez (igomez@igalia.com)
2341
2342         * src/hildon-pannable-area.c: Add "since" tags to the new API in
2343         hildon 2.2.
2344
2345 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
2346
2347         * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2348         (some_page_func), (main): Update the example to use a
2349         HildonWizardDialogPageFunc function.
2350
2351         * src/hildon-wizard-dialog-private.h: Add private data for
2352         the HildonWizardDialogPageFunc function usage.
2353
2354         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2355         (destroy), (hildon_wizard_dialog_init), (response),
2356         (hildon_wizard_dialog_set_forward_page_func):
2357         * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2358         that applications can use to stop a HildonWizardDialog to jump to
2359         the next page.
2360
2361         Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2362         next page)
2363
2364 2008-12-04  Alberto Garcia  <agarcia@igalia.com>
2365
2366         * src/hildon-program.h
2367         * src/hildon-program-private.h
2368         * src/hildon-program.c (hildon_program_init)
2369         (hildon_program_set_common_app_menu)
2370         (hildon_program_get_common_app_menu):
2371         New API for setting a common HildonAppMenu for all
2372         HildonStackableWindows registered with the HildonProgram.
2373
2374         * src/hildon-stackable-window.c
2375         (hildon_stackable_window_toggle_menu):
2376         Use the common HildonAppMenu if a window doesn't have a specific
2377         one.
2378
2379         * src/hildon-app-menu-private.h
2380         * src/hildon-app-menu.c
2381         (hildon_app_menu_get_parent_window):
2382         Function to obtain the window a HildonAppMenu is attached to.
2383         (hildon_app_menu_set_parent_window):
2384         Hide the menu if the parent window is set to NULL.
2385
2386 2008-12-04  Claudio Saavedra  <csaavedra@igalia.com>
2387
2388         * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2389         set GtkTreeView::enable-search to FALSE, to avoid the interactive
2390         search widget to popup.
2391
2392 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
2393
2394         * configure.ac: post release version bump
2395         * debian/changelog: version bump
2396
2397 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
2398
2399         [Release 2.1.26]
2400
2401         * NEWS: updates
2402         * configure.ac: bump version
2403         * debian/changelog: updates
2404
2405 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
2406
2407         Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2408
2409         * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2410         (hildon_window_stack_window_realized)
2411         (hildon_window_stack_remove, _hildon_window_stack_do_push):
2412         Set the leader GdkWindow when a window is stacked and realized,
2413         unset it when it's unstacked.
2414         (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2415
2416         Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2417
2418 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
2419
2420         * src/hildon-stackable-window.h
2421         * src/hildon-window-stack.h:
2422         Protect definition of HildonWindowStack using the preprocessor.
2423
2424 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
2425
2426         * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2427         Fix warning if all menu items are hidden.
2428
2429 2008-12-02  Claudio Saavedra  <csaavedra@igalia.com>
2430
2431         Patch contributed by Daniel Borgmann (danielb@openismus.com)
2432
2433         * src/hildon-controlbar.c:
2434         * src/hildon-hvolumebar.c:
2435         * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2436         Multiple scale size defines updates.
2437
2438         Fixes: NB#94322 (Scale Updates)
2439
2440 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
2441
2442         * examples/hildon-app-menu-example.c (create_menu)
2443         Show items after adding them to the menu, as in the future the
2444         menu will no longer call gtk_widget_show() on the added items.
2445
2446         * src/hildon-app-menu.c:
2447         Update example as explained above.
2448
2449 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
2450
2451         * src/hildon-app-menu.c
2452         (hildon_app_menu_insert, hildon_app_menu_add_filter):
2453         Make sure that all menu items have finger height.
2454
2455 2008-12-01  Alejandro Pinheiro  <apinheiro@igalia.com>
2456
2457         * src/hildon-picker-dialog.c:
2458         (_on_dialog_response), (_save_current_selection),
2459         (_restore_current_selection), (_clean_current_selection),
2460         (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2461         Defined new functions in order to save the current internal selector
2462         selection previous open the dialog, in case that the use cancel the
2463         interaction, so the widget restores the previous selection.
2464
2465         Fixes: NB#92032 (In calendar application, date values in 'new event' 
2466         are not proper)
2467
2468         (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2469
2470 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
2471
2472         * src/hildon-button.c: Add a reference to the button examples in
2473         hildon-button-example.c
2474
2475         * examples/hildon-button-example.c: Added examples of the most
2476         common button layouts.
2477
2478 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
2479
2480         * src/hildon-app-menu.c (hildon_app_menu_show)
2481         (hildon_app_menu_class_init): Don't show the menu if it's empty.
2482
2483         Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2484
2485 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2486
2487         * src/hildon-picker-dialog.c:
2488         (hildon_picker_dialog_init): Initialize the signal id for
2489         HildonTouchSelector::columns-changed.
2490         (+on_selector_columns_changed): Set up the interaction mode everytime a
2491         column is added or removed from the HildonTouchSelector.
2492         (_hildon_picker_dialog_set_selector): Connect to
2493         HildonTouchSelector::columns-changed and keep track of it.
2494
2495         Make sure to update the interaction mode of the dialog everytime a
2496         column is added or removed in the HildonTouchSelector.
2497
2498         Fixes: NB#93228 (Done button is not shown always in listpicker)
2499
2500 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2501
2502         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2503         a new ::columns-changed signal.
2504         (hildon_touch_selector_append_column): Emit ::columns-changed.
2505         (hildon_touch_selector_remove_column): Emit ::columns-changed.
2506
2507         Add a ::columns-changed signal, emitted when the number of columns in a
2508         HildonTouchSelector changes.
2509
2510 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2511
2512         * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2513         (_hildon_picker_dialog_set_selector): Factor out the code
2514         to set up the dialog interaction mode.
2515
2516 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2517
2518         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2519         (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2520         to signal_changed_id.
2521
2522 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2523
2524         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2525         Minor doc. fixes.
2526
2527 2008-11-27  Alejandro Pinheiro  <apinheiro@igalia.com>
2528
2529         * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2530         Updated the logical ids related to ampm format, as now it is required to
2531         show it correctly localized even on languages with no default
2532         abbreviations for am or pm
2533         (_check_am_pm_format): check correctly the 24h format gconf property
2534
2535         Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2536
2537 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
2538
2539         * src/hildon-button.c: Documentation updates.
2540
2541 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2542
2543         * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2544         * src/hildon-caption.c: (hildon_caption_class_init):
2545         * src/hildon-color-button.c: (hildon_color_button_class_init):
2546         * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2547         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2548         * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2549         * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2550
2551         Remove deprecated GTK+ marshalers and replace them with the ones
2552         provided by GLib, for those available, add a marshaler for
2553         BOOLEAN:VOID, which is not available in GLib, and use it.
2554
2555 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2556
2557         * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2558         the text from the previous column if there is no
2559         HildonTouchSelectorColumn::text-property set.
2560
2561 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
2562
2563         * src/hildon-button.h
2564         * src/hildon-button.c (hildon_button_set_property)
2565         (hildon_button_get_property, hildon_button_class_init)
2566         (hildon_button_set_style, hildon_button_get_style):
2567         New "style" property to change the visual appearance of the
2568         button.
2569
2570         * src/hildon-picker-button.c (hildon_picker_button_new):
2571         Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2572
2573         Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2574         HildonButton look like PickerButton)
2575
2576 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
2577
2578         * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2579         column while building the default string.
2580
2581 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
2582
2583         * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2584         scroll indicator by default.
2585
2586         Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2587
2588 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
2589
2590         * src/hildon-main.c: Fix the documentation for hildon_init()
2591
2592 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
2593
2594         * doc/hildon-docs.sgml
2595         * doc/hildon.types
2596         * src/Makefile.am
2597         * src/hildon.h
2598         * src/hildon-window-stack-private.h
2599         * src/hildon-window-stack.h
2600         * src/hildon-window-stack.c:
2601         New HildonWindowStack object, that adds support for multiple
2602         stacks of windows per process.
2603
2604         * src/hildon-stackable-window-private.h
2605         * src/hildon-stackable-window.h
2606         * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2607         (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2608         (hildon_stackable_window_show, hildon_stackable_window_hide)
2609         (hildon_stackable_window_class_init)
2610         (hildon_stackable_window_init):
2611         Use HildonWindowStack for stack management.
2612
2613         * src/hildon-program.c (hildon_program_pop_window_stack)
2614         (hildon_program_peek_window_stack)
2615         (hildon_program_go_to_root_window):
2616         Add a fallback implementation to the deprecated functions using
2617         HildonWindowStack.
2618
2619         * examples/hildon-stackable-window-example.c:
2620         Use the new HildonWindowStack API.
2621
2622 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
2623
2624         * src/hildon-stackable-window-private.h
2625         * src/hildon-stackable-window.c (hildon_stackable_window_show)
2626         (hildon_stackable_window_hide, hildon_stackable_window_init):
2627         Remove all window stack management.
2628
2629         * src/hildon-program-private.h
2630         * src/hildon-program.h
2631         * src/hildon-program.c (hildon_program_init)
2632         (hildon_program_pop_window_stack)
2633         (hildon_program_peek_window_stack)
2634         (hildon_program_go_to_root_window):
2635         Remove all window stack management and mark functions as
2636         deprecated.
2637
2638 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
2639
2640         * src/hildon-app-menu.c (hildon_app_menu_realize):
2641         Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2642
2643 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
2644
2645         * configure.ac: post release version bump
2646         * debian/changelog: version bump
2647
2648 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
2649
2650         [Release 2.1.24]
2651
2652         * NEWS: updates
2653         * configure.ac: bump version
2654         * debian/changelog: updates
2655
2656 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
2657
2658         Based on initial code by Christian Dywan (christian@imendio.com)
2659
2660         * doc/hildon-docs.sgml: Add section for hildon-main.
2661         * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2662         * src/Makefile.am: Add new hildon-main.[ch]
2663         * src/hildon-defines.h: Update the icon sizes.
2664         * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2665         new library initialization files and register icon sizes.
2666         * src/hildon-main.h: New declarations.
2667         * src/hildon.h: Include hildon-main.h
2668
2669         Add new initialization functions to the library. These methods
2670         will register the hildon specific icon sizes and can be used in the
2671         future for other hildon specific bits.
2672
2673         Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2674
2675 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
2676
2677         * src/hildon-window.c: (hildon_window_realize),
2678         (hildon_window_notify), (-hildon_window_update_title): Do not set
2679         the application name in the window title.
2680
2681         Fixes: NB#89754 (Applications shouldn't display their names in the
2682         window title)
2683
2684 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
2685
2686         * src/hildon-note-private.h:
2687         * src/hildon-note.c: (hildon_note_set_property),
2688         (hildon_note_get_property), (hildon_note_class_init),
2689         (hildon_note_init), (hildon_note_finalize),
2690         (hildon_note_new_confirmation_with_icon_name),
2691         (hildon_note_new_information_with_icon_name):
2692
2693         No need to mark as deprecated the actual code. Revert
2694         to avoid missing symbols in widgets using deprecated API.
2695
2696 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
2697
2698         Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2699
2700         * src/hildon-volumebar.h
2701         * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2702         (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2703
2704         * src/hildon-helper.h
2705         * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2706         (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2707
2708         * examples/Makefile.am:
2709         Deprecate hildon-insensitive-example
2710
2711         Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2712
2713 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
2714
2715         * examples/hildon-pannable-area-buttons-scroll-example.c:
2716         Make all buttons finger height
2717
2718 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
2719
2720         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2721         documentation
2722         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2723         update the day model only if it is really required, and to avoid the
2724         full-reconstruction aproach. Now it only add or remove the required days.
2725
2726         The purpose of this is avoid superfluous HildonTouchSelector::changed
2727         signals
2728
2729         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2730         with strange parameters)
2731
2732 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
2733
2734         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2735
2736         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2737         the WINDOW_TYPE property.
2738
2739         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2740
2741 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
2742
2743         * doc/gtk-doc.make:
2744         Fix dependency to allow parallel compilation with make -jX
2745
2746 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
2747
2748         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2749         color frame and some minor tweaks to make it more consistent with
2750         current theming.
2751
2752         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2753         highlighted but not visible)
2754
2755 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
2756
2757         * examples/Makefile.am: Fixed typo in the Makefile.am.
2758
2759 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
2760
2761         Reviewed the use of MAEMO_GTK define, now we add the define in the
2762         compilation line, and we also add it to the pc file.
2763
2764         * configure.ac: Added MAEMO_GTK define to the compilation command
2765         and removed it from the config.h.
2766
2767         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2768         do not have to take care about this define if the library was
2769         compiled with it.
2770
2771         * src/hildon-gtk.c:
2772         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2773
2774 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
2775
2776         * examples/Makefile.am,
2777         * examples/hildon-pannable-area-buttons-scroll-example.c,
2778         * examples/hildon-pannable-area-gesture-signals-example.c,
2779         * examples/hildon-pannable-area-scroll-jump-example.c,
2780         * examples/hildon-pannable-area-tree-view-example.c:
2781         Renamed the pannable area examples, now they have more meaningful
2782         names.
2783
2784 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
2785
2786         * src/hildon-touch-selector.c:
2787         (hildon_touch_selector_set_column_selection_mode): Used of
2788         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2789         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2790         to avoid re-seting the same selection mode.
2791
2792         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2793         breaks HildonPickerDialog)
2794
2795 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
2796
2797         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2798         conditional in the Makefile.am
2799
2800 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
2801
2802         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2803         Remove unused methods.
2804
2805 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
2806
2807         * src/hildon-button.c (hildon_button_init):
2808         Make button images center-aligned by default
2809
2810 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
2811
2812         * src/hildon-gtk.c:
2813         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2814         activated, we have to think about how to deal with both defines
2815         MAEMO_GTK and MAEMO_CHANGES.
2816
2817 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
2818
2819         * examples/hildon-app-menu-example.c (create_menu): Make all
2820         buttons finger size.
2821
2822 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
2823
2824         Fixed the compilation without maemo gtk adding ifdefs with
2825         MAEMO_GTK define to the code, we have to check this version more
2826         carefully.
2827
2828         * examples/Makefile.am: Added control to avoid some examples that
2829         just make sense with maemo gtk.
2830
2831         * src/hildon-gtk.c:
2832         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2833         hildon modes with the define.
2834
2835         * examples/hildon-edit-toolbar-example.c,
2836         (create_icon_view): Create the icon view without hildon-gtk
2837         helpers if we are not using maemo gtk.
2838
2839         * src/hildon-touch-selector.c,
2840         (_create_new_column): Create the treeview without hildon-gtk
2841         helpers if we are not using maemo gtk.
2842
2843 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
2844
2845         * src/hildon-pnnable-area.c,
2846         (hildon_pannable_area_dispose),
2847         (hildon_pannable_area_button_press_cb),
2848         (hildon_pannable_area_child_mapped),
2849         (hildon_pannable_area_add),
2850         (hildon_pannable_area_remove): Added code to control the position
2851         of the event_window when adding and removing children from the
2852         pannable. We have to raise the event window when the child is
2853         mapped.
2854
2855         Fixes: NB#89811 (Not able to select first image thumbnail in multi
2856         selection mode using custom widget inside pannable)
2857
2858 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
2859
2860         * configure.ac: post release version bump
2861         * debian/changelog: version bump
2862
2863 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
2864
2865         [Release 2.1.22]
2866
2867         * NEWS: updates
2868         * configure.ac: bump version
2869         * debian/changelog: updates
2870
2871 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
2872
2873         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2874         search mode, in order to avoid lose the focus on the treeview when
2875         a hw key (like enter) is pressed.
2876
2877         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2878         in HildonDateSelector dialog)
2879
2880 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
2881
2882         * debian/rules: Added --enable-maintainer-mode
2883         * Makefile.am: Added ACLOCAL_AMFLAGS
2884
2885         This allows to properly regenerate the Makefiles if you modify the
2886         configure.ac or any Makefile.am.
2887
2888 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
2889
2890         * examples/hildon-app-menu-example.c: (main): Do not set RC style
2891         properties, not needed at all.
2892
2893 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
2894
2895         * src/hildon-note-private.h: Add strings for the icon and stock_icon
2896         properties.
2897         * src/hildon-note.c: (hildon_note_set_property),
2898         (hildon_note_get_property), (hildon_note_class_init),
2899         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2900         (hildon_note_new_confirmation_add_buttons): Remove icons.
2901         (hildon_note_new_confirmation_with_icon_name): Deprecate.
2902         (hildon_note_new_information_with_icon_name): Deprecate.
2903         (hildon_note_new_confirmation): Act directly, without calling
2904         the deprecated constructor.
2905         (hildon_note_new_information): Act directly, without calling
2906         the deprecated constructor.
2907         * src/hildon-note.h: Mark deprecate methods as such.
2908         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2909         not run tests on the deprecated methods if built with deprecation
2910         disabled.
2911
2912         Fixes: NB#91688 (Never show icons in information notes/confirmation
2913         notes)
2914
2915 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
2916
2917         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2918         (hildon_app_menu_key_press): Remove leftover usage of the
2919         private structure in HildonAppMenu struct.
2920         * src/hildon-app-menu.h: Remove leftover private structure
2921         from the HildonAppMenu struct.
2922
2923         Fixes a crasher when using the HildonAppMenu.
2924
2925 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
2926
2927         * src/hildon-picker-dialog.c: Use appropriate logical id
2928         for the default "Done" text.
2929
2930 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
2931
2932         * configure.ac: post release version bump
2933         * debian/changelog: version bump
2934
2935 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
2936
2937         Modified the way to scroll to the current selection just when the touch
2938         selector is shown on the screen, avoiding a g_idle. Added too a property
2939         to configure this behaviour. See hildon_pannable_area_jump_to_child
2940         documentation for more information.
2941
2942         * src/hildon-touch-selector.c
2943         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2944         Added 'initial-scroll' property
2945         (hildon_touch_selector_set_property): Added
2946         (hildon_touch_selector_map): Removed as not required anymore
2947         (_hildon_touch_selector_on_selected_items): Modified in order to manage
2948         only a concrete column, instead of iterate along all the columns
2949
2950 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
2951
2952         [Release 2.1.20]
2953
2954         * NEWS: updates
2955         * configure.ac: bump version
2956         * debian/changelog: updates
2957
2958 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
2959
2960         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2961         compilation time warnings.
2962
2963 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
2964
2965         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2966         the default value for HildonPannableArea::mov-mode to
2967         HILDON_PANNABLE_AREA_MODE_VERT.
2968
2969         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2970
2971 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
2972
2973         Reverting following commit:
2974
2975         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
2976
2977           * src/hildon-app-menu-private.h
2978           * src/hildon-app-menu.[ch]
2979           * src/hildon-button.[ch]
2980           * src/hildon-check-button.[ch]
2981           * src/hildon-entry.[ch]
2982           * src/hildon-pannable-area.[ch]
2983           * src/hildon-text-view.[ch]:
2984           Added private field to the object's structure.
2985
2986         because it causes an ABI breakage. We will need to introduce these
2987         changes later at some point. See NB#91636 for an extensive
2988         explanation and status.
2989
2990 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
2991
2992         Patch contributed by Daniel Borgmann (danielb@openismus.com)
2993
2994         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2995         remove special cases that are no longer necessary.
2996
2997         Fixes: NB#91016 (Change toolbar sizes, simplification)
2998
2999 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
3000
3001         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3002         is shown in the cancel note.
3003
3004 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
3005
3006         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3007         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3008         (hildon_seekbar_init): Remove steppers, remove expose event.
3009         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3010
3011         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3012
3013 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
3014
3015         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3016         label font to "SmallSystemFont" for vertically arranged buttons.
3017
3018         Fixes: NB#90662 (HildonButton "value" and "detail" text is
3019         unformatted)
3020
3021 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
3022
3023         * src/hildon-check-button.c
3024         (hildon_check_button_set_active, hildon_check_button_clicked):
3025         Don't access private parts directly, use getters instead.
3026
3027 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
3028
3029         * src/hildon-check-button.c (hildon_check_button_new):
3030         Align the contents of the check button to the left.
3031
3032 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
3033
3034         * src/hildon-pannable-area.c,
3035         (hildon_pannable_area_scroll_to),
3036         (hildon_pannable_area_jump_to),
3037         (hildon_pannable_area_scroll_to_child),
3038         (hildon_pannable_area_jump_to_child): Replace the mapped
3039         precondition of these functions with the realized, it is the
3040         correct state of the widget in this case. Changed the
3041         documentation according to this modification.
3042
3043 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
3044
3045         Added a new EXTRA_CFLAGS option to add the deprecated define to
3046         the compilation command. This way we can avoid using the define in
3047         the documentation compilation.
3048
3049         * configure.ac: Defined EXTRA_CFLAGS.
3050
3051         * examples/Makefile.am:
3052         * src/Makefile.am:
3053         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3054
3055 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
3056
3057         * src/hildon-picker-dialog.c:
3058         Defined a utility macro with the desired touch selector height
3059         Removed currently unused separator, and title_label variables from
3060         private structure.
3061         (hildon_picker_dialog_init): Removed code related to the creation
3062         of unused private variables title_label and separator.
3063         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3064         to ensure correct visualization of the touch selector inside the dialog.
3065         * src/hildon-touch-selector.c
3066         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3067         ensure a concrete height of the widget.
3068
3069 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
3070
3071         * src/Makefile.am:
3072         * tests/Makefile.am:
3073
3074         Remove spurious whitespaces.
3075
3076 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
3077
3078         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3079         compilation warning after the cancel button removal.
3080
3081 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
3082
3083         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3084
3085         * configure.ac: Added an AM_CONDITIONAL in order to use in the
3086         Makefile.am, that way we can choose not to compile some examples
3087         and tests of the deprecated widgets.
3088
3089         * examples/Makefile.am: Divided the sources in deprecated and
3090         non-deprecated.
3091
3092         * src/Makefile.am: Added undef statement of the deprecated
3093         symbol to the enums file generation process.
3094
3095         * src/hildon-color-chooser-dialog.c
3096         * src/hildon-color-chooser-dialog.h
3097         * src/hildon-color-button.c
3098         * src/hildon-color-button.h
3099         * src/hildon-color-chooser.c
3100         * src/hildon-color-chooser.h
3101         * src/hildon-controlbar.c
3102         * src/hildon-controlbar.h
3103         * src/hildon-date-editor.c
3104         * src/hildon-date-editor.h
3105         * src/hildon-hvolumebar.c
3106         * src/hildon-hvolumebar.h
3107         * src/hildon-private.c
3108         * src/hildon-private.h
3109         * src/hildon-range-editor.c
3110         * src/hildon-range-editor.h
3111         * src/hildon-seekbar.c
3112         * src/hildon-seekbar.h
3113         * src/hildon-time-editor.c
3114         * src/hildon-time-editor.h
3115         * src/hildon-time-picker.c
3116         * src/hildon-time-picker.h
3117         * src/hildon-volumebar.c
3118         * src/hildon-volumebar.h
3119         * src/hildon-vvolumebar.c
3120         * src/hildon-vvolumebar.h
3121         * src/hildon-bread-crumb-trail.h
3122         * src/hildon-bread-crumb-trail.c
3123         * src/hildon-calendar-popup.c
3124         * src/hildon-calendar-popup.h
3125         * src/hildon-weekday-picker.c:
3126         * src/hildon-weekday-picker.h:
3127         * src/hildon-bread-crumb-widget.c:
3128         * src/hildon-bread-crumb-widget.h:
3129         * src/hildon-bread-crumb.c:
3130         * src/hildon-bread-crumb.h:
3131         * src/hildon-calendar.c:
3132         * src/hildon-calendar.h:
3133         * src/hildon-caption.c:
3134         * src/hildon-code-dialog.c:
3135         * src/hildon-code-dialog.h:
3136         * src/hildon-font-selection-dialog.c:
3137         * src/hildon-font-selection-dialog.h:
3138         * src/hildon-get-password-dialog.c:
3139         * src/hildon-get-password-dialog.h:
3140         * src/hildon-login-dialog.c:
3141         * src/hildon-login-dialog.h:
3142         * src/hildon-number-editor.c:
3143         * src/hildon-number-editor.h:
3144         * src/hildon-set-password-dialog.c:
3145         * src/hildon-set-password-dialog.h:
3146         * src/hildon-sort-dialog.c:
3147         * src/hildon-sort-dialog.h: This is the list of deprecated
3148         widgets.
3149
3150         * src/hildon-touch-selector.c:
3151         * src/hildon-window.c: Added undef statement to avoid compilation
3152         warnings
3153
3154         * tests/Makefile.am: Divided the sources in deprecated and
3155         non-deprecated.
3156
3157         * tests/check_test.c,
3158         (configure_tests): Marked the deprecated code that was adding
3159         suites with deprecated tests.
3160
3161         Fixes: NB#91135 (Deprecate legacy hildon widgets)
3162
3163 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
3164
3165         * src/hildon-touch-selector.c: (_default_print_func): Do not
3166         duplicate a string returned by gtk_tree_model_get(), it is already
3167         allocated for us.
3168
3169         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3170         function)
3171
3172 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
3173
3174         * src/hildon-pannable-area.c
3175         (hildon_pannable_area_add_with_viewport): Reviewed the complete
3176         method, it had problems when adding a widget with viewport the
3177         second time. Now checks if it already has a viewport and uses it.
3178
3179         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3180         on child)
3181
3182 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
3183
3184         * src/hildon-pannable-area.c,
3185         (hildon_pannable_area_scroll_to),
3186         (hildon_pannable_area_jump_to),
3187         (hildon_pannable_area_scroll_to_child),
3188         (hildon_pannable_area_jump_to_child): Added a precondition to the
3189         scroll and jump to functions: the widget must be mapped before we
3190         can safely call these functions. We have also added documentation
3191         to the functions to explain how to use them in this situation.
3192
3193
3194 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
3195
3196         Reviewed the threading handling of the pannable widget, we have
3197         used the gdk_threads_add_timeout function instead of the usual
3198         glib handlers. This avoids some problems with the threads.
3199
3200         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3201         (hildon_pannable_area_initial_effect),
3202         (hildon_pannable_area_scroll_indicator_fade),
3203         (hildon_pannable_area_button_press_cb),
3204         (hildon_pannable_area_timeout),
3205         (hildon_pannable_area_motion_notify_cb),
3206         (hildon_pannable_area_button_release_cb),
3207         (hildon_pannable_area_scroll_cb),
3208         (hildon_pannable_area_scroll_to): Removed the
3209         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3210         gdk_threads_add_timeout.
3211
3212         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3213
3214 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
3215
3216         [Release 2.1.18]
3217
3218         * NEWS: updates
3219         * configure.ac: bump version
3220         * debian/changelog: updates
3221
3222 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
3223
3224         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3225         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3226         * src/hildon-color-chooser-dialog.c:
3227         (hildon_color_chooser_dialog_init):
3228         * src/hildon-font-selection-dialog.c:
3229         (hildon_font_selection_dialog_init):
3230         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3231
3232         Remove all cancel/close-like dialogs, as these are not going to be
3233         displayed at all.
3234
3235 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
3236
3237         * src/hildon-note.c: (hildon_note_rebuild),
3238         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3239         when needed.
3240
3241         Fixes: NB#90661 (Delete dialog is displayed without NO button)
3242
3243 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
3244
3245         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3246         sure all buttons are shown, even the Cancel/Close-like ones.
3247
3248         Fixes: NB#90861 (Custom Confirmation dialogs should be
3249         protected from cancel button removal)
3250
3251 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
3252
3253         * debian/control: Change libhildon1-examples dependency from libhildon1
3254         to libhildon1-dev
3255         * debian/libhildon1-examples.install
3256         * debian/rules
3257         * Makefile.am: Modified the final install directory for the examples on
3258         package libhildon1-examples
3259         * Makefile.static: Update clean target in order to remove all the binary
3260         examples
3261
3262         Changes suggested by Claudio after review new libhildon1-examples package
3263
3264 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
3265
3266         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3267         * src/hildon-touch-selector.c: Ditto.
3268
3269 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
3270
3271         * debian/control: Added new package libhildon1-examples, in order to pack
3272         the current hildon examples as documentation
3273         * debian/rules: Not to compress .c files, modify some includes on the
3274         examples (as normally are compiled locally, but when installed it will
3275         require to include the installed libhildon1 library), and rename
3276         Makefile.static
3277         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3278         install all the example files on the new example package
3279         * examples/Makefile.static: Added static makefile that can be used to
3280         compile the examples, once installed the new example package
3281         * examples: Most of the examples were modified in order to grant that
3282         all use only '#include "hildon.h"', in order to be easy to prepare
3283         it on the example package
3284
3285 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
3286
3287         * debian/control
3288         * debian/libhildon1-dev.install
3289         * debian/libhildon1-doc.install:
3290         Move all gtk-doc files to a separate libhildon1-doc package.
3291
3292 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
3293
3294         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
3295
3296         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3297
3298 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
3299
3300         * debian/rules: Fixed a error in order to avoid unnecessary calls
3301         to autogen.sh on package building
3302
3303 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
3304
3305         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3306
3307 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
3308
3309         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3310         header include.
3311
3312 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
3313
3314         * src/hildon-picker-button.c
3315         (hildon_picker_button_finalize):
3316         Free priv->done_button_text
3317
3318         * src/hildon-time-button.c
3319         (hildon_time_button_set_time)
3320         * src/hildon-picker-button.c
3321         (hildon_picker_button_clicked)
3322         (hildon_picker_button_selector_selection_changed)
3323         (hildon_picker_button_set_selector)
3324         * src/hildon-date-button.c
3325         (hildon_date_button_set_date):
3326         Free strings returned by hildon_touch_selector_get_current_text()
3327
3328         * src/hildon-button.c (hildon_button_construct_child):
3329         Fix leaks in priv->image and priv->label_box
3330
3331         Fixes: NB#90535 (Memory leak in picker button)
3332
3333 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
3334
3335         * src/hildon-button.c: (hildon_button_get_property): Do not access
3336         private elements directly, use getters instead.
3337
3338 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
3339
3340         * src/hildon-app-menu-private.h
3341         * src/hildon-app-menu.c
3342         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3343         Store the menu's parent window.
3344
3345         * src/hildon-stackable-window.c
3346         (hildon_stackable_window_toggle_menu)
3347         (hildon_stackable_window_finalize):
3348         Set the menu's parent window when the menu is shown, unset it when
3349         it is destroyed.
3350
3351         * src/hildon-app-menu.c
3352         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3353         (hildon_app_menu_class_init):
3354         Send unhandled keyboard accelerators to the parent window.
3355
3356 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
3357
3358         * src/hildon-stackable-window.c
3359         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3360
3361 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
3362
3363         * configure.ac: post release version bump
3364
3365 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
3366
3367         * NEWS: Updates
3368         * configure.ac: Bump version
3369         * debian/changelog: Updates
3370         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3371         gtk-doc 1.10.
3372
3373 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
3374
3375         Patch contributed by Daniel Borgmann (danielb@openismus.com)
3376
3377         * src/hildon-gtk.h
3378         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3379         GtkMenu with Hildon style.
3380
3381 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
3382
3383         * src/hildon-picker-button.c:
3384         (hildon_picker_button_set_done_button_text): Set the dialog's
3385         done button text here as well.
3386
3387         Fixes: NB#90232 (Picker button does not set the label on done button
3388         for the second time)
3389
3390 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
3391
3392         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3393         warning message.
3394
3395 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
3396
3397         * src/hildon-app-menu.c (hildon_app_menu_insert)
3398         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3399         the HildonAppMenu to be activatable using keyboard accelerators
3400         when the menu is not being shown.
3401
3402         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3403
3404 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
3405
3406         * src/hildon-stackable-window.c
3407         (hildon_stackable_window_show):
3408         Don't hide old windows automatically when new windows are shown:
3409         this is now a task for the window manager.
3410         (hildon_stackable_window_class_init)
3411         (hildon_stackable_window_hide):
3412         Remove windows from the stack everytime they're hidden.
3413         (hildon_stackable_window_realize):
3414         Don't change the _NET_WM_WINDOW_TYPE property. Use
3415         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3416         it as a stackable window.
3417
3418         * src/hildon-program.c
3419         (hildon_program_pop_window_stack):
3420         Just hide the window to remove it from the stack.
3421         (hildon_program_go_to_root_window):
3422         Don't call gtk_widget_show(), this is now a task for the window
3423         manager.
3424
3425         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3426
3427 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
3428
3429         * src/hildon-button.c
3430         (hildon_button_construct_child):
3431         Don't pack anything in the button until text or image are
3432         set. This allows adding a custom child after creating the button
3433         with hildon_button_new().
3434         (hildon_button_finalize, hildon_button_class_init)
3435         (hildon_button_init, hildon_button_set_arrangement): Destroy the
3436         alignment and the label box even when they're not packed in the
3437         button.
3438
3439 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
3440
3441         * src/hildon-touch-selector.h:
3442         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3443         currently the type definition was using GTK_TYPE_VBOX
3444         * src/hildon-touch-selector.c:
3445         Added some implementation notes in order to clarify that any other widget
3446         added without the column related API will not be included on the
3447         selection logic, and how the widget is freed, as some people ask about
3448         it.
3449         (hildon_touch_selector_remove): Reimplemented in order to free properly
3450         the column related data when you remove the private hbox.
3451         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3452         to get a proper HildonTouchSelectorColumn documentation
3453
3454 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
3455
3456         * src/hildon-touch-selector-entry.c:
3457         (hildon_touch_selector_entry_print_func): Return NULL if there is no
3458         text in the GtkEntry and there is no item selected. Fixes a
3459         potential crasher.
3460
3461 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
3462
3463         * src/hildon-app-menu-private.h
3464         * src/hildon-app-menu.[ch]
3465         * src/hildon-button.[ch]
3466         * src/hildon-check-button.[ch]
3467         * src/hildon-entry.[ch]
3468         * src/hildon-pannable-area.[ch]
3469         * src/hildon-text-view.[ch]:
3470         Added private field to the object's structure.
3471
3472 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
3473
3474         * configure.ac: post-release version bump
3475
3476 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
3477
3478         [Release 2.1.14]
3479
3480         * configure.ac: pre-release version bump
3481         * NEWS: updates.
3482         * debian/changelog: updates.
3483
3484 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
3485
3486         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3487         Disconnect the handler for HildonTouchSelector::changed.
3488
3489         (hildon_picker_button_selector_selection_changed): Update the button
3490         value if the selection change was not triggered by the
3491         HildonPickerDialog.
3492
3493         (hildon_picker_button_set_selector): connect to
3494         HildonTouchSelector::changed.
3495
3496         Fixes: NB#89650 (Picker button is not updated, when selection in
3497         selector has changed)
3498
3499 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
3500
3501         * src/hildon-picker-dialog.c
3502         (hildon_picker_dialog_realize): Removed as not required
3503         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3504         * src/hildon-picker-button.c
3505         (_current_selector_empty): New function, checks if the selector is empty
3506         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3507         if the current selector is empty, in order to avoid to show the dialog
3508         close the dialog in this case (and shows a g_warning).
3509
3510         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3511
3512 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
3513
3514         * src/hildon-pannable-area.c,
3515         (hildon_pannable_area_scroll): Added clause to stop movement when
3516         the child of pannable is smaller than one page.
3517         (hildon_pannable_area_scroll_to): Added conditions to avoid
3518         starting the scrolling movement if the child is smaller than one
3519         page, the complete child is in the screen, we do not have to move.
3520
3521         Fixes: NB#89632 (Picker button selection doesn't change on first click)
3522
3523 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
3524
3525         * src/hildon-app-menu.c: Removed the 'columns' property, as now
3526         this is managed automatically by the widget when the size of the
3527         screen changes.
3528
3529 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
3530
3531         * src/hildon-picker-button.c
3532         (hildon_picker_button_set_done_button_text): Make a copy of the
3533         text, and free the previous value.
3534
3535 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
3536
3537         * src/hildon-touch-selector-entry.c:
3538         (hildon_touch_selector_entry_print_func): Return the selected row's
3539         text if the entry is empty.
3540
3541         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3542         entry is empty)
3543
3544 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
3545
3546         * src/hildon-touch-selector-entry.c: Minor docs fixes.
3547
3548 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
3549
3550         * doc/hildon.types
3551         * src/hildon-check-button.h
3552         * src/hildon-check-button.c
3553         * examples/hildon-check-button-example.c:
3554         HildonCheckButton is now a new widget. 'toggled' signal added.
3555
3556 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
3557
3558         * src/hildon-program-private.h
3559         * src/hildon-program.c (hildon_program_init)
3560         (hildon_program_finalize): Removed unused variables group_leader
3561         and name from HildonProgramPrivate.
3562
3563 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
3564
3565         * src/hildon-check-button.c (hildon_check_button_set_active)
3566         (hildon_check_button_get_active, hildon_check_button_new): Use
3567         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3568
3569 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
3570
3571         * src/hildon-touch-selector.h
3572         (hildon_touch_selector_set_column_attributes): added deprecation
3573         guard HILDON_DISABLE_DEPRECATED
3574         * src/hildon-time-selector.c
3575         (hildon_time_selector_set_time)
3576         (hildon_time_selector_get_time): Fixed a typo on documentation
3577         * src/hildon-touch-selector.c: update HildonTouchSelector and
3578         HildonTouchSelectorColumn documentation
3579         * src/hildon-touch-selector-entry.c: update "text-column" property
3580         documentation
3581         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3582         to be added to the general documentation.
3583
3584 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
3585
3586         * examples/hildon-pannable-area-example-4.c,
3587         (main),
3588         * examples/hildon-pannable-area-example.c,
3589         (main): Modified the code in order to use the container add, with
3590         viewport treeviews could have problems if they are really big.
3591
3592 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
3593
3594         * src/hildon-weekday-picker.c,
3595         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3596         the agreement regarding deprecation in the library.
3597
3598 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
3599
3600         * examples/hildon-picker-button-multicolumn-example.c:
3601         (main): Use custom "done" button text.
3602
3603         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3604         (hildon_picker_button_set_property),
3605         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3606         (hildon_picker_button_init),
3607         (+hildon_picker_button_get_done_button_text),
3608         (+hildon_picker_button_set_done_button_text): New methods to customize
3609         the "done" button label in the launched HildonPickerDialog. Also,
3610         make it a property.
3611
3612         * src/hildon-picker-button.h: add the public API.
3613
3614 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
3615
3616         * src/hildon-date-selector.h:
3617         * src/hildon-picker-dialog.h:
3618         * src/hildon-time-selector.h:
3619         * src/hildon-touch-selector-column.h:
3620         * src/hildon-touch-selector.h:
3621
3622         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3623         declarations. Fixes gtk-doc warnings.
3624
3625 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
3626
3627         * src/hildon-picker-dialog.h
3628         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3629         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3630
3631         Fixes: NB#89329 (selectors in picker dialog are not visible when a
3632         long text is set as label for done button)
3633
3634 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
3635
3636         * src/hildon-dialog.c (hildon_dialog_add_button):
3637         Set fixed width to all buttons in the HildonDialog.
3638
3639 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
3640
3641         Patch contributed by Daniel Borgmann (danielb@openismus.com)
3642
3643         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3644         Set widget name using class name plus "-finger" or "-thumb".
3645
3646 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
3647
3648         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3649         'clicked' when the state of the button is manually changed.
3650
3651 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
3652
3653         * src/hildon-app-menu.c (hildon_app_menu_realize)
3654         (hildon_app_menu_unrealize, hildon_app_menu_init)
3655         (hildon_app_menu_class_init, item_visibility_changed):
3656         Change the menu layout when the size of the screen changes.
3657         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3658         Show warning only when changing the number of colums using the
3659         property.
3660
3661 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
3662
3663         * debian/compat: Set to 5
3664         * debian/control: Update dependencies.
3665         * debian/libhildon1-dbg.install: Remove.
3666         * debian/libhildon1-dev.install: Update according to cdbs paths.
3667         * debian/libhildon1.install: Update according to cdbs paths.
3668         * debian/rules: Switch to cdbs.
3669
3670 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
3671
3672         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3673         'item' variable renamed to 'filter'
3674
3675 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
3676
3677         * src/hildon-app-menu.c (hildon_app_menu_insert)
3678         (hildon_app_menu_add_filter, remove_item_from_list)
3679         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3680         Don't leak hidden items when the menu is destroyed.
3681
3682 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
3683
3684         * src/hildon-app-menu.c (hildon_app_menu_insert)
3685         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3686         (hildon_app_menu_set_columns, item_visibility_changed)
3687         (filter_visibility_changed, hildon_app_menu_repack_filters)
3688         (hildon_app_menu_repack_items):
3689         Repack items and filters separately.
3690
3691         Don't repack all items, change only the ones that are needed to
3692         update the layout.
3693
3694 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
3695
3696         * src/Makefile.am: added hildon-touch-selector-column.h
3697
3698 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
3699
3700         * src/hildon-touch-selector.c: added the property "text-column" to the
3701         class HildonTouchSelectorColumn, and related get/set functions
3702         (_default_printf_func): updated to use "text-column" property
3703         * src/hildon-touch-selector-entry.c: mark as deprecated the property
3704         "text-column" in his documentation, as this is now included on
3705         HildonTouchSelectorColumn. The get/set_property can still be used,
3706         working as a wrapper to the concrete column "text-column" property
3707         (_text_column_modified): callback added in order to handle the signal
3708         "notify::text-column" of the concrete HildonTouchSelectorColumn
3709         (hildon_touch_selector_entry_get_text_column)
3710         (hildon_touch_selector_entry_set_text_column): Added documentation, and
3711         modified in order to use the HildonTouchSelectorColumn "text-column"
3712         property
3713         * src/hildon-time-selector.c:
3714         * src/hildon-date-selector.c:
3715         * examples/hildon-touch-selector-example.c
3716         * examples/hildon-touch-selector-multi-cells-example.c
3717         * examples/hildon-picker-button-multicolumn-example.c
3718         Set the right value to "text-column" property on the creation of a new
3719         column using hildon_touch_selector_append_column()
3720
3721         Fixes: NB#88644 (Hardcoded first column of the model as text column)
3722
3723 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
3724
3725         * src/hildon-app-menu.c
3726         (hildon_app_menu_construct_child, hildon_app_menu_init): When
3727         updating the layout of the menu, don't create all widgets again,
3728         just repack the items in their new places.
3729
3730 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
3731
3732         * src/hildon-time-selector.c
3733         (hildon_time_selector_get_time)
3734         (hildon_time_selector_set_time)
3735         Added documentation of these public methods
3736
3737         * src/hildon-date-button.h
3738         * src/hildon-touch-selector-column.h
3739         * src/hildon-time-button.h
3740         * src/hildon-picker-dialog.h
3741         * src/hildon-time-selector.h
3742         * src/hildon-picker-button.h
3743         * src/hildon-touch-selector.h
3744         * src/hildon-time-picker.h
3745         * src/hildon-date-selector.h
3746         * src/hildon-touch-selector-entry.h
3747         Modified in order to use hildon-widgets code style
3748
3749 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
3750
3751         Added deprecated support to the compilation process using
3752         HILDON_DISABLE_DEPRECATED
3753
3754         * configure.ac: Added the --disable-deprecated to the configure
3755         script
3756
3757         * src/hildon-weekday-picker.c:
3758         * src/hildon-weekday-picker.h: Deprecated widget, example of how
3759         to use the deprecated support. We will update the other deprecated
3760         widgets status in a new patch.
3761
3762 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
3763
3764         * configure.ac: Fixed typo with fatal warnings support, the
3765         variable name was not correct
3766
3767 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
3768
3769         * src/hildon-app-menu.c
3770         * src/hildon-program.c: Update documentation.
3771
3772 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
3773
3774         * configure.ac: Post-release version bump.
3775
3776 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
3777
3778         [Release 2.1.12]
3779
3780         * NEWS: Update.
3781         * configure.ac: Pre-release version bump.
3782         * debian/changelog: Updates.
3783
3784 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
3785
3786         * NEWS: Update news for previous releases.
3787
3788 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
3789
3790         * examples/hildon-touch-selector-multi-cells-example.c:
3791         (create_selector): Update the example to use
3792         hildon_touch_selector_append_column() with a NULL renderer and set
3793         the renderers later.
3794         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3795         passed a NULL renderer. This is documented behavior now.
3796
3797         Allow passing a NULL renderer to hildon_touch_selector_append_column().
3798         This must be used if the developer wants full control on the layout of
3799         the renderers to be added to the column.
3800
3801         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3802
3803 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
3804
3805         * src/hildon-touch-selector.c: Documentation fixes.
3806
3807 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
3808
3809         * src/hildon-wizard-dialog-private.h: Remove image and box.
3810         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3811         (hildon_wizard_dialog_set_property), (response): Completely remove
3812         image/icon support, and the containers required for the layout.
3813
3814         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3815
3816 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
3817
3818         * src/hildon-app-menu.c: Updated documentation.
3819
3820         * src/hildon-stackable-window.c
3821         (hildon_stackable_window_set_main_menu): Unref the old menu after
3822         ref'ing the new one.
3823
3824 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
3825
3826         * src/hildon-stackable-window.c
3827         (hildon_stackable_window_set_main_menu): Unref the previous menu
3828         instead of destroying it.
3829
3830         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3831         floating reference and set has_user_ref_count to FALSE to make
3832         HildonAppMenu act like a normal ref-counted widget and not a
3833         toplevel widget.
3834
3835         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3836         changed)
3837
3838 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
3839
3840         * src/hildon-touch-selector-column.h: new file
3841         * src/hildon-touch-selector.h
3842         * src/hildon-touch-selector.c
3843         Implemented GtkCellLayout interface, in order to allow to configure
3844         the cell layout on each individual selector column
3845         (hildon_touch_selector_set_column_attributes): marked as deprecated
3846         * examples/hildon-touch-selector-multi-cells-example.c
3847         Example of how to use the GtkCellLayout interface on the selector
3848
3849         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3850
3851 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
3852
3853         * src/hildon-app-menu.h
3854         * src/hildon-app-menu.c
3855         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3856         (hildon_app_menu_append, hildon_app_menu_prepend):
3857         New methods to prepend, insert and move items in the menu.
3858
3859 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
3860
3861         * src/hildon-wizard-dialog.c:
3862
3863         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3864         button.
3865         (create_title): Update logical IDs and related code.
3866         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3867
3868         * src/hildon-wizard-dialog.h: Note that
3869         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3870         point, as it is not used anymore.
3871
3872         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3873
3874 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
3875
3876         * src/hildon-note.c:
3877         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3878         shown.  Do not display an icon in confirmation notes nor information
3879         notes.
3880         (hildon_note_set_button_text): Update logical ID for cancel button.
3881
3882         Fixes: NB#88850 (Update HildonNote button strings + signals)
3883
3884 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
3885
3886         * src/hildon-stackable-window.c
3887         (hildon_stackable_window_set_main_menu): Fix compilation warning.
3888
3889 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
3890
3891         * src/hildon-app-menu-private.h
3892         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3893         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3894         (hildon_app_menu_init, hildon_app_menu_class_init): Added
3895         temporary property 'columns' to change the number of columns.
3896
3897 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
3898
3899         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3900
3901         * examples/hildon-note-example.c: (on_information_clicked),
3902         (on_confirmation_clicked), (on_progress_clicked), (main): Add
3903         debugging information.
3904         * src/hildon-note-private.h: Remove close_if_pressed_outside,
3905         not needed anymore.
3906         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3907         (hildon_note_rebuild): Remove special handling of tapping outside/inside
3908         in order to close: this will be handled by the WM from now on.
3909
3910         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3911
3912 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
3913
3914         * src/hildon-app-menu-private.h
3915         * src/hildon-app-menu.c
3916         (hildon_app_menu_append, hildon_app_menu_add_filter)
3917         (button_visibility_changed, hildon_app_menu_apply_style)
3918         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3919         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3920         layout everytime a button (item or filter) is shown or hidden.
3921
3922         * src/hildon-stackable-window.c
3923         (hildon_stackable_window_set_main_menu): Destroy the old menu when
3924         setting a new one.
3925
3926 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
3927
3928         * src/hildon-touch-selector.c:
3929         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3930         that the treeview inside the touch selector is in fremantle hildon mode
3931         * examples/hildon-date-button-example.c
3932         * examples/hildon-picker-button-multicolumn-example.c
3933         * examples/hildon-touch-selector-entry-example.c
3934         * examples/hildon-touch-selector-example.c
3935         * examples/hildon-time-button-example.c
3936         * examples/hildon-picker-button-example.c:
3937         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3938
3939 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
3940
3941         * examples/hildon-text-view-example.c: (main): Remove the
3942         gtkrc bits, now handled by the theme.
3943
3944 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
3945
3946         * src/hildon-picker-button.c (hildon_picker_button_set_active):
3947         Fix memory leak
3948
3949 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
3950
3951         * po/Makefile.am: Install properly the mo files.
3952         * po/en_GB.po: Update translation, to ease testing purposes.
3953
3954 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
3955
3956         * examples/hildon-picker-button-example.c: (main): Select an item
3957         in the selector before setting it to the button.
3958
3959 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
3960
3961         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3962         Update button's value if the selector has an item active.
3963
3964         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3965         'value' with the selector)
3966
3967 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
3968
3969         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3970         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3971         (hildon_picker_button_class_init): Plug the finalize method.
3972         (hildon_picker_button_set_selector): If there's a previously set
3973         selector, unref'it before setting a new one.
3974
3975         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3976         HildonTouchSelector)
3977
3978 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
3979
3980         * src/hildon-touch-selector-entry.c:
3981         (hildon_touch_selector_entry_changed): Check if there is no text
3982         selected before setting the entry text.
3983         Fixes: NB#88576
3984
3985 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
3986
3987         * src/hildon-touch-selector.h
3988         * src/hildon-touch-selector.c
3989         (hildon_touch_selector_get_active)
3990         (hildon_touch_selector_set_active): New methods to set/get the
3991         index of the selected item.
3992
3993         * src/hildon-picker-button.h
3994         * src/hildon-picker-button.c
3995         (hildon_picker_button_get_active)
3996         (hildon_picker_button_set_active): New methods to set/get the
3997         index of the selected item.
3998
3999 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
4000
4001         * configure.ac: post-release version bump.
4002
4003 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
4004
4005         Release 2.1.10-1.
4006
4007         * configure.ac: Pre-release version bump.
4008         * debian/changelog: Updates.
4009         * debian/control: Add myself as maintainer and depend on l10n
4010         packages.
4011
4012 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
4013
4014         * src/hildon-window.c
4015         (hildon_window_set_main_menu)
4016         * src/hildon-stackable-window.c
4017         (hildon_stackable_window_set_main_menu):
4018         Updated documentation.
4019
4020 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
4021
4022         * src/hildon-date-selector.c (hildon_date_selector_finalize):
4023         Don't free selector->priv manually.
4024         Fixes: NB#88414
4025
4026 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
4027
4028         * src/hildon-gtk.c,
4029         (hildon_gtk_window_set_progress_indicator):
4030         * src/hildon-gtk.h: Added the new API
4031         hildon_gtk_window_set_progress_indicator, it changes the state of
4032         the window progress hint.
4033
4034 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
4035
4036         * src/hildon-button.c
4037         * src/hildon-stackable-window.c: Minor documentation updates.
4038
4039 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
4040
4041         * src/hildon-stackable-window.c: Updated documentation.
4042
4043 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
4044
4045         * src/hildon-defines.h: Update margins definitions
4046         to the Fremantle sizes.
4047         Fixes: NB#88364
4048
4049 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
4050
4051         * src/hildon-touch-selector.c,
4052         (_hildon_touch_selector_set_model): Cleaning the code after
4053         review, removed g_print and #if 0 from the code.
4054
4055 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
4056
4057         * src/hildon-edit-toolbar.c: Update documentation.
4058
4059 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
4060
4061         * src/hildon-check-button.h
4062         * src/hildon-check-button.c
4063         (hildon_check_button_set_label, hildon_check_button_get_label)
4064         * examples/hildon-check-button-example.c
4065         (button_clicked_cb):
4066         Removed deprecated methods.
4067
4068 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
4069
4070         * src/hildon-text-view.c:
4071         Add sample code to the documentation.
4072
4073         * src/hildon-entry.h
4074         * src/hildon-text-view.h:
4075         Minor cosmetic changes.
4076
4077         * src/hildon-entry.c:
4078         Add sample code to the documentation.
4079         (hildon_entry_init, hildon_entry_refresh_contents):
4080         Don't allow NULL values in the placeholder.
4081
4082 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
4083
4084         * doc/hildon-docs.sgml
4085         * doc/hildon.types
4086         * examples/Makefile.am
4087         * examples/hildon-text-view-example.c
4088         * src/Makefile.am
4089         * src/hildon-text-view.c
4090         * src/hildon-text-view.h
4091         * src/hildon.h:
4092         New HildonTextView widget, with example.
4093
4094 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
4095
4096         * po/POTFILES.in: Add missing files with translatable strings.
4097         Partially fixes NB#88287.
4098
4099 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
4100
4101         * examples/hildon-pannable-area-example-2.c: (main): No need to
4102         set the cellrenderer height inside hildon touch lists, the theme does
4103         that for us.
4104
4105 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
4106
4107         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4108         they are integrated in the theme.
4109
4110 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
4111
4112         * examples/hildon-entry-example.c: Update the example adding
4113         widgets to modify the text and the placeholder of the HildonEntry.
4114
4115         * src/hildon-entry.c: Show the placeholder everytime the widget
4116         is empty and loses the focus.
4117
4118 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
4119
4120         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4121
4122         * src/hildon-pannable-area.c,
4123         (hildon_pannable_area_size_request): Fixed bug in height
4124         requisition, avoid increasing size and add border twice.
4125
4126 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
4127
4128         * configure.ac: postrelease version bump.
4129
4130 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
4131
4132         Release 2.1.8-1.
4133
4134         * configure.ac: Prerelease version bump.
4135         * debian/changelog: update.
4136         * debian/rules: make -dbg package contain useful debugging symbols.
4137
4138 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
4139
4140         * src/hildon-dialog.h
4141         * src/hildon-dialog.c
4142         (hildon_dialog_add_button, hildon_dialog_add_buttons):
4143         New methods to add buttons with finger size.
4144         (hildon_dialog_new_with_buttons):
4145         Create buttons with finger size.
4146
4147         * examples/hildon-dialog-example.c (main): Use HildonDialog
4148         methods to add buttons.
4149
4150 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
4151
4152         * src/hildon-entry.c: Updated HildonButton documentation.
4153
4154 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
4155
4156         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4157         button value label with (FALSE, FALSE) to prevent NB#88126 from
4158         being triggered.
4159
4160 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
4161
4162         * examples/hildon-pannable-area-example.c,
4163         (main): Removed examples panning a vbox inside a pannable
4164         area. Check bug NB#87965
4165
4166 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
4167
4168         Patch contributed by Kris Rietveld (kris@imendio.com)
4169
4170         * src/hildon-pannable-area.c,
4171         (hildon_pannable_area_get_topmost): replaced the get_geometry with
4172         get_size and get_position, this saves an X server roundtrip.
4173
4174 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
4175
4176         * doc/hildon-docs.sgml
4177         * doc/hildon.types
4178         * examples/Makefile.am
4179         * examples/hildon-entry-example.c
4180         * src/Makefile.am
4181         * src/hildon-entry.c
4182         * src/hildon-entry.h
4183         * src/hildon.h:
4184         New HildonEntry widget, with example.
4185
4186 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
4187
4188         * src/hildon-button.c (hildon_button_construct_child): Pack the
4189         image with expand == fill == FALSE. This is a workaround for a bug
4190         in GtkBox.
4191
4192 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
4193
4194         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4195         labels for the text column, to make it more look more dynamic.
4196
4197 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
4198
4199         * src/hildon-time-selector.c
4200         Define gettext auxiliar macro N_
4201         (_create_minutes_model)
4202         (_create_hours_model)
4203         (_create_ampm_model): use of strftime in order to fill the model
4204         * src/hildon-date-selector.c
4205         (hildon_date_selector_finalize):
4206         (_locales_init): remove the logic related to get the name of the months
4207         using nl_langinfo, as it is not required anymore
4208         (_create_day_model)
4209         (_create_year_model)
4210         (_create_month_model)
4211         (_update_day_model): use of strftime in order to fill the model properly
4212
4213
4214 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
4215
4216         * src/hildon-button.h
4217         * src/hildon-button.c (hildon_button_get_image): New method to
4218         retrieve the image.
4219
4220 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
4221
4222         * src/hildon-touch-selector.c:
4223         (hildon_touch_selector_remove_column): Remove from the correct parent
4224         and also remove the list element and free it.
4225         Fixes: NB#88049
4226
4227 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
4228
4229         * src/hildon-time-selector.c
4230         (_create_hours_model): change the range on 12h ampm format in order to use
4231         a 12-11 range instead of previous 01-12 range
4232         (hildon_time_selector_set_time): change the way to select the current time
4233         on 12h ampm format, due the change on the range
4234         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4235         Fixes: NB#88036
4236
4237 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
4238
4239         * src/hildon-touch-selector.c
4240         (hildon_date_touch_selector_get_selected): fix the selection mode check,
4241         in order to allow use this function on multiple row selection mode if
4242         the column is different that the first one
4243         Fixes: NB#88047
4244
4245 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
4246
4247         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4248         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4249
4250 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
4251
4252         * src/hildon-date-selector.h: clean some comments, now on the .c
4253         * src/hildon-date-selector.c
4254         (hildon_date_selector_select_month): first implementation
4255         (hildon_date_selector_select_day): added documentation, reimplemented
4256         using hildon_date_selector_select_current_date to avoid repeat code
4257         Fixes: NB#88027
4258
4259 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
4260
4261         Reviewed interaction logic based on device experiences, refactored
4262         code.
4263
4264         * src/hildon-pannable-area.c,
4265         (hildon_pannable_area_class_init): Updated default vmax speed.
4266         (hildon_pannable_area_calculate_velocity): Added this function, it
4267         avoids duplicate valocity calculation. Adjusted calculation to
4268         avoid problems with zero dist events.
4269
4270         (hildon_pannable_area_motion_notify_cb): Now we use the
4271         calculate_velocity function.
4272
4273 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
4274
4275         * src/hildon-date-selector.c
4276         (hildon_date_selector_select_current_date): fix the day range check
4277         as it failed using the last day of the current month
4278         Fixes NB#88023
4279
4280 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
4281
4282         * src/hildon-touch-selector.c
4283         (hildon_touch_selector_get_num_columns): added a parameter validation
4284         Fixes: NB#88022
4285
4286 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
4287
4288         * examples/Makefile.am
4289         * examples/hildon-edit-toolbar-example.c: Example of the
4290         HildonEditToolbar widget.
4291
4292 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
4293
4294         * configure.ac: postrelease version bump.
4295
4296 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
4297
4298         Release 2.1.6-1.
4299
4300         * configure.ac: prerelease version bump.
4301         * debian/changelog: update.
4302
4303 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
4304
4305         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4306         renderer to display stock icons in the touch list. Also, set the sizes
4307         to the recommended in the style guide.
4308
4309 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
4310         * src/hildon-touch-selector.h
4311         (hildon_touch_selector_set_active_iter): renamed, now is
4312         hildon_touch_selector_select_iter
4313         (hildon_touch_selector_get_active_iter): renamed, now is
4314         hildon_touch_selector_get_selected
4315         (hildon_touch_selector_unselect_iter): added
4316         * src/hildon-touch-selector.c
4317         Update after API modification (methods renamed)
4318         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4319         order to avoid problems selecting multiple elements on the column
4320         (hildon_touch_selector_unselect_iter): added the implementation
4321         * src/hildon-time-selector.c
4322         * src/hildon-date-selector.c
4323         * src/hildon-touch-selector-entry.c
4324         Update methods calls after hildon-touch-selector.h API modification (methods
4325         renamed)
4326
4327 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
4328
4329         * src/hildon-stackable-window.c
4330         (hildon_stackable_window_finalize): Call the parent class's finalize.
4331
4332 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
4333
4334         * examples/hildon-touch-selector-example.c: (create_selector): Use
4335         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4336         cell height.
4337
4338 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
4339
4340         * examples/hildon-touch-selector-example.c: (create_selector): Do not
4341         set a cell background color, to respect theming.
4342
4343 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
4344
4345         * doc/hildon-docs.sgml
4346         * doc/hildon.types
4347         * src/Makefile.am
4348         * src/hildon-edit-toolbar.c
4349         * src/hildon-edit-toolbar.h
4350         * src/hildon.h: New HildonEditToolbar widget.
4351
4352 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
4353
4354         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4355         extra GtkVBox.
4356
4357 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
4358         * src/hildon-touch-selector.c
4359         (_create_new_column): use g_object_set instead of two g_object_set_property
4360
4361 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
4362         * src/hildon-touch-selector.c
4363         (_create_new_column): use of hildon_gtk_tree_view_new to create
4364         the treeview, instead of use directly g_object_new
4365         (_create_new_column): update the property name "vindicator-mode" for the
4366         new one "vscrollbar-policy"
4367         * examples/hildon-date-button-example.c
4368         * examples/hildon-picker-button-multicolumn-example.c
4369         * examples/hildon-touch-selector-entry-example.c
4370         * examples/hildon-touch-selector-example.c
4371         * examples/hildon-time-button-example.c
4372         * examples/hildon-picker-button-example.c
4373         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4374         to all the treeviews inside a pannable area.
4375
4376 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
4377
4378         * src/hildon-button.h
4379         * src/hildon-button.c (hildon_button_init)
4380         (hildon_button_set_arrangement, hildon_button_set_alignment)
4381         (hildon_button_set_title_alignment)
4382         (hildon_button_set_value_alignment)
4383         (hildon_button_set_image_alignment)
4384         (hildon_button_construct_child): New methods to set the alignment
4385         of the individual components of the button (title, value,
4386         image). Also, new method to alter the xscale and yscale properties
4387         of the GtkAlignment inside the button, so more complex layouts can
4388         be created.
4389
4390 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
4391
4392         * src/hildon-button.c (hildon_button_style_set)
4393         (hildon_button_class_init, hildon_button_set_arrangement)
4394         (hildon_button_construct_child): Apply style properties
4395         correctly. Use the 'image-spacing' style property too.
4396
4397 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
4398
4399         * src/hildon-app-menu.c (hildon_app_menu_style_set)
4400         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4401         correctly.
4402
4403 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
4404
4405         * src/hildon-pannable-area.c,
4406         (hildon_pannable_area_size_request): Fixed problem with
4407         pannable-area size_request.
4408
4409 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
4410
4411         Added management for the grab-focus to a child widget, like a
4412         range, we need to fade out the scrollbar when releasing.
4413
4414         * src/hildon-pannable-area.c,
4415         (hildon_pannable_area_init): Connected the grab-focus signal to
4416         the callback.
4417         (hildon_pannable_area_grab_notify): Added this function in order
4418         to manage the situation when the grab-focus ends. We have to
4419         fade-out the scrollbar.
4420
4421 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
4422
4423         * src/hildon-app-menu.c: Minor documentation update.
4424
4425 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
4426
4427         * src/hildon-app-menu.c
4428         * examples/hildon-app-menu-example.c (create_menu): Update
4429         examples and documentation to explain how to connect callbacks.
4430
4431 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
4432
4433         * examples/hildon-button-example.c
4434         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4435         hildon_stackable_window_new instead of gtk_window_new
4436
4437 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
4438
4439         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4440         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4441         (hildon_pannable_area_set_property),
4442         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4443         (hildon_pannable_area_unrealize),
4444         (hildon_pannable_area_size_request),
4445         (hildon_pannable_area_size_allocate),
4446         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4447         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4448         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4449         (hildon_pannable_area_initial_effect),
4450         (hildon_pannable_area_redraw),
4451         (hildon_pannable_area_scroll_indicator_fade),
4452         (hildon_pannable_area_expose_event),
4453         (hildon_pannable_area_get_topmost), (synth_crossing),
4454         (hildon_pannable_area_button_press_cb),
4455         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4456         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4457         (hildon_pannable_area_motion_notify_cb),
4458         (hildon_pannable_area_button_release_cb),
4459         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4460         (hildon_pannable_area_remove),
4461         (hildon_pannable_calculate_vel_factor): Widget refactorization,
4462         chage the code layout to a more GtkWidget like. Review the use of
4463         variables.
4464
4465 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
4466
4467         * examples/hildon-pannable-area-example-4.c,
4468         (main): Modified the name of the hindicator_mode to
4469         hscrollbar_visible
4470
4471         * src/hildon-pannable-area.c,
4472         (hildon_pannable_area_class_init),
4473         (hildon_pannable_area_motion_notify_cb),
4474         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4475         we have reduced the amount of signals and managed reviewed its
4476         rationale. Changed the default decelerate value.
4477
4478         (hildon_pannable_area_add),
4479         (hildon_pannable_area_redraw): Refactored functions.
4480
4481         (hildon_pannable_area_init),
4482         (hildon_pannable_area_get_property),
4483         (hildon_pannable_area_set_property):
4484         (hildon_pannable_draw_vscroll),
4485         (hildon_pannable_draw_hscroll),
4486         (hildon_pannable_area_initial_effect),
4487         (hildon_pannable_area_expose_event),
4488         (hildon_pannable_area_scroll),
4489         (hildon_pannable_area_button_press_cb),
4490         (hildon_pannable_area_realize): Replaced the names hindicator_mode
4491         and vindicator_mode with hscrollbar_policy and
4492         vscrollbar_policy. Replaced hscroll and vscroll with
4493         hscroll_visible and vscroll_visible.
4494
4495         (hildon_pannable_area_refresh): Refactor the function, remove
4496         variables and check the calls to this function, added resize
4497         conditions in case the children change their layout.
4498
4499         (hildon_pannable_area_size_request): Added more detailed
4500         size_request calculation.
4501
4502
4503 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
4504
4505         * src/hildon-color-chooser.c
4506         (init_borders): use the correct gtk_border_free instead of g_free, to
4507         avoid a crash when this widget is used (ie: the three color selection
4508         examples)
4509
4510 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
4511
4512         * src/hildon-check-button.c,
4513         (hildon_check_button_set_active): Fixed problem when setting the
4514         active value, the widget was not redrawn.
4515
4516 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
4517
4518         * src/hildon-pannable-area.c,
4519         (hildon_pannable_area_refresh),
4520         (hildon_pannable_area_scroll),
4521         (hildon_pannable_area_motion_notify_cb): Small code style change.
4522
4523         (hildon_pannable_area_class_init): Default initial_hint set to
4524         FALSE, it is not in the specs.
4525
4526         (hildon_pannable_area_initial_effect),
4527         (hildon_pannable_area_expose_event),
4528         (hildon_pannable_area_map),
4529         (hildon_pannable_area_init): Moved the launching point of the
4530         initial effect, it was in map but the sizes where not correct in
4531         that method so we do not know if we have the reproduce it. Now it
4532         is placed in the expose_event method and uses a variable to
4533         reproduce it just once.
4534
4535 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
4536
4537         * src/hildon-pannable-area.c,
4538         (hildon_pannable_draw_vscroll),
4539         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4540         position allowed for the scrollbars.
4541
4542         (hildon_pannable_area_size_allocate): Small style change.
4543
4544 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
4545
4546         * src/hildon-pannable-area.c,
4547         (hildon_pannable_area_scroll_indicator_fade),
4548         (hildon_pannable_area_button_press_cb),
4549         (hildon_pannable_area_button_release_cb),
4550         (hildon_pannable_area_scroll_cb),
4551         (hildon_pannable_area_expose_event),
4552         (hildon_pannable_area_init): Added the define parameter
4553         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4554         and refactor the fade variable.
4555
4556 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
4557
4558         * src/hildon-pannable-area.c,
4559         (hildon_pannable_area_redraw),
4560         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4561         lines, we were reimplemeting the redraw code.
4562
4563 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
4564
4565         * src/hildon-pannable-area.c,
4566         (hildon_pannable_area_scroll_cb),
4567         (hildon_pannable_area_realize),
4568         (hildon_pannable_area_class_init): Added scroll_event management
4569         for pannable area, now we can scroll the usual desktop method.
4570
4571         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4572         initialization of the parameters should depend on idle_id.
4573
4574         (hildon_pannable_area_init),
4575         (hildon_pannable_area_map): Small code style modifications
4576
4577 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
4578
4579         * src/hildon-pannable-area.c
4580         (hildon_pannable_area_button_press_cb),
4581         (hildon_pannable_area_motion_notify_cb),
4582         (hildon_pannable_area_button_release_cb),
4583         (hildon_pannable_area_size_allocate),
4584         (hildon_pannable_area_scroll_to): Improved the timeouts
4585         management, we avoid creating them each time.
4586
4587 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
4588
4589         * src/hildon-pannable-area.c:
4590         (hildon_pannable_area_refresh),
4591         (hildon_pannable_area_motion_notify_cb),
4592         (hildon_pannable_area_class_init):
4593         * src/hildon-pannable-area.h:
4594         * src/hildon-touch-selector.c
4595         (_create_new_column):
4596         * examples/hildon-pannable-area-example-4.c:
4597         (horizontal_movement),
4598         (vertical_movement),
4599         (main):
4600         Replaced the names of enums in the HildonPannableArea:
4601            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
4602               HILDON_MOVEMENT_MODE_*
4603            -  HILDON_PANNABLE_AREA_MOV_* ->
4604               HILDON_MOVEMENT_*
4605            - Removed HildonPannableAreaIndicatorMode, now we
4606              use GtkPolicyType
4607
4608 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
4609
4610         * examples/hildon-pannable-area-touch-grid-example.c
4611         * examples/hildon-pannable-area-touch-list-example.c: Fix
4612         compilation warnings.
4613
4614 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
4615
4616         * src/hildon-gtk.c (hildon_gtk_button_new)
4617         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4618         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4619         images overriding the value of the "gtk-button-images" setting.
4620
4621 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
4622
4623         * src/hildon-check-button.c (hildon_check_button_new):
4624         Instead of using a custom container, display the label and the
4625         checkbox using the standard GtkButton API.
4626
4627         * examples/hildon-check-button-example.c (main): Don't use
4628         hildon_check_button_set_label() anymore
4629
4630         * src/hildon-check-button.h
4631         * src/hildon-check-button.c
4632         (hildon_check_button_set_label, hildon_check_button_get_label):
4633         Set as deprecated, now we're using gtk_button_{get,set}_label()
4634
4635 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
4636
4637         * src/hildon-pannable-area.c,
4638         (hildon_pannable_area_get_topmost): Fixed bug with click in the
4639         GtkTreeview first line we detected it after the inclusion of the
4640         GtkWindowImpl in gtk+. We now check if the window is visible, not
4641         just if the pointer is over the window.
4642         (hildon_pannable_axis_scroll),
4643         (hildon_pannable_area_expose_event): Small style changes.
4644
4645 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
4646
4647         * src/hildon-button.c: Update documentation.
4648
4649 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
4650
4651         * examples/hildon-button-example.c: Add a switch to show images in
4652         the buttons.
4653
4654 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
4655
4656         * doc/hildon-docs.sgml: Some docs reorganization.
4657
4658 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
4659
4660         * examples/hildon-pannable-area-touch-list-example.c
4661         (create_tree_view)
4662         * examples/hildon-pannable-area-touch-grid-example.c
4663         (create_icon_view): Use gtk_{tree,icon}_view_new() and
4664         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4665         Fix memory leak when setting the tree model.
4666
4667 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4668
4669         Released 2.1.4
4670
4671 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
4672
4673         * doc/hildon.types: Remove duplicated hildon_window_get_type
4674         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4675         documentation comment.
4676
4677 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
4678
4679         * doc/Makefile.am: Complete list of private headers.
4680
4681 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
4682
4683         * doc/hildon-docs.sgml
4684         * src/hildon-app-menu.c
4685         * src/hildon-bread-crumb.c
4686         * src/hildon-button.c
4687         * src/hildon-gtk.c
4688         * src/hildon-program.c
4689         * src/hildon-stackable-window.c
4690         * src/hildon-window.c: Lots of documentation updates.
4691
4692 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
4693
4694         * debian/control: Depend on Gtk 2:2.12.9-0osso3
4695
4696         * configure.ac: Require Gtk+ 2.12.9 at least
4697
4698 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
4699
4700         * src/hildon-pannable-area.c
4701         (hildon_pannable_area_scroll_indicator_fade),
4702         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4703         to protect the return of this timeout callbacks, avoiding deadlocks.
4704
4705 2008-08-12  Christian Dywan  <christian@imendio.com>
4706
4707         * src/hildon-*.c
4708         * src/hildon-*.h: Ensure a consistent include order,
4709         include <gtk/gtk.h> instead of particular files and
4710         only include the topmost header in the gtk stack. See NB #39857
4711
4712 2008-08-12  Christian Dywan  <christian@imendio.com>
4713
4714         * src/hildon-picker-dialog.c
4715         * src/hildon-touch-selector.c: Fix warnings about unused and
4716         uninitialized variables.
4717
4718 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4719
4720         * examples/Makefile.am
4721         * examples/hildon-check-button-example.c: Example of the hildon
4722         check button.
4723
4724 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4725
4726         * src/hildon-window.h
4727         * src/hildon-window.c (hildon_window_class_init)
4728         (hildon_window_unset_program): Don't make
4729         hildon_window_unset_program a virtual function anymore.
4730
4731         * src/hildon-stackable-window.c: Update documentation
4732
4733 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4734
4735         * doc/Makefile.am
4736         * doc/hildon-docs.sgml
4737         * doc/visual_index.xml
4738         * src/hildon-defines.c
4739         * src/hildon-gtk.c
4740         * src/hildon-helper.c
4741         * src/hildon-range-editor.c: Lots of documentation fixes.
4742
4743 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4744
4745         * examples/hildon-picker-button-multicolumn-example.c
4746         (create_touch_selector): Fix compilation warning.
4747
4748 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4749
4750         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4751         (hildon_pannable_area_button_release_cb)
4752         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4753
4754 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4755
4756         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4757         assertion.
4758
4759 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4760
4761         * src/hildon-bread-crumb-trail.h
4762         * src/hildon-date-editor.c
4763         * src/hildon-date-selector.c
4764         * src/hildon-pannable-area.c
4765         * src/hildon-picker-dialog.c
4766         * src/hildon-time-selector.c
4767         * src/hildon-touch-selector-entry.c
4768         * src/hildon-touch-selector.c
4769         * src/hildon-touch-selector.h: Misc documentation fixes
4770
4771 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
4772
4773         * examples/hildon-date-editor-example.c (main): Updated date
4774         editor example.
4775
4776         * examples/hildon-note-example.c (on_confirmation_clicked):
4777         Updated confirmation note example.
4778
4779         * src/hildon-date-editor.c
4780         * src/hildon-note.c: Updated sample programs in documentation.
4781         Fixes: NB#87437
4782
4783 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
4784
4785         * src/hildon-date-button.h:
4786         * src/hildon-picker-button.h:
4787         * src/hildon-time-button.c:
4788         * src/hildon-time-button.h:
4789
4790         Some declarations changes to allow gtk-doc to document the widgets
4791         properly.
4792
4793 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
4794
4795         * src/hildon-date-button.c: Document the widget.
4796         * src/hildon-time-button.c: Document the widget.
4797
4798 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
4799
4800         * src/hildon-picker-button.c: Document the widget.
4801         * src/hildon-touch-selector-entry.c: Document the widget.
4802
4803 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
4804
4805         * doc/hildon-docs.sgml
4806         * src/Makefile.am
4807         * src/hildon.h
4808         * src/hildon-check-button.h
4809         * src/hildon-check-button.c: New functions to create the Hildon
4810         Touch Checkbox.
4811
4812         * src/hildon-gtk.h
4813         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4814
4815 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
4816
4817         * src/hildon-button.h
4818         * src/hildon-button.c
4819         (hildon_button_add_title_size_group)
4820         (hildon_button_add_value_size_group)
4821         (hildon_button_add_image_size_group)
4822         (hildon_button_add_size_groups): New functions to set size groups
4823         for the button labels and image.
4824         (hildon_button_new_full): Removed
4825
4826 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
4827
4828         * src/hildon-time-selector.c
4829         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4830         in order to avoid a crash if gconf is not available
4831
4832 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
4833
4834         * src/hildon-button.c (hildon_button_set_arrangement)
4835         (hildon_button_construct_child): Don't construct the button child
4836         before setting the arrangement.
4837
4838 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
4839
4840         * src/hildon-program-private.h
4841         * src/hildon-program.c
4842         * src/hildon-program.h
4843         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4844         (hildon_program_peek_window_stack)
4845         (hildon_program_pop_window_stack)
4846         (hildon_program_go_to_root_window): HildonProgram now has a
4847         separate list for stackable windows. Functions are provided to
4848         manage that list with a stack-like API.
4849
4850         * src/hildon-stackable-window.c: Stackable window management is
4851         now much simpler with the new HildonProgram API. Windows no
4852         longer need to be manually added to the program, they're
4853         automatically pushed to the top of the stack when shown.
4854
4855         * examples/hildon-stackable-window-example.c: Updated example to
4856         reflect the API changes.
4857
4858 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
4859
4860         * src/hildon-touch-selector.c: Comment out unimplemented
4861         hildon_touch_selector_insert_column() to avoid a compile warning.
4862
4863 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
4864
4865         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4866         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4867         (hildon_touch_selector_set_column_selection_mode),
4868         (_hildon_touch_selector_set_model),
4869         (hildon_touch_selector_set_model):
4870
4871         Complete review of HildonTouchSelector documentation.
4872
4873 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
4874
4875         * doc/hildon-docs.sgml
4876         * src/Makefile.am
4877         * src/hildon.h
4878         * src/hildon-gtk.h
4879         * src/hildon-gtk.c: Convenience functions for standard Gtk
4880         widgets, used to easily perform frequent operations.
4881
4882         * src/hildon-button-helpers.h
4883         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4884
4885         * src/hildon-helper.h
4886         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4887         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4888
4889         * src/hildon-button.h
4890         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4891
4892 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
4893
4894         * src/hildon-button.c (hildon_button_init)
4895         (hildon_button_set_arrangement, hildon_button_construct_child):
4896         Pack the image and the labels inside the same GtkAlignment so
4897         gtk_button_set_alignment() can be used
4898
4899 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
4900
4901         * src/hildon-button.h
4902         * src/hildon-button.c
4903         (hildon_button_init, hildon_button_set_image)
4904         (hildon_button_set_image_position)
4905         (hildon_button_construct_child): New functions to add an image to
4906         the HildonButton.
4907
4908 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
4909
4910         * src/hildon-date-button.c
4911         * src/hildon-picker-button.c
4912         * src/hildon-time-button.c
4913         * src/hildon-button.c:
4914         (hildon_button_class_init): "size-flags" renamed to "size"
4915         (hildon_button_set_title): Hide the title label if set to NULL.
4916
4917 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
4918
4919         HildonButtonFlags split into HildonButtonArrangement (to set the
4920         button layout) and HildonSizeType (which can be used for any
4921         widget).
4922
4923         * src/hildon-button.h
4924         * src/hildon-button.c
4925         (hildon_button_class_init)
4926         (hildon_button_set_arrangement)
4927         (hildon_button_set_property): New "size-flags"
4928         property. "arrangement-flags" renamed to "arrangement".
4929         (hildon_button_new, hildon_button_new_with_text)
4930         (hildon_button_new_full): Constructors updated to reflect type changes.
4931
4932         * src/hildon-helper.h
4933         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4934         to set the size of a widget.
4935
4936         * src/Makefile.am
4937         * src/hildon.h
4938         * src/hildon-button-helpers.c
4939         * src/hildon-button-helpers.h: New hildon-button-helpers module.
4940
4941         * src/hildon-date-button.c
4942         * src/hildon-date-button.h
4943         * src/hildon-picker-button.c
4944         * src/hildon-picker-button.h
4945         * src/hildon-time-button.c
4946         * src/hildon-time-button.h: Updated widgets to reflect
4947         HildonButton API changes.
4948
4949         * examples/hildon-button-example.c
4950         * examples/hildon-date-button-example.c
4951         * examples/hildon-picker-button-example.c
4952         * examples/hildon-picker-button-multicolumn-example.c
4953         * examples/hildon-time-button-example.c
4954         * examples/hildon-touch-selector-entry-example.c
4955         * examples/hildon-touch-selector-example.c: Updated examples to
4956         reflect HildonButton API changes.
4957
4958 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
4959
4960         * doc/hildon-docs.sgml:
4961         * doc/hildon.types:
4962         * examples/Makefile.am:
4963         * examples/hildon-touch-selector-entry-example.c:
4964         * src/Makefile.am:
4965         * src/hildon-touch-selector-entry.c:
4966         * src/hildon-touch-selector-entry.h:
4967         * src/hildon.h:
4968
4969         Moved HildonTouchSelectorEntry from sandbox. Added its
4970         documentation and examples.
4971
4972 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
4973
4974         * src/hildon-touch-selector.h:
4975         * examples/hildon-picker-button-multicolumn-example.c:
4976         (hildon_touch_selector_append_text_column): Add a gboolean
4977         parameter to determine if text must be centered in the column.
4978
4979         * src/hildon-date-selector.c: (hildon_date_selector_init):
4980         * src/hildon-time-selector.c: (hildon_time_selector_init):
4981         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4982         (create_touch_selector): Update widgets and example to reflect
4983         the API change.
4984
4985 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
4986
4987         * src/hildon-touch-selector.c:
4988         (hildon_touch_selector_set_active_iter): Set also the cursor in
4989         the active row.
4990
4991 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
4992
4993         * doc/hildon-docs.sgml
4994         * doc/hildon.types
4995         * src/Makefile.am
4996         * src/hildon-toggle-button.c
4997         * src/hildon-toggle-button.h
4998         * src/hildon.h: Removed HildonToggleButton widget, a derived
4999         class is not necessary for this.
5000
5001 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
5002
5003         * src/hildon-pannable-area.c,
5004         (hildon_pannable_area_realize),
5005         (hildon_pannable_area_size_allocate): Code refactoring, add tests
5006         for negative sizes.
5007
5008 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
5009
5010         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5011         "done" button the default widget for the dialog.
5012
5013 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
5014
5015         * src/hildon-touch-selector.c:
5016         (hildon_touch_selector_class_init),
5017         (hildon_touch_selector_get_property),
5018         (_hildon_touch_selector_set_model),
5019         (_hildon_touch_selector_has_multiple_selection),
5020         (hildon_touch_selector_has_multiple_selection):
5021         Add a "has-multiple-selection" property with a virtual
5022         has_multiple_selection() method to allow derived classes to
5023         override the default value for it. See the method and property
5024         documentation for details.
5025
5026         * src/hildon-touch-selector.h: Add the new API.
5027
5028         * src/hildon-picker-dialog.c: (requires_done_button): Call
5029         hildon_touch_selector_has_multiple_selection() instead of
5030         determining the need for a button itself.
5031
5032 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
5033
5034         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5035         (_hildon_touch_selector_set_model),
5036         (hildon_touch_selector_set_model): Move working code to
5037         _hildon_touch_selector_set_mode(). Call the class method instead.
5038
5039         * src/hildon-touch-selector.h: Add (*set_model) to
5040         HildonTouchSelectorClass.
5041
5042         Make hildon_touch_selector_set_model() a virtual method, so that
5043         derived classes can extend it and do fancy stuff with the model.
5044
5045 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
5046
5047         * configure.ac: Set back the tarname in AC_INIT to hildon.
5048
5049 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5050
5051         Release 2.1.3
5052
5053         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5054         instead of libesd (NB#86876). Volume handling is still an open issue.
5055
5056         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5057         cleanups.
5058
5059 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
5060
5061         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5062         (hildon_touch_selector_append_column): Make the widget a GtkVBox
5063         derived class to ease placement of an entry widget in
5064         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5065         end, where the selector columns are packed now.
5066
5067 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
5068
5069         * src/hildon-picker-button.c: Removed the simple _text() API.
5070         * src/hildon-picker-button.h: Likewise.
5071
5072         * src/hildon-touch-selector.h:
5073         * src/hildon-touch-selector.c:
5074         (hildon_touch_selector_new_text),
5075         (hildon_touch_selector_append_text),
5076         (hildon_touch_selector_prepend_text),
5077         (hildon_touch_selector_insert_text):
5078
5079         Moved the simple _text() API from HildonPickerButton to
5080         HildonTouchPicker, to provide better escalability and not to tie
5081         that API to HildonPickerButton.
5082
5083         * examples/hildon-picker-button-example.c: (main): Example updated.
5084
5085 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
5086
5087         * src/hildon-button.c: Updated documentation.
5088
5089         * examples/hildon-button-example.c: Add the posibility to create
5090         the buttons using horizontal layout for title and value.
5091
5092 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
5093
5094         * src/hildon-app-menu-private.h
5095         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5096         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5097         GtkSizeGroup for the filters, use the 'homogeneous' property of
5098         the box instead.
5099
5100 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
5101
5102         * examples/hildon-button-example.c: Updated example.
5103
5104 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
5105
5106         * doc/hildon-docs.sgml:
5107         * doc/hildon.types:
5108
5109         Update documentation.
5110
5111         * examples/Makefile.am: Update renamed examples.
5112
5113         * examples/hildon-picker-button-multicolumn-example.c:
5114         (create_touch_selector), (main): Update after the rename.
5115
5116         * examples/hildon-touch-picker-example.c: Removed.
5117         * examples/hildon-touch-selector-example.c: (value_changed),
5118         (create_selector), (get_visible_content), (main): Renamed from
5119         hildon-touch-picker-example.c
5120
5121         * src/Makefile.am: Updated renamed files.
5122
5123         * src/hildon-date-button.c: (hildon_date_button_init),
5124         (hildon_date_button_get_date), (hildon_date_button_set_date):
5125         * src/hildon-date-selector.c: (hildon_date_selector_init),
5126         (_custom_print_func), (_update_day_model),
5127         (_manage_selector_change_cb),
5128         (hildon_date_selector_select_current_date),
5129         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5130         * src/hildon-date-selector.h:
5131         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5132         (hildon_picker_button_set_property),
5133         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5134         (hildon_picker_button_init), (hildon_picker_button_new_text),
5135         (hildon_picker_button_append_text),
5136         (hildon_picker_button_prepend_text),
5137         (hildon_picker_button_insert_text),
5138         (hildon_picker_button_set_selector),
5139         (hildon_picker_button_get_selector):
5140         * src/hildon-picker-button.h:
5141         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5142         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5143         (_update_title_on_selector_changed_cb), (requires_done_button),
5144         (_hildon_picker_dialog_set_selector),
5145         (hildon_picker_dialog_set_selector),
5146         (hildon_picker_dialog_get_selector):
5147         * src/hildon-picker-dialog.h:
5148         * src/hildon-time-button.c: (hildon_time_button_init),
5149         (hildon_time_button_get_time), (hildon_time_button_set_time):
5150         * src/hildon-time-selector.c: (hildon_time_selector_init),
5151         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5152         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5153         * src/hildon-time-selector.h:
5154         * src/hildon.h:
5155
5156         Massive code updates after the rename.
5157
5158         * src/hildon-touch-picker.c: Removed.
5159         * src/hildon-touch-picker.h: Removed.
5160
5161         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5162         (hildon_touch_selector_init), (hildon_touch_selector_map),
5163         (hildon_touch_selector_remove), (_default_print_func),
5164         (_selection_changed_cb), (_create_new_column),
5165         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5166         (hildon_touch_selector_append_text_column),
5167         (hildon_touch_selector_remove_column),
5168         (hildon_touch_selector_set_column_attributes),
5169         (hildon_touch_selector_insert_column),
5170         (hildon_touch_selector_get_num_columns),
5171         (hildon_touch_selector_get_column_selection_mode),
5172         (hildon_touch_selector_set_column_selection_mode),
5173         (hildon_touch_selector_set_print_func),
5174         (hildon_touch_selector_get_print_func),
5175         (hildon_touch_selector_get_active_iter),
5176         (hildon_touch_selector_set_active_iter),
5177         (hildon_touch_selector_get_selected_rows),
5178         (hildon_touch_selector_get_model),
5179         (hildon_touch_selector_set_model),
5180         (hildon_touch_selector_get_current_text),
5181         (_hildon_touch_selector_center_on_selected_items):
5182         * src/hildon-touch-selector.h: Renamed from
5183         hildon-touch-picker.[ch]
5184
5185         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5186         references, code examples, and related documentation.
5187
5188 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
5189
5190         * doc/hildon-docs.sgml
5191         * doc/hildon.types
5192         * src/Makefile.am
5193         * src/hildon-toggle-button.c
5194         * src/hildon-toggle-button.h
5195         * src/hildon.h: New HildonToggleButton widget.
5196
5197 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
5198
5199         * src/hildon-button.c: Add API documentation.
5200         (hildon_button_set_size_groups): Check input parameters
5201
5202 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
5203
5204         * src/hildon-pannable-area.c
5205         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5206         effect after reaching the movement thredshold. This way we start
5207         using the distance after passing the thredshold.
5208
5209 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5210
5211         * src/hildon-button.c: (hildon_button_set_property): Use the
5212         appropriate g_value_get_flags() method.
5213
5214 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5215
5216         * doc/hildon-docs.sgml:
5217         * doc/hildon.types:
5218
5219          Add the touch pickers, picker dialogs, and picker button widgets
5220         to the documentation.
5221
5222 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5223
5224         * src/hildon-button.c: (hildon_button_set_property),
5225         (hildon_button_class_init): Make "arrangement-flags" a proper
5226         G_TYPE_FLAGS derived property.
5227
5228 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5229
5230         * examples/Makefile.am: Add below examples.
5231         * examples/hildon-date-button-example.c:
5232         * examples/hildon-picker-button-example.c:
5233         * examples/hildon-picker-button-multicolumn-example.c:
5234         * examples/hildon-time-button-example.c:
5235         * examples/hildon-touch-picker-example.c:
5236
5237         Add examples for the recently added touch pickers,
5238         picker dialogs, and picker button widgets.
5239
5240 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
5241
5242         * src/hildon-button.c: Add some API documentation
5243
5244 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
5245
5246         * src/hildon-button.h
5247         * src/hildon-button.c
5248         (hildon_button_new)
5249         (hildon_button_new_with_text): New constructor to create a button
5250         with no text at all.
5251         (hildon_button_init, hildon_button_set_arrangement)
5252         (hildon_button_set_title, hildon_button_set_value)
5253         (hildon_button_set_text)
5254         (hildon_button_construct_child): Hide the value when it's not used
5255         so the rest of the text is properly aligned.
5256         Allow creating buttons with arbitrary widgets inside (not just
5257         title/value labels).
5258
5259         * examples/hildon-button-example.c (vertical_buttons_window)
5260         (horizontal_buttons_window): Update example to use new API.
5261
5262 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5263
5264         * src/Makefile.am: Added HildonTimeButton.
5265         * src/hildon-time-button.c: Added missing LGPL header.
5266         * src/hildon-time-button.h: Added missing LGPL header.
5267         * src/hildon.h: Add hildon-time-button.h
5268
5269         Copied HildonTimeButton from sandbox to trunk. Future work on this
5270         widget must take place in trunk.
5271
5272 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5273
5274         * src/Makefile.am: Added HildonDateButton.
5275         * src/hildon-date-button.c: Update includes.
5276         * src/hildon.h: Add hildon-date-button.h
5277
5278         Copied HildonDateButton from sandbox to trunk. Future work on this
5279         widget must take place in trunk.
5280
5281 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5282
5283         * src/Makefile.am: Added HildonPickerButton.
5284         * src/hildon-picker-button.h: Update includes.
5285         * src/hildon.h: Add hildon-picker-button.h
5286
5287         Copied HildonPickerButton from sandbox to trunk. Future work on
5288         this widget must take place in trunk.
5289
5290 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5291
5292         * src/Makefile.am: Added HildonPickerDialog.
5293         * src/hildon-picker-dialog.c: Update includes.
5294         * src/hildon.h: Add hildon-picker-dialog.h
5295
5296         Copied HildonPickerDialog from sandbox to trunk. Future work
5297         on this widget must take place in trunk.
5298
5299 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5300
5301         * src/Makefile.am: Added HildonTimeSelector.
5302         * src/hildon.h: Add hildon-time-selector.h
5303
5304         Copied HildonTimeSelector widget from sandbox to trunk. Future
5305         work on this widget must happen in trunk.
5306
5307 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5308
5309         * src/Makefile.am: Added HildonDateSelector.
5310         * src/hildon.h: Add hildon-date-selector.h
5311
5312         Copied HildonDateSelector widget from sandbox to trunk.  Future
5313         work on this widget must happen in trunk.
5314
5315 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5316
5317         * src/Makefile.am: Added HildonTouchPicker.
5318         * src/hildon-touch-picker.c: Update includes.
5319         * src/hildon.h: Add hildon-touch-picker.h
5320
5321         Copied HildonTouchPicker widget from sandbox to trunk. Future work
5322         on this widget must happen in trunk.
5323
5324 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5325
5326         * src/hildon-pannable-area.c:
5327         (hildon_pannable_area_motion_notify_cb): Fix a typo.
5328
5329 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
5330
5331         * examples/hildon-app-menu-example.c (main): Let the window
5332         destroy the menu.
5333
5334 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
5335
5336         * src/hildon-pannable-area.c
5337         (hildon_pannable_area_class_init): Set the min value of the
5338         overshoot properties to zero, which points out that not
5339         overshooting allowed.
5340
5341 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
5342
5343         Modified the procedure to get the widget at a point inside the
5344         pannable area when using the movement type signals. Now the user
5345         has to call a function to get the child, that way we just
5346         calculate the child in case the user really want to use it and not
5347         all the time.
5348
5349         * src/hildon-marshalers.list: Modified the marshallers, now we do
5350         not have the widget as a parameter.
5351
5352         * src/hildon-pannable-area.c
5353         (hildon_pannable_area_motion_notify_cb),
5354         (hildon_pannable_area_class_init),
5355         (hildon_pannable_get_child_widget_at):  Removed the widget
5356         parameter from the signal callback. We have also refactored the
5357         emission of the signals.
5358
5359         * src/hildon-pannable-area.h: Added a new method to the API to
5360         calculate a widget at a point inside the pannable area,
5361         hildon_pannable_get_child_widget_at.
5362
5363         * examples/hildon-pannable-area-example-4.c
5364         (horizontal_movement): Modified the example to use the new API,
5365         added condition to control which widget is under the event. This
5366         way we can avoid scrolling laterally over other widgets.
5367
5368 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
5369
5370         * src/hildon-pannable-area.c
5371         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5372         modes, we stop getting the pointer events due to returning the
5373         callback without properly calling the get pointer again. Fixed
5374         also an error using the hscroll and vscroll.
5375
5376 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
5377
5378         * src/hildon-app-menu-private.h
5379         * src/hildon-app-menu.c (hildon_app_menu_button_press)
5380         (hildon_app_menu_button_release, hildon_app_menu_init)
5381         (hildon_app_menu_class_init): Don't hide the menu on button
5382         release if the user didn't press outside first.
5383
5384         * src/hildon-window.h
5385         * src/hildon-window.c (hildon_window_toggle_menu)
5386         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5387         hildon_window_toggle_menu a virtual function for the stackable
5388         window to override it.
5389
5390         * src/hildon-stackable-window.h
5391         * src/hildon-stackable-window-private.h
5392         * src/hildon-stackable-window.c
5393         (hildon_stackable_window_realize)
5394         (hildon_stackable_window_finalize)
5395         (hildon_stackable_window_class_init)
5396         (hildon_stackable_window_init)
5397         (hildon_stackable_window_set_main_menu): New function to set the
5398         app menu of a HildonStackableWindow.
5399
5400         * examples/hildon-app-menu-example.c: Remove the button to show
5401         the app menu, now it'll be shown when clicking on the title bar
5402         instead.
5403
5404 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
5405
5406         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5407         set the widget name if the arrangement flags do not specify
5408         a particular size.
5409
5410 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
5411
5412         * src/hildon-button.c: (hildon_button_set_property),
5413         (hildon_button_class_init), (hildon_button_new_full),
5414         (hildon_button_set_arrangement): Added "arrangement-flags"
5415         property.
5416
5417         Make the HildonButtonFlags a construction-only property, to allow
5418         subclasses to set them properly.
5419
5420 2008-07-21 Tim Janik  <timj@imendio.com>
5421
5422         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5423         insertion position after backspace, so additional digits are appended,
5424         fixes Bug #85874.
5425
5426 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
5427
5428         * src/hildon-pannable-area.c,
5429         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5430         TODO list, it was complete and removed the g_debug and g_print
5431         lines.
5432
5433 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
5434
5435         Added the movement modes to the hildon-pannable-area, with this
5436         modes the developers can control in which directions the widget
5437         can scroll. They can also connect to signals in order to do
5438         something when that happens, allowing applications scroll. There
5439         is an example uploaded showing how to use it.
5440
5441         * examples/Makefile.am:
5442         * examples/hildon-pannable-area-example-4.c: Added this example of
5443         an application using the modes.
5444
5445         * src/hildon-marshalers.list: Added a new marshaller for the new
5446         signals.
5447
5448         * src/hildon-pannable-area.h: Added new enumerations and flags in
5449         order to control the movement modes and the new signals to warn
5450         about the movements in the area.
5451
5452         * src/hildon-pannable-area.c:
5453         (hildon_pannable_axis_scroll),
5454         (hildon_pannable_area_scroll),
5455         (hildon_pannable_area_motion_notify_cb),
5456         (hildon_pannable_area_get_property),
5457         (hildon_pannable_area_set_property),
5458         (hildon_pannable_area_map),
5459         (hildon_pannable_area_class_init),
5460         (hildon_pannable_area_init),
5461         (hildon_pannable_area_jump_to): Added the modes to control the
5462         movement in the widget. We have added properties to control it,
5463         signals to warn about the movements and refactored some code.
5464
5465 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
5466
5467         Changes required in order to allow vfast_factor set to zero to
5468         work properly.
5469
5470         * src/hildon-pannable-area.c:
5471         (hildon_pannable_area_button_press_cb): Changed the condition, it
5472         is required for not allowing click when vfast_factor is zero.
5473         (hildon_pannable_area_timeout): Initialized velocity variables
5474         when we stop moving, it was less than 1 but not zero and we need
5475         to check zero in some situations.
5476         (hildon_pannable_area_class_init): Changed the default value of
5477         the speed factor, now the button_press is just sent in case the
5478         speed is 2 per cent of the max speed.
5479         (hildon_pannable_area_init): Initialization with 0.
5480
5481 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
5482
5483         * src/hildon-pannable-area.c,
5484         (hildon_pannable_area_get_topmost): replaced
5485         gdk_window_get_children with gdk_window_peek_children, this way we
5486         do not have to free the list because it is not a copy.
5487
5488         (hildon_pannable_axis_scroll),
5489         (hildon_pannable_area_scroll),
5490         (hildon_pannable_area_timeout),
5491         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5492         two parameters that were only used inside the
5493         hildon_pannable_area_scroll function.
5494
5495         * examples/hildon-pannable-area-example.c,
5496         (get_sawtooth_label): Fixed small memory leak.
5497
5498 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
5499
5500         More checks for the case where the overshoot is bigger than the
5501         size of the widget.
5502
5503         * src/hildon-pannable-area.c:
5504         (hildon_pannable_draw_vscroll),
5505         (hildon_pannable_draw_hscroll): with this new calculation we avoid
5506         to draw the slider of the scrollbar under the other scrollbar.
5507         (hildon_pannable_area_expose_event): added new checks to control
5508         the drawing of the overshooting area rectangle, in case it is too
5509         big for the area of the widget.
5510         (hildon_pannable_area_size_allocate): add more checks to avoid
5511         setting a position to the child widget outside the area.
5512
5513 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
5514
5515         * src/hildon-pannable-area.c
5516         (hildon_pannable_area_size_allocate): Added conditions to control
5517         when overshooting is bigger than the allocated space for the
5518         children, this avoids negative allocations.
5519
5520 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
5521
5522         * doc/hildon-docs.sgml
5523         * doc/hildon.types
5524         * examples/Makefile.am
5525         * examples/hildon-button-example.c
5526         * src/Makefile.am
5527         * src/hildon-button.c
5528         * src/hildon-button.h
5529         * src/hildon.h: Initial version of the new HildonButton widget,
5530         with examples.
5531
5532 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
5533
5534         * src/hildon-pannable-area.c:
5535         (hildon_pannable_area_button_press_cb),
5536         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5537         (hildon_pannable_area_motion_notify_cb),
5538         (hildon_pannable_area_button_release_cb),
5539         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5540         (hildon_pannable_area_jump_to_child):
5541
5542         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5543
5544 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
5545
5546         * examples/Makefile.am
5547         * examples/hildon-pannable-area-touch-grid-example.c
5548         * examples/hildon-pannable-area-touch-list-example.c: Examples of
5549         the Hildon Touch List and Hildon Touch Grid using the
5550         HildonPannableArea widget.
5551
5552 2008-06-27  Alejandro G. Castro <alex@igalia.com>
5553
5554         * src/hildon-pannable-area.c,
5555         (hildon_pannable_area_button_press_cb),
5556         (hildon_pannable_area_refresh),
5557         (hildon_pannable_area_scroll),
5558         (hildon_pannable_area_motion_notify_cb),
5559         (hildon_pannable_area_button_release_cb),
5560         (hildon_pannable_area_expose_event),
5561         (hildon_pannable_area_add),
5562         (hildon_pannable_area_remove),
5563         (hildon_pannable_area_realize),
5564         (hildon_pannable_area_size_allocate),
5565         (hildon_pannable_area_class_init),
5566         (hildon_pannable_area_init),
5567         (hildon_pannable_area_scroll_to_child),
5568         (hildon_pannable_area_jump_to_child): Fixed the problem of
5569         removing the child from the GtkBin, we have rearranged the widget
5570         hierarchy, now there is no GtkAlignment which was not doing
5571         anything interesting but breaking some of the assumptions of
5572         GtkContainer. Now developers if they want to add a GtkAlignment
5573         they could, but it is not inside the area.
5574
5575         We had to review the whole allocation/expose process, now it is
5576         improved and we save at least three signals which would be saving
5577         some time when rendering the widget. The allocation of the
5578         scrollbars is now made in the allocate method as usual.
5579
5580         We have also added some conditions in order to control when there
5581         is no child of the pannable area. Maybe we will need more work
5582         here.
5583
5584 2008-06-27  Alejandro G. Castro <alex@igalia.com>
5585
5586         * src/hildon-pannable-area.c,
5587         (hildon_pannable_area_dispose): Released the fade-out timeout when
5588         disposing the widget.
5589
5590 2008-06-27  Alejandro G. Castro <alex@igalia.com>
5591
5592         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5593         zero, we are going to use that property in order to deactivate the
5594         overshooting
5595         (hildon_pannable_axis_scroll),
5596         (hildon_pannable_area_size_allocate): Added conditions to control
5597         when overshoot_max is zero. Moved the gtk_adjustment_set_value
5598         call, now it is called in all situations and we can remove calls
5599         in the allocate method.
5600         (hildon_pannable_area_map): Control the situation when
5601         overshoot_max is zero, we do not need the timeout.
5602         (hildon_pannable_area_class_init): Added documentation in order to
5603         point out that setting zero to overshoot_max means deactivate
5604         overshooting.
5605
5606         NOTE: removed trailing whitespaces from my previous comments of
5607         the Changelog.
5608
5609 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
5610
5611         * src/hildon-pannable-area.c
5612         (hildon_pannable_area_get_property),
5613         (hildon_pannable_area_set_property),
5614         (hildon_pannable_area_map),
5615         (hildon_pannable_area_class_init),
5616         (hildon_pannable_area_init): Add a boolean "initial-hint" property
5617         to cause the widget give a hint about its panning abilities upon
5618         realization.
5619
5620 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
5621
5622         * src/hildon-pannable-area.c: Several documentation improvements.
5623
5624 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
5625
5626         * src/hildon-program.c
5627         * src/hildon-stackable-window.c: Update documentation.
5628
5629 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
5630
5631         * src/hildon-stackable-window.c (get_previous_window_if_last):
5632         Renamed get_last_window()
5633         (hildon_stackable_window_map, hildon_stackable_window_unmap)
5634         (hildon_stackable_window_unset_program):
5635         Simplified code.
5636         (get_previous_window_if_last):
5637         Detect if the window hasn't been added to a HildonProgram.
5638
5639 2008-06-26  Alejandro G. Castro <alex@igalia.com>
5640
5641         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5642
5643         * src/hildon-pannable-area.c
5644         (hildon_pannable_area_button_press_cb),
5645         (hildon_pannable_axis_scroll),
5646         (hildon_pannable_area_scroll),
5647         (hildon_pannable_area_timeout),
5648         (hildon_pannable_calculate_vel_factor),
5649         (hildon_pannable_area_get_property),
5650         (hildon_pannable_area_set_property),
5651         (hildon_pannable_area_class_init),
5652         (hildon_pannable_area_init),
5653         (hildon_pannable_area_scroll_to),
5654         (hildon_pannable_area_jump_to),
5655         (hildon_pannable_area_scroll_to_child),
5656         (hildon_pannable_area_jump_to_child):
5657         * src/hildon-pannable-area.h: Added the new API functions:
5658         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5659         hildon_pannable_area_scroll_to_child,
5660         hildon_pannable_area_jump_to_child
5661
5662
5663         * examples/Makefile.am
5664         * examples/hildon-pannable-area-example-2.c
5665         * examples/hildon-pannable-area-example-3.c: Added these two new
5666         examples in order to test and show how the new APIs work.
5667
5668 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
5669
5670         * examples/hildon-stackable-window-example.c (new_window):
5671         * src/Makefile.am (noinst_HEADERS):
5672         * src/hildon-program.c (hildon_program_go_to_root_window):
5673         * src/hildon-program.h:
5674         * src/hildon-stackable-window-private.h:
5675         * src/hildon-stackable-window.c:
5676         * src/hildon-stackable-window.h:
5677         Create hildon-stackable-window-private.h
5678         Move hildon_stackable_window_go_to_root_window() to HildonProgram
5679
5680         * examples/hildon-app-menu-example.c (create_menu):
5681         * examples/hildon-hvolumebar-insensitive-example.c (main):
5682         * examples/hildon-hvolumebar-timer-example.c (on_idle):
5683         * examples/hildon-toolbar-seekbar-example.c (main):
5684         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5685         * src/hildon-banner.c (hildon_banner_set_property):
5686         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5687         Fix compilation warnings
5688
5689         * src/hildon-window.c:
5690         Fix typo in doc
5691
5692 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
5693
5694         * src/hildon-stackable-window.c
5695         (hildon_stackable_window_unset_program):
5696         Calculate correctly whether to show the previous window if the
5697         last one is removed from the stack.
5698         (hildon_stackable_window_go_to_root_window):
5699         Send delete events starting from the topmost window.
5700         Stop if one of the windows is not destroyed.
5701         Update doc.
5702         (hildon_stackable_window_delete_event)
5703         (hildon_stackable_window_class_init):
5704         Ignore the delete event if the window is not the topmost one.
5705
5706 2008-06-24  Alejandro G. Castro <alex@igalia.com>
5707
5708         * src/hildon-pannable-area.c
5709         (hildon_pannable_area_expose_event): Fixed a problem when
5710         selecting the background color of the scrollbars.
5711
5712 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
5713
5714         * examples/hildon-stackable-window-example.c
5715         * src/hildon-stackable-window.c
5716         * src/hildon-stackable-window.h
5717         hildon_stackable_window_go_home() renamed to
5718         hildon_stackable_window_go_to_root_window()
5719         Send delete events to windows rather than closing them with
5720         gtk_widget_destroy()
5721
5722 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
5723
5724         * src/hildon-pannable-area.c
5725         (hildon_pannable_area_button_release_cb): Fix overshooting in
5726         accel mode.
5727
5728 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
5729
5730         * src/hildon-pannable-area.c
5731         (hildon_pannable_area_init): Initially show the scroll indicators.
5732         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5733
5734         Add initial effect showing the widget is pannable.
5735
5736 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
5737
5738         * src/hildon-pannable-area.c
5739         (hildon_pannable_area_class_init)
5740         (hildon_pannable_area_set_property)
5741         (hildon_pannable_area_get_property)
5742         (hildon_pannable_area_button_press_cb):
5743         New 'velocity_fast_factor' property to decide which velocity is
5744         considered fast.
5745
5746 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
5747
5748         * src/hildon-pannable-area.c
5749         (hildon_pannable_draw_hscroll)
5750         (hildon_pannable_draw_vscroll):
5751         Use float variables to calculate the size of the scrollbars to
5752         avoid error propagation and resizing during scrolling.
5753
5754 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
5755
5756         * src/hildon-pannable-area.c
5757         (hildon_pannable_draw_vscroll)
5758         (hildon_pannable_draw_hscroll):
5759         Define a minimum size for the scroll bars
5760
5761         * src/hildon-stackable-window.c
5762         (hildon_stackable_window_go_home): Fix compilation warning
5763         (get_last_window): Minor optimizations
5764         (hildon_stackable_window_class_init): Fix initialization of
5765         private structure.
5766
5767 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
5768
5769         * src/hildon-stackable-window.c: Fixed typos in doc
5770
5771 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
5772
5773         * src/hildon-pannable-area.c
5774         (hildon_pannable_area_scroll):
5775         Calculate here whether we need to scroll instead of using the booleans
5776         that tell us whether to /draw/ the scrolling bars.
5777
5778 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
5779
5780         * src/hildon-app-menu.h
5781         Update API.
5782         * src/hildon-app-menu.c
5783         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5784         multiple filter groups related code and API. Now we support only
5785         one filter group.
5786         * examples/hildon-app-menu-example.c:
5787         (create_menu):
5788         Update to reflect API changes.
5789
5790 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
5791
5792         * src/hildon-stackable-window.c
5793         (hildon_stackable_window_class_init):
5794         Add hildon_stackable_window_realize.
5795         (hildon_stackable_window_realize):
5796         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5797         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5798         to apply theming and behavior specific to HildonStackableWindow
5799         windows.
5800
5801 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
5802
5803         * src/hildon-note.c (hildon_note_button_release):
5804         Close information notes also when tapping on them
5805
5806 2008-06-12  Alejandro G. Castro <alex@igalia.com>
5807
5808         Added BOUNCE_STEPS define to control the overshoot effect. Removed
5809         ELASTICITY, refactor and review, fix some issues with drawing
5810         scrollbars.
5811
5812         * src/hildon-pannable-area.c:
5813         (hildon_pannable_area_button_press_cb): removed the conditions to
5814         avoid clicks when overshooting. It is not required
5815
5816         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5817         define. Refatored and reviewed the code, now we do not need to
5818         manage velocity in motion_notify.
5819
5820         (hildon_pannable_area_motion_notify_cb): We have moved the code
5821         that controls the area_scroll to the axis_scroll function and get
5822         rid of duplicated code.
5823
5824         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5825
5826         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5827
5828         (hildon_pannable_draw_vscroll),
5829         (hildon_pannable_draw_hscroll): Fixed the problems with the
5830         scrollbar drawing, now we do not use two surfaces, it is easier
5831         and saves resources.
5832
5833         (hildon_pannable_area_get_property): Style modification.
5834
5835         (hildon_pannable_area_class_init): Changed some default values.
5836
5837 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
5838
5839         * src/hildon-stackable-window.c: Fix some typos in the
5840         documentation.
5841
5842 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
5843
5844         * src/hildon-dialog.c:
5845         Change indentation style
5846
5847         * src/hildon-note.c
5848         (hildon_note_button_release):
5849         Use root coordinates to check if the release event happened
5850         outside the widget.
5851
5852         * src/hildon-app-menu.c
5853         (hildon_app_menu_button_release):
5854         Remove unnecessary check
5855
5856         * examples/hildon-app-menu-example.c
5857         (button_clicked):
5858         Add cast to fix warning
5859
5860         * src/hildon-app-menu.c
5861         (hildon_app_menu_class_init):
5862         New inner-border style property.
5863         Set all default spacings to 16
5864         (hildon_app_menu_init):
5865         Use vertical-spacing to set the space between filter buttons and
5866         regular menu buttons.
5867         Set the default container border using the inner-border value.
5868
5869         * examples/hildon-app-menu-example.c
5870         (create_menu):
5871         Don't set the menu border explicitly, now we have the inner-border
5872         style property for that.
5873
5874 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
5875
5876         * src/hildon-app-menu.c (hildon_app_menu_init):
5877         Make the window modal
5878
5879         * src/hildon-note.c (hildon_note_map)
5880         * src/hildon-app-menu.c (hildon_app_menu_map):
5881         Destroy the grab window if we're unable to grab the pointer
5882
5883         * src/hildon-app-menu-private.h
5884         * src/hildon-app-menu.c
5885         (hildon_app_menu_init, hildon_app_menu_finalize)
5886         (hildon_app_menu_map, hildon_app_menu_unmap)
5887         (hildon_app_menu_button_release)
5888         (grab_transfer_window_get):
5889         Bring back the grab window
5890         (hildon_app_menu_realize):
5891         Decorate the window, set WM hint for Matchbox
5892
5893         * src/hildon-note.c (hildon_note_realize):
5894         * src/hildon-banner.c (hildon_banner_realize):
5895         Add WM hints for Matchbox
5896
5897 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
5898
5899         * src/hildon-app-menu-private.h
5900         * src/hildon-app-menu.c
5901         (hildon_app_menu_init, hildon_app_menu_finalize)
5902         (hildon_app_menu_map, hildon_app_menu_unmap)
5903         (hildon_app_menu_button_release):
5904         Remove the grab window, it's not needed anymore
5905
5906         * src/hildon-program.c
5907         Fixed typo in documentation
5908
5909         * src/hildon-app-menu.h
5910         * src/hildon-app-menu.c
5911         * examples/hildon-app-menu-example.c
5912         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5913
5914 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
5915
5916         * src/hildon-note.c
5917         Added new transfer_window and close_if_pressed_outside private
5918         attributes.
5919         (hildon_note_rebuild):
5920         Don't add a cancel button to the information note. It will be
5921         closed when tapping outside
5922         Remove the comment about the OK button in the documentation
5923         (hildon_note_realize):
5924         Set the notification type hint
5925         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5926         Grab/ungrab pointer and keyboard if the note has to be closed when
5927         tapping outside
5928         (hildon_note_button_release):
5929         Close the note when tapping outside (if applicable)
5930
5931         * src/hildon-app-menu.c
5932         Grab/ungrab pointer and keyboard on map/unmap
5933         (hildon_app_menu_button_release, hildon_app_menu_class_init):
5934         Close the menu on button release, not button press
5935
5936         * src/hildon-banner.c
5937         (hildon_banner_set_property)
5938         (hildon_banner_check_position):
5939         Make the banner use the full width of the screen
5940         (hildon_banner_show_information)
5941         (hildon_banner_show_information_with_markup):
5942         Don't display an icon by default
5943
5944 2008-06-09  Alejandro G. Castro <alex@igalia.com>
5945
5946         Added fading scrollbars and adapted all the overshooting code to
5947         horizontal scrolling. We have also fixed bugs with overshooting
5948         and current fading implementation.
5949
5950         * src/hildon-pannable-area.c
5951         (hildon_pannable_area_scroll_indicator_fade): Time out function
5952         used to change the transparency of the scrollbars.
5953
5954         (hildon_pannable_area_button_press_cb): Added horizontal overshot
5955         control and fixed a problem with fading, we now remove the fade
5956         timeout before adding a new one.
5957
5958         (hildon_pannable_axis_scroll):
5959         (hildon_pannable_area_scroll):
5960         (hildon_pannable_area_timeout): Added this functions so we can use
5961         the scroll code both for vertical and horizontal.
5962
5963         (hildon_pannable_area_motion_notify_cb):
5964         (hildon_pannable_area_button_release_cb): Added the horizontal
5965         scrolling control, fixed a problem with the overshooting timeout.
5966
5967         (rgb_from_gdkcolor): Added this function, it is used in the cairo
5968         painting of the scrolls.
5969
5970         (hildon_pannable_draw_vscroll):
5971         (hildon_pannable_draw_hscroll):
5972         (hildon_pannable_area_expose_event):
5973         Draw both scrollbars and rectangles in the overshooting area.
5974
5975         (hildon_pannable_area_get_property):
5976         (hildon_pannable_area_set_property):
5977         Modified the overshoot property to overshoot_max
5978
5979         (hildon_pannable_area_map):
5980         Replaced the comments symbols.
5981
5982         (hildon_pannable_area_size_allocate):
5983         (hildon_pannable_area_class_init):
5984         (hildon_pannable_area_init): Added horizontal scroll, fading
5985         effect properties, fixed a problem when overshooting in the bottom
5986         of the widget.
5987
5988         * examples/hildon-pannable-area-example.c:
5989         (get_sawtooth_label): Now we use smaller sawtooths, the effect
5990         looks better in the example.
5991
5992 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
5993
5994         * src/hildon-window.c
5995         * src/hildon-window.h
5996         (hildon_window_class_init)
5997         (hildon_window_unset_program)
5998         (hildon_window_unset_program_real):
5999         Make unset_program a virtual function
6000
6001         * src/hildon-stackable-window.c
6002         * src/hildon-stackable-window.h
6003         Added hildon_stackable_window_go_home()
6004
6005         * examples/Makefile.am
6006         * examples/hildon-stackable-window-example.c
6007         HildonStackableWindow example
6008
6009 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6010
6011         * hildon-pannable-area.c: Added the overshoot property and removed
6012         the OVERSHOOT define. Fixed an indent style error.
6013         (hildon_pannable_area_motion_notify_cb):
6014         (hildon_pannable_area_get_property):
6015         (hildon_pannable_area_set_property): Add overshoot property.
6016
6017         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6018         overshoot property.
6019
6020         (hildon_pannable_area_class_init): Installed the new property.
6021
6022         * hildon-pannable-area-example.c: Added a sawtooth function, this
6023         way it is easier to check the movement in the pannable.
6024         (get_sawtooth_label): Added this function.
6025         (main): Now we get the labels from the new get_sawtooth_label
6026         function.
6027
6028 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
6029
6030         * src/hildon-app-menu.h
6031         * src/hildon-app-menu.c
6032         Renamed API variables for consistency
6033
6034         (hildon_app_menu_popup): Use also the default window size to
6035         decide where to place the menu
6036
6037         (hildon_app_menu_init, hildon_app_menu_class_init): New
6038         external-border style property
6039
6040 2008-05-26  Michael Natterer  <mitch@imendio.com>
6041
6042         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6043         widget_class->tap_and_hold_setup signal slot doesn't exist any
6044         longer, stop overriding it.
6045
6046         (hildon_time_editor_init): g_signal_connect() to the
6047         tap-and-hold-setup signal instead.
6048
6049         (hildon_time_editor_entry_keypress): add cast to fix warning.
6050
6051 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
6052
6053         * doc/hildon-docs.sgml
6054         * doc/hildon.types
6055         * examples/Makefile.am
6056         * examples/hildon-app-menu-example.c
6057         * src/Makefile.am
6058         * src/hildon-app-menu-private.h
6059         * src/hildon-app-menu.c
6060         * src/hildon-app-menu.h
6061         * src/hildon.h
6062         New HildonAppMenu widget
6063
6064 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6065
6066         Rearranged the inheritance of the pannable area, now it inherits
6067         from GtkBin. This will allow us to control the event_window and
6068         the allocation process of the widget, required for some effects.
6069
6070         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6071         GtkBin structures.  * src/hildon-pannable-area.c: Added the
6072         event_window variable.
6073         (hildon_pannable_area_button_press_cb):
6074         (hildon_pannable_area_button_release_cb):
6075         (hildon_pannable_area_motion_notify_cb):
6076         Changed the signature of the method, now we override the event
6077         callback instead of connecting to the signal.
6078
6079         (hildon_pannable_area_realize):
6080         (hildon_pannable_area_unrealize):
6081         (hildon_pannable_area_map):
6082         (hildon_pannable_area_unmap):
6083         (hildon_pannable_area_size_allocate):
6084         Added functions to control the widget construction. We add a
6085         INPUT_ONLY window and we put it over the widgets inside the
6086         container, this event_window handles the events.
6087
6088         (hildon_pannable_area_class_init):
6089         Replaced the signal connections with overrides of the event
6090         callbacks.
6091
6092 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6093
6094         Bouncing effect added when touching the borders, you can change
6095         the elasticity of the border changing the ELASTICITY define.
6096
6097         * src/hildon-pannable-area.c: Added ELASTICITY define.
6098         (hildon_pannable_area_timeout): Added inverse velocity when
6099         touching the border of the child widget, that causes a bounce.
6100
6101 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6102
6103         Improved performance, we now do not go to the X server in order to
6104         get the list of window children. Apparently the effect is the
6105         same, we have to be careful and check if this breaks something in
6106         any corner case.
6107
6108         * src/hildon-pannable-area.c:
6109         (get_ordered_children): Removed this function.
6110         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6111         the children windows function with gdk_window_get_children.
6112
6113 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6114
6115         * src/hildon-pannable-area.c:
6116         (hildon_pannable_area_dispose): Fixed a crash when closing the
6117         window and kinetics is activated.
6118
6119 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
6120
6121         * src/hildon-pannable-area.h
6122         * src/hildon-pannable-area.c
6123         Changed indentation style to meet the one used in Hildon
6124
6125 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6126
6127         Reviewed the interaction of the AUTO mode, now we use the time
6128         attribute of the events and calculate the velocity in the motion,
6129         doing a gimp like calculation. The velocity is calculated in each
6130         motion event using the last velocity and the current one, the
6131         SMOOTH_FACTOR controls the percentage of the new velocity we use.
6132
6133         * src/hildon-pannable-area.c: Replaced the time based algorithm
6134         for the AUTO mode.
6135         (hildon_pannable_area_motion_notify_cb): now we do not launch the
6136         timeout for the AUTO mode when we are still moving the cursor. We
6137         added also the velocity calculation in this function.
6138         (hildon_pannable_area_button_release_cb): launch the timeout in
6139         case we are in AUTO mode. There are still some constants here that
6140         come from the old implementation that should be reviewed and
6141         handled properly.
6142
6143 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
6144
6145         * doc/hildon-docs.sgml
6146         * doc/hildon.types
6147         * src/Makefile.am
6148         * src/hildon-stackable-window.c
6149         * src/hildon-stackable-window.h
6150         * src/hildon.h
6151         New HildonStackableWindow widget
6152
6153         * examples/hildon-dialog-example.c
6154         * examples/hildon-pannable-area-example.c
6155         Updated copyright
6156
6157 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
6158
6159         * src/hildon-dialog.c
6160         (hildon_dialog_new_with_buttons): New constructor.
6161
6162         * examples/hildon-dialog-example.c
6163         (main): Update the example to use the new
6164         hildon_dialog_new_with_buttons().
6165
6166         * examples/hildon-pannable-area-example.c
6167         (main): Update example.
6168
6169 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6170
6171         * doc/hildon-docs.sgml
6172         * doc/hildon.types
6173         Added HildonPannableArea to the documentation.
6174
6175 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6176
6177         * doc/visual_index.xml
6178         Fix reference to HildonLoginDialog in documentation
6179
6180         * doc/hildon-docs.sgml
6181         * doc/hildon.types
6182         * examples/Makefile.am
6183         * examples/hildon-dialog-example.c
6184         * src/Makefile.am
6185         * src/hildon-dialog.c
6186         * src/hildon-dialog.h
6187         * src/hildon.h
6188         New HildonDialog widget.
6189
6190 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6191
6192         * src/hildon-pannable-area.c
6193         Merge latest changes (r4318, r4342) from libmokoui trunk
6194
6195 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6196
6197         * examples/Makefile.am
6198         * examples/hildon-pannable-area-example.c
6199         * src/Makefile.am
6200         * src/hildon-pannable-area.c
6201         * src/hildon-pannable-area.h
6202         * src/hildon.h
6203         New HildonPannableArea widget.
6204
6205 2008-04-15 18:05:19    <timj@imendio.com>
6206
6207         * src/hildon-banner.c: revert the recent change, that introduced
6208         gtk_window_present() calls. this reopens:
6209           Bug 78481 - [freetest] information banners are hidden under browser menu
6210         But resolves another variant of:
6211           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6212
6213 2008-04-15 13:21:13    <timj@imendio.com>
6214
6215         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6216         recreated its layout, spotted by Kris. this fixes all remaining
6217         artefacts and stability issues with the banner code. in particular:
6218         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6219
6220 2008-04-14 16:52:59    <timj@imendio.com>
6221
6222         * src/hildon-banner.c: guard force_to_wrap_truncated() against
6223         operating on unrealized widgets, fixes:
6224         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6225
6226         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6227
6228 2008-04-09  Kristian Rietveld  <kris@imendio.com>
6229
6230         Fixes: NB#77775: Media Player, Save Now playing list, too long name
6231         makes banner disappear.
6232         Fixes: NB#79182: info banner flickering with certain message lengts.
6233
6234         * src/hildon-banner.c (hildon_banner_constructor),
6235         (hildon_banner_init), (hildon_banner_set_text),
6236         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6237         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6238         FALSE, reset size requests of label and banner,
6239         (force_to_wrap_truncated): when the text is too wide, always enforce
6240         the maximum possible width instead of recalculating it from the
6241         layout; enforce the maximum banner height of 3 lines,
6242         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6243         nicer wrapping and no truncated chars if space gets tight.
6244
6245         * src/hildon-banner-private.h: add has_been_wrapped and
6246         has_been_truncated fields.
6247
6248 2008-04-07  Sven Herzberg  <sven@imendio.com>
6249
6250         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6251         local values in hildon_date_editor_size_allocate
6252
6253         * src/hildon-date-editor.c: moved the real allocation code into the
6254         if() branch
6255
6256 2008-04-07  Sven Herzberg  <sven@imendio.com>
6257
6258         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6259         local values in hildon_date_editor_size_allocate
6260
6261         * src/hildon-date-editor.c: merged the two if() branches together
6262
6263 2008-04-07  Sven Herzberg  <sven@imendio.com>
6264
6265         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6266         local values in hildon_date_editor_size_allocate
6267
6268         * src/hildon-date-editor.c: changed the arguments of the if()
6269         conditions
6270
6271 2008-04-07  Sven Herzberg  <sven@imendio.com>
6272
6273         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6274         local values in hildon_date_editor_size_allocate
6275
6276         * src/hildon-date-editor.c: split the calculation of the allocation
6277         from the real allocation
6278
6279 2008-03-27  Michael Natterer  <mitch@imendio.com>
6280
6281         Fixes: NB#81696: The passcode is not overwritten even after
6282         selecting
6283
6284         * src/hildon-code-dialog.c
6285         (hildon_code_dialog_button_clicked)
6286         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6287         because that doesn't overwrite selected text. Instead, emit the
6288         "commit" signal on the entry's im_context so the entry's normal
6289         insert logic is triggered. Set the cursor to the end of the entry
6290         after each insert operation so that we *only* insert in the middle
6291         of the text if something was selected.
6292
6293 2008-03-27  Michael Natterer  <mitch@imendio.com>
6294
6295         Enable fixing: NB#79916 and NB#79918: The help topic for Color
6296         selector cannot be opened
6297
6298         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6299         when the popup color selector is created. Please connect to this
6300         signal in order to set the dialog's help ID.
6301
6302 2008-03-25  Sven Herzberg  <sven@imendio.com>
6303
6304         Fixes: MB#1212: Hide info banners (infoprints) on click
6305
6306         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6307         extracted the close event simulation into an extra function
6308         (hildon_banner_button_press_event): simulate a close event and destroy
6309         the widget if the event wasn't handled
6310         (hildon_banner_class_init): added the button_press_event handler
6311         (hildon_banner_init): added button-press events to the widget
6312
6313 2008-03-25  Sven Herzberg  <sven@imendio.com>
6314
6315         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6316         Patch from: Mohammad Anwari  <mdamt@maemo.org>
6317
6318         * src/hildon-banner.c: let the HildonBanners pop up on the left side
6319         instead of the right in RTL mode
6320         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6321         breadcrumb button list in RTL mode
6322         * src/hildon-caption.c: mirror the appearance of the caption widget in
6323         RTL mode
6324         * src/hildon-date-editor.c: mirror appearance of the date editor in
6325         RTL mode
6326         * src/hildon-time-editor.c: mirror appearance of the time editor in
6327         RTL mode
6328         * src/hildon-window.c: fix the position of the popup in RTL mode
6329
6330 2008-03-25  Sven Herzberg  <sven@imendio.com>
6331
6332         Amendment to the fix of NB#22072. Fix compilation.
6333
6334         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6335
6336 2008-03-19  Sven Herzberg  <sven@imendio.com>
6337
6338         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6339         in Info Banner" bug
6340
6341         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6342         timeout id properly when the timeout will disappear this leaves no
6343         artifacts around in the destroy(); there will only be the timeout
6344         created by hildon_banner_ensure_timeout() and adding a new timeout
6345         will also work if the timeout gets removed because the timeout_handler
6346         returned FALSE
6347
6348 2008-03-19  Michael Natterer  <mitch@imendio.com>
6349
6350         Fixes: NB#79791: Cannot set focus to Master volume using stylus
6351
6352         * src/hildon-volumebar.c
6353         * src/hildon-vvolumebar.c
6354         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6355         the widget becomes focussable at all.
6356
6357         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6358         set the focus to wither the mute button or the volumebar.
6359
6360         Remove own "can-focus" property and instead listen to
6361         notify::can-focus in order to update the widget's state.
6362
6363         Implement GtkWidget::focus() and make sure we can also *leave* the
6364         widget, not only enter it, depending on volumebar orientation and
6365         requested focus direction.
6366
6367         Clean up set_mute() to cooperate nicely with all the above.
6368
6369 2008-03-04  Michael Natterer  <mitch@imendio.com>
6370
6371         Fixes: NB#78481: information banners are hidden under browser menu
6372
6373         * src/hildon-banner.c: call gtk_window_present() on the banners so
6374         they are risen if they are already visible.
6375
6376 2008-03-03  Sven Herzberg  <sven@imendio.com>
6377
6378         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6379
6380         * examples/hildon-window-menu-example.c: (main): extended the window
6381         menu example to serve as a testcase for automatically added
6382         accelerator groups, too
6383         * src/hildon-window.c: (hildon_window_add_accel_group),
6384         (hildon_window_set_menu): added patch by Tommi Komulainen
6385
6386 2008-03-03  Sven Herzberg  <sven@imendio.com>
6387
6388         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6389
6390         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6391         knowledge about the border allocators used within GTK+
6392
6393 2008-02-26  Sven Herzberg  <sven@imendio.com>
6394
6395         Fixes: MB#2981: Build with asserts broken
6396
6397         * src/hildon-date-editor.c,
6398         * src/hildon-number-editor.c,
6399         * src/hildon-time-editor.c,
6400         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6401         the proper GType instance check
6402
6403 2008-02-25  Sven Herzberg  <sven@imendio.com>
6404
6405         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6406
6407         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6408         * examples/hildon-window-menu-example.c: (main): explicitly show
6409         the menu item
6410         * src/hildon-window.c:
6411         (hildon_window_set_main_menu): moved most of the code from set_menu()
6412         to this place; skipped the call to gtk_widget_show_all(); also didn't
6413         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6414         (hildon_window_set_menu): removed most of the code, just keep the
6415         questionable gtk_widget_show_all()
6416         * src/hildon-window.h: added the new function and deprecate the old
6417         one
6418
6419 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
6420
6421         [2.0.1-1 release]
6422
6423         * NEWS:
6424         * configure.ac:
6425         * debian/changelog: Updating.
6426
6427 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
6428
6429         * configure.ac:
6430         * pkgconfig/Makefile.am:
6431         * pkgconfig/hildon.pc.in:
6432         * src/Makefile.am:
6433
6434         Do not use PACKAGE_VERSION_MAJOR as the API revision,
6435         use newly created API_MAJOR_VERSION.
6436
6437 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
6438
6439         [2.0.0-1 release]
6440
6441         * NEWS:
6442         * configure.ac:
6443         * debian/changelog: Updating.
6444
6445 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
6446
6447         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6448
6449         Add outer_border style property, we use it but don't define it (!).
6450
6451         Fixes NB#75310
6452
6453 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
6454
6455         * examples/hildon-bread-crumb-trail-example.c (main):
6456
6457         Add clear button.
6458
6459         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6460
6461         Fix logic for the bread crumb trail node removal.
6462
6463         Fixes: NB#78616
6464
6465 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6466
6467         [1.99.1-1 release]
6468
6469         * NEWS:
6470         * configure.ac:
6471         * debian/changelog: Updating.
6472
6473 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6474
6475         Patch by Alejandro to get/set passwords dialogs accesibility.
6476
6477         * hildon-1/src/hildon-get-password-dialog.c:
6478         * hildon-1/src/hildon-set-password-dialog.c:
6479         Set atk_set_name to the passwd entries in order to allow
6480         accessibility by name on this entries.
6481
6482 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6483
6484         [1.99.0-2 release]
6485
6486         * debian/changelog:
6487         * debian/control: Updating gtk dep.
6488
6489 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
6490
6491         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6492         USE_MAEMO_GTK is enabled.
6493
6494 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
6495
6496         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6497         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6498
6499 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6500
6501         [1.99.0-1 release]
6502
6503         * NEWS:
6504         * configure.ac:
6505         * debian/changelog: Updating.
6506
6507 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6508
6509         * examples/Makefile.am:
6510         * examples/hildon-logical-color-example.c:
6511         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6512         applied + adding a test case. Fixes: NB#71660.
6513
6514 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
6515
6516         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6517         to be visible, fixes warning on map for windows without toolbars.
6518
6519 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
6520
6521         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6522         2.11.0, add a check for that besides the MAEMO_GTK check.
6523
6524 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6525
6526         [1.0.17-1 release]
6527
6528         * NEWS:
6529         * configure.ac:
6530         * debian/changelog: Updating.
6531
6532 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6533
6534         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6535         visibility. Fixes: NB#70842 and MB#615.
6536
6537 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
6538
6539         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6540         set the separator as no-show-all so it doesn't unintentionally appear when
6541         someone does a show_all.
6542
6543 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
6544
6545         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6546         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6547         toplevel item. Fixes: NB#62031
6548
6549 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
6550
6551         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6552         fix the name of the function in the docs.
6553
6554 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6555
6556         [1.0.16-1 release]
6557
6558         * NEWS:
6559         * configure.ac:
6560         * debian/changelog: Updating.
6561
6562 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6563
6564         * examples/hildon-banner-long-example.c: Adding a test-case for long
6565         hildon banner.
6566
6567         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6568
6569 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6570
6571         * src/hildon-color-chooser-dialog.c:
6572         * src/hildon-color-chooser.c:
6573         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6574         memory leaks in font selector and color selector. Fixes: NB#70499 and
6575         NB#70474.
6576
6577 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
6578
6579         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6580
6581 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6582
6583         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6584         little bit bigger. Fixes: #NB63694.
6585
6586 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6587
6588         [1.0.15-1 release]
6589
6590         * NEWS:
6591         * configure.ac:
6592         * debian/changelog: Updating.
6593
6594 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6595
6596         * doc/Makefile.am:
6597         * doc/hildon-docs.sgml:
6598         * doc/images/bread-crumb-trail.png:
6599         * doc/images/calendar-popup.png:
6600         * doc/images/caption.png:
6601         * doc/images/code-dialog.png:
6602         * doc/images/color-button.png:
6603         * doc/images/color-chooser-dialog.png:
6604         * doc/images/color-chooser.png:
6605         * doc/images/controlbar.png:
6606         * doc/images/date-editor.png:
6607         * doc/images/font-selection-dialog.png:
6608         * doc/images/get-password-dialog.png:
6609         * doc/images/hvolumebar.png:
6610         * doc/images/login-dialog.png:
6611         * doc/images/note.png:
6612         * doc/images/number-editor.png:
6613         * doc/images/range-editor.png:
6614         * doc/images/seekbar.png:
6615         * doc/images/set-password-dialog.png:
6616         * doc/images/sort-dialog.png:
6617         * doc/images/time-editor.png:
6618         * doc/images/time-picker.png:
6619         * doc/images/vvolumebar.png:
6620         * doc/images/weekday-picker.png: Adding the new generated widget shots.
6621         Adding the bread-crumb-trial and helpers to the documentation.
6622
6623 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6624
6625         * examples/hildon-find-toolbar-example.c:
6626         * src/hildon-find-toolbar.c:
6627         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6628         actually continue firing the other handlers if connected. Adding a new
6629         function:
6630         hildon_find_toolbar_get_last_index that gets the index of the most
6631         recently added (last) item. Fixes: NB#52301.
6632
6633 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6634
6635         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6636         behaviour. Fixes: NB#68610.
6637
6638 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6639
6640         * src/hildon-banner.c: Actually reverting the previous change. It somehow
6641         looks a bit worse.
6642
6643 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6644
6645         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6646         when realizing the banner. Should make the infonbanner effect a bit more
6647         bearable.
6648
6649 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6650
6651         * src/hildon-volumebar.c:
6652         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6653         hildon_volumebar_set_range_insensitive_message and
6654         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6655
6656 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6657
6658         * src/hildon-window.c: Fixing the border freeing on destroy.
6659
6660 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6661
6662         * src/hildon-code-dialog-private.h:
6663         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6664         kw keyboard support in HildonCodeDialog.
6665
6666 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6667
6668         [1.0.14-1 release]
6669
6670         * NEWS:
6671         * configure.ac:
6672         * debian/changelog: Updating.
6673
6674 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6675
6676         * src/hildon-date-editor.c:
6677         * src/hildon-number-editor.c:
6678         * src/hildon-private.c:
6679         * src/hildon-private.h:
6680         * src/hildon-time-editor.c:
6681         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6682         handling in subclassed composite widgets. Fixes: NB#66628.
6683
6684 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6685
6686         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6687         from destroy_ callback as it introduces problems in async dbus signal
6688         handlers. Fixes NB#66673.
6689
6690 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6691
6692         * examples/hildon-hvolumebar-example.c:
6693         * src/hildon-volumebar.c: Improving the focus handling in the
6694         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6695         set_property accessor so that "mute" property can be actually set. I'm
6696         scared that nobody noticed it's totally broken.
6697
6698 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6699
6700         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6701         Fixes NB#66548.
6702
6703 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6704
6705         * src/hildon-calendar.c:
6706         * src/hildon-number-editor.c:
6707         * src/hildon-time-picker.c: Changing the timeout repeat so that it
6708         matches the spec of 6 chars per second. Fixes: NB#60489.
6709
6710 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6711
6712         * src/hildon-helper.c: Really fixing NB#58352. Looks like
6713         gtk_style_lookup_color sometime returns FALSE even though color was
6714         found and values were filled properly. Weird. Removing the warning for the
6715         time being.
6716
6717 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6718
6719         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6720         expand vertically. Adding some extra space to the find toolbar buttons to
6721         make them thumbable. Fixes NB#66060.
6722
6723 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6724
6725         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6726         popup with "Ok" and "Cancel". Fixes NB#59299.
6727
6728 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6729
6730         * src/hildon-calendar.c: Process all window updates before executing next
6731         timeout. Fixes: NB#54146.
6732
6733 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6734
6735         [1.0.13-1 release]
6736
6737         * NEWS:
6738         * configure.ac:
6739         * debian/changelog: Updating.
6740
6741 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
6742
6743         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6744         the client event and ignore it, since we use the delete event to close
6745         after timeouts.
6746
6747 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6748
6749         * src/hildon-helper.c: Remove the bogus warning about color not being
6750         found. Fixes NB#58352.
6751
6752 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6753
6754         * examples/Makefile.am:
6755         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6756         HildonSeekbar widget inside a toolbar.
6757
6758 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
6759
6760         * src/hildon-banner.c (hildon_banner_init): mark the banners as
6761         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6762         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6763         don't want to be closed by non-temporary windows on map.
6764
6765         Also use G_DEFINE_TYPE instead of manually typed code.
6766
6767 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6768
6769         [1.0.12-1 release]
6770
6771         * NEWS:
6772         * configure.ac:
6773         * debian/changelog:
6774         * debian/rules: Updating.
6775
6776 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6777
6778         * examples/Makefile.am:
6779         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6780         bug NB#61128. Strangely it works.
6781
6782 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6783
6784         * src/hildon-date-editor.c: When the date editor entry has been changed
6785         but the numbers of characters < max, turn off the skip validation flag.
6786         Prevents a situation when we enter first a valid year and later re-write
6787         it with an invalid one. Fixes NB#60154.
6788
6789 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6790
6791         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6792         code dialog. Fixes NB#64355.
6793
6794 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6795
6796         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6797         switching the page. Fixes NB#49374.
6798
6799         * examples/Makefile.am:
6800         * examples/hildon-wizard-dialog-example.c: Adding an example for
6801         HildonWizardDialog that shows how to handle manual sensitivity setting on
6802         the wizard dialog.
6803
6804 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6805
6806         * configure.ac:
6807         * src/Makefile.am:
6808         * src/hildon-version.h.in:
6809         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6810
6811 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6812
6813         * src/hildon-volumebar.c: Updating the docs.
6814
6815 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6816
6817         [1.0.11-1 release]
6818
6819         * NEWS:
6820         * configure.ac:
6821         * debian/changelog: Updating.
6822
6823 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6824
6825         * src/hildon-find-toolbar.c:
6826         * src/hildon-find-toolbar.h: Adding a few new functions to control the
6827         selected item: hildon_find_toolbar_set_active,
6828         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6829         hildon_find_toolbar_get_active_iter . They correspond to respective
6830         GtkComboBox functions.
6831
6832         * examples/Makefile.am:
6833         * examples/hildon-find-toolbar-example.c: Adding the example to test the
6834         new functionality.
6835
6836 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6837
6838         * examples/Makefile.am:
6839         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6840         theming easily.
6841
6842         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6843         when font size > 32 and we pack a focusable widget inside. Actually using
6844         the default response would work too, but since we don't show default
6845         response state in any way (no theming) it would not be visible to the
6846         user. Fixes NB#63430.
6847
6848 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6849
6850         * src/hildon-date-editor.c: Adding the missing variable setter in the
6851         set_property handler. Fixes NB#54182.
6852
6853 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6854
6855         * src/hildon-window.h: Changing the long key press time from 1500ms to
6856         800ms as requested in NB#63700. I have a bad feeling about this, let's
6857         see... Fixes NB#63700.
6858
6859 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
6860
6861         * src/hildon-time-picker.c (hildon_time_picker_class_init,
6862         hildon_time_picker_map, hildon_time_picker_realize,
6863         hildon_time_picker_style_set): Split the contents of map to more
6864         appropriate functions; set window decorations on realize and update
6865         arrows' size requisitions on style-set. Avoids unnecessary resizing.
6866
6867 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
6868
6869         [1.0.10-2 release]
6870
6871         * NEWS:
6872         * debian/changelog: Updating.
6873
6874 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
6875
6876         * src/Makefile.am: fixed installation of the header files
6877
6878 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6879
6880         [1.0.10-1 release]
6881
6882         * NEWS:
6883         * configure.ac:
6884         * debian/changelog: Updating.
6885
6886 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6887
6888         * configure.ac: Removing some remaining of --enable-xan.
6889
6890 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
6891
6892         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6893         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6894
6895         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6896         2.10.12-osso6 because the move-focus signal needs to be available in
6897         GtkWidget.
6898
6899 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6900
6901         * examples/Makefile.am:
6902         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6903         that makes a HildonVolumebar insensitive before mapping it. Seems to work
6904         fine. Prolly NB#61128 is fixed now.
6905
6906 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6907
6908         * src/hildon-volumebar.c:
6909         * src/hildon-volumebar.h: Adding the
6910         hildon_volumebar_set_range_insensitive_message and
6911         hildon_volumebar_set_range_insensitive_messagef functions to set
6912         insensitive message on the slider of the volumebar. Fixes NB#61129.
6913
6914         * examples/Makefile.am:
6915         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6916         test the new insensitive messsage functionality on HildonVolumebar.
6917
6918 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
6919
6920         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6921         work again.
6922
6923 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
6924
6925         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6926         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6927         button on after clearing the trail.
6928
6929 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6930
6931         * src/hildon-code-dialog.c: Removing the separator from the dialog.
6932
6933 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
6934
6935         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6936         by splitting the installed headers in generated and non-generated groups. Use
6937         only the non-generated headers to create the hildon-enum-types.h file.
6938
6939         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6940
6941 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6942
6943         * src/hildon-window.c: Hide the window before performing the destroy.
6944         Should make the app closing a little tiny bit more snappy.
6945
6946 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
6947
6948         * src/hildon-seekbar.c: add gtkrange.h header
6949         * src/hildon-caption.c: remove unused variable
6950
6951 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
6952
6953         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6954         Loic Minier.
6955
6956 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6957
6958         [1.0.9-1 release]
6959
6960         * NEWS:
6961         * configure.ac:
6962         * debian/changelog: Updating.
6963
6964 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
6965
6966         * src/hildon-window.c (hildon_window_window_state_event,
6967         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6968         escape timeout on focus-out-event rather than notify::is-topmost; the
6969         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6970
6971 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6972
6973         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6974         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6975
6976 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
6977
6978         * src/hildon-window: actually, you need to use the macro always, there's
6979         no private pointer in the instance structure. We should have cleaned this up
6980         when we had the chance...
6981
6982 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
6983
6984         * src/hildon-window.c: do not get the private date from HildonWindow before
6985         it passes the g_return_if_fail check. Once it's passed the test, there's no
6986         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6987         if you are only going to access the data once. Whitespace cleanups.
6988
6989 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
6990
6991         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6992         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6993
6994 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6995
6996         [1.0.8-1 release]
6997
6998         * NEWS:
6999         * configure.ac:
7000         * debian/changelog: Updating.
7001
7002 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7003
7004         * src/hildon-window.c: When destroying the window, remove (if exists) the
7005         escape timeout handler. Fixes #NB59276.
7006
7007 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7008
7009         * src/hildon-banner.c: When realizing the widget, set the window
7010         transiency. Setting the transiency in the gobject constructor is not
7011         good, as the widget is not realized at that point. Fixes: #NB56624.
7012
7013 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
7014
7015         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7016         Add padding for future expansions.
7017
7018 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
7019
7020         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7021         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7022         will fake an activation on the previous to the last item of the trail, so
7023         the effect can be overrided by the developer as usual.
7024         Also change the callback for the back button to do the same thing, so its
7025         effect can be overrided too. Fixes: NB#58982
7026
7027 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7028
7029         * src/hildon-caption.c: Implementing the proper focus grabbing in the
7030         HildonCaption. Fixes NB#52379.
7031
7032 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
7033
7034         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7035         the internal state of the trail after the user has had the chance of executing
7036         his handler for the signal. Specifically, it may happen that the activated button
7037         is removed and the user still lets the default handler run. This would segfault
7038         previously.
7039
7040 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7041
7042         * src/hildon-font-selection-dialog.c: When the font is really big, add the
7043         scrollbar to the preview dialog. Fixes NB#54147.
7044
7045 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7046
7047         * src/hildon-date-editor.c: Changing the default max year to 2037. The
7048         max/min year properties can be altered, so the client can modify it
7049         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7050
7051 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7052
7053         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7054         hildonlike by default. Fixing a problem with disappearing arrows when
7055         scrolling through months and years. Fixes NB#54127.
7056
7057 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7058
7059         * examples/hildon-date-editor-example.c: Adding error callback to the date
7060         editor example.
7061
7062 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7063
7064         [1.0.7-1 release]
7065
7066         * NEWS:
7067         * debian/changelog:
7068         * configure.ac: Updating.
7069
7070 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7071
7072         * configure.ac: Adding a special '--enable-xan' configure option that
7073         turns off the -Werror compilation setting. Usefull for development.
7074
7075         * src/hildon-calendar.c:
7076         * src/hildon-number-editor.c:
7077         * src/hildon-time-picker.c: Adding the 5* multiplier to
7078         gtk-timeout-update.
7079
7080 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
7081
7082         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7083         instead of g_object_ref + gtk_object_sink.
7084
7085 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7086
7087         [1.0.6-1 release]
7088
7089         * NEWS:
7090         * configure.ac:
7091         * debian/changelog: Updating.
7092
7093 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7094
7095         * src/hildon-color-chooser-dialog.c:
7096         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7097         straight from Tommi labs.
7098
7099 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7100
7101         * examples/hildon-finger-example.c: Correcting the header file path.
7102
7103         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7104         the changed signal. Fixes a small memory leak.
7105
7106 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7107
7108         * autogen.sh:
7109         * debian/rules:
7110         * src/hildon-banner.c: Importing several usefull fixes from the
7111         ubuntu-mobile branch.
7112
7113 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7114
7115         * examples/Makefile.am:
7116         * examples/hildon-finger-example.c: Adding a finger-checking code
7117         example.
7118
7119         * src/hildon-font-selection-dialog.c: Do not allocate the color
7120         structure using the g_new. Fixes NB#54061.
7121
7122 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7123
7124         * src/hildon-helper.c: Correcting tabs in file.
7125
7126 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
7127
7128         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7129         control the visibility of the children.
7130
7131         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7132
7133 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7134
7135         [1.0.5-1 release]
7136
7137         * NEWS:
7138         * configure.ac:
7139         * debian/changelog: Updating.
7140
7141 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
7142
7143         * src/hildon-bread-crumb-trail.c:
7144         (hildon_bread_crumb_trail_size_allocate):
7145
7146         Make the back button always a square.
7147
7148 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
7149
7150         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7151         from the .c file as it's a private file.
7152
7153 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7154
7155         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7156         uses slightly bigger height.
7157
7158         * src/hildon-font-selection-dialog.c: Adding some checks before
7159         freeing memory in the font selection dialog.
7160
7161 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7162
7163         * src/hildon-font-selection-dialog.c: Adding a small check when
7164         freeing memory.
7165
7166         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7167         buttons sensitivity on page switching.
7168
7169 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
7170
7171         * src/hildon-bread-crumb-trail.c: make the add method handle all the
7172         internal details of adding a bread crumb to the trail.
7173
7174 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7175
7176         [1.0.4-1 release]
7177
7178         * README:
7179         * configure.ac:
7180         * debian/changelog: Updating.
7181
7182         * src/hildon-bread-crumb-trail.h:
7183         * src/hildon-bread-crumb.h: Changing the API guard to
7184         HILDON_ENABLE_UNSTABLE_API.
7185
7186 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7187
7188         [1.0.3-1 release]
7189
7190         * NEWS:
7191         * configure.ac:
7192         * debian/changelog:
7193         * debian/rules:
7194         * src/hildon-helper.h: Updating.
7195
7196 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7197
7198         [1.0.2-1 release]
7199
7200         * NEWS:
7201         * configure.ac:
7202         * debian/changelog:
7203
7204 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7205
7206         * README:
7207         * configure.ac:
7208         * src/hildon-helper.h: Small fix to make the package actually compile.
7209
7210 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
7211
7212         * src/hildon-bread-crumb-trail.h:
7213         * src/hildon-bread-crumb.h:
7214
7215         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7216         to define ENABLE_UNSTABLE_API in the code that includes these headers.
7217
7218 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
7219
7220         * examples/hildon-bread-crumb-trail-example.c:
7221         * src/Makefile.am:
7222         * src/hildon-bread-crumb-trail.c:
7223         * src/hildon-bread-crumb-trail.h:
7224         * src/hildon-bread-crumb.c:
7225         * src/hildon-bread-crumb.h:
7226         * src/hildon-marshalers.list:
7227         * src/hildon-bread-crumb-widget.c:
7228         * src/hildon-bread-crumb-widget.h:
7229
7230         Slight change in the widget design. The bread crumb trail API is
7231         unchanged, but HildonBreadCrumb is now an interface. A *private*
7232         implementation, hildon-bread-crumb-widget, is provided and used
7233         internally by the trail for the push_text/push_icon functions.
7234
7235         The generic push API is still available, so anyone can implement
7236         and use its own bread crumb widget.
7237
7238 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7239
7240         * debian/rules: Fixing the shlibs.
7241
7242 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7243
7244         * src/hildon-banner.c: Fixing a problem with timed banners having
7245         their parrent destroyed before they are.
7246
7247 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
7248
7249         * src/hildon-bread-crumb.c:
7250         * src/hildon-bread-crumb.h:
7251
7252         Make the get_natural_size function a vfunc.
7253
7254 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
7255
7256         * src/hildon-bread-crumb.c:
7257         * src/hildon-bread-crumb-trail.c:
7258
7259         Some cleanups.
7260
7261 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7262
7263         [1.0.1-1 release]
7264
7265         * AUTHORS:
7266         * NEWS:
7267         * configure.ac:
7268         * debian/changelog: Updating for release.
7269
7270 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
7271
7272         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7273         don't leak the pango layout.
7274
7275 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
7276
7277         * src/hildon.h:
7278         * examples/hildon-bread-crumb-trail-example.c:
7279
7280         Fix example.
7281
7282 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7283
7284         * debian/changelog: Removing the bug-fixed entries that were actually
7285         resolved as WONTFIX.
7286
7287         * src/hildon-date-editor.c: Removing a redundant check. Fixes
7288         NB#54182.
7289
7290 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
7291
7292         * src/hildon-bread-crumb-trail.c:
7293         * src/hildon-bread-crumb-trail.h:
7294         * src/hildon-bread-crumb.c:
7295         * src/hildon-bread-crumb.h:
7296
7297         Untabify.
7298
7299 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
7300
7301         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7302         until it's passed the type check.
7303
7304 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
7305
7306         * examples/hildon-bread-crumb-trail-example.c
7307
7308         Add license.
7309
7310 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
7311
7312         * examples/Makefile.am
7313         * examples/hildon-bread-crumb-trail-example.c
7314         * src/Makefile.am
7315         * src/hildon-bread-crumb-trail.c
7316         * src/hildon-bread-crumb-trail.h
7317         * src/hildon-bread-crumb.c
7318         * src/hildon-bread-crumb.h
7319
7320         New HildonBreadCrumbTrail widget.
7321
7322 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
7323
7324         * src/hildon-range-editor.c (hildon_range_editor_init),
7325         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7326         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7327         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7328         hildon_time_editor_class_init, hildon_time_editor_init),
7329         src/hildon-get-password-dialog.c (invalid_input,
7330         hildon_get_password_set_property, hildon_get_password_get_property,
7331         create_contents, hildon_get_password_dialog_set_max_characters),
7332         src/hildon-set-password-dialog.c (create_contents),
7333         src/hildon-date-editor.c (hildon_date_editor_init),
7334         src/hildon-login-dialog.c (hildon_login_dialog_init),
7335         src/hildon-number-editor.c (hildon_number_editor_init),
7336         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7337         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7338         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7339          configure option and adding the respective checks in the code.
7340         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7341         hildon_calendar_drag_data_received): fixed some build warnings.
7342
7343 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7344
7345         * debian/changelog: A 1.0.0 release notes.
7346