diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-08-22 15:28:39 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-09-03 01:09:48 +0200 |
commit | 4f6bf3d64cf3fcbe92be3ceb4b572ad038c131a8 (patch) | |
tree | c758c502174261d63a3f5deeb5c8b81ee5573eaf /xmlsecurity/uiconfig | |
parent | 7a9fb40cb07de8c2ea33f92735be5008d30d6704 (diff) |
gpg4libre: Recycle certificate selection dialog for encryption
Change-Id: I699ecff1f62b3dae7ac275823c6721810589c4cf
Reviewed-on: https://gerrit.libreoffice.org/41507
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'xmlsecurity/uiconfig')
-rw-r--r-- | xmlsecurity/uiconfig/ui/selectcertificatedialog.ui | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/xmlsecurity/uiconfig/ui/selectcertificatedialog.ui b/xmlsecurity/uiconfig/ui/selectcertificatedialog.ui index ac6c253dabdd..69398517ffd9 100644 --- a/xmlsecurity/uiconfig/ui/selectcertificatedialog.ui +++ b/xmlsecurity/uiconfig/ui/selectcertificatedialog.ui @@ -182,6 +182,17 @@ <property name="hexpand">True</property> <property name="label" translatable="yes" context="selectcertificatedialog|STR_ENCIPHER_ONLY">Only for encipherment</property> </object> + <!-- different prefix, STR_ is (mis)used in the code to map certificate usage flags to strings --> + <object class="GtkLabel" id="str_sign"> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="label" translatable="yes" context="selectcertificatedialog|str_sign">Sign</property> + </object> + <object class="GtkLabel" id="str_encrypt"> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="label" translatable="yes" context="selectcertificatedialog|str_encrypt">Encrypt</property> + </object> </child> </object> <packing> @@ -190,12 +201,12 @@ </packing> </child> <child> - <object class="GtkLabel" id="label1"> - <property name="visible">True</property> + <object class="GtkLabel" id="sign"> + <property name="visible">False</property> <property name="can_focus">False</property> <property name="xalign">0</property> <property name="ypad">1</property> - <property name="label" translatable="yes" context="selectcertificatedialog|label1">Select the certificate you want to use for signing:</property> + <property name="label" translatable="yes" context="selectcertificatedialog|sign">Select the certificate you want to use for signing:</property> </object> <packing> <property name="left_attach">0</property> @@ -203,6 +214,19 @@ </packing> </child> <child> + <object class="GtkLabel" id="encrypt"> + <property name="visible">False</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="ypad">1</property> + <property name="label" translatable="yes" context="selectcertificatedialog|encrypt">Select the certificate you want to use for encryption:</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> <object class="svtlo-SvSimpleTableContainer" id="signatures"> <property name="visible">True</property> <property name="can_focus">True</property> |