Dolphin: Move option shouldn't be given when dragging read-only files.

Peter Penz peter.penz at gmx.at
Sat Nov 24 13:27:32 GMT 2007


On Thursday, 22. November 2007 18:47, David Faure wrote:
> On Tuesday 20 November 2007, Leo Savernik wrote:
> > Am Montag, 19. November 2007 schrieb Lexual:
> > > The user should *NOT* be given the option to move a read-only file.
> > > It is impossible to do this.
> >
> > Wrong wording. Read-only files can be moved if their containing directory
> > is writable. The error only occurs if the containing *directory* is
> > read-only.
>
> Yep, KonqOperations::doDropFileCopy has code for this already (in the case
> of local files). But I think Dolphin doesn't use KonqOperations for this.
> Peter, any reason for not using KonqOperations::doDrop()?

I'll try to fix this during the next week by using KonqOperations::doDrop(). 
Currently I'm not aware of any reasons preventing Dolphin using 
KonqOperations::doDrop (and if there are reasons, then they should be fixed 
in Dolphin).

Thanks for the hint!
Peter




More information about the kfm-devel mailing list