diff options
author | Michael Meeks <michael@helixcode.com> | 2000-11-28 03:06:26 +0800 |
---|---|---|
committer | Michael Meeks <mmeeks@src.gnome.org> | 2000-11-28 03:06:26 +0800 |
commit | f0770f394c98335e3944a4d2af7fea7fbccf6200 (patch) | |
tree | a702355f65d84c9d5deaf6833bf05b756b359dd0 /shell/e-shell.c | |
parent | 54f0a66dc33f62ce0ce6b3f2274915995e3871d3 (diff) | |
download | gsoc2013-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
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ } |