[Commits] [SCM] claws branch, master, updated. 3.14.0-27-ga22303c

mones at claws-mail.org mones at claws-mail.org
Wed Aug 24 12:20:57 CEST 2016


The branch, master has been updated
       via  a22303ce00367add653f0b87d8e2d301bb15e9f9 (commit)
      from  569c7e1e20daa354eaccdec5160398ae0ba71d74 (commit)

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


- Log -----------------------------------------------------------------
commit a22303ce00367add653f0b87d8e2d301bb15e9f9
Author: Ricardo Mones <ricardo at mones.org>
Date:   Wed Aug 24 12:14:28 2016 +0200

    Fix bug #3515: Ctrl-Shift-X opens multiple external editors
    
    This a known GTK+ bug (passing keypresses of disabled menus) or
    a mising feature (not providing a way to disable also keypresses).
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=656158

diff --git a/src/compose.c b/src/compose.c
index 8222066..a4d0d7e 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -10545,6 +10545,12 @@ static void compose_ext_editor_cb(GtkAction *action, gpointer data)
 {
 	Compose *compose = (Compose *)data;
 
+#ifdef G_OS_UNIX
+	if (compose->exteditor_tag != -1) {
+		debug_print("ignoring open external editor: external editor still open\n");
+		return;
+	}
+#endif
 	compose_exec_ext_editor(compose);
 }
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list