It's pretty much just as it says. I'm using
Leo 5.0-final, build 20150316085617, Mon Mar 16 08:56:17 CDT 2015
Not running from a git repo
Python 2.7.8, PyQt version 4.8.6
Windows 7 AMD64 (build 6.1.7601) SP1
Not only are all of the plugins that come with Leo not working with Icon
clicks but even my simplest plugin doesn't work:
import leo.core.leoGlobals as g
def init():
'''Return True if the plugin has loaded successfully.'''
g.registerHandler("after-create-leo-frame", onCreate)
g.registerHandler("icondclick1", onIcondclick1)
g.plugin_signon(__name__)
print("My plugin registered")
return True
def onCreate(tag, keywords):
print("called onCreate for my plugin")
g.es("called onCreate for my plugin")
return True
def onIcondclick1(tag, keywords):
print("called icondclick1")
g.es("called icondclick1")
Maybe I'm misunderstanding something. The icon is the box to the left of
the headline? I'm not just being an idiot? I know that the plugin is
loading being the print and g.es statements from init() and onCreate() are
executing.
I broke the cardinal rule and tried for a couple hours to diagnose this
myself without asking.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.