mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
Return menu result, to close all menus
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1875 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 294f597fb7
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2011-11-22 (Tue, 22 Nov 2011)
This commit is contained in:
@@ -66,14 +66,13 @@ int CProxySetup::exec(CMenuTarget* parent, const std::string &/*actionKey*/)
|
||||
parent->hide();
|
||||
}
|
||||
|
||||
showProxySetup();
|
||||
|
||||
res = showProxySetup();
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
/* shows entries for proxy settings */
|
||||
void CProxySetup::showProxySetup()
|
||||
int CProxySetup::showProxySetup()
|
||||
{
|
||||
//init
|
||||
CMenuWidget * mn = new CMenuWidget(menue_title, menue_icon, width);
|
||||
@@ -90,8 +89,9 @@ void CProxySetup::showProxySetup()
|
||||
CStringInputSMS * softUpdate_proxypass = new CStringInputSMS(LOCALE_FLASHUPDATE_PROXYPASSWORD, g_settings.softupdate_proxypassword, 20, LOCALE_FLASHUPDATE_PROXYPASSWORD_HINT1, LOCALE_FLASHUPDATE_PROXYPASSWORD_HINT2, "abcdefghijklmnopqrstuvwxyz0123456789!""§$%&/()=?-. ");
|
||||
mn->addItem(new CMenuForwarder(LOCALE_FLASHUPDATE_PROXYPASSWORD, true, g_settings.softupdate_proxypassword, softUpdate_proxypass, NULL, CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW));
|
||||
|
||||
mn->exec(NULL, "");
|
||||
int res = mn->exec(NULL, "");
|
||||
mn->hide();
|
||||
delete mn;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user