[geary/wip/draft-management: 6/7] Fix composers that open detached having a visible detach button
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/draft-management: 6/7] Fix composers that open detached having a visible detach button
- Date: Fri, 2 Aug 2019 04:10:38 +0000 (UTC)
commit 988f8d4e2d6c5cfe3ee6bf8f646ee5e635d85731
Author: Michael Gratton <mike vee net>
Date: Fri Aug 2 12:49:59 2019 +1000
Fix composers that open detached having a visible detach button
src/client/composer/composer-widget.vala | 1 -
src/client/composer/composer-window.vala | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/client/composer/composer-widget.vala b/src/client/composer/composer-widget.vala
index fbcb6689..a65e5e65 100644
--- a/src/client/composer/composer-widget.vala
+++ b/src/client/composer/composer-widget.vala
@@ -1263,7 +1263,6 @@ public class ComposerWidget : Gtk.EventBox, Geary.BaseInterface {
);
this.state = ComposerWidget.ComposerState.DETACHED;
- this.header.detached();
update_composer_view();
// If the previously focused widget is in the new composer
diff --git a/src/client/composer/composer-window.vala b/src/client/composer/composer-window.vala
index f8165be5..28629dce 100644
--- a/src/client/composer/composer-window.vala
+++ b/src/client/composer/composer-window.vala
@@ -32,6 +32,7 @@ public class ComposerWindow : Gtk.ApplicationWindow, ComposerContainer {
public ComposerWindow(ComposerWidget composer, GearyApplication application) {
Object(application: application, type: Gtk.WindowType.TOPLEVEL);
this.composer = composer;
+ this.composer.header.detached();
// XXX Bug 764622
set_property("name", "GearyComposerWindow");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]