Comment 16 for bug 1680891

Revision history for this message
Stephen Boddy (stephen-j-boddy) wrote :

Hi Dan. First, a big props picking this up and getting it to date.

I haven't tested/run the code yet, but I think I spotted the problem using a quick differential with a similar bundled plugin. See http://bazaar.launchpad.net/~gnome-terminator/terminator/gtk3/view/head:/terminatorlib/plugins/custom_commands.py#L106

The standout part for me is that you are not (from my quick scan) deleting the old configuration, so your changes are always additive to the current config. Try adding that plugin_del_config call and see if it all starts to work. It is perhaps worth pointing out that Config is a borg object, only one of them can exist, and it is always the current config even when instantiating a new instance. This is why not actively deleting the old config will result in old config items sticking around after you save.

Hope that helps/fixes it :-)