[geary/mjog/misc-fixes: 4/5] Application.Controller: Fix composer not appearing inline for replies
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/misc-fixes: 4/5] Application.Controller: Fix composer not appearing inline for replies
- Date: Sat, 27 Jun 2020 05:29:01 +0000 (UTC)
commit 3daeade46fdb1fbceda4aa96fe05425c62e99447
Author: Michael Gratton <mike vee net>
Date: Sat Jun 27 13:48:24 2020 +1000
Application.Controller: Fix composer not appearing inline for replies
src/client/application/application-controller.vala | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/client/application/application-controller.vala
b/src/client/application/application-controller.vala
index becc3acd8..2ff612775 100644
--- a/src/client/application/application-controller.vala
+++ b/src/client/application/application-controller.vala
@@ -427,13 +427,18 @@ internal class Application.Controller : Geary.BaseObject {
save_to
);
register_composer(composer);
- show_composer(composer);
try {
yield composer.load_context(type, context, quote);
} catch (GLib.Error err) {
report_problem(new Geary.ProblemReport(err));
}
+
+ // Have to load the body before showing the composer
+ // because we need to know what other messages the context
+ // message refers to, so it can be displayed as an inline
+ // composer if appropriate.
+ show_composer(composer);
}
return composer;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]