From 4a0b4b24d0fa8fcb79500a4125fbfcaea9d69e0c Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Tue, 4 Sep 2001 23:11:18 +0000 Subject: Report errors in the dialog svn path=/trunk/; revision=12611 --- shell/ChangeLog | 4 ++++ shell/e-shell-importer.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/shell/ChangeLog b/shell/ChangeLog index 1631f2e74a..38cda220cc 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,7 @@ +2001-09-04 Iain Holmes + + * e-shell-importer.c (start_importer): Report errors in a dialog + 2001-09-04 Ettore Perazzoli * e-activity-handler.c (impl_operationProgressing): Just ignore diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c index e28a339191..0c82f91989 100644 --- a/shell/e-shell-importer.c +++ b/shell/e-shell-importer.c @@ -415,6 +415,8 @@ start_import (const char *folderpath, if (evolution_importer_client_load_file (icd->client, filename, folderpath) == FALSE) { label = g_strdup_printf (_("Error loading %s"), filename); + e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, label); + gtk_label_set_text (GTK_LABEL (icd->contents), label); g_free (label); while (gtk_events_pending ()) -- cgit v1.2.3