mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- adapt ShowMsg handling from martii's neutrino-mp
This commit is contained in:
@@ -122,7 +122,7 @@ int CFavorites::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
|
||||
#if 0
|
||||
if (!bouquetList) {
|
||||
ShowLocalizedMessage(LOCALE_FAVORITES_BOUQUETNAME, LOCALE_FAVORITES_NOBOUQUETS, CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO);
|
||||
ShowMsg(LOCALE_FAVORITES_BOUQUETNAME, LOCALE_FAVORITES_NOBOUQUETS, CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO);
|
||||
return res;
|
||||
}
|
||||
#endif
|
||||
@@ -147,7 +147,7 @@ int CFavorites::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
{
|
||||
if (status & 2) str += g_Locale->getText(LOCALE_EXTRA_CHADDED);
|
||||
else str += g_Locale->getText(LOCALE_EXTRA_CHALREADYINBQ);
|
||||
ShowMsgUTF(LOCALE_EXTRA_ADD_TO_BOUQUET, str, CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO); // UTF-8
|
||||
ShowMsg(LOCALE_EXTRA_ADD_TO_BOUQUET, str, CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO); // UTF-8
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -155,7 +155,7 @@ int CFavorites::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
if (status & 2) str += g_Locale->getText(LOCALE_FAVORITES_CHADDED);
|
||||
else str += g_Locale->getText(LOCALE_FAVORITES_CHALREADYINBQ);
|
||||
if (status) str += g_Locale->getText(LOCALE_FAVORITES_FINALHINT);
|
||||
ShowMsgUTF(LOCALE_FAVORITES_BOUQUETNAME, str, CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO); // UTF-8
|
||||
ShowMsg(LOCALE_FAVORITES_BOUQUETNAME, str, CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO); // UTF-8
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user