aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-importer.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-05 07:11:18 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-05 07:11:18 +0800
commit4a0b4b24d0fa8fcb79500a4125fbfcaea9d69e0c (patch)
tree7e92023dbcedf3aad4f59e547933127b2ccf077b /shell/e-shell-importer.c
parentbd7a7a7bb93234e0a8ccfa6776cf8e6e7b3ecadf (diff)
downloadgsoc2013-evolution-4a0b4b24d0fa8fcb79500a4125fbfcaea9d69e0c.tar.gz
gsoc2013-evolution-4a0b4b24d0fa8fcb79500a4125fbfcaea9d69e0c.tar.zst
gsoc2013-evolution-4a0b4b24d0fa8fcb79500a4125fbfcaea9d69e0c.zip
Report errors in the dialog
svn path=/trunk/; revision=12611
Diffstat (limited to 'shell/e-shell-importer.c')
-rw-r--r--shell/e-shell-importer.c2
1 files changed, 2 insertions, 0 deletions
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 ())