Fix close button in composer

In ccb11359, the composer headerbar was set to have a close button by
default. This caused the reply composer to have a close button that
would close the entire window. This commit reverts that part of
ccb11359.
This commit is contained in:
James Westman 2020-01-03 23:45:25 -06:00
parent e51a3c580b
commit f6e4109c6e
2 changed files with 1 additions and 2 deletions

View file

@ -42,9 +42,9 @@ public class Composer.Window : Gtk.ApplicationWindow, Container {
this.composer.update_window_title();
if (application.config.desktop_environment == UNITY) {
composer.header.show_close_button = false;
composer.embed_header();
} else {
composer.header.show_close_button = true;
set_titlebar(this.composer.header);
}

View file

@ -5,7 +5,6 @@
<template class="ComposerHeaderbar" parent="GtkHeaderBar">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="show_close_button">True</property>
<child>
<object class="GtkBox" id="detach_start">
<property name="visible">True</property>