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