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