[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-55-g0528a2355

paul at claws-mail.org paul at claws-mail.org
Wed Aug 9 07:55:27 UTC 2023


The branch, gtk2 has been updated
       via  0528a235562c218e4ef35ed2fa7e18c43e1dbd5c (commit)
      from  e72409138bbce4095ba58642ccbd410b598638c2 (commit)

Summary of changes:
 src/compose.c | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)


- Log -----------------------------------------------------------------
commit 0528a235562c218e4ef35ed2fa7e18c43e1dbd5c
Author: Paul <paul at claws-mail.org>
Date:   Wed Aug 9 08:51:32 2023 +0100

    remove the arbitrary paste restriction, which could be worked around by using the context menu anyway

diff --git a/src/compose.c b/src/compose.c
index d012e1a53..263be8f8e 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -1,6 +1,6 @@
 /*
- * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2021 the Claws Mail team and Hiroyuki Yamamoto
+ * Claws Mail -- a GTK based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2023 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -10926,14 +10926,6 @@ static void entry_paste_clipboard(Compose *compose, GtkWidget *entry,
 		if (contents == NULL)
 			return;
 
-                glong len = g_utf8_strlen(contents, -1);
-                if (len > MAX_ALLOCA_MEM_SIZE) {
-                        alertpanel_error(_("Size of pasted text exceeds limit (%dKiB) for paste.\n"
-					   "Attach as file instead."),
-					 (MAX_ALLOCA_MEM_SIZE / 1024));
-                        return;
-                }
-
                 /* we shouldn't delete the selection when middle-click-pasting, or we
 		 * can't mid-click-paste our own selection */
 		if (clip != GDK_SELECTION_PRIMARY) {

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list