Cannot remove scripted plasmoid

Chani chanika at gmail.com
Thu Jun 18 21:23:58 CEST 2009


On June 18, 2009 09:15:27 Petri Damstén wrote:
> 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?

yes.

>
> 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

c++ plasmoids have been setting default size in their constructors, so it's 
probably best not to override that :)

-- 
This message brought to you by eevil bananas and the number 3.
www.chani3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090618/b2e5d56c/attachment.sig 


More information about the Plasma-devel mailing list