From 08dfefec38e2f6af3c199a3db947e8dcc55993b6 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Sun, 1 Jun 2008 15:16:27 +0000 Subject: [PATCH] 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 --- src/dolphinmainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 85ff9f7f5e..41e7cd309a 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(); }