[Commits] [SCM] claws branch, master, updated. 3.13.0-83-ga5bd5e1

mones at claws-mail.org mones at claws-mail.org
Tue Nov 24 10:31:06 CET 2015


The branch, master has been updated
       via  a5bd5e1504fb941d63ee2f1532c0b469ed651989 (commit)
      from  89025943db24904d65c420716493e4ad2b40f203 (commit)

Summary of changes:
 src/compose.c |    6 ++++++
 1 file changed, 6 insertions(+)


- Log -----------------------------------------------------------------
commit a5bd5e1504fb941d63ee2f1532c0b469ed651989
Author: Ricardo Mones <ricardo at mones.org>
Date:   Tue Nov 24 10:26:18 2015 +0100

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

diff --git a/src/compose.c b/src/compose.c
index f57a0df..2e41dbe 100644
--- 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 "

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list