Multiple verve-plugins in different panels

Jannis Pohlmann info at sten-net.de
Wed Jul 26 14:44:07 CEST 2006


On Wed, 26 Jul 2006 11:21:19 +0200, Nikolas Arend wrote:

> Jannis Pohlmann wrote:
> > On Tue, 25 Jul 2006 21:52:21 +0200, Nikolas Arend wrote:
> >
> >   
> >> Hi,
> >>
> >> I just tried out another instance of the verve-plugin in a
> >> different panel (see post about verve-plugin and hidden panels).
> >> After removing it again, the plugin that remained (the first one)
> >> couldn't receive focus any more via verve-focus, which fails with
> >>
> >> Traceback (most recent call last):
> >>   File "/usr/bin/verve-focus", line 48, in ?
> >>     dbus_interface = "org.xfce.RunDialog")
> >>   File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 64,
> >> in __call__
> >>     reply_message = self._connection.send_with_reply_and_block
> >> (message, timeout)  File "dbus_bindings.pyx", line 395, in 
> >> dbus_bindings.Connection.send_with_reply_and_block
> >> dbus_bindings.DBusException: Message has only 1 arguments, but more
> >> were expected
> >>
> >> Removing the pluging and adding it again fixes the issue. If needed
> >> I'll file a bug report.
> >>     
> >
> > Sorry, I can't reproduce this error - is anyone else able to?
> >
> > My only guess would be that your D-BUS version has bugs. Which one
> > are you using?
> >   
> dbus-0.50 on FC4. If it's only me, nevermind. I won't use multiple 
> instances of the verve plugin anyway and it's working well otherwise.
> I just reported it as it looked like it could be a bug.
> On the other hand, does it make sense to allow multiple instances of 
> verve-plugin running? Using verve-focus, you can only focus one at a 
> time anyway...

Just imagine a Xinerama setup with two screens, two panels and two
Verve instances - yes, it sometimes makes sense to have more than just
one Verve instance running. 

BTW, I now tweaked the code to allow newer Verve instances to gain the
ownership for org.xfce.Verve, so the last created instance grabs the
focus when verve-focus is executed.

- Jannis



More information about the Xfce4-dev mailing list