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