summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--setup.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b7ac9d0..807a054 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,8 @@
# $Id$ Makefile 1.0 2014/07/24 louis Exp $
# 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.
PLUGIN = skindesigner
diff --git a/setup.c b/setup.c
index 4eecf69..813d03a 100644
--- a/setup.c
+++ b/setup.c
@@ -360,6 +360,7 @@ void cSkinDesignerSetup::SkinSetup(void) {
}
void cSkinDesignerSetup::InstallSkins(void) {
+#ifdef USE_SKININSTALLER
Add(InfoItem(tr("Install new skins")));
config.InitSkinRepoIterator();
@@ -369,6 +370,7 @@ void cSkinDesignerSetup::InstallSkins(void) {
continue;
Add(new cSkinMenuItem(repo->Name(), *cString::sprintf("%s %s", tr("Preview Skin"), repo->Name().c_str()), itSkinRepo));
}
+#endif
}
// --- cSkinMenuItem -----------------------------------------------------------