aboutsummaryrefslogtreecommitdiffstats
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
parentbd7a7a7bb93234e0a8ccfa6776cf8e6e7b3ecadf (diff)
downloadgsoc2013-evolution-4a0b4b24d0fa8fcb79500a4125fbfcaea9d69e0c.tar
gsoc2013-evolution-4a0b4b24d0fa8fcb79500a4125fbfcaea9d69e0c.tar.gz
gsoc2013-evolution-4a0b4b24d0fa8fcb79500a4125fbfcaea9d69e0c.tar.bz2
gsoc2013-evolution-4a0b4b24d0fa8fcb79500a4125fbfcaea9d69e0c.tar.lz
gsoc2013-evolution-4a0b4b24d0fa8fcb79500a4125fbfcaea9d69e0c.tar.xz
gsoc2013-evolution-4a0b4b24d0fa8fcb79500a4125fbfcaea9d69e0c.tar.zst
gsoc2013-evolution-4a0b4b24d0fa8fcb79500a4125fbfcaea9d69e0c.zip
Report errors in the dialog
svn path=/trunk/; revision=12611
-rw-r--r--shell/ChangeLog4
-rw-r--r--shell/e-shell-importer.c2
2 files changed, 6 insertions, 0 deletions
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 <iain@ximian.com>
+
+ * e-shell-importer.c (start_importer): Report errors in a dialog
+
2001-09-04 Ettore Perazzoli <ettore@ximian.com>
* 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 ())