mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
plugins: don't show integrated plugins in usermenu
Origin commit data
------------------
Commit: c166fc28af
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-09-30 (Tue, 30 Sep 2014)
Origin message was:
------------------
- plugins: don't show integrated plugins in usermenu
This commit is contained in:
@@ -109,7 +109,7 @@ int CPluginList::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
int shortcut = 1;
|
||||
|
||||
for(int count = 0; count < nop; count++) {
|
||||
if ((g_PluginList->getType(count) & pluginlisttype) && !g_PluginList->isHidden(count)) {
|
||||
if ((g_PluginList->getType(count) & pluginlisttype) && !g_PluginList->isHidden(count) && (g_PluginList->getIntegration(count) == CPlugins::I_TYPE_DISABLED)) {
|
||||
CMenuForwarder *f = new CMenuForwarder(std::string(g_PluginList->getName(count)), true, "", this, to_string(count).c_str(), CRCInput::convertDigitToKey(shortcut++));
|
||||
//TODO: use hint-icons; header-icons are to small
|
||||
f->setHint("", g_PluginList->getDescription(count));
|
||||
|
Reference in New Issue
Block a user