Plugins: Update to new composer lifecycle

Update to be compatible with Application.Controller composer lifecycle
changes, add matching signals so plugins can decorate composers as
they are created.

Keep track of Plugin.Composer implementation instances so that the same
object can always be returned for the same Composer.Widget instance.

Update plugin call sites.
This commit is contained in:
Michael Gratton 2020-07-03 15:35:58 +10:00 committed by Michael James Gratton
parent c57ae854bd
commit 78c8a2fedc
8 changed files with 303 additions and 94 deletions

View file

@ -339,7 +339,7 @@ internal class Application.Controller :
composer = new Composer.Widget(
this,
this.application.config,
context,
send_context,
null
);
register_composer(composer);
@ -418,7 +418,7 @@ internal class Application.Controller :
composer = new Composer.Widget(
this,
this.application.config,
account,
send_context,
null
);
register_composer(composer);