aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index b86f0a2198..7e158e5476 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -32,6 +32,7 @@
#include "e-util/e-dialog-utils.h"
#include "e-util/e-bconf-map.h"
#include "e-util/e-fsutils.h"
+#include "e-util/e-passwords.h"
#include "widgets/misc/e-error.h"
#include "e-shell-constants.h"
@@ -287,6 +288,9 @@ impl_Shell_setLineStatus (PortableServer_Servant servant,
bonobo_object = bonobo_object_from_servant (servant);
shell = E_SHELL (bonobo_object);
+ /* let the password manager know out online status */
+ e_passwords_set_online(online);
+
if (online)
e_shell_go_online (shell, NULL);
else
@@ -661,6 +665,8 @@ e_shell_construct (EShell *shell,
g_assert_not_reached ();
}
+ e_passwords_set_online(start_online);
+
if (start_online)
e_shell_go_online (shell, NULL);