From f7e99d6cfd58d531b01b2d245ccc8e68554c046c Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 22 Nov 2017 01:01:47 +0000 Subject: query search: fixed folder selection dialog for copy. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3582 ee746299-78ed-0310-b773-934348b2243d --- ChangeLog | 4 ++++ src/query_search.c | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5eb05d0f..eb83a300 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-11-22 + + * src/query_search.c: fixed folder selection dialog for copy. + 2017-11-21 * src/query_search.c: added context menu for search result. diff --git a/src/query_search.c b/src/query_search.c index 7096a019..0b6170e1 100644 --- a/src/query_search.c +++ b/src/query_search.c @@ -1452,8 +1452,12 @@ static void query_search_move_copy(gboolean is_copy) if (!mlist) return; - dest = foldersel_folder_sel_full(NULL, FOLDER_SEL_MOVE, NULL, - _("Select folder to move")); + if (is_copy) + dest = foldersel_folder_sel_full(NULL, FOLDER_SEL_COPY, NULL, + _("Select folder to copy")); + else + dest = foldersel_folder_sel_full(NULL, FOLDER_SEL_MOVE, NULL, + _("Select folder to move")); if (!dest || dest->stype == F_VIRTUAL || !FOLDER_ITEM_CAN_ADD(dest)) { g_slist_free(mlist); return; -- cgit v1.2.3