Revision 5b9aac3...

Go back to digest for 6th February 2011

Features in KDE Base

Sebastian Trueg committed changes in [kde-workspace] /generic/runners/nepomuksearch:

Patch by Amir Pakdel:
Uses nie:mimeType of the resource to set the "type" and "iconName" of the search result. If the resourse does
not have nie:mimeType property, KMimeType::findByUrl(url) is used instead (in order to find the mime-type
associated with the url of the resource).

When running/opening the search result, preferredService of the mime-type is used in invokation of KRun::run;
therefore, the mime-type of the resource (or its url) indicates the service that would be used to run the resource.

Approved by review request: http://reviewboard.kde.org/r/6338/

File Changes

Modified 2 files
  • /generic/runners/nepomuksearch
  •   plasma/nepomuksearchrunner.cpp
  •   plasma/queryclientwrapper.cpp
2 files changed in total