aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2017-11-22 01:01:47 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2017-11-22 01:01:47 +0000
commitf7e99d6cfd58d531b01b2d245ccc8e68554c046c (patch)
tree04a0ee192a74f531bdd35f2725058814b6bb24ed
parentf990924929b381892ef84318cc47233c946b8be6 (diff)
query search: fixed folder selection dialog for copy.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3582 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog4
-rw-r--r--src/query_search.c8
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;