[Commits] [SCM] clawsker branch, master, updated. 1.3.1-7-gb7c9bd9

mones at claws-mail.org mones at claws-mail.org
Thu Nov 19 01:14:37 CET 2020


The branch, master has been updated
       via  b7c9bd9ca0c17b0944cc3a02b9e0ffbaecdbad55 (commit)
      from  5deec78bc49cbdcda23597f611f6f67fa6516845 (commit)

Summary of changes:
 clawsker | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit b7c9bd9ca0c17b0944cc3a02b9e0ffbaecdbad55
Author: Ricardo Mones <ricardo at mones.org>
Date:   Thu Nov 19 00:49:11 2020 +0100

    Support for old hidden pref “hide_timezone”
    
    Funny thing is this preference was added to Claws Mail itself by the
    current committer of this change, but more than four years ago. And it
    went completely forgotten until today, when a reference to it in a ML
    message was read... ¯\_(ツ)_/¯

diff --git a/clawsker b/clawsker
index f986f04..f9b5e5d 100755
--- a/clawsker
+++ b/clawsker
@@ -157,6 +157,8 @@ sub _ {
     h_beh_fold_swc => _('On folder name completion text will match any part of the string or only from the start.'),
     l_beh_rewrite_ff => _('Rewrite first \'From\' using QP encoding'),
     h_beh_rewrite_ff => _('Workaround some servers which convert first \'From\' to \'>From\' by using Quoted-Printable transfer encoding instead of 7bit/8bit encoding.'),
+    l_beh_hide_tz => _('Hide time zone information'),
+    h_beh_hide_tz => _('On outgoing messages, sets time zone of date headers to the unknown timezone value "-0000", as specified by RFC 5322'),
 
     l_col_emphasis => _('X-Mailer header'),
     h_col_emphasis => _('The colour used for the X-Mailer line when its value is Claws Mail.'),
@@ -1073,10 +1075,18 @@ sub new_gui_page() {
         '3.14.0.94',
         '0',
     ],
+    hide_tz => [
+        'hide_timezone',
+        $xl::s{l_beh_hide_tz},
+        $xl::s{h_beh_hide_tz},
+        'bool',
+        '3.14.0.22',
+        '0',
+    ],
 );
 
 sub new_behaviour_page() {
-    return new_grid_pack (2, 20, [
+    return new_grid_pack (2, 21, [
         [ _('Drag \'n\' drop') ],
         [ new_text_box_for_int (\%pr::beh, 'hover_t', \%HPVALUE) ],
         [ new_check_button_for (\%pr::beh, 'warn_dnd', \%HPVALUE) ],
@@ -1094,6 +1104,7 @@ sub new_behaviour_page() {
             new_check_button_for (\%pr::beh, 'inline_at', \%HPVALUE) ],
         [ new_check_button_for (\%pr::beh, 'dangerous', \%HPVALUE),
             new_check_button_for (\%pr::beh, 'rewrite_ff', \%HPVALUE) ],
+        [ new_check_button_for (\%pr::beh, 'hide_tz', \%HPVALUE) ],
         [ '--' ],
         [ _('Completion') ],
         [ new_check_button_for (\%pr::beh, 'addr_swc', \%HPVALUE) ],

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


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


More information about the Commits mailing list