anastasis_gtk_challenge_totp.glade (10044B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Generated with glade 3.38.2 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: Christian Grothoff 22 23 --> 24 <interface> 25 <requires lib="gtk+" version="3.6"/> 26 <!-- interface-license-type gplv3 --> 27 <!-- interface-name anastasis-gtk --> 28 <!-- interface-description key backup and recovery --> 29 <!-- interface-copyright 2019-2021 Anastasis SARL --> 30 <!-- interface-authors Christian Grothoff --> 31 <object class="GtkDialog" id="anastasis_gtk_c_totp_dialog"> 32 <property name="can-focus">False</property> 33 <property name="type-hint">dialog</property> 34 <signal name="response" handler="anastasis_gtk_c_totp_dialog_response_cb" swapped="no"/> 35 <child internal-child="vbox"> 36 <object class="GtkBox"> 37 <property name="can-focus">False</property> 38 <property name="orientation">vertical</property> 39 <property name="spacing">2</property> 40 <child internal-child="action_area"> 41 <object class="GtkButtonBox"> 42 <property name="can-focus">False</property> 43 <property name="layout-style">end</property> 44 <child> 45 <object class="GtkButton" id="anastasis_gtk_c_totp_dialog_btn_cancel"> 46 <property name="label">gtk-cancel</property> 47 <property name="visible">True</property> 48 <property name="can-focus">True</property> 49 <property name="receives-default">True</property> 50 <property name="use-stock">True</property> 51 <property name="always-show-image">True</property> 52 </object> 53 <packing> 54 <property name="expand">True</property> 55 <property name="fill">True</property> 56 <property name="position">0</property> 57 </packing> 58 </child> 59 <child> 60 <object class="GtkButton" id="anastasis_gtk_c_totp_dialog_btn_ok"> 61 <property name="label">gtk-ok</property> 62 <property name="visible">True</property> 63 <property name="sensitive">False</property> 64 <property name="can-focus">False</property> 65 <property name="receives-default">True</property> 66 <property name="use-stock">True</property> 67 <property name="always-show-image">True</property> 68 </object> 69 <packing> 70 <property name="expand">True</property> 71 <property name="fill">True</property> 72 <property name="position">1</property> 73 </packing> 74 </child> 75 </object> 76 <packing> 77 <property name="expand">False</property> 78 <property name="fill">False</property> 79 <property name="position">0</property> 80 </packing> 81 </child> 82 <child> 83 <object class="GtkLabel" id="anastasis_gtk_c_totp_error_label"> 84 <property name="can-focus">False</property> 85 <property name="label">ERROR MESSAGE (SET DYNAMICALLY BY PROGRAM)</property> 86 <attributes> 87 <attribute name="weight" value="bold"/> 88 <attribute name="foreground" value="#a5a51d1d2d2d"/> 89 </attributes> 90 </object> 91 <packing> 92 <property name="expand">False</property> 93 <property name="fill">True</property> 94 <property name="padding">5</property> 95 <property name="position">0</property> 96 </packing> 97 </child> 98 <child> 99 <object class="GtkBox"> 100 <property name="visible">True</property> 101 <property name="can-focus">False</property> 102 <property name="orientation">vertical</property> 103 <child> 104 <object class="GtkSeparator"> 105 <property name="visible">True</property> 106 <property name="can-focus">False</property> 107 </object> 108 <packing> 109 <property name="expand">False</property> 110 <property name="fill">True</property> 111 <property name="position">0</property> 112 </packing> 113 </child> 114 <child> 115 <object class="GtkBox"> 116 <property name="visible">True</property> 117 <property name="can-focus">False</property> 118 <child> 119 <object class="GtkLabel"> 120 <property name="visible">True</property> 121 <property name="can-focus">False</property> 122 <property name="label" translatable="yes">Please look up TOTP under:</property> 123 </object> 124 <packing> 125 <property name="expand">False</property> 126 <property name="fill">True</property> 127 <property name="padding">5</property> 128 <property name="position">0</property> 129 </packing> 130 </child> 131 <child> 132 <object class="GtkLabel" id="challenge_instructions_label"> 133 <property name="visible">True</property> 134 <property name="can-focus">False</property> 135 <property name="label">SET DYNAMICALLY BY PROGRAM</property> 136 <attributes> 137 <attribute name="style" value="italic"/> 138 </attributes> 139 </object> 140 <packing> 141 <property name="expand">False</property> 142 <property name="fill">True</property> 143 <property name="position">1</property> 144 </packing> 145 </child> 146 </object> 147 <packing> 148 <property name="expand">False</property> 149 <property name="fill">True</property> 150 <property name="padding">5</property> 151 <property name="position">1</property> 152 </packing> 153 </child> 154 <child> 155 <object class="GtkSeparator"> 156 <property name="visible">True</property> 157 <property name="can-focus">False</property> 158 </object> 159 <packing> 160 <property name="expand">False</property> 161 <property name="fill">True</property> 162 <property name="position">2</property> 163 </packing> 164 </child> 165 </object> 166 <packing> 167 <property name="expand">False</property> 168 <property name="fill">True</property> 169 <property name="position">2</property> 170 </packing> 171 </child> 172 <child> 173 <object class="GtkBox"> 174 <property name="visible">True</property> 175 <property name="can-focus">False</property> 176 <child> 177 <object class="GtkLabel"> 178 <property name="visible">True</property> 179 <property name="can-focus">False</property> 180 <property name="label" translatable="yes">Enter the PIN:</property> 181 </object> 182 <packing> 183 <property name="expand">False</property> 184 <property name="fill">True</property> 185 <property name="padding">5</property> 186 <property name="position">0</property> 187 </packing> 188 </child> 189 <child> 190 <object class="GtkEntry" id="anastasis_gtk_c_totp_entry"> 191 <property name="visible">True</property> 192 <property name="can-focus">True</property> 193 <property name="hexpand">True</property> 194 <property name="width-chars">24</property> 195 <property name="primary-icon-stock">gtk-dialog-authentication</property> 196 <signal name="changed" handler="anastasis_gtk_c_totp_dialog_answer_entry_changed_cb" swapped="no"/> 197 </object> 198 <packing> 199 <property name="expand">False</property> 200 <property name="fill">True</property> 201 <property name="padding">5</property> 202 <property name="position">1</property> 203 </packing> 204 </child> 205 </object> 206 <packing> 207 <property name="expand">False</property> 208 <property name="fill">True</property> 209 <property name="padding">5</property> 210 <property name="position">3</property> 211 </packing> 212 </child> 213 </object> 214 </child> 215 <action-widgets> 216 <action-widget response="-6">anastasis_gtk_c_totp_dialog_btn_cancel</action-widget> 217 <action-widget response="-5">anastasis_gtk_c_totp_dialog_btn_ok</action-widget> 218 </action-widgets> 219 <child type="titlebar"> 220 <object class="GtkLabel" id="anastasis_gtk_c_totp_dialog_label"> 221 <property name="visible">True</property> 222 <property name="can-focus">False</property> 223 <property name="label" translatable="yes">TOTP challenge</property> 224 </object> 225 </child> 226 <action-widgets> 227 <action-widget response="-6">anastasis_gtk_c_totp_dialog_btn_cancel</action-widget> 228 <action-widget response="-5">anastasis_gtk_c_totp_dialog_btn_ok</action-widget> 229 </action-widgets> 230 </object> 231 </interface>