On Thu, May 15, 2008 at 4:23 PM, Edward K. Ream <[EMAIL PROTECTED]> wrote:
> This is an initialization problem. Plugins must be careful to load first so
> they can set the gui. You can't be using the nullGui, because
> nullGui.get_focus is:
>
> def get_focus(self,frame):
> return self.focusWidget or (hasattr(frame,'body') and
> frame.body.bodyCtrl) or None
Actually, it isn't. It's (in leo trunk):
def get_focus(self,frame):
return self.focusWidget or frame.body.bodyCtrl
(leoGui.py, line 546)
And this causes the crash.
--
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---