Caz wrote:
For some reason the brush manager stopped loading and unloading brushes, so I started having a look around to see if I could find the problem. One attempt was to disable the python file and then re-enable it. That didn't fix the brush manager problem but what it did do was to make all of the other mangers appear under the help tab, pallets, gradients the lot.
What I think must have happened is that when I first set this up it was only for scripts and brushes and for reasons I don't understand the python file doesn't update itself when more managers are added to the .ini file. So the fix is to disable and then re-enable the python file whenever a new manager is added in the .ini file.
And the brush manger had stopped working because I had deleted a set of brushes from my user profile that were still loaded into Gimp and the brush manager didn't seem to like that too much. A quick fix was to delete the .active file in my brushes folder and then fire up the brush manager, problem solved.
Read the README file... Gimp doesn't check all the plugins on startup, only those that are newer that the last time they were registered. When you update the .INI, this changes the necessary registration but since the python file is left unchanged Gimp doesn't give it a chance to re-register. Disabling/enabling is a solution, but you have to start Gimp twice, once to make Gimp forget it, and once to make Gimp aware of it again. To achieve this in one operation, you can either bump the last change date(*) of the python file ("touch" command on Linux, or, what is equivalent, set back the timestamps in the pluginrc file or remove the registration entries int that file altogether), or rename the file (and the .ini...).
When you disable a set, the manager get the list of files in the
source folder and removes them from the active folder. In other words, enable and disable start the same, but when enable copies files, disables delete the destination files(*)
(*) when you are in "copy" mode of course, like you are in Windows or if you use ZIP files on Linux/OSX.