mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user