[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Wed Oct 19 12:04:26 UTC 2016
vcl/source/app/IconThemeInfo.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit cd1c20ea546d1154daab0eea264c003fc446898c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Oct 19 13:03:24 2016 +0100
make the 'Breeze_dark' name look less stupid in the icon theme dropdown list
Change-Id: I3e0be0f5f83e0191988c63c709c090ba4c936d61
diff --git a/vcl/source/app/IconThemeInfo.cxx b/vcl/source/app/IconThemeInfo.cxx
index a354b0d..3c886be 100644
--- a/vcl/source/app/IconThemeInfo.cxx
+++ b/vcl/source/app/IconThemeInfo.cxx
@@ -23,6 +23,8 @@ namespace {
static const OUStringLiteral HIGH_CONTRAST_DISPLAY_NAME("High Contrast");
static const OUStringLiteral TANGO_TESTING_ID("tango_testing");
static const OUStringLiteral TANGO_TESTING_DISPLAY_NAME("Tango Testing");
+static const OUStringLiteral BREEZE_DARK_ID("breeze_dark");
+static const OUStringLiteral BREEZE_DARK_DISPLAY_NAME("Breeze Dark");
OUString
filename_from_url(const OUString& url)
@@ -127,6 +129,9 @@ IconThemeInfo::ThemeIdToDisplayName(const OUString& themeId)
else if (themeId.equalsIgnoreAsciiCase(TANGO_TESTING_ID)) {
return TANGO_TESTING_DISPLAY_NAME;
}
+ else if (themeId.equalsIgnoreAsciiCase(BREEZE_DARK_ID)) {
+ return BREEZE_DARK_DISPLAY_NAME;
+ }
// make the first letter uppercase
OUString r;
More information about the Libreoffice-commits
mailing list