aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-09 04:00:46 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-09 04:00:46 +0800
commitcc28f482cc2f14926ccf6dfd4db970a167063516 (patch)
treeb140f723601c97f89d7abb37b7102e1dfa4dbbb1 /mail/mail-account-gui.c
parent600e79999475e13edd019bd868249146ab949fd2 (diff)
downloadgsoc2013-evolution-cc28f482cc2f14926ccf6dfd4db970a167063516.tar.gz
gsoc2013-evolution-cc28f482cc2f14926ccf6dfd4db970a167063516.tar.zst
gsoc2013-evolution-cc28f482cc2f14926ccf6dfd4db970a167063516.zip
Re-added the config wizard interfaces. Ettore accidently removed them
2002-04-08 Jeffrey Stedfast <fejj@ximian.com> * GNOME_Evolution_Mail.oaf.in: Re-added the config wizard interfaces. Ettore accidently removed them thinking they were duplicates of the new mail-config interfaces. * mail-config.glade: Remove the OK, Apply, Cancel buttons from the keyboard shortcut tab in the composer_prefs dialog. * mail-account-gui.c: No need to check gui->source before using gui->source->url, since gui->source *has* to exist. svn path=/trunk/; revision=16391
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r--mail/mail-account-gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index fac9966137..04047339f7 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -1826,14 +1826,14 @@ mail_account_gui_save (MailAccountGui *gui)
account->id->name = e_utf8_gtk_entry_get_text (gui->full_name);
account->id->address = e_utf8_gtk_entry_get_text (gui->email_address);
account->id->organization = e_utf8_gtk_entry_get_text (gui->organization);
-
+
sig_set_and_write (gui);
-
+
old_enabled = account->source && account->source->enabled;
service_destroy (account->source);
account->source = g_new0 (MailConfigService, 1);
save_service (&gui->source, gui->extra_config, account->source);
- if (account->source && account->source->url) {
+ if (account->source->url) {
provider = camel_session_get_provider (session, account->source->url, NULL);
source_url = provider ? camel_url_new (account->source->url, NULL) : NULL;