Commit af7d6bbf authored by aviau's avatar aviau Committed by gerrit2

New account creation wizard standardization

Adapt to the terminilogy that was decided for all clients:
 - displayName: Full Name
 - blockchain username: Username

Changed buttons order:
 1. Create Account
 2. Link account

Add question mark next to register username checkbox so that the tooltip
is easier to find.

Add question mark and tooltip next to "choose password" label.

Split first page of account creation wizard into two distinct
categories: Ring Account and Profile.

Tuleap: #1296
Change-Id: Ia70e638ccd2462f6123800c71a2fea07ca0552df
parent 407dc41a
......@@ -81,7 +81,6 @@ struct _AccountCreationWizardPrivate
/* account creation */
GtkWidget *account_creation;
GtkWidget *vbox_account_creation_entry;
GtkWidget *entry_username;
GtkWidget *entry_password;
GtkWidget *entry_password_confirm;
......@@ -183,7 +182,6 @@ account_creation_wizard_class_init(AccountCreationWizardClass *klass)
/* account creation */
gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), AccountCreationWizard, account_creation);
gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), AccountCreationWizard, vbox_account_creation_entry);
gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), AccountCreationWizard, entry_password);
gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), AccountCreationWizard, entry_password_confirm);
gtk_widget_class_bind_template_child_private(GTK_WIDGET_CLASS (klass), AccountCreationWizard, button_account_creation_next);
......@@ -641,8 +639,6 @@ build_creation_wizard_view(AccountCreationWizard *view, gboolean show_cancel_but
else
gtk_entry_set_text(GTK_ENTRY(priv->entry_display_name), user_name);
gtk_entry_set_placeholder_text(GTK_ENTRY(priv->entry_username), user_name);
/* cancel button */
gtk_widget_set_visible(priv->button_wizard_cancel, show_cancel_button);
......
......@@ -316,7 +316,7 @@ build_tab_view(AccountGeneralTab *view)
gtk_grid_attach(GTK_GRID(priv->grid_account), entry_username, 1, grid_row, 1, 1);
++grid_row;
label = gtk_label_new("Ring username");
label = gtk_label_new(_("Username"));
gtk_widget_set_halign(label, GTK_ALIGN_START);
gtk_grid_attach(GTK_GRID(priv->grid_account), label, 0, grid_row, 1, 1);
auto username_registration_box = username_registration_box_new(priv->account, TRUE);
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment