talons

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

commit a22303ce00367add653f0b87d8e2d301bb15e9f9
parent 569c7e1e20daa354eaccdec5160398ae0ba71d74
Author: Ricardo Mones <ricardo@mones.org>
Date:   Wed, 24 Aug 2016 12:14:28 +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

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

diff --git 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); }