aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/e-shell-view.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 31b5ca076c..5066c3d790 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,9 @@
+2001-01-25 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-shell-view.c (e_shell_view_construct): Connect the
+ "updated_folder" with `gtk_signal_connect_while_alive()' so that
+ it gets disconnected when the shell view dies.
+
2001-01-24 Jason Leach <jasonleach@usa.net>
(Fix #1252: Need a File->Close way to close a view)
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index b8b3aad980..27759f2fb1 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -938,8 +938,8 @@ e_shell_view_construct (EShellView *shell_view,
priv->shell = shell;
- gtk_signal_connect (GTK_OBJECT (e_shell_get_storage_set (priv->shell)), "updated_folder",
- updated_folder_cb, shell_view);
+ gtk_signal_connect_while_alive (GTK_OBJECT (e_shell_get_storage_set (priv->shell)), "updated_folder",
+ updated_folder_cb, shell_view, GTK_OBJECT (shell_view));
container = bonobo_ui_container_new ();
bonobo_ui_container_set_win (container, BONOBO_WINDOW (shell_view));