<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.10"/>
  <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>
  <template class="AccountCreationWizard" parent="GtkScrolledWindow">
    <child>
      <object class="GtkScrolledWindow">
        <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>
                  <object class="GtkBox" id="vbox_account_creation_title">
                    <property name="visible">True</property>
                    <property name="halign">center</property>
                    <property name="valign">center</property>
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkLabel" id="label_welcome">
                        <property name="visible">True</property>
                        <property name="label" translatable="yes">Welcome to</property>
                        <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>
                    <property name="homogeneous">True</property>
                    <child>
                      <object class="GtkButton" id="button_new_account">
                        <property name="label" translatable="yes">Create a Jami account</property>
                        <property name="tooltip_text" translatable="yes">Create a new Jami account on this device (for new users)</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="button_new_rendezvous">
                        <property name="label" translatable="yes">Create a rendezvous point</property>
                        <property name="tooltip_text" translatable="yes">Create a Rendezvous point</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="button_import_from_device">
                        <property name="label" translatable="yes">Link this device to an existing account</property>
                        <property name="tooltip_text" translatable="yes">Import an account with your PIN generated on another device</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="button_import_from_backup">
                        <property name="label" translatable="yes">Restore an account from backup</property>
                        <property name="tooltip_text" translatable="yes">Import an account via your archive</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="button_show_advanced">
                        <property name="label" translatable="yes">Advanced features</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <style>
                          <class name="transparent-button"/>
                          <class name="black"/>
                        </style>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="button_connect_account_manager">
                        <property name="label" translatable="yes">Connect to a JAMS server</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>
                    <child>
                      <object class="GtkButton" id="button_new_sip_account">
                        <property name="label" translatable="yes">Add a SIP account</property>
                        <property name="visible">False</property>
                        <property name="can_focus">True</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <!-- End Choose account type wizard -->
            <!-- Import existing -->
            <child>
              <object class="GtkBox" id="existing_account">
                <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" id="existing_account_label">
                    <property name="visible">True</property>
                    <property name="halign">start</property>
                    <property name="can_focus">False</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>
                          <!-- Export label -->
                          <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>
                              <!-- Account archive -->
                              <object class="GtkListBoxRow" id="row_archive">
                                <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">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>
                              </object>
                            </child>

                            <child>
                              <!-- Label backup -->
                              <object class="GtkListBoxRow" id="row_backup_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">You can obtain an archive by clicking on "Backup account" in the account settings. This will create a .gz file on your device.</property>
                                      </object>
                                    </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_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>
                              </object>
                            </child>

                            <child>
                              <!-- PIN -->
                              <object class="GtkListBoxRow" id="row_pin">
                                <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_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>
                              </object>
                            </child>

                            <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">Enter the PIN from another configured Jami account. Use the "Link Another Device" feature to obtain a PIN.</property>
                                      </object>
                                    </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_import_from_back">
                        <property name="label" translatable="yes">Back</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_import_from_do">
                        <property name="visible">True</property>
                        <property name="sensitive">False</property>
                        <property name="can_focus">True</property>
                        <property name="halign">end</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <!-- End existing account wizard -->
            <!-- account creation wizard -->
            <child>
              <object class="GtkBox" id="account_creation">
                <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="GtkBox">
                    <property name="visible">True</property>
                    <property name="orientation">vertical</property>
                    <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>
                    <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="GtkBox">
                            <property name="visible">True</property>
                            <property name="orientation">vertical</property>
                            <property name="spacing">0</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="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>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </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>
                      <object class="GtkLabel">
                        <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>
                    <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>
                              <!-- Username -->
                              <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>
                                    <child>
                                      <object class="GtkLabel" id="label_register">
                                        <property name="visible">True</property>
                                        <property name="can_focus">False</property>
                                        <property name="label" translatable="yes">Register username</property>
                                        <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 ID, which is 40 characters long.</property>
                                      </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>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <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_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" id="label_username">
                                        <property name="visible">True</property>
                                        <property name="can_focus">False</property>
                                        <property name="margin_right">10</property>
                                      </object>
                                    </child>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <!-- Encrypt account with 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>
                                    <child>
                                      <object class="GtkLabel" id="label_encrypt">
                                        <property name="visible">True</property>
                                        <property name="can_focus">False</property>
                                        <property name="label" translatable="yes">Encrypt account with password</property>
                                        <property name="tooltip_text" translatable="yes">Choose a password to encrypt your account on this device.  Note that the password cannot be recovered.</property>
                                        <property name="margin_right">10</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkSwitch" id="switch_encrypt">
                                        <property name="active">False</property>
                                        <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>
                              <object class="GtkLabel" id="label_encrypt_info">
                                <property name="visible">False</property>
                                <property name="halign">start</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="can_focus">False</property>
                                <property name="label" translatable="yes">Choose a password to encrypt your account on this device.
Note that the password cannot be recovered.</property>
                                <style>
                                  <class name="smaller"/>
                                </style>
                              </object>
                            </child>
                            <child>
                              <!-- Password -->
                              <object class="GtkListBoxRow" id="row_password">
                                <property name="visible">False</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>
                                        <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>
                              </object>
                            </child>
                            <child>
                              <!-- Password confirm -->
                              <object class="GtkListBoxRow" id="row_password_confirm">
                                <property name="visible">False</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">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>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                    <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>
                  </object>
                </child>
                <child>
                  <object class="GtkButtonBox">
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkButton" id="button_account_creation_back">
                        <property name="label" translatable="yes">Back</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" id="generating_label">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                  </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 -->

            <!-- 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 -->

            <!-- 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>
                    <property name="label" translatable="yes">Registering username…</property>
                  </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 -->
            <!-- 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>
                    <property name="label" translatable="yes">Retrieving your Jami account…</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 retreiving account spinner -->
            <!-- Error view -->
            <child>
              <object class="GtkBox" id="error_view">
                <property name="visible">True</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="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">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </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>
                    <property name="halign">center</property>
                  </object>
                </child>
              </object>
            </child>
            <!-- End error view -->

            <!-- 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">Enter Jami Account Management Server (JAMS) URL</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>
                              <!-- 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">JAMS URL</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>
                            <child>
                              <object class="GtkLabel">
                                <property name="visible">True</property>
                                <property name="halign">start</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="can_focus">False</property>
                                <property name="label" translatable="yes">Enter your JAMS credentials</property>
                                <style>
                                  <class name="smaller"/>
                                </style>
                              </object>
                            </child>
                            <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>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkButtonBox">
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkButton" id="button_account_manager_connect_back">
                        <property name="label" translatable="yes">Back</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_connect">
                        <property name="label" translatable="yes">Connect</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 -->

            <!-- Add SIP account -->
            <child>
              <object class="GtkBox" id="box_add_sip_account">
                <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">Configure an existing SIP account</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>
                              <!-- SIP server -->
                              <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">Server</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkEntry" id="entry_add_sip_account_server">
                                        <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>
                              <!-- SIP proxy -->
                              <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">Proxy</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkEntry" id="entry_add_sip_account_proxy">
                                        <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>
                              <!-- SIP account 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_add_sip_account_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_add_sip_account_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>
                              <!-- SIP account 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_add_sip_account_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>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkButtonBox">
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkButton" id="button_add_sip_account_back">
                        <property name="label" translatable="yes">Back</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_add_sip_account_create">
                        <property name="label" translatable="yes">Create SIP account</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 -->
          </object>
        </child>
      </object>
      <packing>
        <property name="expand">True</property>
      </packing>
    </child>
  </template>
</interface>
