VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-07-27 13:03:29 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:21:57 +0100
commit80a26745a6997dfcae79e2e852f6231767eb6dbf (patch)
treee2f3c758c1f780680aed005871e541d3c1c60025 /src
parent88b4628c340cde3cedf6d13d818323386cacd160 (diff)
downloadVeraCrypt-80a26745a6997dfcae79e2e852f6231767eb6dbf.tar.gz
VeraCrypt-80a26745a6997dfcae79e2e852f6231767eb6dbf.zip
Linux GUI : hide the wipe choice during volume creation. Remove extra content from wipe choice list.
Diffstat (limited to 'src')
-rw-r--r--src/Main/Forms/Forms.cpp2
-rw-r--r--src/Main/Forms/TrueCrypt.fbp2
-rw-r--r--src/Main/Forms/VolumePasswordPanel.cpp4
3 files changed, 5 insertions, 3 deletions
diff --git a/src/Main/Forms/Forms.cpp b/src/Main/Forms/Forms.cpp
index 76080605..138ea60a 100644
--- a/src/Main/Forms/Forms.cpp
+++ b/src/Main/Forms/Forms.cpp
@@ -3154,7 +3154,7 @@ 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"), _("3") };
+ wxString HeaderWipeCountChoices[] = { _("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 );
diff --git a/src/Main/Forms/TrueCrypt.fbp b/src/Main/Forms/TrueCrypt.fbp
index bc11db47..9913c09f 100644
--- a/src/Main/Forms/TrueCrypt.fbp
+++ b/src/Main/Forms/TrueCrypt.fbp
@@ -25402,7 +25402,7 @@
<property name="caption"></property>
<property name="caption_visible">1</property>
<property name="center_pane">0</property>
- <property name="choices">&quot;3-pass&quot; &quot;7-pass&quot; &quot;35-pass&quot; &quot;256-pass&quot; &quot;3&quot;</property>
+ <property name="choices">&quot;3-pass&quot; &quot;7-pass&quot; &quot;35-pass&quot; &quot;256-pass&quot;</property>
<property name="close_button">1</property>
<property name="context_help"></property>
<property name="context_menu">1</property>
diff --git a/src/Main/Forms/VolumePasswordPanel.cpp b/src/Main/Forms/VolumePasswordPanel.cpp
index 38463728..5b1b9db6 100644
--- a/src/Main/Forms/VolumePasswordPanel.cpp
+++ b/src/Main/Forms/VolumePasswordPanel.cpp
@@ -62,7 +62,9 @@ namespace VeraCrypt
KeyfilesButton->Show (enableKeyfiles);
Pkcs5PrfStaticText->Show (enablePkcs5Prf);
- Pkcs5PrfChoice->Show (enablePkcs5Prf);
+ Pkcs5PrfChoice->Show (enablePkcs5Prf);
+ HeaderWipeCountText->Show (enablePkcs5Prf);
+ HeaderWipeCount->Show (enablePkcs5Prf);
if (enablePkcs5Prf)
{