Re: plasma.include() and member visibility

2010-01-14 Thread Amos Kariuki
On Thu, Jan 14, 2010 at 4:31 PM, Sebastian Kügler wrote: > On Thursday 14 January 2010 17:21:15 Amos Kariuki wrote: >> var name = “Amos”; > >> plasmoid.include(“lib.js”); > > Does it work if you use " or ' instead of “and ”? Doesn't work. > > Just a guess ... > -- > sebas Looking into the sourc

Re: plasma.include() and member visibility

2010-01-14 Thread Sebastian Kügler
On Thursday 14 January 2010 17:21:15 Amos Kariuki wrote: > var name = “Amos”; > plasmoid.include(“lib.js”); Does it work if you use " or ' instead of “and ”? Just a guess ... -- sebas http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9 signature.asc Description: This is a dig

Re: plasma.include() and member visibility

2010-01-14 Thread J Janz
2010/1/14 Amos Kariuki > J Janz wrote: > > > Right ... I meant, wouldn't this be because you're using plasmoid.include > > instead of just include, like in the API link? (i think *that* should > give > > you an error but ... anyway) > > -- > > J (|´:¬{)» > > If you read closely on the API documen

Re: Review Request: a way for a custom corona to forbid some standard context menu entries

2010-01-14 Thread Marco Martin
> On 2010-01-14 18:18:26, Chani Armitage wrote: > > :/ this feels wrong. > > > > for the screensaver, I just created a separate mouse plugin. > > I suppose the netbook shares actions like "log out" and "lock screen" > > though, which makes this a bit trickier... > > we don't really want to dupl

Re: plasma.include() and member visibility

2010-01-14 Thread Amos Kariuki
J Janz wrote: > Right ... I meant, wouldn't this be because you're using plasmoid.include > instead of just include, like in the API link? (i think *that* should give > you an error but ... anyway) > -- > J (|´:¬{)» If you read closely on the API documentation, the include() is actually part of

Re: plasma.include() and member visibility

2010-01-14 Thread J Janz
Right ... I meant, wouldn't this be because you're using plasmoid.include instead of just include, like in the API link? (i think *that* should give you an error but ... anyway) -- J (|´:¬{)» - "Eu sou a ressurreição e a vida. Quem crê em mim, ainda que m

Re: Review Request: a way for a custom corona to forbid some standard context menu entries

2010-01-14 Thread Chani Armitage
--- This is an automatically generated e-mail. To reply, visit: http://reviewboard.kde.org/r/2580/#review3697 --- :/ this feels wrong. for the screensaver, I just created a separate m

Re: plasma.include() and member visibility

2010-01-14 Thread Amos Kariuki
On Thu, Jan 14, 2010 at 10:21 AM, Amos Kariuki wrote: > When I run the plasmoid, I get a message stating that x is undefined. Correction: When I run the plasmoid, I get a message stating that 'name' is undefined. Amos Kariuki ___ Plasma-devel mailing l

Re: plasma.include() and member visibility

2010-01-14 Thread J Janz
I haven't tested that (I was about to by these days) but I guess it's just include [1] instead of plasmoid.include ... [1] http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API#Access_To_Packaged_Files Sorry if I'm saying silliness ... Cheers, -- J (|´:¬{)»

plasma.include() and member visibility

2010-01-14 Thread Amos Kariuki
I’m trying to create a javascript plasmoid with multiple modules. My main.js file includes another script file; my problem is that I’m unable to reference the variables and functions declared in the included file. Example: [lib.js] var name = “Amos”; [main.js] plasmoid.include(“lib.js”); print(

Review Request: Emit signal when launchQuery finish

2010-01-14 Thread igorto
--- This is an automatically generated e-mail. To reply, visit: http://reviewboard.kde.org/r/2592/ --- Review request for Plasma and Aaron Seigo. Summary --- Right now when we us

Review Request: a way for a custom corona to forbid some standard context menu entries

2010-01-14 Thread Marco Martin
--- This is an automatically generated e-mail. To reply, visit: http://reviewboard.kde.org/r/2580/ --- Review request for Plasma and Chani Armitage. Summary --- This approach doe