From 5334b3ed1b2ee458885713f11687f35ab5c839e3 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Thu, 18 Jul 2002 18:17:59 +0000 Subject: removed check for local folders, so that we can import into non-local 2002-07-18 Rodrigo Moya * e-shell-importer.c (start_import): removed check for local folders, so that we can import into non-local ones. svn path=/trunk/; revision=17512 --- shell/ChangeLog | 5 +++++ shell/e-shell-importer.c | 10 ---------- 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'shell') 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 + + * 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 * 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); -- cgit