From 11001bd1d45ff92f0737be7d336e8a9e05901dca Mon Sep 17 00:00:00 2001 From: defnax Date: Tue, 21 Jul 2009 16:17:22 +0000 Subject: [PATCH] added functionality to change text label when switch to different view. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1395 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/SharedFilesDialog.cpp | 6 ++++-- retroshare-gui/src/gui/SharedFilesDialog.ui | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/retroshare-gui/src/gui/SharedFilesDialog.cpp b/retroshare-gui/src/gui/SharedFilesDialog.cpp index 0fedc1feb..8495a1e38 100644 --- a/retroshare-gui/src/gui/SharedFilesDialog.cpp +++ b/retroshare-gui/src/gui/SharedFilesDialog.cpp @@ -702,7 +702,8 @@ void SharedFilesDialog::showFrame(bool show) ui.remoteButton->setChecked(false); ui.splittedButton->setChecked(false); - + + ui.labeltext->setText(tr("My Shared Files")); } } @@ -716,7 +717,7 @@ void SharedFilesDialog::showFrameRemote(bool show) ui.localButton->setChecked(false); ui.splittedButton->setChecked(false); - + ui.labeltext->setText(tr("Friends Files")); } } @@ -731,5 +732,6 @@ void SharedFilesDialog::showFrameSplitted(bool show) ui.localButton->setChecked(false); ui.remoteButton->setChecked(false); + ui.labeltext->setText(tr("Files")); } } diff --git a/retroshare-gui/src/gui/SharedFilesDialog.ui b/retroshare-gui/src/gui/SharedFilesDialog.ui index 20fed5ada..758c0a9d7 100644 --- a/retroshare-gui/src/gui/SharedFilesDialog.ui +++ b/retroshare-gui/src/gui/SharedFilesDialog.ui @@ -519,7 +519,7 @@ 0 - + 16777215 @@ -536,7 +536,7 @@ p, li { white-space: pre-wrap; } - + 16