aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser-factory.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/folder-browser-factory.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/folder-browser-factory.c')
-rw-r--r--mail/folder-browser-factory.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index e941e54197..31d270e708 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -220,11 +220,9 @@ folder_browser_factory (BonoboGenericFactory *factory, void *closure)
if (warning_result)
folder_browser = gtk_label_new ("This should be the mail component");
- else {
+ else
folder_browser = folder_browser_new ();
- folder_browser_set_uri (FOLDER_BROWSER (folder_browser), "inbox");
- }
-
+
if (folder_browser == NULL)
return NULL;