[Commits] [SCM] clawsker branch, master, updated. 1.3.7-5-ge7b2af5

mones at claws-mail.org mones at claws-mail.org
Mon May 8 19:26:32 UTC 2023


The branch, master has been updated
       via  e7b2af5cd7bd3f50ee27b3bb83b11bfffc7c6005 (commit)
      from  c276820f67207a9c6862a56af8f0934fd947903b (commit)

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


- Log -----------------------------------------------------------------
commit e7b2af5cd7bd3f50ee27b3bb83b11bfffc7c6005
Author: Ricardo Mones <ricardo at mones.org>
Date:   Mon May 8 21:22:03 2023 +0200

    Support old hidden pref "nav_history_length"
    
    Well hidden since 2012... not anymore! :-)

diff --git a/clawsker b/clawsker
index e5ffa37..63189fd 100755
--- a/clawsker
+++ b/clawsker
@@ -169,6 +169,9 @@ sub _ {
     l_beh_qs_press_t => _('Quick search type-ahead delay'),
     l_beh_qs_press_t_units => _('milliseconds'),
     h_beh_qs_press_t => _('When type-ahead mode of Quick search is enabled, this is the delay after key presses in the search entry before starting a new search with the changes made.'),
+    l_beh_nav_hlen => _('Navigation history length'),
+    l_beh_nav_hlen_units => _('items'),
+    h_beh_nav_hlen => _('Maximun number of messages to keep track of when navigating with the “Next opened message” and “Previous opened message” menu actions'),
 
     l_col_emphasis => _('X-Mailer header'),
     h_col_emphasis => _('The colour used for the X-Mailer line when its value is Claws Mail.'),
@@ -1143,6 +1146,14 @@ sub new_gui_page() {
         '500',
 
     ],
+    nav_hlen => [
+        'nav_history_length',
+        [ $xl::s{l_beh_nav_hlen}, $xl::s{l_beh_nav_hlen_units} ],
+        $xl::s{h_beh_nav_hlen},
+        'int,0,500000',
+        '3.8.0.26',
+        '50',
+    ],
 );
 
 sub new_behaviour_page() {
@@ -1173,7 +1184,8 @@ sub new_behaviour_page() {
         [ _('Other') ],
         [ new_text_box_for_int (\%pr::beh, 'up_step', \%HPVALUE) ],
         [ new_text_box_for_int (\%pr::beh, 'thread_a', \%HPVALUE) ],
-        [ new_text_box_for_int (\%pr::beh, 'qs_press_t', \%HPVALUE) ]
+        [ new_text_box_for_int (\%pr::beh, 'qs_press_t', \%HPVALUE) ],
+        [ new_text_box_for_int (\%pr::beh, 'nav_hlen', \%HPVALUE) ]
     ]);
 }
 

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


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


More information about the Commits mailing list