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

Jasper Huijsmans jasper at moongroup.com
Sat Dec 6 17:51:24 CET 2003


Op za 06-12-2003, om 10:16 schreef Jasper Huijsmans:
...
> Ok, I'm going to test your patches today and see how they work. If it
> feels right, I'll add them to CVS.
> 

Well, I changed them a little ;) 

I made the clock send a client message containing the window id of the
clock's parent container and the direction in which to popup. Xfcalendar
can then position the calendar relative to this window. I seems to work
nicely.

Does this do what you want?

Included are links to the diffs for clock.c and xfcalendar's main.c.
However, to make this work you'll need to update the entire panel from
CVS, because there are other necessary changes.

	Jasper


clock.c :

http://cvs.xfce.org/cgi-bin/viewcvs.cgi/xfce4/xfce4-panel/plugins/clock/clock.c.diff?r1=1.25&r2=1.26&cvsroot=Xfce

main.c :

http://cvs.xfce.org/cgi-bin/viewcvs.cgi/xfce4/xfcalendar/src/main.c.diff?r1=1.23&r2=1.24&cvsroot=Xfce





More information about the Xfce4-dev mailing list