anastasis_gtk_auth_add_question.glade (18197B)
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.12"/> 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_b_question_dialog"> 32 <property name="can-focus">False</property> 33 <property name="icon">outline_contact_support_black_24dp.png</property> 34 <property name="type-hint">dialog</property> 35 <signal name="response" handler="anastasis_gtk_b_question_dialog_response_cb" swapped="no"/> 36 <child internal-child="vbox"> 37 <object class="GtkBox"> 38 <property name="can-focus">False</property> 39 <property name="orientation">vertical</property> 40 <property name="spacing">2</property> 41 <child internal-child="action_area"> 42 <object class="GtkButtonBox"> 43 <property name="can-focus">False</property> 44 <property name="layout-style">end</property> 45 <child> 46 <object class="GtkButton" id="anastasis_gtk_b_question_dialog_btn_cancel"> 47 <property name="label">gtk-cancel</property> 48 <property name="visible">True</property> 49 <property name="can-focus">False</property> 50 <property name="receives-default">False</property> 51 <property name="use-stock">True</property> 52 <property name="always-show-image">True</property> 53 </object> 54 <packing> 55 <property name="expand">True</property> 56 <property name="fill">True</property> 57 <property name="padding">5</property> 58 <property name="position">0</property> 59 </packing> 60 </child> 61 <child> 62 <object class="GtkButton" id="anastasis_gtk_b_question_dialog_btn_ok"> 63 <property name="label">gtk-ok</property> 64 <property name="visible">True</property> 65 <property name="sensitive">False</property> 66 <property name="can-focus">False</property> 67 <property name="can-default">True</property> 68 <property name="has-default">True</property> 69 <property name="receives-default">False</property> 70 <property name="use-stock">True</property> 71 <property name="always-show-image">True</property> 72 </object> 73 <packing> 74 <property name="expand">True</property> 75 <property name="fill">True</property> 76 <property name="padding">5</property> 77 <property name="position">1</property> 78 </packing> 79 </child> 80 </object> 81 <packing> 82 <property name="expand">False</property> 83 <property name="fill">False</property> 84 <property name="position">0</property> 85 </packing> 86 </child> 87 <child> 88 <object class="GtkLabel" id="instruction_label"> 89 <property name="visible">True</property> 90 <property name="can-focus">False</property> 91 <property name="label" translatable="yes">For security question authentication, you need to provide a question and its answer. 92 When recovering your secret, you will be shown the question and you will need to type 93 the answer exactly as you typed it here.</property> 94 <attributes> 95 <attribute name="weight" value="medium"/> 96 </attributes> 97 </object> 98 <packing> 99 <property name="expand">False</property> 100 <property name="fill">True</property> 101 <property name="padding">20</property> 102 <property name="position">0</property> 103 </packing> 104 </child> 105 <child> 106 <object class="GtkBox" id="question_vbox"> 107 <property name="visible">True</property> 108 <property name="can-focus">False</property> 109 <property name="orientation">vertical</property> 110 <child> 111 <object class="GtkSeparator"> 112 <property name="visible">True</property> 113 <property name="can-focus">False</property> 114 </object> 115 <packing> 116 <property name="expand">False</property> 117 <property name="fill">True</property> 118 <property name="position">0</property> 119 </packing> 120 </child> 121 <child> 122 <object class="GtkBox"> 123 <property name="visible">True</property> 124 <property name="can-focus">False</property> 125 <property name="margin-start">20</property> 126 <property name="margin-end">20</property> 127 <property name="orientation">vertical</property> 128 <child> 129 <object class="GtkBox"> 130 <property name="visible">True</property> 131 <property name="can-focus">False</property> 132 <property name="orientation">vertical</property> 133 <child> 134 <object class="GtkLabel"> 135 <property name="visible">True</property> 136 <property name="can-focus">False</property> 137 <property name="halign">start</property> 138 <property name="label" translatable="yes">Security _question</property> 139 <property name="use-underline">True</property> 140 </object> 141 <packing> 142 <property name="expand">False</property> 143 <property name="fill">True</property> 144 <property name="padding">5</property> 145 <property name="position">0</property> 146 </packing> 147 </child> 148 <child> 149 <object class="GtkEntry" id="anastasis_gtk_b_question_dialog_question_entry"> 150 <property name="visible">True</property> 151 <property name="can-focus">True</property> 152 <property name="hexpand">True</property> 153 <property name="activates-default">True</property> 154 <property name="width-chars">60</property> 155 <property name="primary-icon-stock">gtk-dialog-question</property> 156 <signal name="changed" handler="anastasis_gtk_b_question_dialog_question_entry_changed_cb" swapped="no"/> 157 </object> 158 <packing> 159 <property name="expand">False</property> 160 <property name="fill">True</property> 161 <property name="padding">5</property> 162 <property name="position">1</property> 163 </packing> 164 </child> 165 </object> 166 <packing> 167 <property name="expand">False</property> 168 <property name="fill">True</property> 169 <property name="padding">5</property> 170 <property name="position">0</property> 171 </packing> 172 </child> 173 <child> 174 <object class="GtkBox" id="private_hbox"> 175 <property name="visible">True</property> 176 <property name="can-focus">False</property> 177 <property name="margin-left">10</property> 178 <property name="margin-right">10</property> 179 <child> 180 <object class="GtkLabel" id="privacy_label"> 181 <property name="visible">True</property> 182 <property name="can-focus">False</property> 183 <property name="label" translatable="yes">This stays private</property> 184 </object> 185 <packing> 186 <property name="expand">False</property> 187 <property name="fill">False</property> 188 <property name="padding">10</property> 189 <property name="position">0</property> 190 </packing> 191 </child> 192 <child> 193 <object class="GtkImage" id="blindfold_image"> 194 <property name="width-request">24</property> 195 <property name="height-request">24</property> 196 <property name="visible">True</property> 197 <property name="can-focus">False</property> 198 <property name="pixbuf">noun_blindfold_3574196.svg</property> 199 </object> 200 <packing> 201 <property name="expand">False</property> 202 <property name="fill">False</property> 203 <property name="padding">1</property> 204 <property name="position">1</property> 205 </packing> 206 </child> 207 </object> 208 <packing> 209 <property name="expand">False</property> 210 <property name="fill">True</property> 211 <property name="position">1</property> 212 </packing> 213 </child> 214 <child> 215 <placeholder/> 216 </child> 217 </object> 218 <packing> 219 <property name="expand">False</property> 220 <property name="fill">True</property> 221 <property name="padding">15</property> 222 <property name="position">1</property> 223 </packing> 224 </child> 225 <child> 226 <object class="GtkSeparator"> 227 <property name="visible">True</property> 228 <property name="can-focus">False</property> 229 </object> 230 <packing> 231 <property name="expand">False</property> 232 <property name="fill">True</property> 233 <property name="position">2</property> 234 </packing> 235 </child> 236 </object> 237 <packing> 238 <property name="expand">False</property> 239 <property name="fill">True</property> 240 <property name="padding">15</property> 241 <property name="position">1</property> 242 </packing> 243 </child> 244 <child> 245 <object class="GtkBox" id="answer_vbox"> 246 <property name="visible">True</property> 247 <property name="can-focus">False</property> 248 <property name="margin-start">20</property> 249 <property name="margin-end">20</property> 250 <property name="margin-bottom">50</property> 251 <property name="orientation">vertical</property> 252 <child> 253 <object class="GtkBox"> 254 <property name="visible">True</property> 255 <property name="can-focus">False</property> 256 <property name="orientation">vertical</property> 257 <child> 258 <object class="GtkLabel"> 259 <property name="visible">True</property> 260 <property name="can-focus">False</property> 261 <property name="halign">start</property> 262 <property name="label" translatable="yes">_Answer</property> 263 <property name="use-underline">True</property> 264 </object> 265 <packing> 266 <property name="expand">False</property> 267 <property name="fill">True</property> 268 <property name="padding">5</property> 269 <property name="position">0</property> 270 </packing> 271 </child> 272 <child> 273 <object class="GtkEntry" id="anastasis_gtk_b_question_dialog_answer_entry"> 274 <property name="visible">True</property> 275 <property name="can-focus">True</property> 276 <property name="hexpand">True</property> 277 <property name="activates-default">True</property> 278 <property name="width-chars">60</property> 279 <property name="primary-icon-stock">gtk-dialog-authentication</property> 280 <signal name="changed" handler="anastasis_gtk_b_question_dialog_answer_entry_changed_cb" swapped="no"/> 281 </object> 282 <packing> 283 <property name="expand">False</property> 284 <property name="fill">True</property> 285 <property name="padding">5</property> 286 <property name="position">1</property> 287 </packing> 288 </child> 289 <child> 290 <object class="GtkLabel" id="case_sensitivity_label"> 291 <property name="visible">True</property> 292 <property name="can-focus">False</property> 293 <property name="label" translatable="yes">Note that the answer is case-sensitive and must be entered 294 in exactly the same way (punctuation, spaces) during recovery.</property> 295 <attributes> 296 <attribute name="scale" value="0.80000000000000004"/> 297 </attributes> 298 </object> 299 <packing> 300 <property name="expand">False</property> 301 <property name="fill">True</property> 302 <property name="position">2</property> 303 </packing> 304 </child> 305 </object> 306 <packing> 307 <property name="expand">False</property> 308 <property name="fill">True</property> 309 <property name="padding">5</property> 310 <property name="position">0</property> 311 </packing> 312 </child> 313 <child> 314 <object class="GtkBox" id="private_hbox1"> 315 <property name="visible">True</property> 316 <property name="can-focus">False</property> 317 <property name="margin-left">10</property> 318 <property name="margin-right">10</property> 319 <child> 320 <object class="GtkLabel" id="privacy_label1"> 321 <property name="visible">True</property> 322 <property name="can-focus">False</property> 323 <property name="label" translatable="yes">This stays private</property> 324 </object> 325 <packing> 326 <property name="expand">False</property> 327 <property name="fill">False</property> 328 <property name="padding">10</property> 329 <property name="position">0</property> 330 </packing> 331 </child> 332 <child> 333 <object class="GtkImage" id="blindfold_image1"> 334 <property name="width-request">24</property> 335 <property name="height-request">24</property> 336 <property name="visible">True</property> 337 <property name="can-focus">False</property> 338 <property name="pixbuf">noun_blindfold_3574196.svg</property> 339 </object> 340 <packing> 341 <property name="expand">False</property> 342 <property name="fill">False</property> 343 <property name="padding">1</property> 344 <property name="position">1</property> 345 </packing> 346 </child> 347 </object> 348 <packing> 349 <property name="expand">False</property> 350 <property name="fill">True</property> 351 <property name="position">1</property> 352 </packing> 353 </child> 354 <child> 355 <placeholder/> 356 </child> 357 </object> 358 <packing> 359 <property name="expand">False</property> 360 <property name="fill">True</property> 361 <property name="padding">15</property> 362 <property name="position">2</property> 363 </packing> 364 </child> 365 </object> 366 </child> 367 <action-widgets> 368 <action-widget response="-6">anastasis_gtk_b_question_dialog_btn_cancel</action-widget> 369 <action-widget response="-5">anastasis_gtk_b_question_dialog_btn_ok</action-widget> 370 </action-widgets> 371 <child type="titlebar"> 372 <object class="GtkLabel"> 373 <property name="visible">True</property> 374 <property name="can-focus">False</property> 375 <property name="label" translatable="yes">Configure security question</property> 376 </object> 377 </child> 378 <action-widgets> 379 <action-widget response="-6">anastasis_gtk_b_question_dialog_btn_cancel</action-widget> 380 <action-widget response="-5">anastasis_gtk_b_question_dialog_btn_ok</action-widget> 381 </action-widgets> 382 </object> 383 </interface>