| <?xml version="1.0" encoding="UTF-8"?> |
| <interface> |
| <requires lib="gtk+" version="3.10"/> |
| <template class="AccountCreationWizard" parent="GtkBox"> |
| <child> |
| <object class="GtkBox"> |
| <property name="visible">True</property> |
| <property name="orientation">vertical</property> |
| <property name="spacing">15</property> |
| <property name="valign">center</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="hbox_account_creation_title"> |
| <property name="visible">True</property> |
| <property name="halign">center</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="expand">False</property> |
| <property name="fill">True</property> |
| <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> |
| <child> |
| <object class="GtkButton" id="button_existing_account"> |
| <property name="label" translatable="yes">Existing Ring account</property> |
| <property name="tooltip_text" translatable="yes">Import a Ring account created on another device</property> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| </object> |
| </child> |
| <child> |
| <object class="GtkButton" id="button_new_account"> |
| <property name="label" translatable="yes">New Ring account</property> |
| <property name="tooltip_text" translatable="yes">Create a new Ring account (for new users)</property> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| </object> |
| </child> |
| <child> |
| <object class="GtkButton" id="button_wizard_cancel"> |
| <property name="label" translatable="yes">Cancel</property> |
| <property name="can_focus">True</property> |
| </object> |
| </child> |
| </object> |
| </child> |
| </object> |
| </child> |
| <!-- End Choose account type wizard --> |
| <!-- Existing account wizard --> |
| <child> |
| <object class="GtkBox" id="existing_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="GtkBox" id="vbox_existing_account_entry"> |
| <property name="visible">True</property> |
| <property name="valign">center</property> |
| <property name="orientation">vertical</property> |
| <property name="spacing">10</property> |
| <child> |
| <object class="GtkLabel"> |
| <property name="visible">True</property> |
| <property name="label" translatable="yes">Enter your pin:</property> |
| </object> |
| </child> |
| <child> |
| <object class="GtkEntry" id="entry_existing_account_pin"> |
| <property name="halign">center</property> |
| <property name="width-chars">40</property> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| <property name="can_default">True</property> |
| <property name="has_default">True</property> |
| <property name="xalign">0.5</property> |
| <property name="primary_icon_stock">gtk-dialog-authentication</property> |
| <property name="input_purpose">password</property> |
| </object> |
| </child> |
| <child> |
| <object class="GtkLabel"> |
| <property name="visible">True</property> |
| <property name="label" translatable="yes">Enter your password:</property> |
| </object> |
| </child> |
| <child> |
| <object class="GtkEntry" id="entry_existing_account_password"> |
| <property name="halign">center</property> |
| <property name="width-chars">40</property> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| <property name="can_default">True</property> |
| <property name="has_default">True</property> |
| <property name="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> |
| </child> |
| </object> |
| </child> |
| <child> |
| <object class="GtkButtonBox"> |
| <property name="visible">True</property> |
| <child> |
| <object class="GtkButton" id="button_existing_account_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_existing_account_next"> |
| <property name="label" translatable="yes">Next</property> |
| <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">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_entry"> |
| <property name="visible">True</property> |
| <property name="valign">center</property> |
| <property name="orientation">vertical</property> |
| <property name="spacing">10</property> |
| <child> |
| <object class="GtkLabel" id="label_enter_alias"> |
| <property name="visible">True</property> |
| <property name="label" translatable="yes">Choose your avatar, username, and password:</property> |
| </object> |
| <packing> |
| <!-- nicoo, check if packing is needed --> |
| <property name="expand">False</property> |
| <property name="fill">True</property> |
| <property name="position">0</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkBox" id="box_avatarselection"> |
| <property name="visible">True</property> |
| <property name="halign">center</property> |
| <property name="valign">center</property> |
| <property name="orientation">vertical</property> |
| <child> |
| <placeholder/> |
| </child> |
| </object> |
| <packing> |
| <property name="expand">False</property> |
| <property name="fill">False</property> |
| <property name="position">1</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkEntry" id="entry_alias"> |
| <property name="halign">center</property> |
| <property name="width-chars">40</property> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| <property name="can_default">True</property> |
| <property name="has_default">True</property> |
| <property name="xalign">0.5</property> |
| </object> |
| <packing> |
| <property name="expand">False</property> |
| <property name="fill">True</property> |
| <property name="position">2</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkLabel" id="label_enter_password"> |
| <property name="visible">True</property> |
| <property name="label" translatable="yes">Password (confirm):</property> |
| </object> |
| <packing> |
| <property name="expand">False</property> |
| <property name="fill">True</property> |
| <property name="position">3</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkLabel" id="label_password_error"> |
| <property name="visible">False</property> |
| <property name="use_markup">True</property> |
| <property name="label" translatable="yes">Passwords don't match</property> |
| <attributes> |
| <attribute name="weight" value="bold"/> |
| </attributes> |
| </object> |
| <packing> |
| <property name="position">4</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkEntry" id="entry_password"> |
| <property name="halign">center</property> |
| <property name="width-chars">40</property> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| <property name="can_default">True</property> |
| <property name="has_default">True</property> |
| <property name="xalign">0.5</property> |
| <property name="visibility">False</property> |
| <property name="primary_icon_stock">gtk-dialog-authentication</property> |
| <property name="input_purpose">password</property> |
| </object> |
| <packing> |
| <property name="expand">False</property> |
| <property name="fill">True</property> |
| <property name="position">5</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkEntry" id="entry_password_confirm"> |
| <property name="halign">center</property> |
| <property name="width-chars">40</property> |
| <property name="visible">True</property> |
| <property name="can_focus">True</property> |
| <property name="can_default">True</property> |
| <property name="has_default">True</property> |
| <property name="xalign">0.5</property> |
| <property name="visibility">False</property> |
| <property name="primary_icon_stock">gtk-dialog-authentication</property> |
| <property name="input_purpose">password</property> |
| </object> |
| <packing> |
| <property name="expand">False</property> |
| <property name="fill">True</property> |
| <property name="position">6</property> |
| </packing> |
| </child> |
| <child> |
| <object class="GtkLabel" id="label_default_name"> |
| <property name="visible">False</property> |
| <property name="label" translatable="yes">Username will be set to "Unknown" if left empty.</property> |
| <style> |
| <class name="dim-label"/> |
| </style> |
| </object> |
| </child> |
| <!-- this placeholder lable is just used to take up space while the above label in hidden --> |
| <child> |
| <object class="GtkLabel" id="label_paceholder"> |
| <property name="visible">True</property> |
| </object> |
| </child> |
| </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> |
| <property name="label" translatable="yes">Generating your Ring account...</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 --> |
| <!-- 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 Ring 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="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">Error creating/loading account.</property> |
| </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> |
| </object> |
| </child> |
| </object> |
| </child> |
| <!-- End error view --> |
| </object> |
| </child> |
| </object> |
| <packing> |
| <property name="expand">True</property> |
| <property name="fill">True</property> |
| </packing> |
| </child> |
| </template> |
| </interface> |