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