summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-12-04 10:13:14 +0100
committerJan Holesovsky <kendy@collabora.com>2014-12-04 11:17:26 +0100
commit8c2e25b3768013a19ef2371e5d7867a86226df0d (patch)
tree46bca5056ab773aaaffcafd10cd8169afdad07e2 /xmlhelp
parentc940d4d30673dc02ea34b5e60a4a8140648a0dba (diff)
images: Tango is the most complete theme.
Change-Id: I211d21b09223dfacac18e879993b0f0943b94741
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.cxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index b7c20141163f..a6c8d3e9c96a 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -276,14 +276,13 @@ OString Databases::getImagesZipFileURL()
{
if ( aSymbolsStyleName.equalsAscii("auto") )
{
- OUString const & env = Application::GetDesktopEnvironment();
- if ( env.equalsIgnoreAsciiCase("tde") ||
- env.equalsIgnoreAsciiCase("kde") )
- aSymbolsStyleName = "crystal";
- else if ( env.equalsIgnoreAsciiCase("kde4") )
- aSymbolsStyleName = "oxygen";
- else
- aSymbolsStyleName = "tango";
+ // with the layered images*.zip, tango is the most
+ // complete theme, so show that one
+ // FIXME instead of using a general vnd.sun.star.zip://
+ // for imgrepos, we should have some vnd.sun.star.image://
+ // so that we don't have to re-open the stream for every
+ // image in the help
+ aSymbolsStyleName = "tango";
}
OUString aZipName = "images_" + aSymbolsStyleName + ".zip";