mirror of https://github.com/GNOME/gimp.git
don't do anything if run standalone and given a -gimp command line option.
2003-07-09 Manish Singh <yosh@gimp.org> * plug-ins/pygimp/plug-ins/gtkcons.py: don't do anything if run standalone and given a -gimp command line option. (Sanity against #117074)
This commit is contained in:
parent
6d0ba8fa2e
commit
4b266f3240
|
@ -1,3 +1,9 @@
|
|||
2003-07-09 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/plug-ins/gtkcons.py: don't do anything if run
|
||||
standalone and given a -gimp command line option. (Sanity against
|
||||
#117074)
|
||||
|
||||
2003-07-09 Dave Neary <bolsh@gimp.org>
|
||||
|
||||
* devel-docs/pat.txt: Documented the pat version 1 file
|
||||
|
|
|
@ -298,5 +298,6 @@ def gtk_console(ns, title='Python', menu=None):
|
|||
gtk.main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) < 2 or sys.argv[1] != '-gimp':
|
||||
gtk_console({'__builtins__': __builtins__, '__name__': '__main__',
|
||||
'__doc__': None})
|
||||
|
|
Loading…
Reference in New Issue