javascript API for setting up interface defaults

Aaron J. Seigo aseigo at kde.org
Fri Sep 2 08:52:03 UTC 2011


On Friday, September 2, 2011 10:38:18 Sebastian Kügler wrote:
> On Thursday, September 01, 2011 16:33:42 Aaron J. Seigo wrote:
> >   On Thursday, September 1, 2011 00:14:46 Sebastian Kügler wrote:
> > > The same might be useful for having Recommendations at first start, and
> > 
> > that's a very good point. i'll add that to the requirements...
> > 
> > > scripted templates for new activities.
> > 
> > yes, this ends up coming nearly for free with these javascript bits. could
> > be  a very nice addition for PA2
> 
> Indeed, came up in me as well.
> 
> For starters, if the "add stuff to Nepomuk" would do the following, that
> would be quite neat:
> 
> Activity.addBookmark("http://userbase.kde.org", "Get Help");
> Activity.addApp("active-webbrowser"); // name of .desktop file
> Activity.addResource("~/Documents/thisishowyoutouchme.pdf");
> Activity.addWidget("org.kde.sebaslovesyou", "with a bunch of args));
> 
> and possibly:
> 
> Activity.rateResource("http://userbase.kde.org", 7); // for sorting kicks

i really like this; and it makes tons of sense with the entire point and 
direction of Contour. ok .. this will definitely be something for PA2 then as 
its becoming something non-trivial to whip up in the time we have left. that's 
not a bad thing, as i think the results will be quite nice...

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/active/attachments/20110902/223672af/attachment.sig>


More information about the Active mailing list