Bug 761140: importing gimpui module causes plugin query failure
After commit f51acf3bfb the python console no longer
initialized gimpui, because it is no longer part of module
initialization.
If the plug-in is run noninteractively and it imports
gimpui explicitely it is now necessary to call gimp_ui_init ()
at the right time
This commit is contained in:
committed by
Michael Natterer
parent
5ea96afdf3
commit
7ccf5d2624
@ -30,6 +30,7 @@ def do_console():
|
||||
pygtk.require('2.0')
|
||||
|
||||
import sys, gobject, gtk, gimpenums, gimpshelf, gimpui, pyconsole
|
||||
gimpui.gimp_ui_init ()
|
||||
|
||||
namespace = {'__builtins__': __builtins__,
|
||||
'__name__': '__main__', '__doc__': None,
|
||||
|
||||
Reference in New Issue
Block a user