]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Use a better icon for recently accessed items in the Places Panel
authorFrank Reininghaus <frank78ac@googlemail.com>
Thu, 9 Aug 2012 21:38:48 +0000 (23:38 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Thu, 9 Aug 2012 21:38:48 +0000 (23:38 +0200)
The problem with the icon "package_utility_time" that has been used
before was that it is not available on all distros. The new icon
"actions/chronometer" should be available on every KDE install.

Thanks to Elias Probst for suggesting the new icon - I'm not that
familiar with the icons provided by KDE myself.

BUG: 304323
FIXED-IN: 4.9.1

src/panels/places/placesitem.cpp

index dac1bdb3b6887365bca9279f0ff2c3a234321329..318da539142e84fe0989b023895db03c009a68f5 100644 (file)
@@ -138,7 +138,7 @@ void PlacesItem::setBookmark(const KBookmark& bookmark)
     const GroupType type = groupType();
     if (icon().isEmpty()) {
         switch (type) {
     const GroupType type = groupType();
     if (icon().isEmpty()) {
         switch (type) {
-        case RecentlyAccessedType: setIcon("package_utility_time"); break;
+        case RecentlyAccessedType: setIcon("actions/chronometer"); break;
         case SearchForType:        setIcon("nepomuk"); break;
         case PlacesType:
         default:                   setIcon("folder");
         case SearchForType:        setIcon("nepomuk"); break;
         case PlacesType:
         default:                   setIcon("folder");