diff options
author | Dennis Syrovatsky <dennis@tightvnc.com> | 2005-11-12 06:27:34 +0000 |
---|---|---|
committer | Dennis Syrovatsky <dennis@tightvnc.com> | 2005-11-12 06:27:34 +0000 |
commit | 4d915ddc82107ac1057cfe3b9a6136738553c4c9 (patch) | |
tree | 312e025c5768455868702df38e9e9496b1f4b579 /vncviewer | |
parent | 8b194ee5d5953ad4002d5dbcd737033d60e9d90c (diff) | |
download | tigervnc-4d915ddc82107ac1057cfe3b9a6136738553c4c9.tar.gz tigervnc-4d915ddc82107ac1057cfe3b9a6136738553c4c9.zip |
Added code for managing remote file list.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@399 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/FTDialog.cxx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/vncviewer/FTDialog.cxx b/vncviewer/FTDialog.cxx index 67d2f641..423a1c83 100644 --- a/vncviewer/FTDialog.cxx +++ b/vncviewer/FTDialog.cxx @@ -227,6 +227,12 @@ FTDialog::onLocalItemActivate(LPNMITEMACTIVATE lpnmia) void FTDialog::onRemoteItemActivate(LPNMITEMACTIVATE lpnmia) { + if (strlen(m_szRemotePath) == 0) { + strcpy(m_szRemotePathTmp, m_pRemoteLV->getActivateItemName(lpnmia)); + } else { + sprintf(m_szRemotePathTmp, "%s\\%s", m_szRemotePath, m_pRemoteLV->getActivateItemName(lpnmia)); + } + showRemoteLVItems(); } void @@ -239,7 +245,8 @@ FTDialog::onLocalReload() void FTDialog::onRemoteReload() { - + strcpy(m_szRemotePathTmp, m_szRemotePath); + showRemoteLVItems(); } void @@ -283,6 +290,9 @@ FTDialog::onLocalOneUpFolder() void FTDialog::onRemoteOneUpFolder() { + strcpy(m_szRemotePathTmp, m_szRemotePath); + makeOneUpFolder(m_szRemotePathTmp); + showRemoteLVItems(); } void |