From: Thomas L. <ta...@ec...> - 2003-11-26 10:54:29
|
On Wed, Nov 26, 2003 at 09:32:34AM +0000, Stephen Watson wrote: > In message <200...@cs...> > Peter Geer <ge...@cs...> scribbled: > > > I've recently noticed that DnD doesn't work right in ROX 2.1.0. It > > seems that ROX is somehow not translating URIs with symbols in > > them to valid local paths. > > > > I discovered this by accident while trying to extract an archive of > > Pango documentation to a directory named 'GTK+'. When I did this, > > Archive reported the following error: > > > > OSError: [Errno 2] No such file or directory: > > '/home/Treize/misc/Books/GTK%2b/2.0/pango-1.0-docs' > > gtksavebox.c needs to be using unescape_uri after get_local_path. > Did we ever convert ROX-Lib's saving.py to escape URI's? It doesn't look like > we did. I've converted get_local_path in ROX-Lib to always unescape. Please test! -- Thomas Leonard http://rox.sourceforge.net tal00r at ecs.soton.ac.uk tal197 at users.sourceforge.net GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 |