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