pyxfce panel plugin

masse_nicolas at yahoo.fr masse_nicolas at yahoo.fr
Sat Mar 18 23:39:26 CET 2006


On Thu, 16 Mar 2006 08:42:16 +0100
"daniele favara" <danjele at gmail.com> wrote:

> hi all,
> 
> i decided to test pyxfce ... and here there is a first panel plugin in python.
> 
> bzr:     http://www.dsslive.org/bzr/basilico/
> tar.gz: http://www.dsslive.org/downloads/basilico/
> shots:  http://www.dsslive.org/mediawiki/index.php/Basilico
> 
> it would be nice if someone could test it.
> 
> i would even help on writing the pyxfce referencies .. if someone
> could help me on that, i don't really know how it is normally done.
> 
> it's really far from being stable ... but the main issue i found was
> that i couldn't resize the gtk.Container ... is it me or a pyxfce bug
> ?
> 

Look promising if we look at the screenshot. But I must agree that I had some difficulties to install it. Also, and as you said it seems to be far from stable.

For example, here is what I had after inserting a music cd:
nic at GENTOO ~/tmp/basilico-0.1.0 $ Traceback (most recent call last):
  File "/home/nic/tmp/basilico-0.1.0/xfce4-basilico-plugin/xfce4-basilico-plugin.py", line 495, in ?
    plugin = BasilicoPlugin()
  File "/home/nic/tmp/basilico-0.1.0/xfce4-basilico-plugin/xfce4-basilico-plugin.py", line 128, in __init__
    self.basilico_connect()
  File "/home/nic/tmp/basilico-0.1.0/xfce4-basilico-plugin/xfce4-basilico-plugin.py", line 53, in basilico_connect
    basilico.get_virtual_menu()
  File "//usr/lib/python2.4/site-packages/dbus/proxies.py", line 79, in __call__    reply_message = self._connection.send_with_reply_and_block(message, timeout)  File "dbus_bindings.pyx", line 458, in dbus_bindings.Connection.send_with_reply_and_block
dbus_bindings.DBusException: Traceback (most recent call last):
  File "//usr/lib/python2.4/site-packages/dbus/service.py", line 304, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/home/nic/tmp/basilico-0.1.0/Basilico/utils/basilico_dbus.py", line 23, in get_virtual_menu
    self.Menu(self.virtual_menu)
AttributeError: 'BasilicoObject' object has no attribute 'virtual_menu'

Just after that, the plugin crashed (note: but the panel didn't, wich is what Jasper expected from running plugins in other process that the panel. Seems it work :D )

Anyway, I hope you will be able to fix all that, because I found this plugin very interesting.

Bountykiller



More information about the Xfce4-dev mailing list