Deskbar panel mode

Nick Schermer nickschermer at gmail.com
Tue Nov 15 08:41:30 CET 2011


On Tue, Nov 15, 2011 at 1:09 AM, Andrzej <ndrwrdck at googlemail.com> wrote:
> On 15/11/2011 00:14, Nick Schermer wrote:
>>
>>>> I have my doubt with the small property.
>>>
>>> Yeah, I think I know why. I also was wary of adding it but I couldn't
>>> come
>>> up with a better solution. Do you have any other idea of how to
>>> communicate
>>> back to the itembar that the plug-in wants to be laid out in an array?
>>
>> I'd rather implement it on a plugin level, the item bar would affect
>> too many existing plugin.
>
> The flag is implemented at the plugin level (with a default set in the
> plugin base class). But the actual layout is currently being done by the
> itembar object. So far I was following only existing patterns - similar
> plugin flags "expand", "shrink" already exist and are handled the same way.

I think we can do better if we implement this at a plugin level, but
I'll try your code and see how it works.

Nick


More information about the Xfce4-dev mailing list