From: Duncan C. <dun...@wo...> - 2008-06-19 21:46:54
|
Hi Peter, Here's some patches. Don't feel that you have to apply them before the release if it'll invalidate your testing! :-) The first is a fix for the bug that Bulat just reported. The middle two are patches I had hanging around. The last is an actual api extension so perhaps someone else ought to review that first. Duncan Thu Jun 19 21:51:21 BST 2008 Duncan Coutts <du...@ha...> * Use UTF8 filenames on windows for file selector On Windows, gtk_file_chooser_set/get_filename always use UTF8 so we should encode/decode as such. Reported by Bulat Ziganshin. Thu Jun 19 21:53:37 BST 2008 Duncan Coutts <du...@ha...> * Update the fromUTF and toUTF implementation Code stolen from Cabal (which was itself stolen from the gtk2hs and utf8-string packages) Thu Jun 19 21:54:50 BST 2008 Duncan Coutts <du...@ha...> * Document timeoutAdd and timeoutAddFull Thu Jun 19 21:58:08 BST 2008 Duncan Coutts <du...@ha...> * Add 'handler' function and export on, after and handler. The handler function lets you use a signal as an attribute: > set obj [ handler sig := f ] wx has something like this and people seem to like it. |