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