[PATCH] fixing file submission

George Staikos staikos at kde.org
Fri Oct 29 05:43:07 BST 2004


There are all kinds of weird quirks with KURLRequester in apps, and KHTML 
experiences these problems in multiple ways.  I think this patch fixes it.  
It does the following:

1) make the completion in KURLRequester relative to $PWD, which I think makes 
sense
2) work with relative filenames, absolute filenames, and URLs

Presently, if you type a relative path (it's almost forced on you due to 
copmletion), it silently doesn't submit the file. [*]  This patch fixes it.  
It also makes relative paths work no-matter where KHTML is running ($PWD).

* We should also warn if the file doesn't exist and is non-null I think, but 
I'll leave that for another fix.

Comments?  Ok to commit?

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixfilefinding.patch
Type: text/x-diff
Size: 3700 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20041029/5eff6276/attachment.patch>


More information about the kfm-devel mailing list