mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
Allow menu paths to be None.
2006-05-30 Manish Singh <yosh@gimp.org> * plug-ins/pygimp/gimpfu.py: Allow menu paths to be None.
This commit is contained in:
parent
30073a15cb
commit
48de9ef030
|
@ -1,3 +1,7 @@
|
|||
2006-05-30 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/gimpfu.py: Allow menu paths to be None.
|
||||
|
||||
2006-05-30 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* app/file/gimprecentlist.c: #define _GNU_SOURCE instead of
|
||||
|
|
|
@ -214,7 +214,9 @@ def _query():
|
|||
params.insert(0, (PDB_INT32, "run_mode",
|
||||
"Interactive, Non-Interactive"))
|
||||
if plugin_type == PLUGIN:
|
||||
if menupath[:7] == '<Load>/':
|
||||
if menupath is None:
|
||||
pass
|
||||
elif menupath[:7] == '<Load>/':
|
||||
params[1:1] = file_params
|
||||
elif menupath[:10] != '<Toolbox>/':
|
||||
params.insert(1, (PDB_IMAGE, "image",
|
||||
|
|
Loading…
Reference in a new issue