vcl/source/app/IconThemeInfo.cxx |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

New commits:
commit 4c60c80ab768f466f54507277861396151249e89
Author: Yousuf Philips <philip...@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 <c...@libreoffice.org>
    Reviewed-by: Jan Holesovsky <ke...@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 );
     }
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to