aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index f93856db46..ff86a595eb 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2001-10-26 Ettore Perazzoli <ettore@ximian.com>
+ * e-shell.c (destroy): Set ->is_initialized to %FALSE.
+ (e_shell_unregister_all): Same here.
+
+2001-10-26 Ettore Perazzoli <ettore@ximian.com>
+
* e-shell-importer.c (prepare_intelligent_page):
gtk_widget_show_now() the dialog.
* e-shell-startup-wizard.c (prepare_importer_page): Likewise.
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 017ee41901..e34f976a99 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -906,6 +906,8 @@ destroy (GtkObject *object)
shell = E_SHELL (object);
priv = shell->priv;
+ priv->is_initialized = FALSE;
+
e_shell_disconnect_db (shell);
if (priv->iid != NULL)
@@ -1852,6 +1854,8 @@ e_shell_unregister_all (EShell *shell)
priv = shell->priv;
+ priv->is_initialized = FALSE;
+
gtk_object_unref (GTK_OBJECT (priv->component_registry));
priv->component_registry = NULL;
}