On Mar 27, 6:25 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:
> > Just noticed some plugins (rst3, graphed) which place entries in some
> > of the standard menus aren't placing those entries there now.
>
> Good catch. The behavior you describe is almost certainly a result of
> making menus later in Leo's startup process. The solution will likely
> involving using a new event to create menu items in plugins. I'll fix all
> affected plugins before b3.
Leo now generates the after-create-leo-frame event just after the
menu2 event, i.e., essentially last.
I had forgotten that there was already a menu2 event: it is now called
the menu-update event.
I changed the rst3 and graphed plugins to use the after-create-leo-
frame rather than whatever events were used previously.
This fixes the rst3 plugin. Haven't tested the graphed plugin.
All changes in Leo's trunk. All unit tests pass.
Please report any other problems immediately.
Edward
P.S. The create-optional-menus event probably doesn't get generated
any more. I don't think this should be a big hardship now that users
can create whatever menus they want. More about this when I talk
about the rClick plugin.
EKR
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---