anastasis-gtk

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

anastasis_gtk_auth_add_video.glade (8851B)


      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_video_dialog">
     32     <property name="can-focus">False</property>
     33     <property name="icon">outline_video_camera_front_black_24dp.png</property>
     34     <property name="type-hint">dialog</property>
     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_b_video_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="can-default">True</property>
     50                 <property name="has-default">True</property>
     51                 <property name="receives-default">True</property>
     52                 <property name="use-stock">True</property>
     53                 <property name="always-show-image">True</property>
     54                 <signal name="clicked" handler="anastasis_gtk_b_video_dialog_btn_cancel_clicked_cb" swapped="no"/>
     55               </object>
     56               <packing>
     57                 <property name="expand">True</property>
     58                 <property name="fill">True</property>
     59                 <property name="padding">5</property>
     60                 <property name="position">0</property>
     61               </packing>
     62             </child>
     63             <child>
     64               <object class="GtkButton" id="anastasis_gtk_b_video_dialog_btn_ok">
     65                 <property name="label">gtk-ok</property>
     66                 <property name="visible">True</property>
     67                 <property name="sensitive">False</property>
     68                 <property name="can-focus">True</property>
     69                 <property name="can-default">True</property>
     70                 <property name="has-default">True</property>
     71                 <property name="receives-default">True</property>
     72                 <property name="use-stock">True</property>
     73                 <property name="always-show-image">True</property>
     74               </object>
     75               <packing>
     76                 <property name="expand">True</property>
     77                 <property name="fill">True</property>
     78                 <property name="padding">5</property>
     79                 <property name="position">1</property>
     80               </packing>
     81             </child>
     82           </object>
     83           <packing>
     84             <property name="expand">False</property>
     85             <property name="fill">False</property>
     86             <property name="position">0</property>
     87           </packing>
     88         </child>
     89         <child>
     90           <object class="GtkBox">
     91             <property name="visible">True</property>
     92             <property name="can-focus">False</property>
     93             <property name="margin-bottom">50</property>
     94             <property name="orientation">vertical</property>
     95             <child>
     96               <object class="GtkLabel" id="explainer_label">
     97                 <property name="visible">True</property>
     98                 <property name="can-focus">False</property>
     99                 <property name="margin-start">20</property>
    100                 <property name="margin-end">20</property>
    101                 <property name="label" translatable="yes">For video identification, you need to provide
    102 a passport-style photograph. When
    103 recovering your secret, you will be asked to
    104 join a video call. During that call, a human
    105 will use the photograph to verify your 
    106 identity.</property>
    107                 <attributes>
    108                   <attribute name="weight" value="medium"/>
    109                 </attributes>
    110               </object>
    111               <packing>
    112                 <property name="expand">False</property>
    113                 <property name="fill">True</property>
    114                 <property name="padding">20</property>
    115                 <property name="position">0</property>
    116               </packing>
    117             </child>
    118             <child>
    119               <placeholder/>
    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="GtkLabel">
    130                     <property name="visible">True</property>
    131                     <property name="can-focus">False</property>
    132                     <property name="label" translatable="yes">Choose photograph</property>
    133                   </object>
    134                   <packing>
    135                     <property name="expand">False</property>
    136                     <property name="fill">True</property>
    137                     <property name="padding">5</property>
    138                     <property name="position">0</property>
    139                   </packing>
    140                 </child>
    141                 <child>
    142                   <object class="GtkFileChooserButton" id="photo_file_chooser_button">
    143                     <property name="visible">True</property>
    144                     <property name="can-focus">True</property>
    145                     <property name="has-focus">True</property>
    146                     <property name="title" translatable="yes">Choose photograph</property>
    147                   </object>
    148                   <packing>
    149                     <property name="expand">False</property>
    150                     <property name="fill">False</property>
    151                     <property name="padding">5</property>
    152                     <property name="position">2</property>
    153                   </packing>
    154                 </child>
    155               </object>
    156               <packing>
    157                 <property name="expand">False</property>
    158                 <property name="fill">False</property>
    159                 <property name="padding">5</property>
    160                 <property name="position">2</property>
    161               </packing>
    162             </child>
    163             <child>
    164               <object class="GtkImage">
    165                 <property name="can-focus">False</property>
    166                 <property name="stock">gtk-missing-image</property>
    167               </object>
    168               <packing>
    169                 <property name="expand">False</property>
    170                 <property name="fill">True</property>
    171                 <property name="position">3</property>
    172               </packing>
    173             </child>
    174           </object>
    175           <packing>
    176             <property name="expand">False</property>
    177             <property name="fill">True</property>
    178             <property name="position">0</property>
    179           </packing>
    180         </child>
    181       </object>
    182     </child>
    183     <action-widgets>
    184       <action-widget response="-6">anastasis_gtk_b_video_dialog_btn_cancel</action-widget>
    185       <action-widget response="-5">anastasis_gtk_b_video_dialog_btn_ok</action-widget>
    186     </action-widgets>
    187     <child type="titlebar">
    188       <object class="GtkLabel">
    189         <property name="visible">True</property>
    190         <property name="can-focus">False</property>
    191         <property name="label" translatable="yes">Configure video authentication</property>
    192       </object>
    193     </child>
    194     <action-widgets>
    195       <action-widget response="-6">anastasis_gtk_b_video_dialog_btn_cancel</action-widget>
    196       <action-widget response="-5">anastasis_gtk_b_video_dialog_btn_ok</action-widget>
    197     </action-widgets>
    198   </object>
    199 </interface>