Multiple verve-plugins in different panels

Jannis Pohlmann info at sten-net.de
Wed Jul 26 17:59:20 CEST 2006


On Wed, 26 Jul 2006 16:57:55 +0200, Jannis Pohlmann wrote:

> On Wed, 26 Jul 2006 15:22:34 +0200, Nikolas Arend wrote:
> 
> > Jannis Pohlmann wrote:
> > > 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. 
> > >
> > >   
> > Ok, you're right, didn't think of this.
> > 
> > > 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.
> > >   
> > I just tried to compile the latest verve-plugin with dbus support
> > and it seems that dbus 0.50 is too old:
> > 
> > verve-dbus-service.c: In function ‘verve_dbus_service_init’:
> > verve-dbus-service.c:139: error: ‘DBUS_NAME_FLAG_ALLOW_REPLACEMENT’ 
> > undeclared (first use in this function)
> > verve-dbus-service.c:139: error: (Each undeclared identifier is
> > reported only once
> > verve-dbus-service.c:139: error: for each function it appears in.)
> > make[3]: *** [xfce4_verve_plugin-verve-dbus-service.o] Error 1
> > 
> > I don't know when this constant was introduced, but it seems it's
> > not in 0.50. Can this be helped? I'm reluctant to install a newer
> > version of dbus atm. since there are many other packages on my FC4
> > that depend on libdbus-1.so.1, but would like to have verve-plugin
> > with dbus-support.
> 
> Sure, I can workaround this, by checking the D-BUS version, I guess.
> I'll work on this later. Thanks for the report.

Ok, I just commited a switch so that for older D-BUS versions (< 0.60)
this flag isn't used. Could you try again?

Regards,
Jannis



More information about the Xfce4-dev mailing list