The current tclock source code (which has not been changed since 4.x versions) has a few issues that I fix with the attached patch:
* Upon starting, the clock text is not bold. After the first update, it becomes bold. This patch fixes it by keeping it always non-bold. (if you REALLY want, add a config option to toggle the font, but I don't need that, just keeping it non-bold is enough)
* Upon clicking on the tclock, it prints ENTER and RETURN debug messages. It was the only place in fbpanel code that it happend, and thus I've removed that.
* The plugin tries to be "smart" and does not update the tooltip unless a new day has passed. However, this logic is flawed, because the tooltip contents might contain the current time (hour/minutes/seconds). Thus, the tooltip used to get updated once a day, but now it's updated every time.
* There were some whitespace issues, with mixed tab/spaces. Fixed.
fbpanel-6.0-tclock.patch