shell.moveToTrash => shell.moveItemToTrash

This commit is contained in:
Cheng Zhao
2013-05-29 20:04:00 +08:00
parent c6d4942295
commit 326c1332bf

View File

@@ -251,7 +251,7 @@ class TreeView extends ScrollView
atom.confirm(
"Are you sure you would like to delete the selected #{entryType}?",
"You are deleting #{entry.getPath()}",
"Move to Trash", (=> shell.moveToTrash(entry.getPath())),
"Move to Trash", (=> shell.moveItemToTrash(entry.getPath())),
"Cancel", null
"Delete", (=> fsUtils.remove(entry.getPath()))
)