summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 5064fa8..e081da2 100644
--- a/setup.c
+++ b/setup.c
@@ -119,6 +119,8 @@ eOSState cInstallManager::ProcessInstallationStatus(void) {
}
// --- cSkinDesignerSetup -----------------------------------------------------------
+bool cSkinDesignerSetup::skinrepoUpdated = false;
+
cSkinDesignerSetup::cSkinDesignerSetup(skindesignerapi::cPluginStructure *skinPreviewStruct) {
this->skinPreviewStruct = skinPreviewStruct;
numLogosPerSizeInitial = config.numLogosPerSizeInitial;
@@ -132,6 +134,13 @@ cSkinDesignerSetup::cSkinDesignerSetup(skindesignerapi::cPluginStructure *skinPr
numCustomTokens = config.numCustomTokens;
menuDisplayStyle[0] = tr("after one another");
menuDisplayStyle[1] = tr("at one go");
+#ifndef DO_NOT_USE_SKININSTALLER
+ if (!skinrepoUpdated) {
+ Skins.Message(mtStatus, *cString::sprintf("%s...", tr("Updating Skinrepositories")));
+ skinrepoUpdated = true;
+ config.ReadSkinRepos();
+ }
+#endif
Setup();
}