From 4f7d38d331f420a44b9ff458b267f6eaf8d3ff4c Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Tue, 2 Dec 2008 23:05:06 +0000 Subject: [PATCH] Correctly indicate "Copying" vs "Moving" state in status window (thanks Adrian Panasiuk for pointing this out). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28762 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/tracker/FSUtils.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/kits/tracker/FSUtils.cpp b/src/kits/tracker/FSUtils.cpp index b2701e4afa..995b13ee43 100644 --- a/src/kits/tracker/FSUtils.cpp +++ b/src/kits/tracker/FSUtils.cpp @@ -591,7 +591,8 @@ InitCopy(uint32 moveMode, BObjectList *srcList, thread_id thread, case kMoveSelectionTo: { if (gStatusWindow) - gStatusWindow->CreateStatusItem(thread, kCopyState); + gStatusWindow->CreateStatusItem(thread, + moveMode == kMoveSelectionTo ? kMoveState : kCopyState); int32 totalItems = 0; off_t totalSize = 0; @@ -616,9 +617,7 @@ InitCopy(uint32 moveMode, BObjectList *srcList, thread_id thread, // this will be fast, only put up status if lots of items // moved, links created if (gStatusWindow) { - gStatusWindow->CreateStatusItem(thread, - moveMode == kMoveSelectionTo - ? kMoveState : kCreateLinkState); + gStatusWindow->CreateStatusItem(thread, kCreateLinkState); gStatusWindow->InitStatusItem(thread, numItems, numItems, destRef); }