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

Oliver M. Bolzer oliver at fakeroot.net
Sun Dec 7 12:58:31 CET 2003


On Sat, Dec 06, 2003 at 05:51:24PM +0100, Jasper Huijsmans <jasper at moongroup.com> wrote...
 
> 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?

Yes. Very nice.
Only one thing: When xfcalender is not running, it is started but does
not popup.

 exec_cmd_silent() starts xfcalender after the event is handled,
so it can not be popped up while in the same on_button_press_event_cb()
invocation. I tried to reissue the event using gdk_event_put() and
gtk_propagate_event() but that lead to infinite loops with my limited
GDK/GTK experience :-)

-- 
	Oliver M. Bolzer
	oliver at gol.com

GPG (PGP) Fingerprint = 621B 52F6 2AC1 36DB 8761  018F 8786 87AD EF50 D1FF



More information about the Xfce4-dev mailing list