summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-05-18 14:16:31 +0300
committerTor Lillqvist <tml@collabora.com>2018-05-18 14:16:31 +0300
commitd62acf55f17f5b1213f150fb4fb0fd2e8bb0b9b0 (patch)
tree2e275334b8c0173d59cad40af6968203da9f85b4
parent9b0d9b32d5dcda91d2f1a96dc04c645c450872bf (diff)
Use Tango as default icon theme when Breeze is not included
Change-Id: Id81c2355abfbdf29599842f06ad8b3c754db708b
-rw-r--r--vcl/source/app/IconThemeSelector.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/app/IconThemeSelector.cxx b/vcl/source/app/IconThemeSelector.cxx
index 2f976d9cb8c0..c7baed973a2b 100644
--- a/vcl/source/app/IconThemeSelector.cxx
+++ b/vcl/source/app/IconThemeSelector.cxx
@@ -7,6 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include <config_mpl.h>
+
#include <vcl/IconThemeSelector.hxx>
#include <vcl/IconThemeScanner.hxx>
@@ -62,7 +64,11 @@ IconThemeSelector::GetIconThemeForDesktopEnvironment(const OUString& desktopEnvi
r = "breeze";
}
else if ( desktopEnvironment.equalsIgnoreAsciiCase("MacOSX") ) {
+#if MPL_HAVE_SUBSET
+ r = "tango";
+#else
r = "breeze";
+#endif
}
else if ( desktopEnvironment.equalsIgnoreAsciiCase("unity") ) {
r = "breeze";