From 2b1a166d236105a79f84bca44ca9d9c807001afb Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 27 Dec 2014 18:56:13 +0100 Subject: Linux/MacOSX: Add possibility to choose 1-pass wipe mode without changing the default wipe mode (3-pass). --- src/Main/Forms/Forms.cpp | 4 ++-- src/Main/Forms/TrueCrypt.fbp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Main/Forms/Forms.cpp b/src/Main/Forms/Forms.cpp index 1c536b31..80a177df 100755 --- a/src/Main/Forms/Forms.cpp +++ b/src/Main/Forms/Forms.cpp @@ -3215,10 +3215,10 @@ VolumePasswordPanelBase::VolumePasswordPanelBase( wxWindow* parent, wxWindowID i HeaderWipeCountText->Wrap( -1 ); GridBagSizer->Add( HeaderWipeCountText, wxGBPosition( 8, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxRIGHT, 5 ); - wxString HeaderWipeCountChoices[] = { _("3-pass"), _("7-pass"), _("35-pass"), _("256-pass") }; + wxString HeaderWipeCountChoices[] = { _("1-pass"), _("3-pass"), _("7-pass"), _("35-pass"), _("256-pass") }; int HeaderWipeCountNChoices = sizeof( HeaderWipeCountChoices ) / sizeof( wxString ); HeaderWipeCount = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, HeaderWipeCountNChoices, HeaderWipeCountChoices, 0 ); - HeaderWipeCount->SetSelection( 0 ); + HeaderWipeCount->SetSelection( 1 ); GridBagSizer->Add( HeaderWipeCount, wxGBPosition( 8, 1 ), wxGBSpan( 1, 1 ), wxALL, 5 ); PasswordPlaceholderSizer = new wxBoxSizer( wxVERTICAL ); diff --git a/src/Main/Forms/TrueCrypt.fbp b/src/Main/Forms/TrueCrypt.fbp index 998b00d1..e2fc1ed4 100755 --- a/src/Main/Forms/TrueCrypt.fbp +++ b/src/Main/Forms/TrueCrypt.fbp @@ -26210,7 +26210,7 @@ 1 0 - "3-pass" "7-pass" "35-pass" "256-pass" + "1-pass" "3-pass" "7-pass" "35-pass" "256-pass" 1 1 @@ -26240,7 +26240,7 @@ 1 Resizable - 0 + 1 1 -- cgit v1.2.3