Index: llui/lluictrlfactory.cpp
===================================================================
--- llui/lluictrlfactory.cpp (revision 493)
+++ llui/lluictrlfactory.cpp (working copy)
@@ -105,10 +105,10 @@
//-----------------------------------------------------------------------------
LLUICtrlFactory::LLUICtrlFactory()
{
- setupPaths();
+ setupPaths("Dazzle");
}
-void LLUICtrlFactory::setupPaths()
+void LLUICtrlFactory::setupPaths(LLString colorTheme)
{
LLString filename = gDirUtilp->getExpandedFilename(LL_PATH_SKINS, "paths.xml");
@@ -133,6 +133,7 @@
language = LLUI::sConfigGroup->getString("SystemLanguage");
}
}
+ path_val_ui.setArg("[ColorTheme]", colorTheme);
path_val_ui.setArg("[Language]", language);
LLString fullpath = app_dir + path_val_ui.getString();
Index: llui/lluictrlfactory.h
===================================================================
--- llui/lluictrlfactory.h (revision 493)
+++ llui/lluictrlfactory.h (working copy)
@@ -48,7 +48,7 @@
// do not call! needs to be public so run-time can clean up the singleton
virtual ~LLUICtrlFactory() {}
- void setupPaths();
+ void setupPaths(LLString colorTheme);
void buildFloater(LLFloater* floaterp, const LLString &filename,
const LLCallbackMap::map_t* factory_map = NULL, BOOL open = TRUE);
Index: llvfs/lldir.cpp
===================================================================
--- llvfs/lldir.cpp (revision 493)
+++ llvfs/lldir.cpp (working copy)
@@ -337,6 +337,12 @@
prefix += mDirDelimiter;
prefix += "browser_profile";
break;
+
+ case LL_PATH_THEMES:
+ prefix = getAppRODataDir();
+ prefix += mDirDelimiter;
+ prefix += "themes";
+ break;
default:
llassert(0);
Index: llvfs/lldir.h
===================================================================
--- llvfs/lldir.h (revision 493)
+++ llvfs/lldir.h (working copy)
@@ -50,7 +50,8 @@
LL_PATH_PER_ACCOUNT_CHAT_LOGS = 13,
LL_PATH_MOZILLA_PROFILE = 14,
LL_PATH_HTML = 15,
- LL_PATH_COUNT = 16
+ LL_PATH_THEMES = 16,
+ LL_PATH_COUNT = 17
} ELLPath;
Index: newview/app_settings/settings.xml
===================================================================
--- newview/app_settings/settings.xml (revision 493)
+++ newview/app_settings/settings.xml (working copy)
@@ -1467,6 +1467,17 @@
1
+ ColorTheme
+
ColumnHeaderDropDownDelay