vcl/source/app/IconThemeSelector.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 39c39d2e815f6621809d1d9850697e8835f0f386 Author: Tor Lillqvist <[email protected]> Date: Fri May 18 14:16:31 2018 +0300 Use Tango as default icon theme when Breeze is not included Change-Id: Id81c2355abfbdf29599842f06ad8b3c754db708b (cherry picked from commit d62acf55f17f5b1213f150fb4fb0fd2e8bb0b9b0) Reviewed-on: https://gerrit.libreoffice.org/56418 Reviewed-by: Tor Lillqvist <[email protected]> Tested-by: Tor Lillqvist <[email protected]> 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"; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
