Composer.Widget: Split email body editing code out into separate widget
Create a new Composer.Editor widget and move all body web view and action bar related code from the main widget there. This helps to clearly delineate concerns of the two classes, it substantially reduces the complexity of the main widget, and should reduce the odds of further breakage like that fixed by the previous commit less likely in the future.
This commit is contained in:
parent
1282696048
commit
369b1f1a4d
11 changed files with 1672 additions and 1610 deletions
|
|
@ -409,6 +409,7 @@ public class Application.Client : Gtk.Application {
|
|||
);
|
||||
|
||||
MainWindow.add_accelerators(this);
|
||||
Composer.Editor.add_accelerators(this);
|
||||
Composer.Widget.add_accelerators(this);
|
||||
Components.Inspector.add_accelerators(this);
|
||||
Components.PreferencesWindow.add_accelerators(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue