summaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorDennis Syrovatsky <dennis@tightvnc.com>2005-11-12 06:27:34 +0000
committerDennis Syrovatsky <dennis@tightvnc.com>2005-11-12 06:27:34 +0000
commit4d915ddc82107ac1057cfe3b9a6136738553c4c9 (patch)
tree312e025c5768455868702df38e9e9496b1f4b579 /vncviewer
parent8b194ee5d5953ad4002d5dbcd737033d60e9d90c (diff)
downloadtigervnc-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.cxx12
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