mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 13:13:34 +01:00
Linux GUI : hide the wipe choice during volume creation. Remove extra content from wipe choice list.
This commit is contained in:
parent
88b4628c34
commit
80a26745a6
@ -3154,7 +3154,7 @@ VolumePasswordPanelBase::VolumePasswordPanelBase( wxWindow* parent, wxWindowID i
|
|||||||
HeaderWipeCountText->Wrap( -1 );
|
HeaderWipeCountText->Wrap( -1 );
|
||||||
GridBagSizer->Add( HeaderWipeCountText, wxGBPosition( 8, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxRIGHT, 5 );
|
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 );
|
int HeaderWipeCountNChoices = sizeof( HeaderWipeCountChoices ) / sizeof( wxString );
|
||||||
HeaderWipeCount = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, HeaderWipeCountNChoices, HeaderWipeCountChoices, 0 );
|
HeaderWipeCount = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, HeaderWipeCountNChoices, HeaderWipeCountChoices, 0 );
|
||||||
HeaderWipeCount->SetSelection( 0 );
|
HeaderWipeCount->SetSelection( 0 );
|
||||||
|
@ -25402,7 +25402,7 @@
|
|||||||
<property name="caption"></property>
|
<property name="caption"></property>
|
||||||
<property name="caption_visible">1</property>
|
<property name="caption_visible">1</property>
|
||||||
<property name="center_pane">0</property>
|
<property name="center_pane">0</property>
|
||||||
<property name="choices">"3-pass" "7-pass" "35-pass" "256-pass" "3"</property>
|
<property name="choices">"3-pass" "7-pass" "35-pass" "256-pass"</property>
|
||||||
<property name="close_button">1</property>
|
<property name="close_button">1</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
|
@ -63,6 +63,8 @@ namespace VeraCrypt
|
|||||||
|
|
||||||
Pkcs5PrfStaticText->Show (enablePkcs5Prf);
|
Pkcs5PrfStaticText->Show (enablePkcs5Prf);
|
||||||
Pkcs5PrfChoice->Show (enablePkcs5Prf);
|
Pkcs5PrfChoice->Show (enablePkcs5Prf);
|
||||||
|
HeaderWipeCountText->Show (enablePkcs5Prf);
|
||||||
|
HeaderWipeCount->Show (enablePkcs5Prf);
|
||||||
|
|
||||||
if (enablePkcs5Prf)
|
if (enablePkcs5Prf)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user