[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/base/plasma/plasmate
From:       Sebastian Kügler <sebas () kde ! org>
Date:       2011-03-15 2:09:01
Message-ID: 20110315020901.07C4AAC8CD () svn ! kde ! org
[Download RAW message or body]

SVN commit 1224937 by sebas:

Fix icons in recent files of start page

needs fix in libplasma (c62ed31b42)

 M  +5 -0      startpage.cpp  


--- trunk/playground/base/plasma/plasmate/startpage.cpp #1224936:1224937
@@ -292,7 +292,12 @@
 
         if (serviceType == "Plasma/Applet" ||
             serviceType == "Plasma/PopupApplet") {
+            if (!metadata.icon().isEmpty()) {
+                item->setIcon(KIcon(metadata.icon()));
+                kDebug() << "Setting ICON:" << metadata.icon();
+            } else {
             item->setIcon(KIcon("application-x-plasma"));
+            }
             tooltip += i18n("Project type") + " : " + i18n("Plasmoid");
         } else if (serviceType == "Plasma/DataEngine") {
             item->setIcon(KIcon("kexi"));
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic