Re: GtkFileChooser::get_filenames / get_uris override
| From: | Christian Weiske | Date: | Tue, 14 Mar 2006 09:02:44 +0000 |
| Subject: | Re: GtkFileChooser::get_filenames / get_uris override | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2606@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.
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
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc