Close the composer if the message is blank. Bug 743970.
This commit is contained in:
parent
840a76dac3
commit
58b76ba958
1 changed files with 2 additions and 0 deletions
|
|
@ -1056,6 +1056,8 @@ public class ComposerWidget : Gtk.EventBox {
|
|||
public CloseStatus should_close() {
|
||||
if (this.is_closing)
|
||||
return CloseStatus.PENDING_CLOSE;
|
||||
if (this.is_blank)
|
||||
return CloseStatus.DO_CLOSE;
|
||||
|
||||
bool try_to_save = this.can_save;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue