[Commits] [SCM] claws branch, master, updated. 4.1.1-68-gabde28bea
paul at claws-mail.org
paul at claws-mail.org
Wed Aug 9 07:51:35 UTC 2023
The branch, master has been updated
via abde28bea55cd55bc575b7403307483a4ff9d75e (commit)
from 4c6844370c37cf9a88f2baadd1e844bb072c1b62 (commit)
Summary of changes:
src/compose.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
- Log -----------------------------------------------------------------
commit abde28bea55cd55bc575b7403307483a4ff9d75e
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 a69e38e26..8141d2546 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-2022 the Claws Mail team and Hiroyuki Yamamoto
+ * 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
@@ -10899,13 +10899,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