[Commits] [SCM] clawsker branch, master, updated. 1.3.2-2-gb61fdce

mones at claws-mail.org mones at claws-mail.org
Sun Feb 7 15:20:54 UTC 2021


The branch, master has been updated
       via  b61fdce7a20a97a36ef6a9dadb06561a7edaf97f (commit)
      from  f7c7a4c82a83b73554e52e7cf0b8c7e543356359 (commit)

Summary of changes:
 clawsker | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit b61fdce7a20a97a36ef6a9dadb06561a7edaf97f
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sun Feb 7 16:19:23 2021 +0100

    Support hidden preference “imap_scan_tree_recurs_limit”
    
    Available in the "Other" tab under a new "IMAP" section.

diff --git a/clawsker b/clawsker
index 9dbf739..2ccb14d 100755
--- a/clawsker
+++ b/clawsker
@@ -76,6 +76,8 @@ sub _ {
     h_oth_use_netm => _('Use NetworkManager to switch offline automatically.'),
     l_oth_mp_rounds => _('Rounds for PBKDF2 function'),
     h_oth_mp_rounds => _('Specify the number of iterations the key derivation function will be applied on master passphrase computation. Does not modify currently stored passphrase, only master passphrases computed after changing this value are affected.'),
+    l_oth_imap_recl => _('Maximum depth scanning folders'),
+    h_oth_imap_recl => _('Maximun number of nested folders to be scanned on your configured IMAP servers.'),
 
     l_gui_b_unread => _('Show unread messages with bold font'),
     h_gui_b_unread => _('Show unread messages in the Message List using a bold font.'),
@@ -739,10 +741,18 @@ sub new_grid_pack {
         '3.13.2.110',
         '50000',
     ],
+    imap_recl => [
+        'imap_scan_tree_recurs_limit',
+        $xl::s{l_oth_imap_recl},
+        $xl::s{h_oth_imap_recl},
+        'int,2,1024',
+        '3.17.6.10',
+        '64',
+    ],
 );
 
 sub new_other_page() {
-    return new_grid_pack (1, 12, [
+    return new_grid_pack (1, 15, [
         [ _('Addressbook') ],
         [ new_check_button_for(\%pr::oth, 'use_dlg', \%HPVALUE) ],
         [ '--' ],
@@ -754,7 +764,10 @@ sub new_other_page() {
         [ new_check_button_for(\%pr::oth, 'use_netm', \%HPVALUE) ],
         [ '--' ],
         [ _('Master passphrase') ],
-        [ new_text_box_for_int(\%pr::oth, 'mp_rounds', \%HPVALUE) ]
+        [ new_text_box_for_int(\%pr::oth, 'mp_rounds', \%HPVALUE) ],
+        [ '--' ],
+        [ _('IMAP') ],
+        [ new_text_box_for_int(\%pr::oth, 'imap_recl', \%HPVALUE) ]
     ]);
 }
 

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


hooks/post-receive
-- 
Hidden preferences editor for Claws Mail


More information about the Commits mailing list