[PATCH] Panel Clock Improvements: I18N tooltip, calender popup

Jasper Huijsmans jasper at moongroup.com
Sat Dec 6 10:16:56 CET 2003

Op vr 05-12-2003, om 20:28 schreef Oliver M. Bolzer:
> On Fri, Dec 05, 2003 at 03:38:42PM +0100, Jasper Huijsmans <jasper at moongroup.com> wrote...
> > The advantage is that all implementation is inside xfcalendar, so it
> > doesn't need to be kept in sync. If Korbinus decides to start using
> > D-bus for communication it will still work ;-)
> Basic problem: how to communicate between processes.
>  A. Define some kind of IPC-mechanism. Sockets, XEvents, Telepathy whatever
>  B. Do everything over command line. How the newly invoked instance tells
>     the already running instance the information is implementation detail.
>     The mechanism and interfaces for that would be the same as A, but the
>     interface is not exported.
> I guess it's more a matter of taste.

Yeah, I prefer B if possible. Exported interfaces should be kept to a
minimum, because they are harder to change later on, although this is
more important for libraries of course.

> > The only thing that will not work with this method is the special
> > calendar positioning, but I'm not sure that is necessary. If you feel
> > strongly about this, it might be possible to come up with a command line
> > option to xfcalendar that takes care of this.
> Well, I actually DO feel very strongly about it. I probably wouldn't die
> if the calender popped up right next to the tasktray icon, but the clock
> would be more convenient. I must confess, that the calender popup was
> THE one single thing, I liked most in KDE and missed when I first tried
> XFce. Time and Date somehow belong together and when I click on the clock,
> I don't want to move my eyes to search for the calender. I look at it for
> a moment and then close it again with another click.

Yeah, you are probably right.

And, I'm not sure I like to have special command line options for
xfdesktop for the positioning, either. Hmm.

Ok, I'm going to test your patches today and see how they work. If it
feels right, I'll add them to CVS.

> Having the ability to make the calender move to another place makes it
> possible to "embed" it into other applications, too.
> > Forget about options ;-) We have xfcalendar, it's a perfect fit, if you
> > don't install it, you get no calendar.
> :-) Fine with me.


More information about the Xfce4-dev mailing list