Skip to content

Commit dd2b19c

Browse files
committed
Update readme
1 parent 3c4c1e3 commit dd2b19c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,6 @@ You can access GIMP PDB procedure information ([`Gimp.Procedure`](https://develo
100100

101101
### Registering plug-in procedures
102102

103-
Import the `wrappers/procedure.py` module and call `procedure.register_procedure()` to register a single PDB procedure. See the [`generate-pdb-stubs` module](generate-pdb-stubs/generate-pdb-stubs.py#L51) for an example.
104-
105-
At the end of your main Python module, call `procedure.main()`.
103+
1. Copy the `wrappers/procedure.py` module to your plug-in directory.
104+
2. Within the main file of your plug-in (a Python script with same name as its parent directory) import the `procedure` module and call `procedure.register_procedure()` to register a single PDB procedure. See the [`generate-pdb-stubs` module](generate-pdb-stubs/generate-pdb-stubs.py#L51) for an example.
105+
3. At the end of your main Python module, call `procedure.main()`.

0 commit comments

Comments
 (0)