[Commits] [SCM] claws branch, master, updated. 3.18.0-59-gf8c905328

wwp at claws-mail.org wwp at claws-mail.org
Wed Sep 1 20:45:40 UTC 2021


The branch, master has been updated
       via  f8c905328827863a899d86646d6b5a91a4ff3350 (commit)
      from  2e1a31d0a459797935e28501c75e030f6770d2be (commit)

Summary of changes:
 src/uri_opener.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit f8c905328827863a899d86646d6b5a91a4ff3350
Author: wwp <subscript at free.fr>
Date:   Wed Sep 1 22:45:28 2021 +0200

    Use modern GDK keydefs.

diff --git a/src/uri_opener.c b/src/uri_opener.c
index e9a8bb7ed..4fbf3b2ef 100644
--- a/src/uri_opener.c
+++ b/src/uri_opener.c
@@ -372,7 +372,8 @@ static gboolean key_pressed(GtkWidget *widget, GdkEventKey *event, gpointer data
 		if (event->keyval == GDK_KEY_Escape)
 		    uri_opener_close();
 
-		if ((event->keyval == GDK_c || event->keyval == GDK_x) && (event->state & GDK_CONTROL_MASK)) {
+		if ((event->keyval == GDK_KEY_c || event->keyval == GDK_KEY_x) &&
+				(event->state & GDK_CONTROL_MASK)) {
 			uri_opener_list_copy_cb(NULL, NULL);
             return TRUE;
 		}

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list