[Commits] [SCM] claws branch, master, updated. 3.17.0-60-g029c9c5

Colin colin at claws-mail.org
Thu Sep 27 08:55:47 CEST 2018


The branch, master has been updated
       via  029c9c58d48e7784950e252e9b4f2e30dc9c9aef (commit)
      from  a2394c03d010ef98197837d509d3d4c7265234bd (commit)

Summary of changes:
 src/mainwindow.c |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit 029c9c58d48e7784950e252e9b4f2e30dc9c9aef
Author: Colin Leroy <colin at colino.net>
Date:   Thu Sep 27 08:55:10 2018 +0200

    Fix Quicksearch eating keypresses it didn't handle.

diff --git a/src/mainwindow.c b/src/mainwindow.c
index 5259a5d..40fe077 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -1369,9 +1369,11 @@ static gboolean mainwindow_key_pressed (GtkWidget *widget, GdkEventKey *event,
 	{
 		GtkWidget *entry =
 			quicksearch_get_entry(mainwin->summaryview->quicksearch);
-		gboolean dummy;
-		g_signal_emit_by_name(entry, "key-press-event", event, &dummy);
-		return TRUE;
+		gboolean handled;
+		g_signal_emit_by_name(entry, "key-press-event", event, &handled);
+		if (handled) {
+			return TRUE;
+		}
 	}
 
 	switch (event->keyval) {

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list