aboutsummaryrefslogtreecommitdiff
path: root/src/folderview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-06 10:54:55 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-06 10:54:55 +0000
commit8ff103aaf36732c4b44b044d9cf9ef252ca24869 (patch)
treeab3826d13362bf299de180f118b304f3cb7d3880 /src/folderview.c
parent139ba1f00728d7ca4bc08f7aa5ce3feedbd7c4b8 (diff)
partially implemented search folder properties.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@879 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/folderview.c')
-rw-r--r--src/folderview.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/folderview.c b/src/folderview.c
index da62f8a9..03b7a17e 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -60,6 +60,7 @@
#include "prefs_common.h"
#include "prefs_account.h"
#include "prefs_folder_item.h"
+#include "prefs_search_folder.h"
#include "filter.h"
#include "account.h"
#include "account_dialog.h"
@@ -1602,7 +1603,6 @@ static gboolean folderview_menu_popup(FolderView *folderview,
}
if (item->stype == F_VIRTUAL) {
rename_folder = delete_folder = TRUE;
- search_folder = FALSE;
}
if (FOLDER_TYPE(folder) == F_IMAP ||
FOLDER_TYPE(folder) == F_NEWS) {
@@ -2714,8 +2714,12 @@ static void folderview_search_cb(FolderView *folderview, guint action,
FolderItem *item;
item = folderview_get_selected_item(folderview);
- if (item)
- summary_search(item);
+ if (item) {
+ if (item->stype == F_VIRTUAL)
+ prefs_search_folder_open(item);
+ else
+ summary_search(item);
+ }
}
static void folderview_property_cb(FolderView *folderview, guint action,