Commit 9010e5da authored by Carol Spears's avatar Carol Spears

removed code that limited plug-in registration.

* plug-ins/pygimp/gimpfu.py: removed code that limited plug-in registration.
parent e74278f5
2005-09-30 Carol Spears <carol@gimp.org>
* plug-ins/pygimp/gimpfu.py: removed code that limited plug-in
registration.
2005-09-30 Michael Natterer <mitch@gimp.org>
* app/vectors/gimpstroke.[ch]: added stubs of two new snapping
......
......@@ -183,13 +183,7 @@ def register(func_name, blurb, help, author, copyright, date, menupath,
if not letterCheck(ent[1]):
raise error, "result name contains illegal characters"
if menupath[:8] == '<Image>/' or \
menupath[:7] == '<Load>/' or \
menupath[:7] == '<Save>/' or \
menupath[:10] == '<Toolbox>/':
plugin_type = PLUGIN
else:
raise error, "Invalid menu path"
plugin_type = PLUGIN
if not func_name[:7] == 'python_' and \
not func_name[:10] == 'extension_' and \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment