Small panel feature request

Jasper Huijsmans jasper at xfce.org
Wed Jul 21 08:16:24 CEST 2004


Brian J. Tarricone wrote:
...
> 
>>   - Currently, the menu pops up over the panel and mostly to the right
>>     of the menu button.  I think it would look better if it worked more
>>     like the launcher menu where it pops up centered over the button
>>     and with the bottom of the menu touching the top of the panel (this
>>     is, of course, based on having the panel at the bottom of the screen).
> 
> 
> i'm not sure that this is worth the trouble.  it's just a normal gtk 
> menu (unlike the panel launcher drawers), and i'm just calling 
> gtk_menu_popup(), which, unless you do some menu width and cursor 
> position calculation, just pops up the menu with the top left corner at 
> the mouse position (or top right, if the click is close to the right 
> screen edge).
> 

This is actually something I'd like to see. One day I'll write it 
myself. Shouldn't be too hard to write a positioning function for the 
menu to make it act like a 'real' menu button.

	Jasper



More information about the Xfce mailing list