[Pkg-privacy-commits] [nautilus-wipe] 19/224: Implement do_sfill

Ulrike Uhlig u-guest at moszumanska.debian.org
Thu Jul 7 19:45:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to branch master
in repository nautilus-wipe.

commit 7e06423644f8f740997d15a1a42be71ee8a14a4c
Author: Colomban Wendling <ban at herbesfolles.org>
Date:   Sun Feb 14 14:26:47 2010 +0100

    Implement do_sfill
---
 nautilus-srm/nautilus-srm.c | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/nautilus-srm/nautilus-srm.c b/nautilus-srm/nautilus-srm.c
index feb3f5f..3014574 100644
--- a/nautilus-srm/nautilus-srm.c
+++ b/nautilus-srm/nautilus-srm.c
@@ -811,7 +811,16 @@ do_sfill (GList      *files,
           GtkWindow  *parent_window,
           GError    **error)
 {
-  g_set_error (error, NAUTILUS_SRM_ERROR,
-               NAUTILUS_SRM_ERROR_NOT_IMPLEMENTED,
-               "Sfill not yet implemented");
+  gboolean success;
+  GsdSecureDeleteOperation *operation;
+  
+  operation = GSD_SECURE_DELETE_OPERATION (gsd_fill_operation_new ());
+  success = do_gsd (files, parent_window, error, operation,
+                     _("Overwriting files..."));
+  
+  if (! success) {
+    g_object_unref (operation);
+  }
+
+  return success;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/nautilus-wipe.git



More information about the Pkg-privacy-commits mailing list