<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">---------- Messaggio inoltrato ----------<br>From: "Aaron J. Seigo" <<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>><br>
To: <a href="mailto:plasma-devel@kde.org">plasma-devel@kde.org</a><br>Date: Thu, 14 Apr 2011 18:47:41 +0200<br>Subject: Re: Can't collapse QML plasmoid to icon<br>On Thursday, April 14, 2011 18:30:36 Diego Casella wrote:<br>
> [I didn't received any response yet, so I'm posting again since on April 28<br>
> there is the soft freeze fo 4.7, and I'd like to fill the KMix plasmoid<br>
> review request as soon as I can :)]<br>
><br>
> Hello guys,<br>
> I'm facing an other problem during the development of the KMix plasmoid<br>
> replacement. As I wrote on the subject of this email, I can't set a<br>
> popupIcon for that plasmoid. I've modified the "Service Types" in<br>
> metadata.desktop to "Plasma/Applet,Plasma/PopupApplet" (I even tried just<br>
> "Plasma/PopupApplet") and then, inside the main Component.onCompleted<br>
> function:<br>
><br>
> plasmoid.setMinimumSize(80, 150)<br>
> plasmoid.popupIcon("audio-volume-high")<br>
<br>
perhaps:<br>
<br>
plasmoid.popupIcon = "audio-volume-high"<br>
<br>
it's a property, not a function :)<br></blockquote><div> </div><div>Oh my bad, I was still thinking of it as its c++ setPopupIcon() equivalent >.<<br>However, now now I've noticed an other weird issue: if I declare the applet as "Plasma/PopupApplet", install the applet, and run kbuildsycoca4, the widgetexplorer doesn't show the applet at all.<br>
If I declare the plasmoid as "Plasma/Applet,Plasma/PopupApplet", plasmapkg (and also plasmate) refuses to install it. If I copy it with "cp -r", the widgets explorer now displays the new plasmoid but, still, it is not collapsed into an icon when placed in the panel (popupIcon is a QIcon property btw :).<br>
Pretty weird, isn't it?<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
--<br>
Aaron J. Seigo<br>
humru othro a kohnu se<br>
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43<br>
<br>
KDE core developer sponsored by Qt Development Frameworks<br><br></blockquote></div>-- <br>H: Who is Watson without Sherlock Holmes?<br>G: Watson was a genius in his own right.<br><br>My personal blog: <a href="http://polentino911.wordpress.com/" target="_blank">http://polentino911.wordpress.com/</a><br>
<br>