[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/runners/calculator
From: Jordi Polo <mumismo () gmail ! com>
Date: 2008-05-01 8:19:11
Message-ID: 1209629951.611137.29722.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 802905 by jordipolo:
Setting the types this runner ignores.
This will prevent some unneded launches of this runner.
M +5 -0 calculatorrunner.cpp
--- trunk/KDE/kdebase/workspace/plasma/runners/calculator/calculatorrunner.cpp #802904:802905
@@ -27,7 +27,9 @@
#include <KIcon>
+#include <plasma/searchcontext.h>
+
CalculatorRunner::CalculatorRunner( QObject* parent, const QVariantList &args )
: Plasma::AbstractRunner(parent, args)
{
@@ -35,6 +37,9 @@
Q_UNUSED(args)
setObjectName(i18n("Calculator"));
+ setIgnoredTypes(Plasma::SearchContext::Directory | Plasma::SearchContext::File |
+ Plasma::SearchContext::NetworkLocation | Plasma::SearchContext::Executable |
+ Plasma::SearchContext::ShellCommand);
}
CalculatorRunner::~CalculatorRunner()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic