diff options
author | Tobias Lippert <drtl@fastmail.fm> | 2015-02-21 21:39:45 +0100 |
---|---|---|
committer | Yousuf Philips <philipz85@hotmail.com> | 2015-05-27 12:24:21 +0000 |
commit | 2a0118a98fc39dfed56fb7904733f63f6a2d6fe8 (patch) | |
tree | e9237ec691edcf32ee8e444bb7888d7dbb182e8e /include | |
parent | 0cdab3fc10828233d202e064a175dc6442a4a473 (diff) |
tdf#88675 Fix display names for hicontrast and tango_testing
The special cases for the icon themes with the filenames
"images_hicontrast.zip" and "images_tango_testing.zip" are now handled.
They will be displayed as "High Contrast" and "Tango Testing"
respectively.
Change-Id: Ia3c2b8b57809db9c5ed132c42a412157e91b2599
Reviewed-on: https://gerrit.libreoffice.org/14574
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/IconThemeInfo.hxx | 3 | ||||
-rw-r--r-- | include/vcl/IconThemeSelector.hxx | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/vcl/IconThemeInfo.hxx b/include/vcl/IconThemeInfo.hxx index 8d9c0e345a16..f1f2fa99e4f7 100644 --- a/include/vcl/IconThemeInfo.hxx +++ b/include/vcl/IconThemeInfo.hxx @@ -29,6 +29,9 @@ class VCL_DLLPUBLIC IconThemeInfo { public: + /** The name of the icon theme to use for high contrast mode */ + static const OUString HIGH_CONTRAST_ID; + /** Construct an IconThemeInfo from the URL to a file. * This method will throw a std::runtime_error if the URL cannot be properly parsed. * Check the URL with UrlCanBeParsed() first. diff --git a/include/vcl/IconThemeSelector.hxx b/include/vcl/IconThemeSelector.hxx index 8f9d98b6da4a..990e3ec3fa30 100644 --- a/include/vcl/IconThemeSelector.hxx +++ b/include/vcl/IconThemeSelector.hxx @@ -76,10 +76,6 @@ private: static OUString ReturnFallback(const std::vector<IconThemeInfo>& installedThemes); - /** The name of the icon theme to use for high contrast mode */ - static const OUString - HIGH_CONTRAST_ICON_THEME_ID; - /** The name of the icon theme which is used as fallback */ static const OUString FALLBACK_ICON_THEME_ID; |