New panel framework

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Sat Sep 3 17:40:47 CEST 2005


Benedikt Meurer wrote:
>>>I think I'm missing something here.  How does the panel know about these
>>>external plugins?  Unless I'm misunderstanding, the external plugins
>>>don't talk to the panel at all until their binary is run.  But how does
>>>the panel find out about external plugins so it can list them in the
>>>"Add Item" dialog?  Assuming there's a separate mechanism for this,
>>>letting language bindings write plugins shouldn't be a problem at all.
>>
>>Hehe, I guess I forgot to mention something here...
>>
>>Yeah, you're right. It uses .desktop files (in 
>>${prefix}/share/xfce4/panel-plugins/) to describe the plugins.
>>
>>[Xfce Panel]
>>Name=Test Plugin
>>Comment=This plugin has no purpose
>>Icon=xfce-unknown
>>External=true
>>FullPath=/home/jasper/experimental/libexec/xfce4/panel-plugins/testplugin
> 
> 
> Since this is a .desktop file, we should follow the spec here and use
> vendor ids for the two non-standard keys:
> 
> X-XFCE-External=true
> X-XFCE-FullPath=/home/jasper/experimental/libexec/xfce4/panel-plugins/testplugin

BTW: Is there a reason to not just use Exec for the command?

> Benedikt

Benedikt



More information about the Xfce4-dev mailing list