network-setup: change timeout for applying setup

Timeout was set to default hintbox timeout settings,
that was not really appropriated.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 53ae027d17
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-11-17 (Wed, 17 Nov 2021)



------------------
This commit was generated by Migit
This commit is contained in:
2021-11-17 11:41:40 +01:00
committed by vanhofen
parent 2ec20e5ca8
commit eb49d6ac27

View File

@@ -102,8 +102,8 @@ int CNetworkSetup::exec(CMenuTarget* parent, const std::string &actionKey)
if(actionKey=="networkapply") if(actionKey=="networkapply")
{ {
applyNetworkSettings(); applyNetworkSettings();
ShowHintS("Read settings...", (sigc::mem_fun(*this, &CNetworkSetup::readNetworkSettings))); ShowHintS("Read settings...", (sigc::mem_fun(*this, &CNetworkSetup::readNetworkSettings)), 1);
ShowHintS("Backup settings...", (sigc::mem_fun(*this, &CNetworkSetup::backupNetworkSettings))); ShowHintS("Backup settings...", (sigc::mem_fun(*this, &CNetworkSetup::backupNetworkSettings)), 1);
return res; return res;
} }
else if(actionKey=="networktest") else if(actionKey=="networktest")
@@ -583,9 +583,9 @@ void CNetworkSetup::applyNetworkSettings()
if (!checkForIP()) if (!checkForIP())
return; return;
ShowHintS("Stopping network...", (sigc::mem_fun(networkConfig, &CNetworkConfig::stopNetwork))); ShowHintS("Stopping network...", (sigc::mem_fun(networkConfig, &CNetworkConfig::stopNetwork)), 1);
ShowHintS("Save network settings...", (sigc::mem_fun(*this, &CNetworkSetup::saveNetworkSettings))); ShowHintS("Save network settings...", (sigc::mem_fun(*this, &CNetworkSetup::saveNetworkSettings)), 1);
ShowHintS("Starting network...", (sigc::mem_fun(networkConfig, &CNetworkConfig::startNetwork))); ShowHintS("Starting network...", (sigc::mem_fun(networkConfig, &CNetworkConfig::startNetwork)), 0);
} }
//open a message dialog with buttons, //open a message dialog with buttons,