summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2017-10-31 21:33:26 +0100
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-11-01 12:17:17 +0100
commitaf318eeb4e23694e17b09b902afb98ddf9da9b7b (patch)
tree1bc94acf3af240a7a00bca061661cb85ff529998
parentcc25d8a34354c0058356127a6643c39f7d59de77 (diff)
tdf#113304,filepicker: encrypt w/ GPG only when it makes sense
remotely gpg4libre-related Change-Id: Iec6f1ca04e55c8d66e65bb8d349b613b66ad1c69 Reviewed-on: https://gerrit.libreoffice.org/44137 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r--fpicker/source/office/iodlg.cxx3
-rw-r--r--fpicker/uiconfig/ui/explorerfiledialog.ui1
2 files changed, 0 insertions, 4 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 72f4e494cb36..ff486ddb3d0a 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -638,9 +638,6 @@ void SvtFileDialog::Init_Impl
pImpl->_pCbPassword->SetText( FpsResId( STR_SVT_FILEPICKER_PASSWORD ) );
pImpl->_pCbPassword->SetClickHdl( LINK( this, SvtFileDialog, ClickHdl_Impl ) );
pImpl->_pCbPassword->Show();
- }
- if ( nStyle & PickerFlags::Password )
- {
pImpl->_pCbGPGEncrypt->SetClickHdl( LINK( this, SvtFileDialog, ClickHdl_Impl ) );
pImpl->_pCbGPGEncrypt->Show();
}
diff --git a/fpicker/uiconfig/ui/explorerfiledialog.ui b/fpicker/uiconfig/ui/explorerfiledialog.ui
index 4d43b4112efe..b533c06b4295 100644
--- a/fpicker/uiconfig/ui/explorerfiledialog.ui
+++ b/fpicker/uiconfig/ui/explorerfiledialog.ui
@@ -454,7 +454,6 @@
<child>
<object class="GtkCheckButton" id="gpgencrypt">
<property name="label" translatable="yes" context="explorerfiledialog|gpgencrypt">Encrypt with GPG key</property>
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="draw_indicator">True</property>