aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-09-13 02:30:54 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-09-13 02:30:54 +0000
commit9026c5444aa126d97995f8f9b1c826109545d9f1 (patch)
tree3a241903fbed0713eadb738d8d3d919101c78a45 /src
parent1f5f03634cbea00ae0927605a801c19e4cfb2a04 (diff)
disabled the passphrase dialog on query search.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1896 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
-rw-r--r--src/query_search.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 0865f191..4deeeb3d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -844,6 +844,7 @@ static void check_gpg(void)
procmsg_set_decrypt_message_func
(rfc2015_open_message_decrypted);
+ procmsg_set_auto_decrypt_message(TRUE);
} else {
rfc2015_disable_all();
diff --git a/src/query_search.c b/src/query_search.c
index 68e40436..63f4587f 100644
--- a/src/query_search.c
+++ b/src/query_search.c
@@ -582,6 +582,8 @@ static void query_search_folder(FolderItem *item)
memset(&fltinfo, 0, sizeof(FilterInfo));
+ procmsg_set_auto_decrypt_message(FALSE);
+
debug_print("requires_full_headers: %d\n",
search_window.requires_full_headers);
debug_print("start query search: %s\n", item->path ? item->path : "");
@@ -629,6 +631,8 @@ static void query_search_folder(FolderItem *item)
procheader_header_list_destroy(hlist);
}
+ procmsg_set_auto_decrypt_message(TRUE);
+
procmsg_msg_list_free(mlist);
g_free(folder_name);
}