aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-startup-wizard.c
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 /shell/e-shell-startup-wizard.c
parentbf7641addc17fd43a6f04be6a7a34bfa297e5544 (diff)
downloadgsoc2013-evolution-ac60c7f9c906c3cd8e8597ebec9d0194f0409983.tar.gz
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
Diffstat (limited to 'shell/e-shell-startup-wizard.c')
-rw-r--r--shell/e-shell-startup-wizard.c5
1 files changed, 4 insertions, 1 deletions
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;
}