diff options
| author | George Goldberg <[email protected]> | 2008-06-01 15:16:27 +0000 |
|---|---|---|
| committer | George Goldberg <[email protected]> | 2008-06-01 15:16:27 +0000 |
| commit | 08dfefec38e2f6af3c199a3db947e8dcc55993b6 (patch) | |
| tree | 1e148810df344cc5e17aef18db88ae6f912d79bc | |
| parent | c68112de6540321522ea6496ee33382254d75be0 (diff) | |
Fix dolphin to only enable the Cut context menu option if the file capabilites supportsMoving().
CCBUGS: 161594
Still need to fix Send to trash Context Option in Konqueror
svn path=/trunk/KDE/kdebase/apps/; revision=815362
| -rw-r--r-- | src/dolphinmainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 85ff9f7f5..41e7cd309 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1113,6 +1113,7 @@ void DolphinMainWindow::updateEditActions() const bool enableMoveToTrash = capabilities.isLocal() && capabilities.supportsMoving(); actionCollection()->action("move_to_trash")->setEnabled(enableMoveToTrash); actionCollection()->action("delete")->setEnabled(capabilities.supportsDeleting()); + actionCollection()->action(KStandardAction::name(KStandardAction::Cut))->setEnabled(capabilities.supportsMoving()); } updatePasteAction(); } |
