nma-vpn-password-dialog.ui 10.3 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.2 -->
3
<interface domain="nm-applet">
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
  <requires lib="gtk+" version="3.20"/>
  <template class="NMAVpnPasswordDialog" parent="GtkDialog">
    <property name="can_focus">False</property>
    <property name="resizable">False</property>
    <property name="modal">True</property>
    <property name="window_position">center</property>
    <property name="type_hint">dialog</property>
    <signal name="close" handler="dialog_close_callback" swapped="no"/>
    <signal name="show" handler="dialog_show_callback" swapped="no"/>
    <child internal-child="vbox">
      <object class="GtkBox">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="orientation">vertical</property>
        <child internal-child="action_area">
          <object class="GtkButtonBox">
            <property name="can_focus">False</property>
            <child>
              <object class="GtkButton" id="cancel_button">
                <property name="label" translatable="yes">_Cancel</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="can_default">True</property>
                <property name="receives_default">True</property>
                <property name="valign">baseline</property>
                <property name="use_underline">True</property>
              </object>
              <packing>
                <property name="expand">True</property>
                <property name="fill">True</property>
                <property name="position">1</property>
              </packing>
            </child>
            <child>
              <object class="GtkButton" id="ok_button">
                <property name="label" translatable="yes">_OK</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="can_default">True</property>
                <property name="has_default">True</property>
                <property name="receives_default">True</property>
                <property name="valign">baseline</property>
                <property name="use_underline">True</property>
              </object>
              <packing>
                <property name="expand">True</property>
                <property name="fill">True</property>
                <property name="position">2</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">False</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkGrid">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
65 66
            <property name="margin_start">12</property>
            <property name="margin_end">12</property>
67 68 69 70 71 72 73 74 75 76 77
            <property name="margin_top">12</property>
            <property name="margin_bottom">12</property>
            <property name="row_spacing">6</property>
            <property name="column_spacing">12</property>
            <child>
              <object class="GtkCheckButton" id="show_passwords_checkbox">
                <property name="label" translatable="yes">Sh_ow passwords</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">False</property>
                <property name="use_underline">True</property>
78
                <property name="halign">start</property>
79 80 81 82 83 84 85 86 87 88 89
                <property name="draw_indicator">True</property>
                <signal name="toggled" handler="show_passwords_toggled_cb" swapped="no"/>
              </object>
              <packing>
                <property name="left_attach">2</property>
                <property name="top_attach">4</property>
              </packing>
            </child>
            <child>
              <object class="GtkEntry" id="password_entry_tertiary">
                <property name="can_focus">True</property>
90
                <property name="no_show_all">True</property>
91 92 93 94 95 96 97 98 99 100 101
                <property name="visibility">False</property>
                <property name="width_chars">20</property>
                <signal name="activate" handler="gtk_window_activate_default" swapped="yes"/>
              </object>
              <packing>
                <property name="left_attach">2</property>
                <property name="top_attach">3</property>
              </packing>
            </child>
            <child>
              <object class="GtkEntry" id="password_entry_secondary">
102
                <property name="visible">True</property>
103
                <property name="can_focus">True</property>
104
                <property name="no_show_all">True</property>
105 106 107 108 109 110 111 112 113 114 115
                <property name="visibility">False</property>
                <property name="width_chars">20</property>
                <signal name="activate" handler="gtk_window_activate_default" swapped="yes"/>
              </object>
              <packing>
                <property name="left_attach">2</property>
                <property name="top_attach">2</property>
              </packing>
            </child>
            <child>
              <object class="GtkEntry" id="password_entry">
116
                <property name="visible">True</property>
117
                <property name="can_focus">True</property>
118
                <property name="no_show_all">True</property>
119 120 121 122 123 124 125 126 127 128 129 130
                <property name="visibility">False</property>
                <property name="width_chars">20</property>
                <signal name="activate" handler="gtk_window_activate_default" swapped="yes"/>
              </object>
              <packing>
                <property name="left_attach">2</property>
                <property name="top_attach">1</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="password_label_tertiary">
                <property name="can_focus">False</property>
131
                <property name="no_show_all">True</property>
132 133 134 135 136 137 138 139 140 141 142 143
                <property name="label" translatable="yes">_Tertiary Password:</property>
                <property name="use_underline">True</property>
                <property name="mnemonic_widget">password_entry_tertiary</property>
                <property name="xalign">0</property>
              </object>
              <packing>
                <property name="left_attach">1</property>
                <property name="top_attach">3</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="password_label_secondary">
144
                <property name="visible">True</property>
145
                <property name="can_focus">False</property>
146
                <property name="no_show_all">True</property>
147 148 149 150 151 152 153 154 155 156 157 158
                <property name="label" translatable="yes">_Secondary Password:</property>
                <property name="use_underline">True</property>
                <property name="mnemonic_widget">password_entry_secondary</property>
                <property name="xalign">0</property>
              </object>
              <packing>
                <property name="left_attach">1</property>
                <property name="top_attach">2</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="password_label">
159
                <property name="visible">True</property>
160
                <property name="can_focus">False</property>
161
                <property name="no_show_all">True</property>
162 163 164 165 166 167 168 169 170 171 172 173 174
                <property name="label" translatable="yes">_Password:</property>
                <property name="use_underline">True</property>
                <property name="mnemonic_widget">password_entry</property>
                <property name="xalign">0</property>
              </object>
              <packing>
                <property name="left_attach">1</property>
                <property name="top_attach">1</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="message_label">
                <property name="can_focus">False</property>
175
                <property name="no_show_all">True</property>
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
                <property name="halign">start</property>
                <property name="margin_bottom">12</property>
                <property name="hexpand">True</property>
                <property name="wrap">True</property>
                <property name="max_width_chars">35</property>
              </object>
              <packing>
                <property name="left_attach">1</property>
                <property name="top_attach">0</property>
                <property name="width">2</property>
              </packing>
            </child>
            <child>
              <object class="GtkImage">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
192 193
                <property name="margin_start">6</property>
                <property name="margin_end">12</property>
194 195
                <property name="margin_top">6</property>
                <property name="margin_bottom">6</property>
196
                <property name="valign">start</property>
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
                <property name="icon_name">dialog-password</property>
                <property name="icon_size">6</property>
              </object>
              <packing>
                <property name="left_attach">0</property>
                <property name="top_attach">0</property>
                <property name="height">5</property>
              </packing>
            </child>
            <child>
              <placeholder/>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="-6">cancel_button</action-widget>
      <action-widget response="-5">ok_button</action-widget>
    </action-widgets>
    <child>
      <placeholder/>
    </child>
  </template>
</interface>