accountcreationwizard.ui 62.3 KB
Newer Older
aviau's avatar
aviau committed
1 2 3
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.10"/>
4 5 6 7 8 9 10 11 12 13 14 15
  <object class="GtkImage" id="image-export-account">
    <property name="visible">True</property>
    <property name="icon_name">document-save-symbolic</property>
  </object>
  <object class="GtkImage" id="image-infos-pin">
    <property name="visible">True</property>
    <property name="icon_name">dialog-information-symbolic</property>
  </object>
  <object class="GtkImage" id="image-infos-backup">
    <property name="visible">True</property>
    <property name="icon_name">dialog-information-symbolic</property>
  </object>
16
  <template class="AccountCreationWizard" parent="GtkScrolledWindow">
aviau's avatar
aviau committed
17
    <child>
18
      <object class="GtkScrolledWindow">
aviau's avatar
aviau committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
        <property name="visible">True</property>
        <child>
          <object class="GtkStack" id="stack_account_creation">
            <property name="visible">True</property>
            <property name="transition-type">GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT</property>
            <property name="transition-duration">300</property>
            <!-- Choose account type wizard -->
            <child>
              <object class="GtkBox" id="choose_account_type_vbox">
                <property name="visible">True</property>
                <property name="valign">center</property>
                <property name="border_width">10</property>
                <property name="orientation">vertical</property>
                <property name="spacing">15</property>
                <child>
34
                  <object class="GtkBox" id="vbox_account_creation_title">
aviau's avatar
aviau committed
35 36
                    <property name="visible">True</property>
                    <property name="halign">center</property>
37 38
                    <property name="valign">center</property>
                    <property name="orientation">vertical</property>
aviau's avatar
aviau committed
39 40 41
                    <child>
                      <object class="GtkLabel" id="label_welcome">
                        <property name="visible">True</property>
42
                        <property name="label" translatable="yes">Welcome to</property>
aviau's avatar
aviau committed
43 44 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
                        <attributes>
                          <attribute name="scale" value="2"/>
                        </attributes>
                      </object>
                      <packing>
                        <property name="position">0</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkImage" id="choose_account_type_ring_logo">
                        <property name="visible">True</property>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">1</property>
                      </packing>
                    </child>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
                    <property name="position">0</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkButtonBox">
                    <property name="visible">True</property>
                    <property name="orientation">vertical</property>
                    <property name="spacing">15</property>
73
                    <property name="homogeneous">True</property>
aviau's avatar
aviau committed
74
                    <child>
75
                      <object class="GtkButton" id="button_new_account">
76 77
                        <property name="label" translatable="yes">Create local account</property>
                        <property name="tooltip_text" translatable="yes">Create a new Jami account on this device (for new users)</property>
aviau's avatar
aviau committed
78 79 80 81 82
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                      </object>
                    </child>
                    <child>
83 84 85
                      <object class="GtkButton" id="button_import_from_device">
                        <property name="label" translatable="yes">Import from device</property>
                        <property name="tooltip_text" translatable="yes">Import an account with your PIN generated on another device</property>
aviau's avatar
aviau committed
86 87 88 89 90
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                      </object>
                    </child>
                    <child>
91 92 93 94
                      <object class="GtkButton" id="button_import_from_backup">
                        <property name="label" translatable="yes">Import from archive backup</property>
                        <property name="tooltip_text" translatable="yes">Import an account via your archive</property>
                        <property name="visible">True</property>
aviau's avatar
aviau committed
95 96 97
                        <property name="can_focus">True</property>
                      </object>
                    </child>
98 99
                    <child>
                      <object class="GtkButton" id="button_show_advanced">
100
                        <property name="label" translatable="yes">Advanced…</property>
101 102 103 104 105 106 107 108
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <style>
                          <class name="transparent-button"/>
                          <class name="black"/>
                        </style>
                      </object>
                    </child>
109 110 111 112 113 114 115 116
                    <child>
                      <object class="GtkButton" id="button_connect_account_manager">
                        <property name="label" translatable="yes">Connect to account manager</property>
                        <property name="tooltip_text" translatable="yes">Get your account via your credentials.</property>
                        <property name="visible">False</property>
                        <property name="can_focus">True</property>
                      </object>
                    </child>
117 118 119 120 121 122 123
                    <child>
                      <object class="GtkButton" id="button_new_sip_account">
                        <property name="label" translatable="yes">Add a new SIP account</property>
                        <property name="visible">False</property>
                        <property name="can_focus">True</property>
                      </object>
                    </child>
aviau's avatar
aviau committed
124 125 126 127 128
                  </object>
                </child>
              </object>
            </child>
            <!-- End Choose account type wizard -->
129
            <!-- Import existing -->
aviau's avatar
aviau committed
130
            <child>
131
              <object class="GtkBox" id="existing_account">
132
                <property name="visible">False</property>
aviau's avatar
aviau committed
133
                <property name="valign">center</property>
134
                <property name="halign">center</property>
aviau's avatar
aviau committed
135 136 137
                <property name="border_width">10</property>
                <property name="orientation">vertical</property>
                <property name="spacing">15</property>
138
                
139
                <child>
140
                  <object class="GtkLabel" id="existing_account_label">
141
                    <property name="visible">True</property>
142
                    <property name="halign">start</property>
143 144 145 146 147 148
                    <property name="can_focus">False</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                </child>
149

150
                <child>
151
                  <object class="GtkBox">
aviau's avatar
aviau committed
152
                    <property name="visible">True</property>
153
                    <property name="valign">end</property>
aviau's avatar
aviau committed
154
                    <property name="orientation">vertical</property>
155
                    <property name="spacing">8</property>
aviau's avatar
aviau committed
156
                    <child>
157
                      <object class="GtkFrame">
aviau's avatar
aviau committed
158
                        <property name="visible">True</property>
159 160 161 162
                        <property name="can_focus">False</property>
                        <property name="label_xalign">0</property>
                        <property name="shadow_type">out</property>

163
                        <child>
164 165
                          <!-- Export label -->
                          <object class="GtkListBox">
166
                            <property name="visible">True</property>
167 168 169 170
                            <property name="can_focus">True</property>
                            <property name="halign">fill</property>
                            <property name="selection_mode">none</property>

171
                            <child>
172 173
                              <!-- Password -->
                              <object class="GtkListBoxRow">
174
                                <property name="visible">True</property>
175 176 177 178 179 180 181 182 183 184 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
                                <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="label" translatable="yes">Password</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkEntry" id="entry_existing_account_password">
                                        <property name="halign">center</property>
                                        <property name="width_request">320</property>
                                        <property name="visible">True</property>
                                        <property name="can_focus">True</property>
                                        <property name="xalign">0.5</property>
                                        <property name="primary_icon_stock">gtk-dialog-authentication</property>
                                        <property name="input_purpose">password</property>
                                        <property name="visibility">False</property>
                                      </object>
                                      <packing>
                                        <property name="pack_type">end</property>
                                      </packing>
                                    </child>
                                  </object>
                                </child>
211 212
                              </object>
                            </child>
213

214
                            <child>
215 216
                              <!-- Account archive -->
                              <object class="GtkListBoxRow" id="row_archive">
217 218
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264
                                <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="label" translatable="yes">Archive</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkButton" id="button_backup_info">
                                        <property name="image">image-infos-backup</property>
                                        <property name="tooltip_text" translatable="yes">Informations.</property>
                                        <property name="visible">True</property>
                                        <property name="can_focus">True</property>
                                        <property name="receives_default">True</property>
                                        <property name="halign">fill</property>
                                        <property name="margin_right">10</property>
                                        <style>
                                          <class name="infos-button"/>
                                        </style>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkFileChooserButton" id="entry_existing_account_archive">
                                        <property name="width_request">320</property>
                                        <property name="visible">True</property>
                                        <property name="can_focus">True</property>
                                        <property name="halign">center</property>
                                        <property name="title" translatable="yes"/>
                                      </object>
                                      <packing>
                                        <property name="pack_type">end</property>
                                      </packing>
                                    </child>
                                  </object>
                                </child>
265 266
                              </object>
                            </child>
267

268
                            <child>
269 270
                              <!-- PIN -->
                              <object class="GtkListBoxRow" id="row_pin">
271
                                <property name="visible">True</property>
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320
                                <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_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="label" translatable="yes">PIN</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkButton" id="button_pin_info">
                                        <property name="image">image-infos-pin</property>
                                        <property name="tooltip_text" translatable="yes">Informations.</property>
                                        <property name="visible">True</property>
                                        <property name="can_focus">True</property>
                                        <property name="receives_default">True</property>
                                        <property name="halign">fill</property>
                                        <property name="margin_right">10</property>
                                        <style>
                                          <class name="infos-button"/>
                                        </style>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkEntry" id="entry_existing_account_pin">
                                        <property name="halign">center</property>
                                        <property name="width_request">320</property>
                                        <property name="visible">True</property>
                                        <property name="can_focus">True</property>
                                        <property name="xalign">0.5</property>
                                        <property name="primary_icon_stock">gtk-dialog-authentication</property>
                                        <property name="input_purpose">password</property>
                                        <property name="margin_right">10</property>
                                      </object>
                                      <packing>
                                        <property name="pack_type">end</property>
                                      </packing>
                                    </child>
                                  </object>
                                </child>
321 322
                              </object>
                            </child>
323

324
                            <child>
325 326
                              <!-- Label backup -->
                              <object class="GtkListBoxRow" id="row_backup_label">
327 328
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353
                                <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>
                                    <property name="valign">center</property>
                                    <property name="halign">center</property>
                                    <child>
                                      <object class="GtkLabel">
                                        <property name="visible">True</property>
                                        <property name="can_focus">False</property>
                                        <property name="wrap">True</property>
                                        <property name="justify">fill</property>
                                        <property name="max-width-chars">40</property>
                                        <property name="label" translatable="yes">You can obtain an archive by clicking on "Export account" in the account settings. This will create a .gz file on your device.</property>
                                      </object>
                                    </child>
                                  </object>
                                </child>
354 355
                              </object>
                            </child>
356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389

                            <child>
                              <!-- Label PIN -->
                              <object class="GtkListBoxRow" id="row_pin_label">
                                <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>
                                    <property name="valign">center</property>
                                    <property name="halign">center</property>
                                    <child>
                                      <object class="GtkLabel">
                                        <property name="visible">True</property>
                                        <property name="can_focus">False</property>
                                        <property name="wrap">True</property>
                                        <property name="justify">fill</property>
                                        <property name="max-width-chars">40</property>
                                        <property name="label" translatable="yes">To obtain a PIN (valid for 10 minutes), you need to open the account settings on the other device and click on "Link to another device".</property>
                                      </object>
                                    </child>
                                  </object>
                                </child>
                              </object>
                            </child>

390 391
                          </object>
                        </child>
aviau's avatar
aviau committed
392 393
                      </object>
                    </child>
394 395 396 397 398 399
                  </object>
                </child>

                <child>
                  <object class="GtkButtonBox">
                    <property name="visible">True</property>
aviau's avatar
aviau committed
400
                    <child>
401 402
                      <object class="GtkButton" id="button_import_from_previous">
                        <property name="label" translatable="yes">Previous</property>
aviau's avatar
aviau committed
403 404
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
405
                        <property name="halign">start</property>
aviau's avatar
aviau committed
406 407 408
                      </object>
                    </child>
                    <child>
409 410
                      <object class="GtkButton" id="button_import_from_next">
                        <property name="label" translatable="yes">Next</property>
aviau's avatar
aviau committed
411
                        <property name="visible">True</property>
412 413 414
                        <property name="sensitive">False</property>
                        <property name="can_focus">True</property>
                        <property name="halign">end</property>
aviau's avatar
aviau committed
415 416 417 418 419 420
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
421
            <!-- End existing account wizard -->
aviau's avatar
aviau committed
422 423 424
            <!-- account creation wizard -->
            <child>
              <object class="GtkBox" id="account_creation">
425
                <property name="visible">False</property>
aviau's avatar
aviau committed
426
                <property name="valign">center</property>
427
                <property name="halign">center</property>
aviau's avatar
aviau committed
428 429 430
                <property name="border_width">10</property>
                <property name="orientation">vertical</property>
                <property name="spacing">15</property>
431

aviau's avatar
aviau committed
432
                <child>
433
                  <object class="GtkBox">
aviau's avatar
aviau committed
434 435
                    <property name="visible">True</property>
                    <property name="orientation">vertical</property>
436 437 438 439 440 441 442 443 444 445 446 447 448
                    <property name="halign">fill</property>
                    <property name="spacing">8</property>
                    <child>
                      <object class="GtkLabel">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="label" translatable="yes">Profile</property>
                        <property name="halign">start</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
aviau's avatar
aviau committed
449
                    <child>
450
                      <object class="GtkFrame">
aviau's avatar
aviau committed
451
                        <property name="visible">True</property>
452 453 454
                        <property name="can_focus">False</property>
                        <property name="label_xalign">0</property>
                        <property name="shadow_type">out</property>
aviau's avatar
aviau committed
455
                        <child>
456 457 458
                          <object class="GtkBox">
                            <property name="visible">True</property>
                            <property name="orientation">vertical</property>
459
                            <property name="spacing">0</property>
460
                            <child>
461
                              <object class="GtkListBox">
462
                                <property name="visible">True</property>
463 464 465 466
                                <property name="can_focus">True</property>
                                <property name="halign">fill</property>
                                <property name="valign">fill</property>
                                <property name="selection_mode">none</property>
467
                                <child>
468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497
                                  <!-- Avatar -->
                                  <object class="GtkListBoxRow">
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
                                    <property name="halign">fill</property>
                                    <child>
                                      <object class="GtkBox" id="box_avatarselection">
                                        <property name="visible">True</property>
                                        <property name="valign">end</property>
                                        <property name="halign">center</property>
                                        <property name="orientation">vertical</property>
                                        <property name="margin_top">10</property>
                                        <property name="spacing">5</property>
                                        <child>
                                          <object class="GtkEntry" id="entry_display_name">
                                            <property name="margin_bottom">10</property>
                                            <property name="margin_left">10</property>
                                            <property name="margin_right">10</property>
                                            <property name="visible">True</property>
                                            <property name="can_focus">True</property>
                                            <property name="halign">fill</property>
                                            <property name="xalign">0.5</property>
                                          </object>
                                          <packing>
                                            <property name="pack_type">end</property>
                                          </packing>
                                        </child>
                                      </object>
                                    </child>
                                  </object>
498 499 500 501
                                </child>
                              </object>
                            </child>
                          </object>
aviau's avatar
aviau committed
502 503 504
                        </child>
                      </object>
                    </child>
505 506 507 508 509 510 511 512 513 514 515 516 517 518
                  </object>
                  <packing>
                    <property name="expand">True</property>
                    <property name="fill">True</property>
                  </packing>
                </child>

                <child>
                  <object class="GtkBox">
                    <property name="visible">True</property>
                    <property name="valign">end</property>
                    <property name="orientation">vertical</property>
                    <property name="spacing">8</property>
                    <child>
519
                      <object class="GtkLabel">
520 521 522 523 524 525 526 527 528
                        <property name="visible">True</property>
                        <property name="halign">start</property>
                        <property name="can_focus">False</property>
                        <property name="label" translatable="yes">Account</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
aviau's avatar
aviau committed
529
                    <child>
530
                      <object class="GtkFrame">
531
                        <property name="visible">True</property>
532 533 534
                        <property name="can_focus">False</property>
                        <property name="label_xalign">0</property>
                        <property name="shadow_type">out</property>
535
                        <child>
536
                          <object class="GtkListBox">
537
                            <property name="visible">True</property>
538 539 540
                            <property name="can_focus">True</property>
                            <property name="halign">fill</property>
                            <property name="selection_mode">none</property>
541
                            <child>
542 543
                              <!-- Username -->
                              <object class="GtkListBoxRow">
544
                                <property name="visible">True</property>
545 546
                                <property name="can_focus">True</property>
                                <property name="halign">fill</property>
547
                                <child>
548
                                  <object class="GtkBox">
549
                                    <property name="visible">True</property>
550 551 552 553 554 555 556 557 558 559 560
                                    <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="label" translatable="yes">Register username</property>
561
                                        <property name="tooltip_text" translatable="yes">By checking this, you will register a unique username on the Jami network. People can use it to contact you instead of using your RingID, which is 40 characters long.</property>
562 563 564 565 566 567 568 569 570 571 572 573
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkSwitch" id="switch_register">
                                        <property name="active">True</property>
                                        <property name="visible">True</property>
                                        <property name="can_focus">True</property>
                                      </object>
                                      <packing>
                                        <property name="pack_type">end</property>
                                      </packing>
                                    </child>
574 575 576 577 578
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
579 580
                              <!-- entry username -->
                              <object class="GtkListBoxRow">
581
                                <property name="visible">True</property>
582 583
                                <property name="can_focus">True</property>
                                <property name="halign">fill</property>
584
                                <child>
585
                                  <object class="GtkBox" id="box_username_entry">
586
                                    <property name="visible">True</property>
587 588 589 590 591 592 593 594 595 596 597 598 599
                                    <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="label" translatable="yes">Username</property>
                                      </object>
                                    </child>
600 601 602 603 604
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
605 606
                              <!-- Password -->
                              <object class="GtkListBoxRow">
607 608
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641
                                <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="label" translatable="yes">Password</property>
                                        <property name="tooltip_text" translatable="yes">This password will be used to encrypt your account data and to link new devices to your account.</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkEntry" id="entry_password">
                                        <property name="visible">True</property>
                                        <property name="can_focus">True</property>
                                        <property name="primary_icon_stock">gtk-dialog-authentication</property>
                                        <property name="visibility">False</property>
                                        <property name="input_purpose">password</property>
                                      </object>
                                      <packing>
                                        <property name="pack_type">end</property>
                                      </packing>
                                    </child>
                                  </object>
                                </child>
642 643 644
                              </object>
                            </child>
                            <child>
645 646
                              <!-- Password confirm -->
                              <object class="GtkListBoxRow">
647 648
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680
                                <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="label" translatable="yes">Confirm password</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkEntry" id="entry_password_confirm">
                                        <property name="visible">True</property>
                                        <property name="can_focus">True</property>
                                        <property name="primary_icon_stock">gtk-dialog-authentication</property>
                                        <property name="visibility">False</property>
                                        <property name="input_purpose">password</property>
                                      </object>
                                      <packing>
                                        <property name="pack_type">end</property>
                                      </packing>
                                    </child>
                                  </object>
                                </child>
681 682 683 684
                              </object>
                            </child>
                          </object>
                        </child>
aviau's avatar
aviau committed
685 686
                      </object>
                    </child>
687 688 689 690 691 692 693 694 695
                    <child>
                      <object class="GtkLabel" id="label_password_error">
                        <property name="visible">True</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                          <attribute name="foreground" value="red"/>
                        </attributes>
                      </object>
                    </child>
aviau's avatar
aviau committed
696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734
                  </object>
                </child>
                <child>
                  <object class="GtkButtonBox">
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkButton" id="button_account_creation_previous">
                        <property name="label" translatable="yes">Previous</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="halign">start</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="button_account_creation_next">
                        <property name="label" translatable="yes">Next</property>
                        <property name="sensitive">False</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="halign">end</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <!-- end account wizard -->
            <!-- Generating account spinner -->
            <child>
              <object class="GtkBox" id="vbox_generating_account_spinner">
                <property name="visible">True</property>
                <property name="valign">center</property>
                <property name="border_width">10</property>
                <property name="orientation">vertical</property>
                <property name="spacing">15</property>
                <child>
                  <object class="GtkLabel">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
735
                    <property name="label" translatable="yes">Generating your Jami account…</property>
aviau's avatar
aviau committed
736 737 738 739 740 741 742 743 744 745 746 747 748
                  </object>
                </child>
                <child>
                  <object class="GtkSpinner" id="spinner_generating_account">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="active">True</property>
                    <property name="height_request">50</property>
                  </object>
                </child>
              </object>
            </child>
            <!-- End Generating account spinner -->
749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826

            <!-- Info backup -->
            <child>
              <object class="GtkBox" id="info_backup">
                <property name="visible">False</property>
                <property name="valign">center</property>
                <property name="halign">center</property>
                <property name="border_width">10</property>
                <property name="orientation">vertical</property>
                <property name="spacing">15</property>
                
                
                <child>
                  <object class="GtkLabel">
                    <property name="visible">True</property>
                    <property name="halign">start</property>
                    <property name="can_focus">False</property>
                    <property name="label" translatable="yes">Backup your account!</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                </child>
                
                <child>
                  <object class="GtkLabel">
                    <property name="visible">True</property>
                    <property name="valign">center</property>
                    <property name="halign">center</property>
                    <property name="justify">fill</property>
                    <property name="wrap">True</property>
                    <property name="max-width-chars">80</property>
                    <property name="can_focus">False</property>
                    <property name="label" translatable="yes">This account only exists on this device. If you lost your device or uninstall the application, your account will be deleted. You can backup your account now or later.</property>
                  </object>
                </child>

                
                <child>
                  <object class="GtkCheckButton" id="button_never_show_again">
                    <property name="label" translatable="yes">Never show me this again</property>
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="receives_default">True</property>
                    <property name="halign">fill</property>
                  </object>
                </child>
                
                
                <child>
                  <object class="GtkButtonBox">
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkButton" id="button_export_account">
                        <property name="label" translatable="yes">Export account</property>
                        <property name="image">image-export-account</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="receives_default">True</property>
                        <property name="halign">fill</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="button_skip_backup">
                        <property name="label" translatable="yes">Skip</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="receives_default">True</property>
                        <property name="halign">fill</property>
                      </object>
                    </child>
                  </object>
                </child>
                
              </object>
            </child>
            <!-- End existing account wizard -->

827 828 829 830 831 832 833 834 835 836 837 838
            <!-- Registering username spinner -->
            <child>
              <object class="GtkBox" id="vbox_registering_username_spinner">
                <property name="visible">True</property>
                <property name="valign">center</property>
                <property name="border_width">10</property>
                <property name="orientation">vertical</property>
                <property name="spacing">15</property>
                <child>
                  <object class="GtkLabel">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
839
                    <property name="label" translatable="yes">Registering username…</property>
840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859
                  </object>
                </child>
                <child>
                  <object class="GtkLabel">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="label" translatable="yes">This may take a few minutes.</property>
                  </object>
                </child>
                <child>
                  <object class="GtkSpinner">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="active">True</property>
                    <property name="height_request">50</property>
                  </object>
                </child>
              </object>
            </child>
            <!-- End registering username spinner -->
aviau's avatar
aviau committed
860 861 862 863 864 865 866 867 868 869 870 871
            <!-- Retrieving account spinner -->
            <child>
              <object class="GtkBox" id="retrieving_account">
                <property name="visible">True</property>
                <property name="valign">center</property>
                <property name="border_width">10</property>
                <property name="orientation">vertical</property>
                <property name="spacing">15</property>
                <child>
                  <object class="GtkLabel">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
872
                    <property name="label" translatable="yes">Retrieving your Jami account…</property>
aviau's avatar
aviau committed
873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890
                  </object>
                </child>
                <child>
                  <object class="GtkSpinner">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="active">True</property>
                    <property name="height_request">50</property>
                  </object>
                </child>
              </object>
            </child>
            <!-- End retreiving account spinner -->
            <!-- Error view -->
            <child>
              <object class="GtkBox" id="error_view">
                <property name="visible">True</property>
                <property name="valign">center</property>
891
                <property name="halign">center</property>
aviau's avatar
aviau committed
892 893 894 895
                <property name="border_width">10</property>
                <property name="orientation">vertical</property>
                <property name="spacing">15</property>
                <child>
896 897 898 899 900 901 902 903
                  <object class="GtkImage" id="image-error">
                    <property name="visible">True</property>
                    <property name="icon_size">6</property>
                    <property name="icon_name">dialog-warning-symbolic</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="label_error_view">
aviau's avatar
aviau committed
904 905
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
906 907 908
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
aviau's avatar
aviau committed
909 910 911 912 913 914 915
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="button_error_view_ok">
                    <property name="label" translatable="yes">OK</property>
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
916
                    <property name="halign">center</property>
aviau's avatar
aviau committed
917 918 919 920 921
                  </object>
                </child>
              </object>
            </child>
            <!-- End error view -->
922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103

            <!-- Connect to account manager -->
            <child>
              <object class="GtkBox" id="connect_to_account_manager">
                <property name="visible">False</property>
                <property name="valign">center</property>
                <property name="halign">center</property>
                <property name="border_width">10</property>
                <property name="orientation">vertical</property>
                <property name="spacing">15</property>
                
                <child>
                  <object class="GtkLabel">
                    <property name="visible">True</property>
                    <property name="halign">start</property>
                    <property name="can_focus">False</property>
                    <property name="label" translatable="yes">Sign in</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                </child>

                <child>
                  <object class="GtkBox">
                    <property name="visible">True</property>
                    <property name="valign">end</property>
                    <property name="orientation">vertical</property>
                    <property name="spacing">8</property>
                    <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>
                        <child>
                          <object class="GtkListBox">
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="halign">fill</property>
                            <property name="selection_mode">none</property>
                            <child>
                              <!-- entry username -->
                              <object class="GtkListBoxRow">
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
                                <property name="halign">fill</property>
                                <child>
                                  <object class="GtkBox" id="box_account_manager_username_entry">
                                    <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="label" translatable="yes">Username</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkEntry" id="entry_account_manager_username">
                                        <property name="visible">True</property>
                                        <property name="can_focus">True</property>
                                      </object>
                                      <packing>
                                        <property name="pack_type">end</property>
                                      </packing>
                                    </child>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <!-- Password -->
                              <object class="GtkListBoxRow">
                                <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="label" translatable="yes">Password</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkEntry" id="entry_account_manager_password">
                                        <property name="visible">True</property>
                                        <property name="can_focus">True</property>
                                        <property name="primary_icon_stock">gtk-dialog-authentication</property>
                                        <property name="visibility">False</property>
                                        <property name="input_purpose">password</property>
                                      </object>
                                      <packing>
                                        <property name="pack_type">end</property>
                                      </packing>
                                    </child>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <!-- Account Manager URL -->
                              <object class="GtkListBoxRow">
                                <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="label" translatable="yes">Account manager</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkEntry" id="entry_account_manager_uri">
                                        <property name="visible">True</property>
                                        <property name="can_focus">True</property>
                                      </object>
                                      <packing>
                                        <property name="pack_type">end</property>
                                      </packing>
                                    </child>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkButtonBox">
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkButton" id="button_account_manager_connect_previous">
                        <property name="label" translatable="yes">Previous</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="halign">start</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="button_account_manager_connect_next">
                        <property name="label" translatable="yes">Next</property>
                        <property name="sensitive">False</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="halign">end</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <!-- end account wizard -->
aviau's avatar
aviau committed
1104 1105 1106 1107 1108 1109 1110 1111 1112
          </object>
        </child>
      </object>
      <packing>
        <property name="expand">True</property>
      </packing>
    </child>
  </template>
</interface>