talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit a5bd5e1504fb941d63ee2f1532c0b469ed651989
parent 89025943db24904d65c420716493e4ad2b40f203
Author: Ricardo Mones <ricardo@mones.org>
Date:   Tue, 24 Nov 2015 10:26:18 +0100

Bug #2355: don't send while external editor is open

Diffstat:
Msrc/compose.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/compose.c b/src/compose.c @@ -9932,6 +9932,12 @@ static void compose_send_cb(GtkAction *action, gpointer data) { Compose *compose = (Compose *)data; +#ifdef G_OS_UNIX + if (compose->exteditor_tag != -1) { + debug_print("ignoring send: external editor still open\n"); + return; + } +#endif if (prefs_common.work_offline && !inc_offline_should_override(TRUE, _("Claws Mail needs network access in order "