Re: GtkFileChooser::get_filenames / get_uris override

From: Date: Tue, 14 Mar 2006 09:09:08 +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-2607@lists.php.net to get a copy of this message
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.
GTK 1 _was_ UTF-8 internally. We just didn't have a generic way of working around that at the time - but we do now. 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. Bug it? - Steph

« previous php.gtk.dev (#2607) next »