Fix close button in composer
Inccb11359, 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 ofccb11359.
This commit is contained in:
parent
e51a3c580b
commit
f6e4109c6e
2 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue