removed code that limited plug-in registration.
* plug-ins/pygimp/gimpfu.py: removed code that limited plug-in registration.
This commit is contained in:
parent
e74278f524
commit
9010e5dadd
2 changed files with 6 additions and 7 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue