From 2a0118a98fc39dfed56fb7904733f63f6a2d6fe8 Mon Sep 17 00:00:00 2001 From: Tobias Lippert Date: Sat, 21 Feb 2015 21:39:45 +0100 Subject: 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 Tested-by: Yousuf Philips --- include/vcl/IconThemeInfo.hxx | 3 +++ include/vcl/IconThemeSelector.hxx | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'include') 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& 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; -- cgit