Review Request 111206: Fix the Delete/Move To Trash actions for remote files

Commit Hook null at kde.org
Tue Jun 25 03:43:46 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111206/
-----------------------------------------------------------

(Updated June 25, 2013, 2:43 a.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Base Apps, David Faure and Frank Reininghaus.


Description
-------

The attached patch fixes which one of the remove actions are shown in both Dolphin and Konqueror. Its main goal is not to show the "Move To Trash" for remote protocols, e.g. sftp, smb. As such the patch does the following:

1.) For local files, show both the "Move To Trash" and "Delete" actions if the "ShowDeleteCommand" global option is set. Pressing Shift key will have no effect.
2.) For local files, show only "Move To Trash" when the "ShowDeleteCommand" global option is not set. Pressing the Shift key will change the action to "Delete".
3.) For remote files, only show the "Delete" action. Never show the "Move To Trash" action.


This addresses bug 261762.
    http://bugs.kde.org/show_bug.cgi?id=261762


Diffs
-----

  dolphin/src/dolphincontextmenu.cpp 7073dbf 
  dolphin/src/dolphincontextmenu.h 160f088 
  dolphin/src/dolphinpart.cpp 642b150 

Diff: http://git.reviewboard.kde.org/r/111206/diff/


Testing
-------


Thanks,

Dawit Alemayehu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130625/27451a4a/attachment.htm>


More information about the kde-core-devel mailing list