anastasis-gtk

Demonstrator GUI for Anastasis
Log | Files | Refs | README | LICENSE

anastasis_gtk_auth_add_email.glade (8532B)


      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: Belen Pena, Christian Grothoff, Dennis Neufeld
     22 
     23 -->
     24 <interface domain="">
     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 Belen Pena, Christian Grothoff, Dennis Neufeld -->
     31   <object class="GtkDialog" id="anastasis_gtk_b_email_dialog">
     32     <property name="can-focus">False</property>
     33     <property name="icon">outline_email_black_24dp.png</property>
     34     <property name="type-hint">dialog</property>
     35     <signal name="response" handler="anastasis_gtk_b_email_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_email_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="position">0</property>
     58               </packing>
     59             </child>
     60             <child>
     61               <object class="GtkButton" id="anastasis_gtk_b_email_dialog_btn_ok">
     62                 <property name="label">gtk-ok</property>
     63                 <property name="visible">True</property>
     64                 <property name="sensitive">False</property>
     65                 <property name="can-focus">False</property>
     66                 <property name="can-default">True</property>
     67                 <property name="has-default">True</property>
     68                 <property name="receives-default">False</property>
     69                 <property name="use-stock">True</property>
     70                 <property name="always-show-image">True</property>
     71               </object>
     72               <packing>
     73                 <property name="expand">True</property>
     74                 <property name="fill">True</property>
     75                 <property name="position">1</property>
     76               </packing>
     77             </child>
     78           </object>
     79           <packing>
     80             <property name="expand">False</property>
     81             <property name="fill">False</property>
     82             <property name="position">0</property>
     83           </packing>
     84         </child>
     85         <child>
     86           <object class="GtkBox">
     87             <property name="visible">True</property>
     88             <property name="can-focus">False</property>
     89             <property name="orientation">vertical</property>
     90             <child>
     91               <object class="GtkLabel" id="explainer_label">
     92                 <property name="name">explainer_label</property>
     93                 <property name="visible">True</property>
     94                 <property name="can-focus">False</property>
     95                 <property name="label" translatable="yes">For email authentication, you need to
     96 provide an email address. When recovering
     97 your secret, you will be asked to enter the
     98 code you will receive by email.</property>
     99               </object>
    100               <packing>
    101                 <property name="expand">False</property>
    102                 <property name="fill">True</property>
    103                 <property name="padding">20</property>
    104                 <property name="position">0</property>
    105               </packing>
    106             </child>
    107             <child>
    108               <object class="GtkBox">
    109                 <property name="visible">True</property>
    110                 <property name="can-focus">False</property>
    111                 <property name="margin-bottom">50</property>
    112                 <property name="orientation">vertical</property>
    113                 <child>
    114                   <object class="GtkLabel">
    115                     <property name="visible">True</property>
    116                     <property name="can-focus">False</property>
    117                     <property name="halign">start</property>
    118                     <property name="margin-start">25</property>
    119                     <property name="margin-end">25</property>
    120                     <property name="label" translatable="yes">Email address</property>
    121                   </object>
    122                   <packing>
    123                     <property name="expand">False</property>
    124                     <property name="fill">False</property>
    125                     <property name="padding">5</property>
    126                     <property name="position">0</property>
    127                   </packing>
    128                 </child>
    129                 <child>
    130                   <object class="GtkEntry" id="anastasis_gtk_b_email_dialog_mailaddress_entry">
    131                     <property name="visible">True</property>
    132                     <property name="can-focus">True</property>
    133                     <property name="has-focus">True</property>
    134                     <property name="margin-start">25</property>
    135                     <property name="margin-end">25</property>
    136                     <property name="hexpand">True</property>
    137                     <property name="activates-default">True</property>
    138                     <property name="width-chars">36</property>
    139                     <property name="primary-icon-stock">gtk-dialog-authentication</property>
    140                     <property name="input-purpose">email</property>
    141                     <signal name="changed" handler="anastasis_gtk_b_email_dialog_mailaddress_entry_changed_cb" swapped="no"/>
    142                   </object>
    143                   <packing>
    144                     <property name="expand">True</property>
    145                     <property name="fill">True</property>
    146                     <property name="padding">5</property>
    147                     <property name="position">1</property>
    148                   </packing>
    149                 </child>
    150               </object>
    151               <packing>
    152                 <property name="expand">False</property>
    153                 <property name="fill">False</property>
    154                 <property name="padding">5</property>
    155                 <property name="position">2</property>
    156               </packing>
    157             </child>
    158           </object>
    159           <packing>
    160             <property name="expand">False</property>
    161             <property name="fill">True</property>
    162             <property name="padding">5</property>
    163             <property name="position">1</property>
    164           </packing>
    165         </child>
    166       </object>
    167     </child>
    168     <action-widgets>
    169       <action-widget response="-6">anastasis_gtk_b_email_dialog_btn_cancel</action-widget>
    170       <action-widget response="-5">anastasis_gtk_b_email_dialog_btn_ok</action-widget>
    171     </action-widgets>
    172     <child type="titlebar">
    173       <object class="GtkLabel">
    174         <property name="visible">True</property>
    175         <property name="can-focus">False</property>
    176         <property name="label" translatable="yes">Configure email</property>
    177       </object>
    178     </child>
    179     <action-widgets>
    180       <action-widget response="-6">anastasis_gtk_b_email_dialog_btn_cancel</action-widget>
    181       <action-widget response="-5">anastasis_gtk_b_email_dialog_btn_ok</action-widget>
    182     </action-widgets>
    183   </object>
    184 </interface>