aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-druid.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-08-25 03:01:59 +0800
committerPeter Williams <peterw@src.gnome.org>2001-08-25 03:01:59 +0800
commit2fba11c88fa90dc7b34a1b191ca327f942c47150 (patch)
tree79595babb0fdfc8eacaab46dbb14e6ab06a4071f /mail/mail-config-druid.c
parente1843b9aa20c455aba336939bd861d46fcce4c15 (diff)
downloadgsoc2013-evolution-2fba11c88fa90dc7b34a1b191ca327f942c47150.tar
gsoc2013-evolution-2fba11c88fa90dc7b34a1b191ca327f942c47150.tar.gz
gsoc2013-evolution-2fba11c88fa90dc7b34a1b191ca327f942c47150.tar.bz2
gsoc2013-evolution-2fba11c88fa90dc7b34a1b191ca327f942c47150.tar.lz
gsoc2013-evolution-2fba11c88fa90dc7b34a1b191ca327f942c47150.tar.xz
gsoc2013-evolution-2fba11c88fa90dc7b34a1b191ca327f942c47150.tar.zst
gsoc2013-evolution-2fba11c88fa90dc7b34a1b191ca327f942c47150.zip
Instead of using the length of the shortcuts list as the index for the
2001-08-24 Peter Williams <peterw@ximian.com> * mail-config.c (add_shortcut_entry): Instead of using the length of the shortcuts list as the index for the shortcut, use -1, which means "last". * mail-config-druid.c (druid_finish): Remove the account adding stuff since that happens in wizard_finish now. * mail-config.c (add_new_storage): New function. Add a MailConfigAccount to the shell as a storage. (maybe_add_shortcut): Renamed to new_source_created. (new_source_created): Call add_new_storage here. * component-factory.c (mail_remove_storage_by_uri): Don't warn if the storage isn't remote... no point in making the caller do extra work. svn path=/trunk/; revision=12445
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r--mail/mail-config-druid.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index f5781cacb9..02834761c5 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -185,14 +185,6 @@ static void
druid_finish (GnomeDruidPage *page, gpointer arg1, gpointer user_data)
{
MailConfigDruid *druid = user_data;
- MailConfigAccount *account;
- GSList *mini;
-
- /* Load up this new account */
- account = gtk_object_get_data (GTK_OBJECT (account_wizard), "account-data");
- mini = g_slist_prepend (NULL, account);
- mail_load_storages (druid->shell, mini, TRUE);
- g_slist_free (mini);
gtk_object_set_data (GTK_OBJECT (account_wizard), "account-data", NULL);
gtk_widget_destroy (GTK_WIDGET (druid));