anastasis-gtk

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

anastasis_gtk_add_provider.glade (7756B)


      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 Lesser 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 Lesser General Public License for more details.
     17 
     18 You should have received a copy of the GNU Lesser 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.8"/>
     26   <!-- interface-license-type lgplv3 -->
     27   <!-- interface-name Anastasis-gtk -->
     28   <!-- interface-copyright 2019-2021 Anastasis SARL -->
     29   <!-- interface-authors Christian Grothoff -->
     30   <object class="GtkDialog" id="add_provider_dialog">
     31     <property name="can-focus">False</property>
     32     <property name="modal">True</property>
     33     <property name="window-position">center</property>
     34     <property name="type-hint">dialog</property>
     35     <signal name="response" handler="add_provider_dialog_response_cb" swapped="no"/>
     36     <child internal-child="vbox">
     37       <object class="GtkBox">
     38         <property name="visible">True</property>
     39         <property name="can-focus">False</property>
     40         <property name="orientation">vertical</property>
     41         <property name="spacing">2</property>
     42         <child internal-child="action_area">
     43           <object class="GtkButtonBox">
     44             <property name="visible">True</property>
     45             <property name="can-focus">False</property>
     46             <property name="layout-style">end</property>
     47             <child>
     48               <object class="GtkButton" id="cancel_button">
     49                 <property name="label">gtk-cancel</property>
     50                 <property name="visible">True</property>
     51                 <property name="can-focus">False</property>
     52                 <property name="receives-default">False</property>
     53                 <property name="use-stock">True</property>
     54                 <property name="always-show-image">True</property>
     55               </object>
     56               <packing>
     57                 <property name="expand">True</property>
     58                 <property name="fill">True</property>
     59                 <property name="position">0</property>
     60               </packing>
     61             </child>
     62             <child>
     63               <object class="GtkButton" id="close_button">
     64                 <property name="label">gtk-add</property>
     65                 <property name="visible">True</property>
     66                 <property name="can-focus">False</property>
     67                 <property name="receives-default">False</property>
     68                 <property name="use-stock">True</property>
     69                 <property name="always-show-image">True</property>
     70               </object>
     71               <packing>
     72                 <property name="expand">True</property>
     73                 <property name="fill">True</property>
     74                 <property name="position">1</property>
     75               </packing>
     76             </child>
     77           </object>
     78           <packing>
     79             <property name="expand">False</property>
     80             <property name="fill">False</property>
     81             <property name="position">0</property>
     82           </packing>
     83         </child>
     84         <child>
     85           <object class="GtkBox">
     86             <property name="visible">True</property>
     87             <property name="can-focus">True</property>
     88             <property name="orientation">vertical</property>
     89             <child>
     90               <object class="GtkLabel" id="error_label">
     91                 <property name="can-focus">False</property>
     92                 <property name="label">DYNAMICALLY GENERATED</property>
     93                 <attributes>
     94                   <attribute name="foreground" value="#e0e01b1b2424"/>
     95                 </attributes>
     96               </object>
     97               <packing>
     98                 <property name="expand">False</property>
     99                 <property name="fill">True</property>
    100                 <property name="padding">10</property>
    101                 <property name="position">0</property>
    102               </packing>
    103             </child>
    104             <child>
    105               <object class="GtkBox">
    106                 <property name="visible">True</property>
    107                 <property name="can-focus">True</property>
    108                 <child>
    109                   <object class="GtkLabel">
    110                     <property name="visible">True</property>
    111                     <property name="can-focus">False</property>
    112                     <property name="margin-left">10</property>
    113                     <property name="label" translatable="yes">Provider URL:</property>
    114                   </object>
    115                   <packing>
    116                     <property name="expand">False</property>
    117                     <property name="fill">True</property>
    118                     <property name="padding">5</property>
    119                     <property name="position">0</property>
    120                   </packing>
    121                 </child>
    122                 <child>
    123                   <object class="GtkEntry" id="url_entry">
    124                     <property name="visible">True</property>
    125                     <property name="can-focus">True</property>
    126                     <property name="has-focus">True</property>
    127                     <property name="is-focus">True</property>
    128                     <property name="activates-default">True</property>
    129                     <property name="width-chars">54</property>
    130                     <property name="primary-icon-stock">gtk-edit</property>
    131                     <property name="secondary-icon-activatable">False</property>
    132                     <property name="secondary-icon-sensitive">False</property>
    133                     <property name="placeholder-text" translatable="yes">https://</property>
    134                     <signal name="changed" handler="add_provider_url_entry_changed_cb" swapped="no"/>
    135                   </object>
    136                   <packing>
    137                     <property name="expand">True</property>
    138                     <property name="fill">True</property>
    139                     <property name="padding">5</property>
    140                     <property name="position">1</property>
    141                   </packing>
    142                 </child>
    143               </object>
    144               <packing>
    145                 <property name="expand">False</property>
    146                 <property name="fill">False</property>
    147                 <property name="padding">5</property>
    148                 <property name="position">1</property>
    149               </packing>
    150             </child>
    151           </object>
    152           <packing>
    153             <property name="expand">True</property>
    154             <property name="fill">True</property>
    155             <property name="position">0</property>
    156           </packing>
    157         </child>
    158       </object>
    159     </child>
    160     <action-widgets>
    161       <action-widget response="-6">cancel_button</action-widget>
    162       <action-widget response="-10">close_button</action-widget>
    163     </action-widgets>
    164     <child type="titlebar">
    165       <object class="GtkLabel">
    166         <property name="visible">True</property>
    167         <property name="can-focus">False</property>
    168         <property name="label" translatable="yes">Add Anastasis provider</property>
    169       </object>
    170     </child>
    171     <action-widgets>
    172       <action-widget response="-6">cancel_button</action-widget>
    173       <action-widget response="-10">close_button</action-widget>
    174     </action-widgets>
    175   </object>
    176 </interface>