CSoftwareUpdate: show package feature as disabled without support

Origin commit data
------------------
Commit: 936735a77f
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-21 (Sun, 21 Dec 2014)
This commit is contained in:
2014-12-21 15:47:28 +01:00
parent c0dfcb2508
commit 401251278e

View File

@@ -106,12 +106,9 @@ int CSoftwareUpdate::showSoftwareUpdate()
softUpdate.addItem(mf);
//firmware update via opkg
if (COPKGManager::hasOpkgSupport()) {
mf = new CMenuForwarder(LOCALE_OPKG_TITLE, true, NULL, new COPKGManager());
mf->setHint(NEUTRINO_ICON_HINT_SW_UPDATE, LOCALE_MENU_HINT_OPKG);
softUpdate.addItem(mf);
}
mf = new CMenuForwarder(LOCALE_OPKG_TITLE, COPKGManager::hasOpkgSupport(), NULL, new COPKGManager());
mf->setHint(NEUTRINO_ICON_HINT_SW_UPDATE, LOCALE_MENU_HINT_OPKG);
softUpdate.addItem(mf);
}
#ifdef BOXMODEL_APOLLO