diff options
author | Dan Winship <danw@src.gnome.org> | 2000-05-07 11:15:22 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-05-07 11:15:22 +0800 |
commit | 58837630600292086b88a1994328d2908bc29b4d (patch) | |
tree | caf51be65989d6ff74777b739f0002a78452b095 /mail/mail.h | |
parent | fcaa6565ec3885f3e2b537d2a0c5aa449378d1fb (diff) | |
download | gsoc2013-evolution-58837630600292086b88a1994328d2908bc29b4d.tar.gz 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.h')
-rw-r--r-- | mail/mail.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/mail/mail.h b/mail/mail.h index cb41f3cc7e..60a3113f59 100644 --- a/mail/mail.h +++ b/mail/mail.h @@ -52,13 +52,5 @@ void delete_msg (GtkWidget *button, gpointer user_data); void expunge_folder (GtkWidget *button, gpointer user_data); /* session */ -typedef struct { - CamelSession *session; - CamelStore *store; -} SessionStore; - -SessionStore *session_store_new (const char *uri); -void session_store_destroy (SessionStore *ss); -void session_init (void); - -extern SessionStore *default_session; +void session_init (void); +extern CamelSession *session; |