anastasis_gtk_auth_add_email.ui (7050B)
1 <?xml version='1.0' encoding='UTF-8'?> 2 <!-- Created with Cambalache 0.94.1 --> 3 <!-- 4 Copyright (C) 2019-2021 Anastasis SARL 5 6 This file is part of anastasis-gtk. 7 8 anastasis-gtk is free software: you can redistribute it and/or modify 9 it under the terms of the GNU General Public License as published by 10 the Free Software Foundation, either version 3 of the License, or 11 (at your option) any later version. 12 13 anastasis-gtk is distributed in the hope that it will be useful, 14 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with anastasis-gtk. If not, see <http://www.gnu.org/licenses/>. 20 21 Author: Belen Pena, Christian Grothoff, Dennis Neufeld--> 22 <interface> 23 <!-- interface-name anastasis_gtk_auth_add_email.ui --> 24 <requires lib="gtk" version="4.0"/> 25 <object class="GtkDialog" id="anastasis_gtk_b_email_dialog"> 26 <property name="default-widget">anastasis_gtk_b_email_dialog_btn_ok</property> 27 <property name="focus-widget">anastasis_gtk_b_email_dialog_mailaddress_entry</property> 28 <signal name="response" handler="anastasis_gtk_b_email_dialog_response_cb"/> 29 <child internal-child="content_area"> 30 <object class="GtkBox"> 31 <property name="orientation">vertical</property> 32 <property name="spacing">2</property> 33 <child> 34 <object class="GtkBox"> 35 <property name="margin-bottom">5</property> 36 <property name="margin-top">5</property> 37 <property name="orientation">vertical</property> 38 <child> 39 <object class="GtkLabel" id="explainer_label"> 40 <property name="label" translatable="yes">For email authentication, you need to 41 provide an email address. When recovering 42 your secret, you will be asked to enter the 43 code you will receive by email.</property> 44 <property name="margin-bottom">20</property> 45 <property name="margin-top">20</property> 46 <property name="name">explainer_label</property> 47 </object> 48 </child> 49 <child> 50 <object class="GtkBox"> 51 <property name="margin-bottom">55</property> 52 <property name="margin-top">5</property> 53 <property name="orientation">vertical</property> 54 <property name="valign">center</property> 55 <property name="vexpand">0</property> 56 <child> 57 <object class="GtkLabel"> 58 <property name="halign">start</property> 59 <property name="label" translatable="yes">Email address</property> 60 <property name="margin-bottom">5</property> 61 <property name="margin-end">25</property> 62 <property name="margin-start">25</property> 63 <property name="margin-top">5</property> 64 <property name="valign">center</property> 65 </object> 66 </child> 67 <child> 68 <object class="GtkEntry" id="anastasis_gtk_b_email_dialog_mailaddress_entry"> 69 <property name="activates-default">1</property> 70 <property name="focusable">1</property> 71 <property name="hexpand">1</property> 72 <property name="input-purpose">email</property> 73 <property name="margin-bottom">5</property> 74 <property name="margin-end">25</property> 75 <property name="margin-start">25</property> 76 <property name="margin-top">5</property> 77 <property name="primary-icon-name">dialog-password</property> 78 <property name="vexpand">1</property> 79 <property name="width-chars">36</property> 80 <signal name="changed" handler="anastasis_gtk_b_email_dialog_mailaddress_entry_changed_cb"/> 81 </object> 82 </child> 83 </object> 84 </child> 85 </object> 86 </child> 87 </object> 88 </child> 89 <child type="titlebar"> 90 <object class="GtkLabel"> 91 <property name="label" translatable="yes">Configure email</property> 92 </object> 93 </child> 94 <child internal-child="action_area"> 95 <object class="GtkBox"> 96 <property name="can-focus">0</property> 97 <property name="halign">end</property> 98 <property name="homogeneous">1</property> 99 <property name="spacing">6</property> 100 <child> 101 <object class="GtkButton" id="anastasis_gtk_b_email_dialog_btn_cancel"> 102 <property name="child"> 103 <object class="GtkBox"> 104 <property name="halign">center</property> 105 <property name="spacing">2</property> 106 <child> 107 <object class="GtkImage"> 108 <property name="icon-name">gtk-cancel</property> 109 </object> 110 </child> 111 <child> 112 <object class="GtkLabel"> 113 <property name="label" translatable="yes">_Cancel</property> 114 <property name="mnemonic-widget">anastasis_gtk_b_email_dialog_btn_cancel</property> 115 <property name="use-underline">1</property> 116 </object> 117 </child> 118 </object> 119 </property> 120 </object> 121 </child> 122 <child> 123 <object class="GtkButton" id="anastasis_gtk_b_email_dialog_btn_ok"> 124 <property name="child"> 125 <object class="GtkBox"> 126 <property name="halign">center</property> 127 <property name="spacing">2</property> 128 <child> 129 <object class="GtkImage"> 130 <property name="icon-name">gtk-ok</property> 131 </object> 132 </child> 133 <child> 134 <object class="GtkLabel"> 135 <property name="label" translatable="yes">_OK</property> 136 <property name="mnemonic-widget">anastasis_gtk_b_email_dialog_btn_ok</property> 137 <property name="use-underline">1</property> 138 </object> 139 </child> 140 </object> 141 </property> 142 <property name="sensitive">0</property> 143 </object> 144 </child> 145 </object> 146 </child> 147 <action-widgets> 148 <action-widget response="-6">anastasis_gtk_b_email_dialog_btn_cancel</action-widget> 149 <action-widget response="-5">anastasis_gtk_b_email_dialog_btn_ok</action-widget> 150 </action-widgets> 151 <action-widgets> 152 <action-widget response="-6">anastasis_gtk_b_email_dialog_btn_cancel</action-widget> 153 <action-widget response="-5">anastasis_gtk_b_email_dialog_btn_ok</action-widget> 154 </action-widgets> 155 </object> 156 </interface>