diff options
author | Chris Toshok <toshok@ximian.com> | 2001-10-13 06:28:04 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-10-13 06:28:04 +0800 |
commit | c90ced3180e92eaa690eef03b9b709f16030fa0c (patch) | |
tree | 7d53442b4c6523570946482526844aa95e22670e /mail/main.c | |
parent | 47d5ddd05759815a8a11d4083298e1b81bf02163 (diff) | |
download | gsoc2013-evolution-c90ced3180e92eaa690eef03b9b709f16030fa0c.tar.gz gsoc2013-evolution-c90ced3180e92eaa690eef03b9b709f16030fa0c.tar.zst gsoc2013-evolution-c90ced3180e92eaa690eef03b9b709f16030fa0c.zip |
call e_passwords_init and e_passwords_shutdown.
2001-10-12 Chris Toshok <toshok@ximian.com>
* main.c (main): call e_passwords_init and e_passwords_shutdown.
* mail-session.h: add prototypes for
mail_session_{get,add}_password.
* mail-session.c (init): empty this out - we use e_passwords
instead of a local hashtable.
(get_password): use e_passwords_get_password and
e_passwords_add_password.
(forget_password): use e_passwords_forget_password.
(mail_session_remember_password): use
e_passwords_remember_password.
(mail_session_forget_password): use e_passwords_forget_password.
(mail_session_get_password): new function, use
e_passwords_get_password.
(mail_session_add_password): same, use e_passwords_add_password.
(mail_session_forget_passwords): use e_passwords_forget_passwords.
* mail-config.c (mail_config_write_on_exit): fix this up so it
works as desired with the e_passwords stuff.
svn path=/trunk/; revision=13640
Diffstat (limited to 'mail/main.c')
-rw-r--r-- | mail/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/main.c b/mail/main.c index dc2042f19b..af3bd93e7c 100644 --- a/mail/main.c +++ b/mail/main.c @@ -29,6 +29,8 @@ #include <gal/widgets/e-cursors.h> #include <gal/widgets/e-unicode.h> +#include "e-util/e-passwords.h" + #include "component-factory.h" #include "composer/evolution-composer.h" #include "mail.h" @@ -125,6 +127,8 @@ main (int argc, char *argv []) e_cursors_init (); + e_passwords_init ("Mail"); + mail_config_init (); mail_msg_init (); @@ -146,5 +150,7 @@ main (int argc, char *argv []) mail_config_write_on_exit (); + e_passwords_shutdown (); + return 0; } |