[gnome-sound-recorder] mainWindow.js: Trash the file, don't delete



commit 24ab21a5c3813dd4d63b1a170f0d7c920814a58f
Author: Meg Ford <meg387 gmail com>
Date:   Thu Feb 27 19:07:04 2014 -0600

    mainWindow.js: Trash the file, don't delete

 src/mainWindow.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 41ea92f..6345e27 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -605,7 +605,7 @@ const MainView = new Lang.Class({
     _deleteFile: function(selected) {
         this._selected = selected;
         let fileToDelete = this._getFileFromRow(this._selected);
-        fileToDelete.delete_async(GLib.PRIORITY_DEFAULT, null, null);
+        fileToDelete.trash_async(GLib.PRIORITY_DEFAULT, null, null);
     },
     
     loadPlay: function(selected) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]