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