mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
added makefile option to disable skininstaller
This commit is contained in:
parent
1d6c2566bc
commit
3af04d6b1a
3
Makefile
3
Makefile
@ -4,7 +4,8 @@
|
|||||||
# $Id$ Makefile 1.0 2014/07/24 louis Exp $
|
# $Id$ Makefile 1.0 2014/07/24 louis Exp $
|
||||||
|
|
||||||
# Config
|
# Config
|
||||||
CONFIG := #-DDOPROFILE # enable profiling code
|
CONFIG := #-DDOPROFILE # enable profiling code
|
||||||
|
CONFIG += -DUSE_SKININSTALLER # use skin installer in skindesigner setup
|
||||||
|
|
||||||
# The official name of this plugin.
|
# The official name of this plugin.
|
||||||
PLUGIN = skindesigner
|
PLUGIN = skindesigner
|
||||||
|
2
setup.c
2
setup.c
@ -360,6 +360,7 @@ void cSkinDesignerSetup::SkinSetup(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void cSkinDesignerSetup::InstallSkins(void) {
|
void cSkinDesignerSetup::InstallSkins(void) {
|
||||||
|
#ifdef USE_SKININSTALLER
|
||||||
Add(InfoItem(tr("Install new skins")));
|
Add(InfoItem(tr("Install new skins")));
|
||||||
|
|
||||||
config.InitSkinRepoIterator();
|
config.InitSkinRepoIterator();
|
||||||
@ -369,6 +370,7 @@ void cSkinDesignerSetup::InstallSkins(void) {
|
|||||||
continue;
|
continue;
|
||||||
Add(new cSkinMenuItem(repo->Name(), *cString::sprintf("%s %s", tr("Preview Skin"), repo->Name().c_str()), itSkinRepo));
|
Add(new cSkinMenuItem(repo->Name(), *cString::sprintf("%s %s", tr("Preview Skin"), repo->Name().c_str()), itSkinRepo));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// --- cSkinMenuItem -----------------------------------------------------------
|
// --- cSkinMenuItem -----------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user