aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-08-30 12:32:07 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-08-30 12:32:07 +0800
commit9262d7ff7f0707cfaf74287d5c4dd10424f122bd (patch)
tree9f59dd5cec85b14987f665d1996492877c6f5c62 /shell/e-shell.c
parent5c9634578c184e4981b2d0d91aad695492e16bcc (diff)
downloadgsoc2013-evolution-9262d7ff7f0707cfaf74287d5c4dd10424f122bd.tar
gsoc2013-evolution-9262d7ff7f0707cfaf74287d5c4dd10424f122bd.tar.gz
gsoc2013-evolution-9262d7ff7f0707cfaf74287d5c4dd10424f122bd.tar.bz2
gsoc2013-evolution-9262d7ff7f0707cfaf74287d5c4dd10424f122bd.tar.lz
gsoc2013-evolution-9262d7ff7f0707cfaf74287d5c4dd10424f122bd.tar.xz
gsoc2013-evolution-9262d7ff7f0707cfaf74287d5c4dd10424f122bd.tar.zst
gsoc2013-evolution-9262d7ff7f0707cfaf74287d5c4dd10424f122bd.zip
** See bug #62856 (workaround only)
2004-08-27 Not Zed <NotZed@Ximian.com> ** See bug #62856 (workaround only) * e-shell.c (impl_Shell_setLineStatus, e_shell_construct): set the online state on e_passwords. svn path=/trunk/; revision=27075
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);