summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-19 13:03:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-19 13:03:24 +0100
commitcd1c20ea546d1154daab0eea264c003fc446898c (patch)
tree8213f54422e96305e476391a1a59634fd6fb50da
parent75544eb042ab3fc79dd6104749a32af7e180c116 (diff)
make the 'Breeze_dark' name look less stupid in the icon theme dropdown list
Change-Id: I3e0be0f5f83e0191988c63c709c090ba4c936d61
-rw-r--r--vcl/source/app/IconThemeInfo.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/app/IconThemeInfo.cxx b/vcl/source/app/IconThemeInfo.cxx
index a354b0dbb9a0..3c886be55142 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;