[Pkg-privacy-commits] [nautilus-wipe] 51/224: Reorder options in confirm dialog

Ulrike Uhlig u-guest at moszumanska.debian.org
Thu Jul 7 19:45:33 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 ed13bd9652bc307160a15d017f095373e410d189
Author: Colomban Wendling <ban at herbesfolles.org>
Date:   Wed Feb 24 00:58:04 2010 +0100

    Reorder options in confirm dialog
    
    Now we have the number of passes first.
---
 nautilus-srm/operation-manager.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/nautilus-srm/operation-manager.c b/nautilus-srm/operation-manager.c
index c82a645..854fe13 100644
--- a/nautilus-srm/operation-manager.c
+++ b/nautilus-srm/operation-manager.c
@@ -255,18 +255,6 @@ operation_confirm_dialog (GtkWindow                    *parent,
     gtk_container_add (GTK_CONTAINER (content_area), expander);
     box = gtk_vbox_new (FALSE, 0);
     gtk_container_add (GTK_CONTAINER (expander), box);
-    /* fast option */
-    if (fast) {
-      GtkWidget *check;
-      
-      check = gtk_check_button_new_with_label (
-        _("Fast (and insecure) mode: no /dev/urandom, no synchronize mode")
-      );
-      gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), *fast);
-      g_signal_connect (check, "toggled",
-                        G_CALLBACK (pref_bool_toggle_changed_handler), fast);
-      gtk_box_pack_start (GTK_BOX (box), check, FALSE, TRUE, 0);
-    }
     /* delete mode option */
     if (delete_mode) {
       GtkWidget        *hbox;
@@ -323,6 +311,18 @@ operation_confirm_dialog (GtkWindow                    *parent,
                         G_CALLBACK (pref_enum_combo_changed_handler), delete_mode);
       gtk_box_pack_start (GTK_BOX (hbox), combo, FALSE, TRUE, 0);
     }
+    /* fast option */
+    if (fast) {
+      GtkWidget *check;
+      
+      check = gtk_check_button_new_with_label (
+        _("Fast (and insecure) mode: no /dev/urandom, no synchronize mode")
+      );
+      gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), *fast);
+      g_signal_connect (check, "toggled",
+                        G_CALLBACK (pref_bool_toggle_changed_handler), fast);
+      gtk_box_pack_start (GTK_BOX (box), check, FALSE, TRUE, 0);
+    }
     /* "zeroise" option */
     if (zeroise) {
       GtkWidget *check;

-- 
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