diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-11-05 06:54:07 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-11-05 06:54:07 +0000 |
commit | 17e2ef839a0ee675d9483136c6d6189b2ffc7f3e (patch) | |
tree | 8306fa7d7bb769db904651452b355fb38c934ccd /libsylph | |
parent | 4de2e90acfe9a16a7fdd48e1fe74fbc628a1662b (diff) |
show waiting dialog on creating folder tree after creating new IMAP account.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2333 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/imap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsylph/imap.c b/libsylph/imap.c index 50665507..7459e71c 100644 --- a/libsylph/imap.c +++ b/libsylph/imap.c @@ -2237,9 +2237,9 @@ static gint imap_create_tree(Folder *folder) g_return_val_if_fail(folder->node->data != NULL, -1); g_return_val_if_fail(folder->account != NULL, -1); - imap_scan_tree(folder); - if (REMOTE_FOLDER(folder)->session) - imap_create_missing_folders(folder); + if (imap_scan_tree(folder) < 0) + return -1; + imap_create_missing_folders(folder); return 0; } |