From b04bd957c79358e009caf31dafee3889e1ec6492 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 25 Mar 2003 15:48:33 +0000 Subject: Update for e_notice move. Likewise Likewise Likewise Likewise Likewise * e-folder-dnd-bridge.c: Update for e_notice move. * e-setup.c: Likewise * e-shell-folder-commands.c: Likewise * e-shell-folder-creation-dialog.c: Likewise * e-shell-offline-sync.c: Likewise * e-shell-shared-folder-picker-dialog.c: Likewise * e-shell-view-menu.c: Likewise * e-shell.c: Likewise * evolution-shell-component-utils.c: Likewise * Makefile.am (libeshell_la_LIBADD): libeshell depends on libeutil. * e-corba-storage.c: Fix warnings svn path=/trunk/; revision=20500 --- shell/e-shell.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'shell/e-shell.c') diff --git a/shell/e-shell.c b/shell/e-shell.c index 69c959fbcb..687d34e708 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -73,7 +73,6 @@ #include #include -#include #include #include @@ -172,7 +171,7 @@ pop_up_activation_error_dialog (ESplash *splash, char *error_message; error_message = e_get_activation_failure_msg (ev); - e_notice (GTK_WINDOW (splash), GTK_MESSAGE_ERROR, + e_notice (splash, GTK_MESSAGE_ERROR, _("Cannot activate component %s :\n" "The error from the activation system is:\n" "%s"), @@ -1761,7 +1760,6 @@ e_shell_component_maybe_crashed (EShell *shell, EShellView *shell_view) { EShellPrivate *priv; - GtkWindow *parent_window; EvolutionShellComponentClient *component; GList *p; @@ -1802,12 +1800,7 @@ e_shell_component_maybe_crashed (EShell *shell, priv->crash_type_names = g_list_prepend (priv->crash_type_names, g_strdup (type_name)); - if (shell_view == NULL) - parent_window = NULL; - else - parent_window = GTK_WINDOW (shell_view); - - e_notice (parent_window, GTK_MESSAGE_ERROR, + e_notice (shell_view, GTK_MESSAGE_ERROR, _("The Evolution component that handles folders of type \"%s\"\n" "has unexpectedly quit. You will need to quit Evolution and restart\n" "in order to access that data again."), -- cgit