[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-100-g2247e8a07

wwp at claws-mail.org wwp at claws-mail.org
Wed Sep 1 20:47:43 UTC 2021


The branch, gtk3 has been updated
       via  2247e8a07da010429c08a2bed3e079b092a5853b (commit)
      from  ea07c3d024c532d85b4f6839fd0d32b7a1dc6ee8 (commit)

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


- Log -----------------------------------------------------------------
commit 2247e8a07da010429c08a2bed3e079b092a5853b
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 a2251a5d4..eaf1caac6 100644
--- a/src/uri_opener.c
+++ b/src/uri_opener.c
@@ -371,7 +371,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