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