Deskbar panel mode

Andrzej ndrwrdck at googlemail.com
Mon Nov 28 11:23:40 CET 2011


On 11/28/2011 06:30 PM, Nick Schermer wrote:
>
>> So far I'm sticking to the original design with 3 new properties:
>> - nrows (guint=1) in the panel
>> - deskbar-mode (gboolean=FALSE) in the panel
>> - small (gboolean=FALSE) in the plugin base class.

BTW, now I'm considering replacing:

- deskbar-mode (gboolean=FALSE)

with:

- plugin-orientation (enum={rotated-ccw, horizontal, rotated-cw}=rotated-cw)

This is to implement the behavior Simon has suggested in the other 
thread. I haven't got to the point of implementing this yet.

What's your take on it? I like this option (I mean, it reflect a real 
user preference) but it places more burden on plugin writers.

If we don't give the user such option, what do we choose:
- a panel rotated ccw (the whole panel, not just plugins)
- plugins rotated ccw (IMHO this looks weird as the the plugins will be 
laid out "right-to-left")
- a panel rotated cw
- no rotated plugins/panel at all (deskbar mode only).

>> I know there are some objections to the last one, I'm ready and willing to
>> add some changes once we have a good alternative. So far, the "small"
>> property did a rather good job so I'd be most happy keeping it in the code
>> as is.
>
> Yup.

"Yup, I have objections" or "yup, keep the small property as it is"? ;-)

> I'm going to try to review the code this week (was busy with server
> stuff and power management last week). When the git server is running
> again, I'll also make you a git account so you can push you changes in
> the Xfce git branches directly (not master, but a branch, but makes it
> easier to merge things).

Fantastic.

Thanks,

Andrzej



More information about the Xfce4-dev mailing list