anastasis-gtk

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

anastasis_gtk_challenge_code.glade (11995B)


      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_code_dialog">
     32     <property name="can-focus">False</property>
     33     <property name="type-hint">dialog</property>
     34     <signal name="response" handler="anastasis_gtk_c_code_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_code_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_code_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_code_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" id="anastasis_gtk_c_challenge_box">
    100             <property name="visible">True</property>
    101             <property name="can-focus">False</property>
    102             <child>
    103               <object class="GtkLabel" id="anastasis_gtk_c_challenge_pre_label">
    104                 <property name="visible">True</property>
    105                 <property name="can-focus">False</property>
    106                 <property name="label" translatable="yes">Challenge:</property>
    107               </object>
    108               <packing>
    109                 <property name="expand">False</property>
    110                 <property name="fill">False</property>
    111                 <property name="padding">5</property>
    112                 <property name="position">0</property>
    113               </packing>
    114             </child>
    115             <child>
    116               <object class="GtkLabel" id="anastasis_gtk_c_challenge_label">
    117                 <property name="visible">True</property>
    118                 <property name="can-focus">False</property>
    119                 <property name="label">SET DYNAMICALLY BY PROGRAM</property>
    120                 <attributes>
    121                   <attribute name="style" value="italic"/>
    122                 </attributes>
    123               </object>
    124               <packing>
    125                 <property name="expand">False</property>
    126                 <property name="fill">True</property>
    127                 <property name="position">1</property>
    128               </packing>
    129             </child>
    130           </object>
    131           <packing>
    132             <property name="expand">False</property>
    133             <property name="fill">True</property>
    134             <property name="position">1</property>
    135           </packing>
    136         </child>
    137         <child>
    138           <object class="GtkBox">
    139             <property name="visible">True</property>
    140             <property name="can-focus">False</property>
    141             <property name="orientation">vertical</property>
    142             <child>
    143               <object class="GtkSeparator">
    144                 <property name="visible">True</property>
    145                 <property name="can-focus">False</property>
    146               </object>
    147               <packing>
    148                 <property name="expand">False</property>
    149                 <property name="fill">True</property>
    150                 <property name="position">0</property>
    151               </packing>
    152             </child>
    153             <child>
    154               <object class="GtkBox">
    155                 <property name="visible">True</property>
    156                 <property name="can-focus">False</property>
    157                 <child>
    158                   <object class="GtkLabel">
    159                     <property name="visible">True</property>
    160                     <property name="can-focus">False</property>
    161                     <property name="label" translatable="yes">Code sent to:</property>
    162                   </object>
    163                   <packing>
    164                     <property name="expand">False</property>
    165                     <property name="fill">True</property>
    166                     <property name="padding">5</property>
    167                     <property name="position">0</property>
    168                   </packing>
    169                 </child>
    170                 <child>
    171                   <object class="GtkLabel" id="challenge_instructions_label">
    172                     <property name="visible">True</property>
    173                     <property name="can-focus">False</property>
    174                     <property name="label">SET DYNAMICALLY BY PROGRAM</property>
    175                     <attributes>
    176                       <attribute name="style" value="italic"/>
    177                     </attributes>
    178                   </object>
    179                   <packing>
    180                     <property name="expand">False</property>
    181                     <property name="fill">True</property>
    182                     <property name="position">1</property>
    183                   </packing>
    184                 </child>
    185               </object>
    186               <packing>
    187                 <property name="expand">False</property>
    188                 <property name="fill">True</property>
    189                 <property name="padding">5</property>
    190                 <property name="position">1</property>
    191               </packing>
    192             </child>
    193             <child>
    194               <object class="GtkSeparator">
    195                 <property name="visible">True</property>
    196                 <property name="can-focus">False</property>
    197               </object>
    198               <packing>
    199                 <property name="expand">False</property>
    200                 <property name="fill">True</property>
    201                 <property name="position">2</property>
    202               </packing>
    203             </child>
    204           </object>
    205           <packing>
    206             <property name="expand">False</property>
    207             <property name="fill">True</property>
    208             <property name="position">2</property>
    209           </packing>
    210         </child>
    211         <child>
    212           <object class="GtkBox">
    213             <property name="visible">True</property>
    214             <property name="can-focus">False</property>
    215             <child>
    216               <object class="GtkLabel">
    217                 <property name="visible">True</property>
    218                 <property name="can-focus">False</property>
    219                 <property name="label" translatable="yes">Enter the code:</property>
    220               </object>
    221               <packing>
    222                 <property name="expand">False</property>
    223                 <property name="fill">True</property>
    224                 <property name="padding">5</property>
    225                 <property name="position">0</property>
    226               </packing>
    227             </child>
    228             <child>
    229               <object class="GtkEntry" id="anastasis_gtk_c_code_entry">
    230                 <property name="visible">True</property>
    231                 <property name="can-focus">True</property>
    232                 <property name="hexpand">True</property>
    233                 <property name="width-chars">24</property>
    234                 <property name="text">A-</property>
    235                 <property name="primary-icon-stock">gtk-dialog-authentication</property>
    236                 <property name="placeholder-text" translatable="no">A-</property>
    237                 <signal name="changed" handler="anastasis_gtk_c_code_dialog_answer_entry_changed_cb" swapped="no"/>
    238                 <signal name="insert-text" handler="anastasis_gtk_pin_autocomplete_insert_text" swapped="no"/>
    239               </object>
    240               <packing>
    241                 <property name="expand">False</property>
    242                 <property name="fill">True</property>
    243                 <property name="padding">5</property>
    244                 <property name="position">1</property>
    245               </packing>
    246             </child>
    247           </object>
    248           <packing>
    249             <property name="expand">False</property>
    250             <property name="fill">True</property>
    251             <property name="padding">5</property>
    252             <property name="position">3</property>
    253           </packing>
    254         </child>
    255       </object>
    256     </child>
    257     <action-widgets>
    258       <action-widget response="-6">anastasis_gtk_c_code_dialog_btn_cancel</action-widget>
    259       <action-widget response="-5">anastasis_gtk_c_code_dialog_btn_ok</action-widget>
    260     </action-widgets>
    261     <child type="titlebar">
    262       <object class="GtkLabel" id="anastasis_gtk_c_code_dialog_label">
    263         <property name="visible">True</property>
    264         <property name="can-focus">False</property>
    265         <property name="label" translatable="yes">Security token challenge</property>
    266       </object>
    267     </child>
    268     <action-widgets>
    269       <action-widget response="-6">anastasis_gtk_c_code_dialog_btn_cancel</action-widget>
    270       <action-widget response="-5">anastasis_gtk_c_code_dialog_btn_ok</action-widget>
    271     </action-widgets>
    272   </object>
    273 </interface>