aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2002-07-19 02:17:59 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2002-07-19 02:17:59 +0800
commit5334b3ed1b2ee458885713f11687f35ab5c839e3 (patch)
tree2578cfd00ec74f68c852dd2aa7e9f7e0b7ac7975 /shell
parent928decadd981b2bad0352d55b3dfc1682d74ac31 (diff)
downloadgsoc2013-evolution-5334b3ed1b2ee458885713f11687f35ab5c839e3.tar.gz
gsoc2013-evolution-5334b3ed1b2ee458885713f11687f35ab5c839e3.tar.zst
gsoc2013-evolution-5334b3ed1b2ee458885713f11687f35ab5c839e3.zip
removed check for local folders, so that we can import into non-local
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. svn path=/trunk/; revision=17512
Diffstat (limited to 'shell')
-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);