aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-05-07 11:15:22 +0800
committerDan Winship <danw@src.gnome.org>2000-05-07 11:15:22 +0800
commit58837630600292086b88a1994328d2908bc29b4d (patch)
treecaf51be65989d6ff74777b739f0002a78452b095 /mail/mail-config.c
parentfcaa6565ec3885f3e2b537d2a0c5aa449378d1fb (diff)
downloadgsoc2013-evolution-58837630600292086b88a1994328d2908bc29b4d.tar
gsoc2013-evolution-58837630600292086b88a1994328d2908bc29b4d.tar.gz
gsoc2013-evolution-58837630600292086b88a1994328d2908bc29b4d.tar.bz2
gsoc2013-evolution-58837630600292086b88a1994328d2908bc29b4d.tar.lz
gsoc2013-evolution-58837630600292086b88a1994328d2908bc29b4d.tar.xz
gsoc2013-evolution-58837630600292086b88a1994328d2908bc29b4d.tar.zst
gsoc2013-evolution-58837630600292086b88a1994328d2908bc29b4d.zip
Don't hardcode "inbox" here.
* folder-browser-factory.c (folder_browser_factory): Don't hardcode "inbox" here. * folder-browser.c (folder_browser_set_uri): Don't hardcode "inbox" here either. (folder_browser_load_folder): Create a new store according to the folder browser's URI, and load the mbox file from that store. Parts of this are temporary. * session.c, mail.h: There is no longer a global store, just a global session. * mail-config.c, mail-ops.c: Update for default_session -> session change. fetch_mail is currently broken. svn path=/trunk/; revision=2853
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 869ed58ee4..50444b34e9 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -435,8 +435,7 @@ autodetect_cb (GtkWidget *button, GtkObject *table)
url = get_service_url (table);
ex = camel_exception_new ();
- service = camel_session_get_service (default_session->session,
- url, type, ex);
+ service = camel_session_get_service (session, url, type, ex);
g_free (url);
if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE)
goto error;
@@ -794,8 +793,7 @@ add_service (GList *services, CamelProviderType type, CamelProvider *prov)
ex = camel_exception_new ();
url = g_strdup_printf ("%s:", prov->protocol);
- service = camel_session_get_service (default_session->session,
- url, type, ex);
+ service = camel_session_get_service (session, url, type, ex);
g_free (url);
if (!service) {
camel_exception_free (ex);
@@ -893,8 +891,7 @@ mail_config_druid (void)
GdkImlibImage *source_logo, *transport_logo;
/* Fetch list of all providers. */
- providers = camel_session_list_providers (default_session->session,
- TRUE);
+ providers = camel_session_list_providers (session, TRUE);
sources = transports = NULL;
for (p = providers; p; p = p->next) {
CamelProvider *prov = p->data;