Cannot remove scripted plasmoid

Petri Damstén petri.damsten at gmail.com
Thu Jun 18 18:15:27 CEST 2009


On Saturday 13 June 2009 10:10:44 Petri Damstén wrote:
> > doh! that was in the wrong init() method (the private vs the public one)
> > .. it's fixed now :)
>
> I think that X-Plasma-DefaultSize code should be still called from private
> init, since public init is too late for that?

I was a way for a while but now I had finally time to test this. Seems that 
now plasma always resizes scripted applets to default size. Could X-Plasma-
DefaultSize code work for C++ (like in attached patch) or should it be in the 
script specific section of the code in the AppletPrivate::init?

Petri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: defaultsize.diff
Type: text/x-patch
Size: 1064 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090618/81808565/attachment-0001.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090618/81808565/attachment-0001.sig 


More information about the Plasma-devel mailing list