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