Added status strings for copy operation.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@442 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/FTDialog.cxx b/vncviewer/FTDialog.cxx
index 8e18d03..99c9ca2 100644
--- a/vncviewer/FTDialog.cxx
+++ b/vncviewer/FTDialog.cxx
@@ -28,7 +28,6 @@
const char FTDialog::szCheckDeleteQueueText[] = "TightVNC.Viewer.CheckDeleteQueue.Msg";
const char FTDialog::szCheckTransferQueueText[] = "TightVNC.Viewer.CheckTransferQueue.Msg";
-const char FTDialog::szDownloadFilePortionText[] = "TightVNC.Viewer.DownloadFilePortion.Msg";
const char FTDialog::szUploadFilePortionText[] = "TightVNC.Viewer.UploadFilePortion.Msg";
FTDialog::FTDialog(HINSTANCE hInst, FileTransfer *pFT)
@@ -130,10 +129,10 @@
m_msgCheckDeleteQueue = RegisterWindowMessage(szCheckDeleteQueueText);
m_msgCheckTransferQueue = RegisterWindowMessage(szCheckTransferQueueText);
m_msgUploadFilePortion = RegisterWindowMessage(szUploadFilePortionText);
- m_msgDownloadFilePortion = RegisterWindowMessage(szDownloadFilePortionText);
- if ((m_msgCheckDeleteQueue) && (m_msgCheckTransferQueue) &&
- (m_msgUploadFilePortion) && (m_msgDownloadFilePortion)) return true;
+ if ((m_msgCheckDeleteQueue) &&
+ (m_msgCheckTransferQueue) &&
+ (m_msgUploadFilePortion)) return true;
return false;
}
@@ -289,9 +288,6 @@
if (uMsg == _this->m_msgUploadFilePortion)
_this->m_pFileTransfer->uploadFilePortion();
- if (uMsg == _this->m_msgDownloadFilePortion)
- _this->m_pFileTransfer->downloadFilePortion();
-
if (uMsg == _this->m_msgCheckDeleteQueue)
_this->m_pFileTransfer->checkDeleteQueue();
}
@@ -707,12 +703,6 @@
}
void
-FTDialog::postDownloadFilePortionMsg()
-{
- PostMessage(m_hwndFTDialog, m_msgDownloadFilePortion, 0, 0);
-}
-
-void
FTDialog::postCheckDeleteQueueMsg()
{
PostMessage(m_hwndFTDialog, m_msgCheckDeleteQueue, 0, 0);