Review Request: Patch for dolphin that disables trash on removable media drives
Peter Penz
peter.penz19 at gmail.com
Fri May 11 15:29:05 BST 2012
> On May 11, 2012, 2:07 p.m., Peter Penz wrote:
> > Thanks for the patch, but based on the discussion at bug 188032 I'm not convinced that this should go in... I'd even go that far to question the current check whether the file is local in DolphinContextMenu::moveToTrash()...
> >
> > Before writing such (rather large) patches I always recommend to check with the maintainers first, whether such a change of behavior is really wanted.
> >
> > For Dolphin 2.1 I'll remove the is-local-check in DolphinContextMenu::moveToTrash() - if I'm really wrong the feedback on bugs.kde.org will show this. In this case I'll revert my change (and I'm also sure David Faure might agree then) and will also include your patch then if this is OK for you.
>
> Alexander Skakov wrote:
> Thanks for your reply. If my patch will really be needed after all these changes, I will fix it to correspond with coding guidelines as well as move isFileOnRemovableMedia() function from DolphinView to more appropriate place (thanks Frank Reininghaus for mentioning the wrongs)
Thanks for your support! I've seen you just subscribed to bug 188032 - any discussion about this issue will be done there (and duplicates will be assigned to this bug). So if my decision was wrong, I'll let you know there about how we plan to proceed :-)
- Peter
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104915/#review13715
-----------------------------------------------------------
On May 11, 2012, 9:31 a.m., Alexander Skakov wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104915/
> -----------------------------------------------------------
>
> (Updated May 11, 2012, 9:31 a.m.)
>
>
> Review request for Dolphin.
>
>
> Description
> -------
>
> Patch for dolphin that disables trash on removable media drives. When user opens context menu on file located on the removable media, "Move to trash" item is replaced with "Delete" item as well as "Del" keyboard shortcut executes "Delete" action instead of "Move to trash". Same behavior is already used for remote file systems, this patch just extends it for local but removable storages.
> I can modify it to be optional if there is a need for this
>
>
> Diffs
> -----
>
> dolphin/src/CMakeLists.txt c00d29c
> dolphin/src/dolphincontextmenu.cpp 286d304
> dolphin/src/views/dolphinview.h b2c4121
> dolphin/src/views/dolphinview.cpp 6a21885
> dolphin/src/views/dolphinviewactionhandler.cpp 7f23b7d
>
> Diff: http://git.reviewboard.kde.org/r/104915/diff/
>
>
> Testing
> -------
>
> On various USB flash disks, card readers, external USB HDD drives
>
>
> Thanks,
>
> Alexander Skakov
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20120511/e417d397/attachment.htm>
More information about the kfm-devel
mailing list