Small change to FAQ "Q: Nautilus to Gtk2 Drag-n-Drop"
- From: Matthias Bläsing <mblaesing gmx de>
- To: gtk-perl-list gnome org
- Subject: Small change to FAQ "Q: Nautilus to Gtk2 Drag-n-Drop"
- Date: Mon, 13 Sep 2004 10:45:35 +0200
I tested the nautilus drag'n drop capabilities and it didn't work as I
expected. I tried to hunt down my problem yesterday, but today I found
the problem. The provided List from nautilus is not just newline
seperated, there is also a carriage return at the end of each line.
So changing
my @uris = split /\n/, $data->data;
to
my @uris = split /\r\n/, $data->data;
worked for me (nautilus 2.6.3).
Would someone adjust the FAQ?
Thanks
Matthias
--
Matthias Bläsing
Tempus fugit! Carpe diem!
ICQ: 84617206 AIM: linuxfun81 MSN: linuxfun hotmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]