diff --git a/libretroshare b/libretroshare
index 55efaf9c7..68864cbd7 160000
--- a/libretroshare
+++ b/libretroshare
@@ -1 +1 @@
-Subproject commit 55efaf9c730859ef3fc5c6f6049595c1225f9204
+Subproject commit 68864cbd7086dfe9346b2fb2d50b78e382a4e221
diff --git a/retroshare-gui/src/gui/FriendServerControl.cpp b/retroshare-gui/src/gui/FriendServerControl.cpp
index 3cc029ecd..219a1e375 100644
--- a/retroshare-gui/src/gui/FriendServerControl.cpp
+++ b/retroshare-gui/src/gui/FriendServerControl.cpp
@@ -44,6 +44,8 @@ FriendServerControl::FriendServerControl(QWidget *parent)
/* Invoke the Qt Designer generated object setup routine */
setupUi(this);
+ friendServerOnOff_CB->setEnabled(false); // until FS is connected.
+
if(!rsFriendServer)
{
setEnabled(false);
@@ -170,11 +172,15 @@ void FriendServerControl::updateFriendServerStatusIcon(bool ok)
{
torServerStatus_LB->setToolTip(tr("Friend server is currently reachable.")) ;
mCheckingServerMovie->setFileName(ICON_STATUS_OK);
+ friendServerOnOff_CB->setEnabled(true);
}
else
{
+ rsFriendServer->stopServer();
torServerStatus_LB->setToolTip(tr("The proxy is not enabled or broken.\nAre all services up and running fine??\nAlso check your ports!")) ;
mCheckingServerMovie->setFileName(ICON_STATUS_UNKNOWN);
+ friendServerOnOff_CB->setChecked(false);
+ friendServerOnOff_CB->setEnabled(false);
}
mCheckingServerMovie->start();
}
diff --git a/retroshare-gui/src/gui/FriendServerControl.ui b/retroshare-gui/src/gui/FriendServerControl.ui
index 2ac69969b..e51b85220 100644
--- a/retroshare-gui/src/gui/FriendServerControl.ui
+++ b/retroshare-gui/src/gui/FriendServerControl.ui
@@ -11,89 +11,8 @@
- -
-
-
-
-
-
- On/Off
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
- Qt::NoFocus
-
-
-
- :/icons/help_64.png:/icons/help_64.png
-
-
- true
-
-
- false
-
-
- true
-
-
-
-
-
-
-
-
-
-
- Friends to request:
-
-
-
- -
-
-
- 1
-
-
- 15
-
-
- 5
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
-
-
- -
-
-
@@ -112,9 +31,6 @@
<html><head/><body><p>Enter here the onion address of the Friend Server that was given to you. The address will be automatically checked after you enter it and a green bullet will appear if the server is online.</p></body></html>
-
- .onion
-
Onion address of the friend server
@@ -150,8 +66,44 @@
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+ Qt::NoFocus
+
+
+
+ :/icons/help_64.png:/icons/help_64.png
+
+
+ true
+
+
+ false
+
+
+ true
+
+
+
+ -
+
+
-
-
@@ -195,6 +147,58 @@
+ -
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Raised
+
+
+
-
+
+
+ On/Off
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 302
+ 26
+
+
+
+
+ -
+
+
+ Friends to request:
+
+
+
+ -
+
+
+ 1
+
+
+ 15
+
+
+ 5
+
+
+
+
+
+
-
@@ -211,7 +215,7 @@
-
+