Re: GtkFileChooser::get_filenames / get_uris override
| From: | Andrei Zmievski | Date: | Tue, 14 Mar 2006 17:15:06 +0000 |
| Subject: | Re: GtkFileChooser::get_filenames / get_uris override | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2612@lists.php.net to get a copy of this message | ||
Can you make a reproducible simple bug script?
On Mar 14, 2006, at 1:02 AM, Christian Weiske wrote:
The gtk manual doesn't say anything regarding this. And in php-gtk1, the widget was there and there was no conversion IMO. So converting the filenames in GtkFileChooser is correct, but not in GtkFileSelection.Maybe because Gtk1 wasn't utf-8. So it could have to be done there, too. Funny thing: When using get_filename(false) on a filechooser with a non-ascii filename selected, dumping the filename several times to the console (~10x) and then scrolling the filechooser, I get a segfault. That happens only when I don't convert the filename and only after echoing the filename multiple times. -- Regards/MfG, Christian Weiske