libxfce4panel could position panel plugin menus
Nick Schermer
nickschermer at gmail.com
Fri Sep 28 16:06:58 CEST 2007
2007/9/28, Jasper Huijsmans <jasper at xfce.org>:
> Excellent! I have just committed the patches (rev. 26115) with only
> minor modifications.
>
> I used the monitor geometry to make it more suitable for use with
> Xinerama, I added button and event time arguments to
> xfce_panel_plugin_menu_popup() to allow passing these on to
> gtk_menu_popup() and a made few very small cosmetic changes.
>
> Thanks a lot for making those patches! Now let's wait for the reports
> of broken panel behavior ;-)
>
I don't see why there it is not just another GtkMenuPositionFunc.
Because that's what you want, popup a menu... Or am I stupid or
something?
If you want to calculate the arrow direction, fine, but don't do this
in the same function.
Nick
More information about the Xfce4-dev
mailing list