summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheiko tietze <tietze.heiko@gmail.com>2018-04-14 20:18:25 +0200
committerHeiko Tietze <tietze.heiko@gmail.com>2018-05-06 12:11:36 +0200
commit411162f2d12affc6a1109022b185c7060f12bd4f (patch)
tree3bb8f3db769c775d32b00142d75e712228cc1775
parent9c475ed270f1bb8601f312ee43ca2c50bf1790b9 (diff)
tdf#117007 - Elementary not appearing on some backends
unity & mate added in iconthemeselector Change-Id: I9a10af148b405068726645940d482c89962fec5c Reviewed-on: https://gerrit.libreoffice.org/52880 Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> Tested-by: Heiko Tietze <tietze.heiko@gmail.com>
-rw-r--r--vcl/source/app/IconThemeSelector.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/app/IconThemeSelector.cxx b/vcl/source/app/IconThemeSelector.cxx
index 092b6a5bcbca..20b64f4da6ac 100644
--- a/vcl/source/app/IconThemeSelector.cxx
+++ b/vcl/source/app/IconThemeSelector.cxx
@@ -56,7 +56,10 @@ IconThemeSelector::GetIconThemeForDesktopEnvironment(const OUString& desktopEnvi
desktopEnvironment.equalsIgnoreAsciiCase("macosx") ) {
r = "breeze";
}
- else if ( desktopEnvironment.equalsIgnoreAsciiCase("gnome") ) {
+ else
+ if ( desktopEnvironment.equalsIgnoreAsciiCase("gnome") ||
+ desktopEnvironment.equalsIgnoreAsciiCase("mate") ||
+ desktopEnvironment.equalsIgnoreAsciiCase("unity") ) {
r = "elementary";
}
else {