Homerun and single-runner runners
Aurélien Gâteau
agateau at kde.org
Wed Feb 13 15:30:36 UTC 2013
Le Wednesday 13 February 2013 14:10:40 Marco Martin a écrit :
> On Wednesday 13 February 2013, Aurélien Gâteau wrote:
> > >> 3. I noticed some runners advertise single-runner mode but do not
> > >> define a
> > >> default syntax. Is it a bug or is there a reason for that?
> > >
> > > hmm, example? that indeed sounds wrong, should see the cases tough.
> >
> > Here is the result of some quick grepping:
> >
> > - kde-workspace
> >
> > - locations
> > - nepomuksearch
> > - powerdevil
> > - recentdocuments
> > - services
> > - shell
> > - webshortcuts
> >
> > - kdeplasma-addons
> >
> > - mediawiki
>
> some like locations and recent documents should indeed have a default query.
Will fix "recentdocuments", then. Not sure about "locations" though. It is not
"places": it does not list favorite folders but is a way to open random urls,
what matches would you show by default?
>
> things like mediawiki, webshortcuts and nepomuk no, is just saying "use only
> nepomuk" but the concept of "default query" doesn't make sense there
>From the documentation [1], I understood having a default syntax was mandatory
for single-runner mode. It makes it possible for Homerun to only list
available runners with a single-runner mode, without actually loading them to
check if they have a default syntax, which is nice.
Any runner should be able to run alone, so I don't understand why it would be
necessary to flag them, but I may be missing something.
Aurélien
[1] http://api.kde.org/4.10-api/kdelibs-apidocs/plasma/html/classPlasma_1_1AbstractRunner.html#a16ab7e01cdc2b082a4be75be3f73d89d
More information about the Plasma-devel
mailing list