diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-07-23 08:13:44 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-07-23 08:13:44 +0000 |
commit | ef9b25bb1a22c98c33d6d1edd48f061243838e48 (patch) | |
tree | 3c8969ac653007534d6f7a051dc4c250782bf20b /src/folderview.c | |
parent | 4c2d91b4e1f289b61d78c7e6bfdd116f3d215d37 (diff) |
enabled moving of virtual folders.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2634 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/folderview.c')
-rw-r--r-- | src/folderview.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/folderview.c b/src/folderview.c index 66ff0576..fe1d3dee 100644 --- a/src/folderview.c +++ b/src/folderview.c @@ -1547,7 +1547,7 @@ void folderview_move_folder(FolderView *folderview) g_return_if_fail(item->folder != NULL); if (!item->path) return; - if (item->stype != F_NORMAL) return; + if (item->stype != F_NORMAL || item->stype != F_VIRTUAL) return; if (item->folder->klass->move_folder) folderview_move_folder_cb(folderview, 0, NULL); @@ -1701,7 +1701,7 @@ static gboolean folderview_menu_popup(FolderView *folderview, } if (item->stype == F_VIRTUAL) { new_folder = FALSE; - rename_folder = delete_folder = TRUE; + move_folder = rename_folder = delete_folder = TRUE; } if (FOLDER_TYPE(folder) == F_IMAP || FOLDER_TYPE(folder) == F_NEWS) { |