diff --git a/src/neutrino.h b/src/neutrino.h index 540428c90..7107776bc 100644 --- a/src/neutrino.h +++ b/src/neutrino.h @@ -74,6 +74,7 @@ public: private: + CPluginsExec pluginsExec; CFrameBuffer * frameBuffer; CConfigFile configfile; diff --git a/src/neutrino_menue.cpp b/src/neutrino_menue.cpp index df556211d..44ecd3081 100644 --- a/src/neutrino_menue.cpp +++ b/src/neutrino_menue.cpp @@ -124,6 +124,14 @@ void CNeutrinoApp::InitMenu() CMediaPlayerMenu::getInstance()->initMenuMedia(new CMenuWidget(LOCALE_MAINMENU_MEDIA, NEUTRINO_ICON_MULTIMEDIA, MENU_WIDTH), &personalize); personalize.addPersonalizedItems(); + + //add I_TYPE_SETTING plugins + CMenuWidget &menuSettings = personalize.getWidget(MENU_SETTINGS); + menuSettings.integratePlugins(&pluginsExec, CPlugins::I_TYPE_SETTING); + + //add I_TYPE_SERVICE plugins + CMenuWidget &menuService = personalize.getWidget(MENU_SERVICE); + menuService.integratePlugins(&pluginsExec, CPlugins::I_TYPE_SERVICE); } //init main menu