Closed GoogleCodeExporter closed 8 years ago
To "fix" this behaviour I got rid of the path line altogether by commenting the
following lines in FTP.py:
#location label
self.location = gtk.Label(helper.ftp_cwd)
# I commented the following 4 lines. -Nathan
#self.location.set_line_wrap(True)
#self.location.set_justify(gtk.JUSTIFY_LEFT)
#self.location.set_alignment(0,0.5)
#self.pack_start(self.location, False, False).
Strangely, when the line "self.location=gtk.Label(helper.ftp_cwd)" is
commented, the treeview no longer displays any of the ftp directories - so make
sure not to comment that line.
This isn't a true fix obviously but I wasn't able to figure out how to truncate
the path or possibly wrap it to the next line. Anyway, I hope that what I've
done is useful as a temporary workaround at least.
Original comment by nhi...@gmail.com
on 4 Aug 2010 at 5:40
@nhitch - Thanks for the temporary fix. Appreciated.
Original comment by soulsmas...@gmail.com
on 4 Aug 2010 at 7:01
Fixed using pango to insert ellipses in the middle of long paths.
Original comment by linuxar...@gmail.com
on 24 Apr 2011 at 2:53
Original issue reported on code.google.com by
soulsmas...@gmail.com
on 29 Jun 2010 at 11:57