diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-11-08 20:05:26 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-11-08 20:23:36 +0800 |
commit | af1d412eed6cf20810c5b3fa49a3c31676dbbeb0 (patch) | |
tree | 34ce4c86ee54fbd6d0b2429e1150f68c842f68c3 /mail | |
parent | ff4b5adc978fa6fc8d60427c59c10bdfa60f59e7 (diff) | |
download | gsoc2013-evolution-af1d412eed6cf20810c5b3fa49a3c31676dbbeb0.tar.gz gsoc2013-evolution-af1d412eed6cf20810c5b3fa49a3c31676dbbeb0.tar.zst gsoc2013-evolution-af1d412eed6cf20810c5b3fa49a3c31676dbbeb0.zip |
EMailConfigAssistant: Make revising auto-configuration easier.
After providing a name and email address on the Identity page, the user
clicks Forward and auto-configuration runs. If successful, it jumps to
the Account Summary page showing a table of auto-configured settings.
If the user wants to go back and revise auto-configured settings, he
would click Go Back to return to the Identity Page, then click Forward
again to go to Receiving Email (since auto-coniguration only runs once).
But this is confusing. It's not clear that clicking Forward from the
Identity Page will behave differently after auto-configuration has run.
Instead, clicking Go Back from the Summary Page after auto-configuration
should return to the Receiving Email page where IMAP/POP settings can be
modified.
This behavior combined with the GtkAssistant navigation sidebar should
hopefully make it less confusing.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-config-assistant.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/e-mail-config-assistant.c b/mail/e-mail-config-assistant.c index 9fc48db6fc..7caa43fea2 100644 --- a/mail/e-mail-config-assistant.c +++ b/mail/e-mail-config-assistant.c @@ -306,6 +306,11 @@ mail_config_assistant_autoconfigure_cb (GObject *source_object, email_address = e_mail_autoconfig_get_email_address (autoconfig); e_source_set_display_name (priv->identity_source, email_address); + /* Go to the next page (Receiving Email) before skipping to the + * Summary Page to get it into GtkAssistant visited page history. + * We want the back button to return to Receiving Email. */ + gtk_assistant_next_page (context->assistant); + /* XXX Can't find a better way to learn the page number of * the summary page. Oh my god this API is horrible. */ n_pages = gtk_assistant_get_n_pages (context->assistant); |