You are not logged in.

#1 2010-09-22 02:24:10

HirnBrot
Member
Registered: 2010-09-22
Posts: 13

python plasmoid works in plasmoidviewer but not standalone

Hi,

I've been contributing to an mpd-client-plasmoid lately,
and as part of that, i wanted to make it send notifications.

The problem is, the notifications work when using the plasmoid with plasmoidviewer,
but they hang the whole plasma-desktop for a few seconds each when using it normally.

Even weirder:
This happens with pynotify, knotify (via dbus) and even kdialog (with os.system)

The code is kinda large, but I can post some parts if necessary.

Thanks in advance,
Fabian

Offline

#2 2010-09-22 18:18:53

HirnBrot
Member
Registered: 2010-09-22
Posts: 13

Re: python plasmoid works in plasmoidviewer but not standalone

Hmm,

somehow using PyKDE4.kdeui's KNotification works...
don't know what the problem was, but it's fixed now.

Offline

Board footer

Powered by FluxBB