aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell-importer.c10
2 files changed, 5 insertions, 10 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index fd5be3a1f1..34a6dd85cd 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-18 Rodrigo Moya <rodrigo@ximian.com>
+
+ * e-shell-importer.c (start_import): removed check for local folders,
+ so that we can import into non-local ones.
+
2002-07-18 Ettore Perazzoli <ettore@ximian.com>
* evolution-storage-set-view.c
diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c
index 01a61c6817..43cbee91a8 100644
--- a/shell/e-shell-importer.c
+++ b/shell/e-shell-importer.c
@@ -489,7 +489,6 @@ start_import (const char *folderpath,
ImporterComponentData *icd;
char *label;
char *real_iid;
- char *localpath;
struct stat buf;
if (stat (filename, &buf) == -1) {
@@ -502,15 +501,6 @@ start_import (const char *folderpath,
return;
}
- /* Only allow importing to /local */
- localpath = "/" E_LOCAL_STORAGE_NAME "/";
- if (folderpath != NULL) {
- if (strncmp (folderpath, localpath, strlen (localpath))) {
- show_error (_("You may only import to local folders"), _("Evolution Error"));
- return;
- }
- }
-
if (iid == NULL || strcmp (iid, "Automatic") == 0) {
/* Work out the component to use */
real_iid = get_iid_for_filetype (filename);