[geary/wip/738188-multireplies: 1/5] Allow only a single inline composer at a time
- From: Robert Schroll <rschroll src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/738188-multireplies: 1/5] Allow only a single inline composer at a time
- Date: Wed, 14 Jan 2015 22:08:49 +0000 (UTC)
commit 4b644cc4bd4b03387b1452486dc85c14c7ab80a9
Author: Robert Schroll <rschroll gmail com>
Date: Mon Jan 12 15:18:30 2015 -0800
Allow only a single inline composer at a time
Also, set the detached state after creating the window to get the
toolbar in the correct state.
src/client/application/geary-controller.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala
index 998fc72..544c407 100644
--- a/src/client/application/geary-controller.vala
+++ b/src/client/application/geary-controller.vala
@@ -2134,8 +2134,8 @@ public class GearyController : Geary.BaseObject {
if (inline) {
new ComposerEmbed(widget, main_window.conversation_viewer, referred);
} else {
- widget.state = ComposerWidget.ComposerState.DETACHED;
new ComposerWindow(widget);
+ widget.state = ComposerWidget.ComposerState.DETACHED;
}
}
@@ -2152,6 +2152,7 @@ public class GearyController : Geary.BaseObject {
return false;
}
}
+ inline = !any_inline_composers();
return true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]