accountmigrationview.ui 13.9 KB
Newer Older
aviau's avatar
aviau committed
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Generated with glade 3.20.0 -->
aviau's avatar
aviau committed
3 4
<interface>
  <requires lib="gtk+" version="3.10"/>
5 6 7 8
  <object class="GtkImage" id="image-remove-account">
    <property name="visible">True</property>
    <property name="icon_name">user-trash-symbolic</property>
  </object>
aviau's avatar
aviau committed
9
  <template class="AccountMigrationView" parent="GtkBox">
10 11 12
    <property name="visible">True</property>
    <property name="can_focus">False</property>
    <property name="orientation">vertical</property>
13 14
    <property name="valign">center</property>
    <property name="halign">center</property>
15
    <property name="spacing">15</property>
aviau's avatar
aviau committed
16
    <child>
17
      <object class="GtkLabel">
aviau's avatar
aviau committed
18
        <property name="visible">True</property>
19 20 21 22 23 24 25 26 27
        <property name="can_focus">False</property>
        <property name="label" translatable="yes">Account migration required</property>
        <attributes>
          <attribute name="weight" value="bold"/>
          <attribute name="scale" value="1.5"/>
        </attributes>
      </object>
    </child>
    <child>
28
      <object class="GtkLabel">
29 30
        <property name="visible">True</property>
        <property name="can_focus">False</property>
31 32 33
        <property name="label" translatable="yes">This account is malformed, please enter your password</property>
      </object>
    </child>
34
    <!-- End Migrating account spinner -->
35 36 37 38 39 40 41
    <child>
      <object class="GtkFrame">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="label_xalign">0</property>
        <property name="shadow_type">out</property>
        <property name="halign">fill</property>
42
        <child>
43
          <object class="GtkBox">
44
            <property name="visible">True</property>
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
            <property name="orientation">vertical</property>
            <property name="spacing">0</property>
            <property name="halign">fill</property>
            <child>
              <object class="GtkListBox">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="halign">fill</property>
                <property name="valign">fill</property>
                <property name="selection_mode">none</property>
                <child>
                  <!-- Avatar -->
                  <object class="GtkListBoxRow">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="margin_top">10</property>
                    <property name="halign">fill</property>
                    <child>
                      <object class="GtkImage" id="image_avatar">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <!-- Alias -->
                  <object class="GtkListBoxRow" id="alias_row">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="halign">fill</property>
                    <child>
                      <object class="GtkBox">
                        <property name="visible">True</property>
                        <property name="halign">fill</property>
                        <property name="orientation">horizontal</property>
                        <property name="margin_left">10</property>
                        <property name="margin_right">10</property>
                        <property name="margin_top">10</property>
                        <property name="margin_bottom">10</property>
                        <child>
                          <object class="GtkLabel">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="halign">start</property>
                            <property name="label" translatable="yes">Alias</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label_account_alias">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="halign">start</property>
                          </object>
                          <packing>
                            <property name="pack_type">end</property>
                          </packing>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
108 109
                  <!-- Username -->
                  <object class="GtkListBoxRow" id="username_row">
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="halign">fill</property>
                    <child>
                      <object class="GtkBox">
                        <property name="visible">True</property>
                        <property name="halign">fill</property>
                        <property name="orientation">horizontal</property>
                        <property name="margin_left">10</property>
                        <property name="margin_right">10</property>
                        <property name="margin_top">10</property>
                        <property name="margin_bottom">10</property>
                        <child>
                          <object class="GtkLabel">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="halign">start</property>
127
                            <property name="label" translatable="yes">Username</property>
128 129 130
                          </object>
                        </child>
                        <child>
131
                          <object class="GtkLabel" id="label_account_username">
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="halign">start</property>
                          </object>
                          <packing>
                            <property name="pack_type">end</property>
                          </packing>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <!-- Password -->
                  <object class="GtkListBoxRow" id="password_row">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="halign">fill</property>
                    <child>
                      <object class="GtkBox">
                        <property name="visible">True</property>
                        <property name="halign">fill</property>
                        <property name="orientation">horizontal</property>
                        <property name="margin_left">10</property>
                        <property name="margin_right">10</property>
                        <property name="margin_top">10</property>
                        <property name="margin_bottom">10</property>
                        <property name="spacing">10</property>
                        <child>
                          <object class="GtkLabel">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="halign">start</property>
                            <property name="label" translatable="yes">Password</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="entry_password">
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="halign">center</property>
                            <property name="visibility">False</property>
                            <property name="primary_icon_stock">gtk-dialog-authentication</property>
                            <property name="input_purpose">password</property>
                          </object>
                          <packing>
                            <property name="pack_type">end</property>
                          </packing>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
185 186 187 188 189 190 191 192 193 194 195 196 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
                <child>
                  <!-- Manager URI -->
                  <object class="GtkListBoxRow" id="manager_row">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="halign">fill</property>
                    <child>
                      <object class="GtkBox">
                        <property name="visible">True</property>
                        <property name="halign">fill</property>
                        <property name="orientation">horizontal</property>
                        <property name="margin_left">10</property>
                        <property name="margin_right">10</property>
                        <property name="margin_top">10</property>
                        <property name="margin_bottom">10</property>
                        <child>
                          <object class="GtkLabel">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="halign">start</property>
                            <property name="label" translatable="yes">Account manager</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label_account_manager">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="halign">start</property>
                          </object>
                          <packing>
                            <property name="pack_type">end</property>
                          </packing>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
222 223
              </object>
            </child>
224 225
          </object>
        </child>
226 227 228 229 230 231 232 233
      </object>
    </child>
    <child>
      <object class="GtkBox">
        <property name="visible">True</property>
        <property name="orientation">horizontal</property>
        <property name="halign">fill</property>
        <property name="spacing">10</property>
234
        <child>
235 236 237
          <object class="GtkButton" id="button_delete_account">
            <property name="label" translatable="yes">Delete account</property>
            <property name="image">image-remove-account</property>
238
            <property name="visible">True</property>
239
            <property name="can_focus">True</property>
240
            <property name="receives_default">True</property>
241
            <property name="halign">fill</property>
242 243
          </object>
          <packing>
244 245 246
            <property name="expand">True</property>
            <property name="fill">True</property>
            <property name="position">0</property>
247 248 249
          </packing>
        </child>
        <child>
250 251
          <object class="GtkButton" id="button_migrate_account">
            <property name="label" translatable="yes">Migrate account</property>
252
            <property name="visible">True</property>
253
            <property name="can_focus">True</property>
254
            <property name="receives_default">False</property>
255
            <property name="halign">fill</property>
256 257
          </object>
          <packing>
258 259 260
            <property name="expand">True</property>
            <property name="fill">True</property>
            <property name="position">1</property>
261 262 263 264
          </packing>
        </child>
      </object>
    </child>
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290
    <!-- Migrating account spinner -->
    <child>
      <object class="GtkBox" id="hbox_migrating_account_spinner">
        <property name="visible">True</property>
        <property name="halign">center</property>
        <property name="orientation">horizontal</property>
        <child>
          <object class="GtkSpinner" id="spinner_migrating_account">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="active">True</property>
          </object>
        </child>
        <child>
          <object class="GtkLabel">
            <property name="sensitive">False</property>
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">Migrating your Jami account…</property>
            <attributes>
              <attribute name="weight" value="bold"/>
            </attributes>
          </object>
        </child>
      </object>
    </child>
291 292 293 294
    <child>
      <object class="GtkLabel" id="label_migration_error">
        <property name="sensitive">False</property>
        <property name="can_focus">False</property>
295
        <property name="label" translatable="yes">Migration failed, wrong password?</property>
296 297 298
        <attributes>
          <attribute name="weight" value="bold"/>
        </attributes>
aviau's avatar
aviau committed
299 300
      </object>
    </child>
301

aviau's avatar
aviau committed
302 303
  </template>
</interface>