[Project_owners] acceltext

Philip Chee philip at aleytys.pc.my
Thu Jun 26 21:14:00 PDT 2008


On Thu, 26 Jun 2008 22:23:08 +0200, Onno Ekker wrote:

> I'm trying to get a menuitem's acceltext, but this only works if the 
> menu has been initialized. Maybe I could trick Thunderbird to show and 
> hide the menu using Neil's recent tips to show a menu, but this will 
> probably cause the screen to flash.
> 
> Is there a better way to initialize the menus or to calculate the 
> acceltext from the key and modifiers?

Hmm. menuitems in general or some particular menuitems? If the latter
you might like to look at the source to see how they are initialized.
There might be a few clues there.

Phil

-- 
Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]Shoplifter: Cost-of-living adjustment specialist.
* TagZilla 0.066.6



More information about the Project_owners mailing list