[geary/mjog/mail-merge-plugin: 51/74] Composer.Widget: Make editor prop public
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/mail-merge-plugin: 51/74] Composer.Widget: Make editor prop public
- Date: Fri, 14 Aug 2020 02:09:04 +0000 (UTC)
commit 51e5775b0a0c408750bcbaefc8bcc27b9e8baff4
Author: Michael Gratton <mike vee net>
Date: Wed Jul 8 14:25:38 2020 +1000
Composer.Widget: Make editor prop public
Allows Plugin.Composer impl to insert text into the message body.
src/client/composer/composer-widget.vala | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/client/composer/composer-widget.vala b/src/client/composer/composer-widget.vala
index 79526d6d1..84112851e 100644
--- a/src/client/composer/composer-widget.vala
+++ b/src/client/composer/composer-widget.vala
@@ -287,6 +287,9 @@ public class Composer.Widget : Gtk.EventBox, Geary.BaseInterface {
}
}
+ /** The email body editor widget. */
+ public WebView editor { get; private set; }
+
/** Determines if the composer can send the message. */
public bool can_send {
get {
@@ -345,8 +348,6 @@ public class Composer.Widget : Gtk.EventBox, Geary.BaseInterface {
/** Overrides for the draft folder as save destination, if any. */
internal Geary.Folder? save_to { get; private set; default = null; }
- internal WebView editor { get; private set; }
-
internal Headerbar header { get; private set; }
internal bool has_multiple_from_addresses {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]