pyxfce
daniele favara
danjele at gmail.com
Sun Jan 29 20:04:21 CET 2006
On 1/29/06, Danny Milosavljevic <danny.milo at gmx.net> wrote:
> Hi,
>
> Am Freitag, den 27.01.2006, 21:50 +0100 schrieb daniele favara:
> > hi all,
> >
> > i'm trying to use pyxfce.
> > this is the first result:
> >
> > nomed at Bubu:testplugin1$ python testplugin.py
> > Traceback (most recent call last):
> > File "testplugin.py", line 40, in ?
> > plugin = MyPlugin()
> > File "testplugin.py", line 11, in __init__
> > xfce4.panel.Plugin.__init__(self)
> > RuntimeError: could not create xfce4.panel.ExternalPanelPlugin object
> >
> >
> > :/
> >
> >
> > is there anyone that could show me some source code ?
> >
> > or explain what's wrong there?
>
> Don't run it manually. Install it, then go to the panel context menu
> "Add New Item" and add it to the panel from there.
>
> (install it = put python file into
> ${prefix}/libexec/xfce4/panel-plugins, make it executable; put .desktop
> file into ${prefix}/share/xfce4/panel-plugins)
>
thank you very much.
i'll play soon with pyxfce :)
More information about the Xfce4-dev
mailing list