diff --git a/retroshare-gui/src/gui/settings/ServerPage.cpp b/retroshare-gui/src/gui/settings/ServerPage.cpp
index 69f7e69a4..367f982ba 100755
--- a/retroshare-gui/src/gui/settings/ServerPage.cpp
+++ b/retroshare-gui/src/gui/settings/ServerPage.cpp
@@ -81,27 +81,35 @@ ServerPage::ServerPage(QWidget * parent, Qt::WindowFlags flags)
manager = NULL ;
- if(RsAccounts::isTorAuto())
+ if(RsAccounts::isHiddenNode())
{
- // Here we use absolute numbers instead of consts defined above, because the consts correspond to the tab number *after* this tab removal.
+ if(RsAccounts::isTorAuto())
+ {
+ // Here we use absolute numbers instead of consts defined above, because the consts correspond to the tab number *after* this tab removal.
- ui.tabWidget->removeTab(TAB_RELAYS) ; // remove relays. Not useful in Tor mode.
- ui.tabWidget->removeTab(TAB_IP_FILTERS) ; // remove IP filters. Not useful in Tor mode.
+ ui.tabWidget->removeTab(TAB_RELAYS) ; // remove relays. Not useful in Tor mode.
+ ui.tabWidget->removeTab(TAB_IP_FILTERS) ; // remove IP filters. Not useful in Tor mode.
- ui.hiddenServiceTab->removeTab(TAB_HIDDEN_SERVICE_I2P_BOB) ; // remove the Automatic I2P/BOB tab
+ ui.hiddenServiceTab->removeTab(TAB_HIDDEN_SERVICE_I2P_BOB) ; // remove the Automatic I2P/BOB tab
- ui.hiddenpage_proxyAddress_i2p->hide() ;
- ui.hiddenpage_proxyLabel_i2p->hide() ;
- ui.hiddenpage_proxyPort_i2p->hide() ;
- ui.label_i2p_outgoing->hide() ;
- ui.iconlabel_i2p_outgoing->hide() ;
- ui.plainTextEdit->hide() ;
- ui.hiddenpage_configuration->hide() ;
- ui.l_hiddenpage_configuration->hide() ;
- ui.hiddenpageInHelpPlainTextEdit->hide() ;
+ ui.hiddenpage_proxyAddress_i2p->hide() ;
+ ui.hiddenpage_proxyLabel_i2p->hide() ;
+ ui.hiddenpage_proxyPort_i2p->hide() ;
+ ui.label_i2p_outgoing->hide() ;
+ ui.iconlabel_i2p_outgoing->hide() ;
+ ui.plainTextEdit->hide() ;
+ ui.hiddenpage_configuration->hide() ;
+ ui.l_hiddenpage_configuration->hide() ;
+ ui.hiddenpageInHelpPlainTextEdit->hide() ;
- ui.hiddenpage_outHeader->setText(tr("Tor has been automatically configured by Retroshare. You shouldn't need to change anything here.")) ;
- ui.hiddenpage_inHeader->setText(tr("Tor has been automatically configured by Retroshare. You shouldn't need to change anything here.")) ;
+ ui.hiddenpage_outHeader->setText(tr("Tor has been automatically configured by Retroshare. You shouldn't need to change anything here.")) ;
+ ui.hiddenpage_inHeader->setText(tr("Tor has been automatically configured by Retroshare. You shouldn't need to change anything here.")) ;
+ }
+ }
+ else
+ {
+ ui.hiddenServiceTab->removeTab(TAB_HIDDEN_SERVICE_I2P_BOB); // warning: the order of operation here is very important.
+ ui.hiddenServiceTab->removeTab(TAB_HIDDEN_SERVICE_INCOMING);
}
ui.filteredIpsTable->setHorizontalHeaderItem(COLUMN_RANGE,new QTableWidgetItem(tr("IP Range"))) ;
diff --git a/retroshare-gui/src/gui/settings/ServerPage.ui b/retroshare-gui/src/gui/settings/ServerPage.ui
index 69935ff58..223820604 100755
--- a/retroshare-gui/src/gui/settings/ServerPage.ui
+++ b/retroshare-gui/src/gui/settings/ServerPage.ui
@@ -7,7 +7,7 @@
0
0
1283
- 917
+ 929
@@ -26,7 +26,7 @@
-
- 0
+ 1
@@ -539,7 +539,7 @@ behind a firewall or a VPN.
- 1
+ 0
@@ -549,7 +549,7 @@ behind a firewall or a VPN.
-
- <html><head/><body><p>Configure your Tor and I2P SOCKS proxy here. <br/>If you prefer to use BOB to automatically manage I2P check the other tab.</p></body></html>
+ <html><head/><body><p>Configure your Tor and I2P SOCKS proxy here. It will allow you to also connect </p><p>to hidden nodes.</p></body></html>