[Panel-devel] trashcan applet

Marco Martin martkive at gmail.com
Thu Nov 22 20:13:27 CET 2007


On Thursday 22 November 2007, Aaron J. Seigo wrote:
> On Thursday 22 November 2007, Marco Martin wrote:
> > Hi all,
> > i was trying to learn a little bit about plasma, so i've tried to
> > implement a little trashcan plasmoid, i've uploaded a copy at
> > http://www.notmart.org/misc/Plasma-trash.tar.bz2
>
> neat; do you have an svn account? if so, can you please put this in
> trunk/playground/base/plasma/applets? if not, i can put it in there for you
> and if you continue working on it we'll just get you your own account.

no, i don't have one. i don't have much time for it (but hey, this could be 
said for everyone :)) but i would like to continue to (slowly:D) work on it, 
so yeah, an account would be neat :)

> in the popup method, you probably want to change this:
>
>     if (!pressed) {
>         return;
>     }
>
> to
>
>     if (!pressed || m_menu.isVisible()) {
>         m_menu.hide();
>         return;
>     }

ok

> so that a second click hides the menu. (eventually we should probably have
> a icon-for-popups probably; but i'm hesitant to add more Plasma::Widgets at
> this point so close to 4.0 knowing as well that they are likely to be
> replaced in 4.1 =)

ok, and since i'm so noob it will take some time to have a decently functional 
thing anyway :)

> > a strange problem i ecoutered is if i run plasma from kde3 clicking on
> > the open action it opens konqueror at the right location, under a kde4
> > sessions it says "malformaed url trash:/"
> > the strange thing is that i get the same problem if i create an url
> > plasmoid pointing at trash:/
>
> yeah, issues with ioslaves in kde4 afaik.


More information about the Panel-devel mailing list