aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-08-22 04:25:14 +0800
committerIain Holmes <iain@src.gnome.org>2001-08-22 04:25:14 +0800
commitac60c7f9c906c3cd8e8597ebec9d0194f0409983 (patch)
tree09e828c618710a3b21b4eb38de220ed5065ef52d
parentbf7641addc17fd43a6f04be6a7a34bfa297e5544 (diff)
downloadgsoc2013-evolution-ac60c7f9c906c3cd8e8597ebec9d0194f0409983.tar
gsoc2013-evolution-ac60c7f9c906c3cd8e8597ebec9d0194f0409983.tar.gz
gsoc2013-evolution-ac60c7f9c906c3cd8e8597ebec9d0194f0409983.tar.bz2
gsoc2013-evolution-ac60c7f9c906c3cd8e8597ebec9d0194f0409983.tar.lz
gsoc2013-evolution-ac60c7f9c906c3cd8e8597ebec9d0194f0409983.tar.xz
gsoc2013-evolution-ac60c7f9c906c3cd8e8597ebec9d0194f0409983.tar.zst
gsoc2013-evolution-ac60c7f9c906c3cd8e8597ebec9d0194f0409983.zip
Show an error dialog when the Evolution Mailer Wizard interface cannot be created
svn path=/trunk/; revision=12354
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell-startup-wizard.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index c8685b82c0..beb7c5b744 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-21 Iain Holmes <iain@ximian.com>
+
+ * e-shell-startup-wizard.c (make_mail_dialog_pages): Show an error
+ window if mailer doesn't respond.
+
2001-08-21 Ettore Perazzoli <ettore@ximian.com>
* e-shell-folder-title-bar.c (label_realize_callback): Fix a leak:
diff --git a/shell/e-shell-startup-wizard.c b/shell/e-shell-startup-wizard.c
index ab10f921cf..2c36a1eafc 100644
--- a/shell/e-shell-startup-wizard.c
+++ b/shell/e-shell-startup-wizard.c
@@ -124,6 +124,8 @@ make_mail_dialog_pages (SWData *data)
CORBA_exception_init (&ev);
data->mailer = oaf_activate_from_id ("OAFIID:GNOME_Evolution_Mail_Wizard", 0, NULL, &ev);
if (BONOBO_EX (&ev)) {
+ e_notice (NULL, GNOME_MESSAGE_BOX_ERROR,
+ _("Could not start the Evolution Mailer Wizard interface\n%s"), CORBA_exception_id (&ev));
g_warning ("Could not start mailer (%s)", CORBA_exception_id (&ev));
CORBA_exception_free (&ev);
return;
@@ -131,7 +133,8 @@ make_mail_dialog_pages (SWData *data)
CORBA_exception_free (&ev);
if (data->mailer == CORBA_OBJECT_NIL) {
- g_warning ("Could not activate mailer.");
+ e_notice (NULL, GNOME_MESSAGE_BOX_ERROR,
+ _("Cannot initialize the Evolution Mailer Wizard interface"));
return;
}