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")
{
applyNetworkSettings();
ShowHintS("Read settings...", (sigc::mem_fun(*this, &CNetworkSetup::readNetworkSettings)));
ShowHintS("Backup settings...", (sigc::mem_fun(*this, &CNetworkSetup::backupNetworkSettings)));
ShowHintS("Read settings...", (sigc::mem_fun(*this, &CNetworkSetup::readNetworkSettings)), 1);
ShowHintS("Backup settings...", (sigc::mem_fun(*this, &CNetworkSetup::backupNetworkSettings)), 1);
return res;
}
else if(actionKey=="networktest")
@@ -583,9 +583,9 @@ void CNetworkSetup::applyNetworkSettings()
if (!checkForIP())
return;
ShowHintS("Stopping network...", (sigc::mem_fun(networkConfig, &CNetworkConfig::stopNetwork)));
ShowHintS("Save network settings...", (sigc::mem_fun(*this, &CNetworkSetup::saveNetworkSettings)));
ShowHintS("Starting network...", (sigc::mem_fun(networkConfig, &CNetworkConfig::startNetwork)));
ShowHintS("Stopping network...", (sigc::mem_fun(networkConfig, &CNetworkConfig::stopNetwork)), 1);
ShowHintS("Save network settings...", (sigc::mem_fun(*this, &CNetworkSetup::saveNetworkSettings)), 1);
ShowHintS("Starting network...", (sigc::mem_fun(networkConfig, &CNetworkConfig::startNetwork)), 0);
}
//open a message dialog with buttons,