runners: same .so, different configs?
Sebastian Kügler
sebas at kde.org
Tue Oct 27 20:53:31 CET 2009
On Tuesday 27 October 2009 18:36:35 Aaron J. Seigo wrote:
> On October 27, 2009, Marco Martin wrote:
> > simply having 2 desktop files with different plugin names that load the
> > same library would work i think?
>
> yes; and then pluginName() would return which one it is. the trick would be
> to then map from those names to URLs. it could be added to the .desktop
> files and then do a KServiceTypeTrader lookup for that Plasma/Applet entry
> and fetch it from there.
Thanks, that was the missing piece of the puzzle in my head. :)
This involves adding a new field to the Plasma/Applet service type, so it's gotta be
something generic. Maybe "-Args" ... ? I can't just put whatever in there...
--
sebas
http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
More information about the Plasma-devel
mailing list