[Libreoffice-commits] core.git: vcl/source
Yousuf Philips
philipz85 at hotmail.com
Fri Aug 11 07:34:33 UTC 2017
vcl/source/app/IconThemeInfo.cxx | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
New commits:
commit 4c60c80ab768f466f54507277861396151249e89
Author: Yousuf Philips <philipz85 at hotmail.com>
Date: Mon Jun 5 17:28:14 2017 +0400
Correct icon size assignment
Change-Id: I9cefadba78688aebbf93e63f0bf29dbe96839fea
Reviewed-on: https://gerrit.libreoffice.org/38408
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/vcl/source/app/IconThemeInfo.cxx b/vcl/source/app/IconThemeInfo.cxx
index 9dac8f81b913..b3f6d9a40a33 100644
--- a/vcl/source/app/IconThemeInfo.cxx
+++ b/vcl/source/app/IconThemeInfo.cxx
@@ -67,17 +67,14 @@ IconThemeInfo::IconThemeInfo(const OUString& urlToFile)
/*static*/ Size
IconThemeInfo::SizeByThemeName(const OUString& themeName)
{
- if (themeName == "tango") {
- return Size( 24, 24 );
- }
- else if (themeName == "crystal") {
+ if (themeName == "crystal") {
return Size( 22, 22 );
}
else if (themeName == "galaxy") {
- return Size( 22, 22 );
+ return Size( 26, 26 );
}
else {
- return Size( 26, 26 );
+ return Size( 24, 24 );
}
}
More information about the Libreoffice-commits
mailing list