diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-11-04 02:55:41 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-11-04 02:55:41 +0800 |
commit | 1cb19b5a1b927467589f3b0700c80d74669f8735 (patch) | |
tree | bbd4c096a8de075c2573a49ec002d1fc86baf2de /mail/session.c | |
parent | 19983a967556879fb9947c4319dbc9250a304168 (diff) | |
download | gsoc2013-evolution-1cb19b5a1b927467589f3b0700c80d74669f8735.tar.gz gsoc2013-evolution-1cb19b5a1b927467589f3b0700c80d74669f8735.tar.zst gsoc2013-evolution-1cb19b5a1b927467589f3b0700c80d74669f8735.zip |
Added new header files.
2000-11-03 Jeffrey Stedfast <fejj@helixcode.com>
* Makefile.am: Added new header files.
* component-factory.c (owner_set_cb):
s/session_init/mail_session_init
* session.c: Renamed public functions to mail_session_*.
FIXME: Rename session.c to mail-session.c
* folder-browser-factory.c: #include "mail-callbacks.h", #include
"mail-session.h" and replace forget_passwords with
mail_session_forget_passwords
* mail.h: Move session prototypes to mail-session.h, Move
mail-crypto prototypes to mail-crypto.h, Move mail-callback
prototypes to mail-callbacks.h
* mail-session.h: New header file containing public prototypes
for session.c
* mail-format.c: #include "mail-crypto.h"
* mail-view.c:
* folder-browser.c: #include "mail-callbacks.h"
* mail-crypto.h: New header file containing public prototypes
for mail-crypto.c
* mail-callbacks.h: New header file containing public prototypes
for mail-callbacks.c
* message-list.c (message_list_get_layout): Set useful defaults.
(message_list_setup_etable): Don't set the Outbox defaults on a
folder just because it doesn't have a corresponding saved file.
svn path=/trunk/; revision=6372
Diffstat (limited to 'mail/session.c')
-rw-r--r-- | mail/session.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/mail/session.c b/mail/session.c index 54243bc731..6bcfc96404 100644 --- a/mail/session.c +++ b/mail/session.c @@ -1,5 +1,5 @@ /* - * session.c: handles the session information and resource manipulation + * mail-session.c: handles the session information and resource manipulation * * Author: * Miguel de Icaza (miguel@gnu.org) @@ -9,6 +9,7 @@ #include <config.h> #include <gnome.h> #include "mail.h" +#include "mail-session.h" #include "mail-threads.h" CamelSession *session; @@ -26,8 +27,8 @@ request_callback (gchar *string, gpointer data) } char * -mail_request_dialog (const char *prompt, gboolean secret, const char *key, - gboolean async) +mail_session_request_dialog (const char *prompt, gboolean secret, const char *key, + gboolean async) { GtkWidget *dialog; @@ -90,7 +91,7 @@ auth_callback (CamelAuthCallbackMode mode, char *data, gboolean secret, return NULL; } - ans = mail_request_dialog (data, secret, key, TRUE); + ans = mail_session_request_dialog (data, secret, key, TRUE); g_free (key); if (!ans) { @@ -187,7 +188,7 @@ remove_callback (guint handle) /* ******************** */ void -session_init (void) +mail_session_init (void) { char *camel_dir; @@ -208,7 +209,8 @@ free_entry (gpointer key, gpointer value, gpointer user_data) } void -forget_passwords (BonoboUIComponent *uih, void *user_data, const char *path) +mail_session_forget_passwords (BonoboUIComponent *uih, void *user_data, + const char *path) { g_hash_table_foreach_remove (passwords, free_entry, NULL); } |