aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-19 16:49:03 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-19 16:49:03 +0200
commit322eb1f4337c3ac145022b030068d7d41a027ece (patch)
tree26b31ca2a089c8e1a6cda6737eca18418e38d191
parentcc4cf54a15a61538fcaedde253f33acb2340d0a8 (diff)
downloadanastasis-gtk-322eb1f4337c3ac145022b030068d7d41a027ece.tar.gz
anastasis-gtk-322eb1f4337c3ac145022b030068d7d41a027ece.tar.bz2
anastasis-gtk-322eb1f4337c3ac145022b030068d7d41a027ece.zip
-revise auth add dialogs based on Belen's feedback
-rw-r--r--contrib/Makefile.am1
-rw-r--r--contrib/anastasis_gtk_auth_add_email.glade30
-rw-r--r--contrib/anastasis_gtk_auth_add_iban.glade191
-rw-r--r--contrib/anastasis_gtk_auth_add_post.glade62
-rw-r--r--contrib/anastasis_gtk_auth_add_question.glade38
-rw-r--r--contrib/anastasis_gtk_auth_add_sms.glade38
-rw-r--r--contrib/anastasis_gtk_auth_add_video.glade38
7 files changed, 373 insertions, 25 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 80b00f5..413f48b 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -34,6 +34,7 @@ pkgdata_DATA = \
this_stays_private.glade \
anastasis_gtk_about_window.glade \
anastasis_gtk_auth_add_email.glade \
+ anastasis_gtk_auth_add_iban.glade \
anastasis_gtk_auth_add_post.glade \
anastasis_gtk_auth_add_question.glade \
anastasis_gtk_auth_add_sms.glade \
diff --git a/contrib/anastasis_gtk_auth_add_email.glade b/contrib/anastasis_gtk_auth_add_email.glade
index 99ce3f5..b2fe42c 100644
--- a/contrib/anastasis_gtk_auth_add_email.glade
+++ b/contrib/anastasis_gtk_auth_add_email.glade
@@ -22,7 +22,7 @@ Author: Belen Pena, Christian Grothoff, Dennis Neufeld
-->
<interface domain="">
- <requires lib="gtk+" version="3.6"/>
+ <requires lib="gtk+" version="3.12"/>
<!-- interface-license-type gplv3 -->
<!-- interface-name anastasis-gtk -->
<!-- interface-description Key backup and recovery -->
@@ -88,14 +88,36 @@ Author: Belen Pena, Christian Grothoff, Dennis Neufeld
<property name="can-focus">False</property>
<property name="orientation">vertical</property>
<child>
+ <object class="GtkLabel" id="explainer_label">
+ <property name="name">explainer_label</property>
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="label" translatable="yes">For email authentication, you need to
+provide an email address. When recovering
+your secret, you will be asked to enter the
+code you will receive by email.</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="padding">20</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="margin-bottom">50</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">Email address:</property>
+ <property name="halign">start</property>
+ <property name="margin-start">25</property>
+ <property name="margin-end">25</property>
+ <property name="label" translatable="yes">Email address</property>
</object>
<packing>
<property name="expand">False</property>
@@ -109,6 +131,8 @@ Author: Belen Pena, Christian Grothoff, Dennis Neufeld
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="has-focus">True</property>
+ <property name="margin-start">25</property>
+ <property name="margin-end">25</property>
<property name="hexpand">True</property>
<property name="activates-default">True</property>
<property name="width-chars">36</property>
@@ -149,7 +173,7 @@ Author: Belen Pena, Christian Grothoff, Dennis Neufeld
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">Add email authentication</property>
+ <property name="label" translatable="yes">Configure email</property>
</object>
</child>
<action-widgets>
diff --git a/contrib/anastasis_gtk_auth_add_iban.glade b/contrib/anastasis_gtk_auth_add_iban.glade
new file mode 100644
index 0000000..a1676a4
--- /dev/null
+++ b/contrib/anastasis_gtk_auth_add_iban.glade
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.38.2
+
+Copyright (C) 2019-2021 Anastasis SARL
+
+This file is part of anastasis-gtk.
+
+anastasis-gtk is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+anastasis-gtk is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with anastasis-gtk. If not, see <http://www.gnu.org/licenses/>.
+
+Author: Belen Pena, Christian Grothoff, Dennis Neufeld
+
+-->
+<interface domain="">
+ <requires lib="gtk+" version="3.12"/>
+ <!-- interface-license-type gplv3 -->
+ <!-- interface-name anastasis-gtk -->
+ <!-- interface-description Key backup and recovery -->
+ <!-- interface-copyright 2019-2021 Anastasis SARL -->
+ <!-- interface-authors Belen Pena, Christian Grothoff, Dennis Neufeld -->
+ <object class="GtkDialog" id="anastasis_gtk_b_iban_dialog">
+ <property name="can-focus">False</property>
+ <property name="icon">outline_email_black_24dp.png</property>
+ <property name="type-hint">dialog</property>
+ <signal name="response" handler="anastasis_gtk_b_email_dialog_response_cb" swapped="no"/>
+ <child internal-child="vbox">
+ <object class="GtkBox">
+ <property name="can-focus">False</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">2</property>
+ <child internal-child="action_area">
+ <object class="GtkButtonBox">
+ <property name="can-focus">False</property>
+ <property name="layout-style">end</property>
+ <child>
+ <object class="GtkButton" id="anastasis_gtk_b_email_dialog_btn_cancel">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="receives-default">False</property>
+ <property name="use-stock">True</property>
+ <property name="always-show-image">True</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="anastasis_gtk_b_email_dialog_btn_ok">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="sensitive">False</property>
+ <property name="can-focus">False</property>
+ <property name="can-default">True</property>
+ <property name="has-default">True</property>
+ <property name="receives-default">False</property>
+ <property name="use-stock">True</property>
+ <property name="always-show-image">True</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkLabel" id="explainer_label">
+ <property name="name">explainer_label</property>
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="label" translatable="yes">For bank transfer authentication, you need
+to provide the IBAN of one of your bank accounts.
+When recovering your secret, you will be
+asked to pay the recovery fee via bank
+transfer from the account you provided here.</property>
+ <attributes>
+ <attribute name="weight" value="medium"/>
+ </attributes>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="padding">20</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="margin-start">20</property>
+ <property name="margin-end">20</property>
+ <property name="margin-bottom">50</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="halign">start</property>
+ <property name="margin-start">25</property>
+ <property name="margin-end">25</property>
+ <property name="label" translatable="yes">IBAN</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="anastasis_gtk_b_iban_dialog_iban_entry">
+ <property name="visible">True</property>
+ <property name="can-focus">True</property>
+ <property name="has-focus">True</property>
+ <property name="margin-start">25</property>
+ <property name="margin-end">25</property>
+ <property name="hexpand">True</property>
+ <property name="activates-default">True</property>
+ <property name="width-chars">36</property>
+ <property name="primary-icon-stock">gtk-dialog-authentication</property>
+ <property name="placeholder-text" translatable="yes">DE67830625024024853256</property>
+ <property name="input-purpose">alpha</property>
+ <signal name="changed" handler="anastasis_gtk_b_iban_dialog_iban_entry_changed_cb" swapped="no"/>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="-6">anastasis_gtk_b_email_dialog_btn_cancel</action-widget>
+ <action-widget response="-5">anastasis_gtk_b_email_dialog_btn_ok</action-widget>
+ </action-widgets>
+ <child type="titlebar">
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="label" translatable="yes">Configure bank transfer</property>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="-6">anastasis_gtk_b_email_dialog_btn_cancel</action-widget>
+ <action-widget response="-5">anastasis_gtk_b_email_dialog_btn_ok</action-widget>
+ </action-widgets>
+ </object>
+</interface>
diff --git a/contrib/anastasis_gtk_auth_add_post.glade b/contrib/anastasis_gtk_auth_add_post.glade
index 3482e81..07ad5ea 100644
--- a/contrib/anastasis_gtk_auth_add_post.glade
+++ b/contrib/anastasis_gtk_auth_add_post.glade
@@ -22,7 +22,7 @@ Author: Christian Grothoff
-->
<interface>
- <requires lib="gtk+" version="3.6"/>
+ <requires lib="gtk+" version="3.12"/>
<!-- interface-license-type gplv3 -->
<!-- interface-name anastasis-gtk -->
<!-- interface-description Key backup and recovery -->
@@ -89,6 +89,26 @@ Author: Christian Grothoff
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="label" translatable="yes">For postal letter authentication, you need to
+provide a postal address. When recovering
+your secret, you will be asked to enter the
+code you will receive in a letter to that
+address.</property>
+ <attributes>
+ <attribute name="weight" value="medium"/>
+ </attributes>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="padding">25</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can-focus">False</property>
@@ -103,11 +123,15 @@ Author: Christian Grothoff
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="margin-start">20</property>
+ <property name="margin-end">20</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">_Full name:</property>
+ <property name="halign">start</property>
+ <property name="label" translatable="yes">_Name</property>
<property name="use-underline">True</property>
</object>
<packing>
@@ -135,8 +159,9 @@ Author: Christian Grothoff
</child>
</object>
<packing>
- <property name="expand">False</property>
+ <property name="expand">True</property>
<property name="fill">True</property>
+ <property name="padding">5</property>
<property name="position">2</property>
</packing>
</child>
@@ -144,11 +169,15 @@ Author: Christian Grothoff
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="margin-start">20</property>
+ <property name="margin-end">20</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">_Street:</property>
+ <property name="halign">start</property>
+ <property name="label" translatable="yes">_Street and number</property>
<property name="use-underline">True</property>
</object>
<packing>
@@ -177,6 +206,7 @@ Author: Christian Grothoff
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
+ <property name="padding">5</property>
<property name="position">3</property>
</packing>
</child>
@@ -184,11 +214,15 @@ Author: Christian Grothoff
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="margin-start">20</property>
+ <property name="margin-end">20</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">_City:</property>
+ <property name="halign">start</property>
+ <property name="label" translatable="yes">_City or town</property>
<property name="use-underline">True</property>
</object>
<packing>
@@ -217,6 +251,7 @@ Author: Christian Grothoff
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
+ <property name="padding">5</property>
<property name="position">4</property>
</packing>
</child>
@@ -224,11 +259,15 @@ Author: Christian Grothoff
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="margin-start">20</property>
+ <property name="margin-end">20</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">_Postcode:</property>
+ <property name="halign">start</property>
+ <property name="label" translatable="yes">_Postcode</property>
<property name="use-underline">True</property>
</object>
<packing>
@@ -257,6 +296,7 @@ Author: Christian Grothoff
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
+ <property name="padding">5</property>
<property name="position">6</property>
</packing>
</child>
@@ -264,11 +304,16 @@ Author: Christian Grothoff
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="margin-start">20</property>
+ <property name="margin-end">20</property>
+ <property name="margin-bottom">40</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">Countr_y:</property>
+ <property name="halign">start</property>
+ <property name="label" translatable="yes">Countr_y</property>
<property name="use-underline">True</property>
</object>
<packing>
@@ -297,6 +342,7 @@ Author: Christian Grothoff
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
+ <property name="padding">5</property>
<property name="position">7</property>
</packing>
</child>
@@ -317,7 +363,7 @@ Author: Christian Grothoff
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">Add post authentication</property>
+ <property name="label" translatable="yes">Configure postal letter</property>
</object>
</child>
<action-widgets>
diff --git a/contrib/anastasis_gtk_auth_add_question.glade b/contrib/anastasis_gtk_auth_add_question.glade
index 1813728..77cd746 100644
--- a/contrib/anastasis_gtk_auth_add_question.glade
+++ b/contrib/anastasis_gtk_auth_add_question.glade
@@ -22,7 +22,7 @@ Author: Christian Grothoff
-->
<interface>
- <requires lib="gtk+" version="3.6"/>
+ <requires lib="gtk+" version="3.12"/>
<!-- interface-license-type gplv3 -->
<!-- interface-name anastasis-gtk -->
<!-- interface-description Key backup and recovery -->
@@ -54,6 +54,7 @@ Author: Christian Grothoff
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
+ <property name="padding">5</property>
<property name="position">0</property>
</packing>
</child>
@@ -72,6 +73,7 @@ Author: Christian Grothoff
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
+ <property name="padding">5</property>
<property name="position">1</property>
</packing>
</child>
@@ -83,6 +85,24 @@ Author: Christian Grothoff
</packing>
</child>
<child>
+ <object class="GtkLabel" id="instruction_label">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="label" translatable="yes">For security question authentication, you need to provide a question and its answer.
+When recovering your secret, you will be shown the question and you will need to type
+the answer exactly as you typed it here.</property>
+ <attributes>
+ <attribute name="weight" value="medium"/>
+ </attributes>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="padding">20</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkBox" id="question_vbox">
<property name="visible">True</property>
<property name="can-focus">False</property>
@@ -102,16 +122,20 @@ Author: Christian Grothoff
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="margin-start">20</property>
+ <property name="margin-end">20</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">Security _question:</property>
+ <property name="halign">start</property>
+ <property name="label" translatable="yes">Security _question</property>
<property name="use-underline">True</property>
</object>
<packing>
@@ -194,6 +218,7 @@ Author: Christian Grothoff
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
+ <property name="padding">15</property>
<property name="position">1</property>
</packing>
</child>
@@ -220,16 +245,21 @@ Author: Christian Grothoff
<object class="GtkBox" id="answer_vbox">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="margin-start">20</property>
+ <property name="margin-end">20</property>
+ <property name="margin-bottom">50</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">_Answer:</property>
+ <property name="halign">start</property>
+ <property name="label" translatable="yes">_Answer</property>
<property name="use-underline">True</property>
</object>
<packing>
@@ -326,7 +356,7 @@ Author: Christian Grothoff
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">Add security question authentication</property>
+ <property name="label" translatable="yes">Configure security question</property>
</object>
</child>
<action-widgets>
diff --git a/contrib/anastasis_gtk_auth_add_sms.glade b/contrib/anastasis_gtk_auth_add_sms.glade
index 9e5cfd8..cdd4f45 100644
--- a/contrib/anastasis_gtk_auth_add_sms.glade
+++ b/contrib/anastasis_gtk_auth_add_sms.glade
@@ -22,7 +22,7 @@ Author: Christian Grothoff
-->
<interface>
- <requires lib="gtk+" version="3.6"/>
+ <requires lib="gtk+" version="3.12"/>
<!-- interface-license-type gplv3 -->
<!-- interface-name anastasis-gtk -->
<!-- interface-description Key backup and recovery -->
@@ -54,6 +54,7 @@ Author: Christian Grothoff
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
+ <property name="padding">5</property>
<property name="position">0</property>
</packing>
</child>
@@ -72,6 +73,7 @@ Author: Christian Grothoff
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
+ <property name="padding">5</property>
<property name="position">1</property>
</packing>
</child>
@@ -79,6 +81,7 @@ Author: Christian Grothoff
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
+ <property name="padding">5</property>
<property name="position">0</property>
</packing>
</child>
@@ -88,14 +91,41 @@ Author: Christian Grothoff
<property name="can-focus">False</property>
<property name="orientation">vertical</property>
<child>
+ <object class="GtkLabel" id="explainer_label">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="margin-start">20</property>
+ <property name="margin-end">20</property>
+ <property name="label" translatable="yes">For SMS authentication, you need to
+provide a mobile number. When recovering
+your secret, you will be asked to enter the
+code you will receive by SMS.</property>
+ <attributes>
+ <attribute name="weight" value="medium"/>
+ </attributes>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="padding">20</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="halign">start</property>
+ <property name="margin-start">25</property>
+ <property name="margin-end">25</property>
+ <property name="margin-bottom">50</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">Phone number:</property>
+ <property name="halign">start</property>
+ <property name="label" translatable="yes">Mobile number:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -124,7 +154,7 @@ Author: Christian Grothoff
</child>
</object>
<packing>
- <property name="expand">False</property>
+ <property name="expand">True</property>
<property name="fill">True</property>
<property name="padding">5</property>
<property name="position">2</property>
@@ -148,7 +178,7 @@ Author: Christian Grothoff
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">Add sms authentication</property>
+ <property name="label" translatable="yes">Configure SMS</property>
</object>
</child>
<action-widgets>
diff --git a/contrib/anastasis_gtk_auth_add_video.glade b/contrib/anastasis_gtk_auth_add_video.glade
index 9918cf9..ea1803e 100644
--- a/contrib/anastasis_gtk_auth_add_video.glade
+++ b/contrib/anastasis_gtk_auth_add_video.glade
@@ -22,7 +22,7 @@ Author: Christian Grothoff
-->
<interface>
- <requires lib="gtk+" version="3.6"/>
+ <requires lib="gtk+" version="3.12"/>
<!-- interface-license-type gplv3 -->
<!-- interface-name anastasis-gtk -->
<!-- interface-description key backup and recovery -->
@@ -56,6 +56,7 @@ Author: Christian Grothoff
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
+ <property name="padding">5</property>
<property name="position">0</property>
</packing>
</child>
@@ -74,6 +75,7 @@ Author: Christian Grothoff
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
+ <property name="padding">5</property>
<property name="position">1</property>
</packing>
</child>
@@ -88,9 +90,30 @@ Author: Christian Grothoff
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="margin-bottom">50</property>
<property name="orientation">vertical</property>
<child>
- <placeholder/>
+ <object class="GtkLabel" id="explainer_label">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="margin-start">20</property>
+ <property name="margin-end">20</property>
+ <property name="label" translatable="yes">For video identification, you need to provide
+a passport-style photograph. When
+recovering your secret, you will be asked to
+join a video call. During that call, a human
+will use the photograph to verify your
+identity.</property>
+ <attributes>
+ <attribute name="weight" value="medium"/>
+ </attributes>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="padding">20</property>
+ <property name="position">0</property>
+ </packing>
</child>
<child>
<placeholder/>
@@ -99,11 +122,14 @@ Author: Christian Grothoff
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="margin-start">20</property>
+ <property name="margin-end">20</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">Choose a photo:</property>
+ <property name="label" translatable="yes">Choose photograph</property>
</object>
<packing>
<property name="expand">False</property>
@@ -113,11 +139,11 @@ Author: Christian Grothoff
</packing>
</child>
<child>
- <object class="GtkFileChooserButton">
+ <object class="GtkFileChooserButton" id="photo_file_chooser_button">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="has-focus">True</property>
- <property name="title" translatable="yes"/>
+ <property name="title" translatable="yes">Choose photograph</property>
</object>
<packing>
<property name="expand">False</property>
@@ -162,7 +188,7 @@ Author: Christian Grothoff
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">Add video authentication</property>
+ <property name="label" translatable="yes">Configure video authentication</property>
</object>
</child>
<action-widgets>