From f0770f394c98335e3944a4d2af7fea7fbccf6200 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 27 Nov 2000 19:06:26 +0000 Subject: de-register a component's UI if it dies. 2000-11-15 Michael Meeks * e-shell.c (e_shell_component_maybe_crashed): de-register a component's UI if it dies. svn path=/trunk/; revision=6680 --- shell/e-shell.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shell/e-shell.c') 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 */ } -- cgit v1.2.3