Notes on the new panel

Erik Harrison erikharrison at xfce.org
Thu Sep 22 20:45:27 CEST 2005


On 9/22/05, Jasper Huijsmans <jasper at xfce.org> wrote:
> Jannis Pohlmann schreef:
> >>>>I'm currently working on an iconbox plugin. After that I think it is
> >>>>only the clock plugin that needs to be ported. Would you like to have a
> >>>>look at that? I think it is ok to port the current panel plugin first
> >>>>and look at merging with the date-time plugin later.
> >>>
> >>>
> >>>Yeah, why not. I'll have a look at it later today. Should be no problem,
> >>>I think.
> >>
> >>
> >>I'm working on it at the moment and I stumbled across a problem. The old
> >>clock was resized whenever its mode was changed. It used icon_size[size]
> >>(xfce4-panel/plugins/clock.c, line 276). What's this and is there a
> >>better solution already (I noticed a comment in
> >>xfce4-panel/panel/global.h on this)?
> >
> >
> > I found a solution for this. I now set the led size by checking the size
> > and comparing it with DIGIT_*_HEIGHT (xfce_clock.c). Unfortunately,
> > DIGIT_*_HEIGHT defines are not in xfce_clock.h so I have to use their
> > values (10, 14, 20). Perhaps we should move them into the header, what
> > do you think?
> >
>
> I think the clock widget should be taken out of libgui and be part of
> the clock plugin. Nothing else is using it, AFAIK.

Mark deprecated?

> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
>


--
"This brings me back to a time where I had no worries.
All I needed to do was watch Perfect Strangers."
-Erik



More information about the Xfce4-dev mailing list