diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-08-09 06:41:24 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-08-09 06:41:24 +0000 |
commit | e150d462d9adc6c390b4817a94c3b3ea1ec5d088 (patch) | |
tree | c47f73f5ef7e5d6167875dc6068595fc2e62b099 /src/setup.c | |
parent | 2d01a4712433affe66a398c4769125015cb7691d (diff) |
enabled cancellation of eml/dbx import.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2662 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/setup.c')
-rw-r--r-- | src/setup.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/setup.c b/src/setup.c index 00cbebe0..f761c77e 100644 --- a/src/setup.c +++ b/src/setup.c @@ -1123,6 +1123,7 @@ gint setup_import(void) gchar *src; Folder *folder; FolderItem *parent, *dest; + gint ok; debug_print("setup_import\n"); @@ -1164,7 +1165,9 @@ gint setup_import(void) continue; folderview_append_item(folderview_get(), NULL, dest, TRUE); folder_write_list(); - import_dbx_folders(dest, ident->path); + ok = import_dbx_folders(dest, ident->path); + if (ok < 0) + break; } finish: |