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
This commit is contained in:
Michael Meeks
2000-11-27 19:06:26 +00:00
committed by Michael Meeks
parent 54f0a66dc3
commit f0770f394c
2 changed files with 10 additions and 0 deletions

View File

@ -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.

View File

@ -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 */
}