Make the shell pop-up a warning dialog per component when a component

crashes, instead of a warning dialog for each of the crashed views.

svn path=/trunk/; revision=6458
This commit is contained in:
Ettore Perazzoli
2000-11-06 22:18:29 +00:00
parent f2178aee93
commit 45cc7467da
4 changed files with 81 additions and 5 deletions

View File

@ -1163,10 +1163,10 @@ socket_destroy_cb (GtkWidget *socket_widget, gpointer data)
e_shell_view_display_uri (shell_view, NULL);
e_notice (GTK_WINDOW (shell_view), GNOME_MESSAGE_BOX_ERROR,
_("Ooops! The view for `%s' has died unexpectedly. :-(\n"
"This probably means that the %s component has crashed."),
uri, e_folder_get_type_string (folder));
e_shell_component_maybe_crashed (priv->shell,
uri,
e_folder_get_type_string (folder),
shell_view);
g_free (copy_of_uri);