Rich, Thanks for your confirmation it's working for you too.
Krikor, From the above posts it's clear we are all making the same edits (the commenting out does the same job).
From your image in post #10 it's clear that for some reason you are not running the modified code as the brush selector is still there.
I would try two things:
1. Move the plugin file out of the plugins folder to a folder away from anything to do with gimp. Restart gimp. Is the plugin still available from the menu? It should not be.
2. Make just one trivial change to some text in the plugin e.g. change just the one word Color in the line below to something else:
Change this line:
(PF_COLOR, "fg_color", "Color:", (0, 157, 255)),
to this line:
(PF_COLOR, "fg_color", "Testing:", (0, 157, 255)),
Put the plugin back into the plugins folder. Restart gimp. Has the text in the dialog box changed to say Testing instead of Colour?
This will help confirm if you are running the correct plugin code or not.
It may not matter much for this plugin as you have a workaround, but generally you need to know what code you are running.
Krikor, From the above posts it's clear we are all making the same edits (the commenting out does the same job).
From your image in post #10 it's clear that for some reason you are not running the modified code as the brush selector is still there.
I would try two things:
1. Move the plugin file out of the plugins folder to a folder away from anything to do with gimp. Restart gimp. Is the plugin still available from the menu? It should not be.
2. Make just one trivial change to some text in the plugin e.g. change just the one word Color in the line below to something else:
Change this line:
(PF_COLOR, "fg_color", "Color:", (0, 157, 255)),
to this line:
(PF_COLOR, "fg_color", "Testing:", (0, 157, 255)),
Put the plugin back into the plugins folder. Restart gimp. Has the text in the dialog box changed to say Testing instead of Colour?
This will help confirm if you are running the correct plugin code or not.
It may not matter much for this plugin as you have a workaround, but generally you need to know what code you are running.