anastasis-gtk

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

anastasis_gtk_auth_add_post.glade (17667B)


      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_post_dialog">
     32     <property name="can-focus">False</property>
     33     <property name="icon">outline_home_work_black_24dp.png</property>
     34     <property name="type-hint">dialog</property>
     35     <signal name="response" handler="anastasis_gtk_b_post_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_post_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_post_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             <property name="spacing">5</property>
     91             <child>
     92               <object class="GtkLabel">
     93                 <property name="visible">True</property>
     94                 <property name="can-focus">False</property>
     95                 <property name="label" translatable="yes">For postal letter authentication, you need to
     96 provide a postal address. When recovering
     97 your secret, you will be asked to enter the
     98 code you will receive in a letter to that
     99 address.</property>
    100                 <attributes>
    101                   <attribute name="weight" value="medium"/>
    102                 </attributes>
    103               </object>
    104               <packing>
    105                 <property name="expand">False</property>
    106                 <property name="fill">True</property>
    107                 <property name="padding">25</property>
    108                 <property name="position">0</property>
    109               </packing>
    110             </child>
    111             <child>
    112               <object class="GtkSeparator">
    113                 <property name="visible">True</property>
    114                 <property name="can-focus">False</property>
    115               </object>
    116               <packing>
    117                 <property name="expand">False</property>
    118                 <property name="fill">True</property>
    119                 <property name="position">1</property>
    120               </packing>
    121             </child>
    122             <child>
    123               <object class="GtkBox">
    124                 <property name="visible">True</property>
    125                 <property name="can-focus">False</property>
    126                 <property name="margin-start">20</property>
    127                 <property name="margin-end">20</property>
    128                 <property name="orientation">vertical</property>
    129                 <child>
    130                   <object class="GtkLabel">
    131                     <property name="visible">True</property>
    132                     <property name="can-focus">False</property>
    133                     <property name="halign">start</property>
    134                     <property name="label" translatable="yes">_Name</property>
    135                     <property name="use-underline">True</property>
    136                   </object>
    137                   <packing>
    138                     <property name="expand">False</property>
    139                     <property name="fill">False</property>
    140                     <property name="padding">5</property>
    141                     <property name="position">0</property>
    142                   </packing>
    143                 </child>
    144                 <child>
    145                   <object class="GtkEntry" id="anastasis_gtk_b_post_dialog_full_name_entry">
    146                     <property name="visible">True</property>
    147                     <property name="can-focus">True</property>
    148                     <property name="has-focus">True</property>
    149                     <property name="hexpand">True</property>
    150                     <property name="activates-default">True</property>
    151                     <signal name="changed" handler="anastasis_gtk_b_post_dialog_entry_changed_cb" swapped="no"/>
    152                   </object>
    153                   <packing>
    154                     <property name="expand">True</property>
    155                     <property name="fill">True</property>
    156                     <property name="padding">5</property>
    157                     <property name="position">1</property>
    158                   </packing>
    159                 </child>
    160               </object>
    161               <packing>
    162                 <property name="expand">True</property>
    163                 <property name="fill">True</property>
    164                 <property name="padding">5</property>
    165                 <property name="position">2</property>
    166               </packing>
    167             </child>
    168             <child>
    169               <object class="GtkBox">
    170                 <property name="visible">True</property>
    171                 <property name="can-focus">False</property>
    172                 <property name="margin-start">20</property>
    173                 <property name="margin-end">20</property>
    174                 <property name="orientation">vertical</property>
    175                 <child>
    176                   <object class="GtkLabel">
    177                     <property name="visible">True</property>
    178                     <property name="can-focus">False</property>
    179                     <property name="halign">start</property>
    180                     <property name="label" translatable="yes">_Street and number</property>
    181                     <property name="use-underline">True</property>
    182                   </object>
    183                   <packing>
    184                     <property name="expand">False</property>
    185                     <property name="fill">True</property>
    186                     <property name="padding">5</property>
    187                     <property name="position">0</property>
    188                   </packing>
    189                 </child>
    190                 <child>
    191                   <object class="GtkEntry" id="anastasis_gtk_b_post_dialog_street_entry">
    192                     <property name="visible">True</property>
    193                     <property name="can-focus">True</property>
    194                     <property name="hexpand">True</property>
    195                     <property name="activates-default">True</property>
    196                     <signal name="changed" handler="anastasis_gtk_b_post_dialog_entry_changed_cb" swapped="no"/>
    197                   </object>
    198                   <packing>
    199                     <property name="expand">True</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             <child>
    214               <object class="GtkBox">
    215                 <property name="visible">True</property>
    216                 <property name="can-focus">False</property>
    217                 <property name="margin-start">20</property>
    218                 <property name="margin-end">20</property>
    219                 <property name="orientation">vertical</property>
    220                 <child>
    221                   <object class="GtkLabel">
    222                     <property name="visible">True</property>
    223                     <property name="can-focus">False</property>
    224                     <property name="halign">start</property>
    225                     <property name="label" translatable="yes">_City or town</property>
    226                     <property name="use-underline">True</property>
    227                   </object>
    228                   <packing>
    229                     <property name="expand">False</property>
    230                     <property name="fill">True</property>
    231                     <property name="padding">5</property>
    232                     <property name="position">0</property>
    233                   </packing>
    234                 </child>
    235                 <child>
    236                   <object class="GtkEntry" id="anastasis_gtk_b_post_dialog_city_entry">
    237                     <property name="visible">True</property>
    238                     <property name="can-focus">True</property>
    239                     <property name="hexpand">True</property>
    240                     <property name="activates-default">True</property>
    241                     <signal name="changed" handler="anastasis_gtk_b_post_dialog_entry_changed_cb" swapped="no"/>
    242                   </object>
    243                   <packing>
    244                     <property name="expand">True</property>
    245                     <property name="fill">True</property>
    246                     <property name="padding">5</property>
    247                     <property name="position">1</property>
    248                   </packing>
    249                 </child>
    250               </object>
    251               <packing>
    252                 <property name="expand">False</property>
    253                 <property name="fill">True</property>
    254                 <property name="padding">5</property>
    255                 <property name="position">4</property>
    256               </packing>
    257             </child>
    258             <child>
    259               <object class="GtkBox">
    260                 <property name="visible">True</property>
    261                 <property name="can-focus">False</property>
    262                 <property name="margin-start">20</property>
    263                 <property name="margin-end">20</property>
    264                 <property name="orientation">vertical</property>
    265                 <child>
    266                   <object class="GtkLabel">
    267                     <property name="visible">True</property>
    268                     <property name="can-focus">False</property>
    269                     <property name="halign">start</property>
    270                     <property name="label" translatable="yes">_Postcode</property>
    271                     <property name="use-underline">True</property>
    272                   </object>
    273                   <packing>
    274                     <property name="expand">False</property>
    275                     <property name="fill">True</property>
    276                     <property name="padding">5</property>
    277                     <property name="position">0</property>
    278                   </packing>
    279                 </child>
    280                 <child>
    281                   <object class="GtkEntry" id="anastasis_gtk_b_post_dialog_postcode_entry">
    282                     <property name="visible">True</property>
    283                     <property name="can-focus">True</property>
    284                     <property name="hexpand">True</property>
    285                     <property name="activates-default">True</property>
    286                     <signal name="changed" handler="anastasis_gtk_b_post_dialog_entry_changed_cb" swapped="no"/>
    287                   </object>
    288                   <packing>
    289                     <property name="expand">True</property>
    290                     <property name="fill">True</property>
    291                     <property name="padding">5</property>
    292                     <property name="position">1</property>
    293                   </packing>
    294                 </child>
    295               </object>
    296               <packing>
    297                 <property name="expand">False</property>
    298                 <property name="fill">True</property>
    299                 <property name="padding">5</property>
    300                 <property name="position">6</property>
    301               </packing>
    302             </child>
    303             <child>
    304               <object class="GtkBox">
    305                 <property name="visible">True</property>
    306                 <property name="can-focus">False</property>
    307                 <property name="margin-start">20</property>
    308                 <property name="margin-end">20</property>
    309                 <property name="margin-bottom">40</property>
    310                 <property name="orientation">vertical</property>
    311                 <child>
    312                   <object class="GtkLabel">
    313                     <property name="visible">True</property>
    314                     <property name="can-focus">False</property>
    315                     <property name="halign">start</property>
    316                     <property name="label" translatable="yes">Countr_y</property>
    317                     <property name="use-underline">True</property>
    318                   </object>
    319                   <packing>
    320                     <property name="expand">False</property>
    321                     <property name="fill">True</property>
    322                     <property name="padding">5</property>
    323                     <property name="position">0</property>
    324                   </packing>
    325                 </child>
    326                 <child>
    327                   <object class="GtkEntry" id="anastasis_gtk_b_post_dialog_country_entry">
    328                     <property name="visible">True</property>
    329                     <property name="can-focus">True</property>
    330                     <property name="hexpand">True</property>
    331                     <property name="activates-default">True</property>
    332                     <signal name="changed" handler="anastasis_gtk_b_post_dialog_entry_changed_cb" swapped="no"/>
    333                   </object>
    334                   <packing>
    335                     <property name="expand">True</property>
    336                     <property name="fill">True</property>
    337                     <property name="padding">5</property>
    338                     <property name="position">1</property>
    339                   </packing>
    340                 </child>
    341               </object>
    342               <packing>
    343                 <property name="expand">False</property>
    344                 <property name="fill">True</property>
    345                 <property name="padding">5</property>
    346                 <property name="position">7</property>
    347               </packing>
    348             </child>
    349           </object>
    350           <packing>
    351             <property name="expand">False</property>
    352             <property name="fill">True</property>
    353             <property name="position">1</property>
    354           </packing>
    355         </child>
    356       </object>
    357     </child>
    358     <action-widgets>
    359       <action-widget response="-6">anastasis_gtk_b_post_dialog_btn_cancel</action-widget>
    360       <action-widget response="-5">anastasis_gtk_b_post_dialog_btn_ok</action-widget>
    361     </action-widgets>
    362     <child type="titlebar">
    363       <object class="GtkLabel">
    364         <property name="visible">True</property>
    365         <property name="can-focus">False</property>
    366         <property name="label" translatable="yes">Configure postal letter</property>
    367       </object>
    368     </child>
    369     <action-widgets>
    370       <action-widget response="-6">anastasis_gtk_b_post_dialog_btn_cancel</action-widget>
    371       <action-widget response="-5">anastasis_gtk_b_post_dialog_btn_ok</action-widget>
    372     </action-widgets>
    373   </object>
    374 </interface>