mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
Preparing the menu classes for Lua Part #2
- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
THX Martii
Origin commit data
------------------
Commit: b41819190d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-16 (Thu, 16 Jan 2014)
Origin message was:
------------------
Preparing the menu classes for Lua Part #2
- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
THX Martii
This commit is contained in:
@@ -183,7 +183,7 @@ int CNFSMountGui::menu()
|
||||
{
|
||||
sprintf(s2,"mountentry%d",i);
|
||||
ISO_8859_1_entry[i] = ZapitTools::UTF8_to_Latin1(m_entry[i].c_str());
|
||||
mountMenuEntry[i] = new CMenuForwarderNonLocalized("", true, ISO_8859_1_entry[i], this, s2);
|
||||
mountMenuEntry[i] = new CMenuForwarder("", true, ISO_8859_1_entry[i], this, s2);
|
||||
if (!i)
|
||||
menu_offset = mountMenuW.getItemsCount();
|
||||
|
||||
@@ -324,7 +324,7 @@ int CNFSUmountGui::menu()
|
||||
s1 += it->mountPoint;
|
||||
std::string s2 = "doumount ";
|
||||
s2 += it->mountPoint;
|
||||
CMenuForwarder *forwarder = new CMenuForwarderNonLocalized(s1.c_str(), true, NULL, this, s2.c_str());
|
||||
CMenuForwarder *forwarder = new CMenuForwarder(s1.c_str(), true, NULL, this, s2.c_str());
|
||||
forwarder->iconName = NEUTRINO_ICON_MOUNTED;
|
||||
umountMenu.addItem(forwarder);
|
||||
}
|
||||
|
Reference in New Issue
Block a user