aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Meeks <michael@helixcode.com>2000-11-28 03:06:26 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-11-28 03:06:26 +0800
commitf0770f394c98335e3944a4d2af7fea7fbccf6200 (patch)
treea702355f65d84c9d5deaf6833bf05b756b359dd0
parent54f0a66dc33f62ce0ce6b3f2274915995e3871d3 (diff)
downloadgsoc2013-evolution-f0770f394c98335e3944a4d2af7fea7fbccf6200.tar
gsoc2013-evolution-f0770f394c98335e3944a4d2af7fea7fbccf6200.tar.gz
gsoc2013-evolution-f0770f394c98335e3944a4d2af7fea7fbccf6200.tar.bz2
gsoc2013-evolution-f0770f394c98335e3944a4d2af7fea7fbccf6200.tar.lz
gsoc2013-evolution-f0770f394c98335e3944a4d2af7fea7fbccf6200.tar.xz
gsoc2013-evolution-f0770f394c98335e3944a4d2af7fea7fbccf6200.tar.zst
gsoc2013-evolution-f0770f394c98335e3944a4d2af7fea7fbccf6200.zip
de-register a component's UI if it dies.
2000-11-15 Michael Meeks <michael@helixcode.com> * e-shell.c (e_shell_component_maybe_crashed): de-register a component's UI if it dies. svn path=/trunk/; revision=6680
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 405f6920ff..5c2b86fa16 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-15 Michael Meeks <michael@helixcode.com>
+
+ * e-shell.c (e_shell_component_maybe_crashed): de-register
+ a component's UI if it dies.
+
2000-11-25 Peter Williams <peterw@helixcode.com>
* Makefile.am (idldir): Install our IDL's into $(datadir)/idl.
diff --git a/shell/e-shell.c b/shell/e-shell.c
index b067514226..a577635bb1 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -1160,6 +1160,11 @@ e_shell_component_maybe_crashed (EShell *shell,
_("Ooops! The view for `%s' have died unexpectedly. :-(\n"
"This probably means that the %s component has crashed."),
uri, type_name);
+
+ if (shell_view)
+ bonobo_window_deregister_dead_components (BONOBO_WINDOW (shell_view));
+
+ /* FIXME: we should probably re-start the component here */
}