[Commits] [SCM] claws branch, master, updated. 3.9.2-125-g72a27a8

claws at claws-mail.org claws at claws-mail.org
Tue Dec 3 12:22:30 CET 2013


The branch master of project "claws" (Claws Mail) has been updated
       via  72a27a8d0cfd7d97082b7474caa0bf4efe1ad08d (commit)
      from  0f24457ebe6bf2d3164e5f958a24deaaaba75bbf (commit)


- Log -----------------------------------------------------------------
commit 72a27a8d0cfd7d97082b7474caa0bf4efe1ad08d
Author: Paul <paul at claws-mail.org>
Date:   Tue Dec 3 11:22:22 2013 +0000

    fix sensitivity and state of 'hide read threads'
    
    This fixes this problem:
    'Thread View' is set and 'Hide read threads' is set.
    Unset 'Thread View', 'hide read threads' is greyed out but still set,
    and 'hide read messages' is greyed out also.
    
    With this fix, when 'Thread View' is unset, 'hide read threads' is
    automatically unset too, thus 'hide read messages' is selectable.

diff --git a/src/mainwindow.c b/src/mainwindow.c
index 7830646..95f93e4 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -3314,6 +3314,8 @@ do { \
 	cm_toggle_menu_set_active_full(mainwin->ui_manager, "Menu/View/Quotes/Collapse2", (prefs_common.hide_quotes == 2));
 	cm_toggle_menu_set_active_full(mainwin->ui_manager, "Menu/View/Quotes/Collapse3", (prefs_common.hide_quotes == 3));
 
+	if (mainwin->summaryview->folder_item && !mainwin->summaryview->folder_item->threaded)
+		cm_toggle_menu_set_active_full(mainwin->ui_manager, "Menu/View/HideReadThreads", FALSE);
 	if (mainwin->summaryview->folder_item && mainwin->summaryview->folder_item->hide_read_msgs)
 		cm_menu_set_sensitive_full(mainwin->ui_manager, "Menu/View/HideReadThreads", FALSE);
 	if (mainwin->summaryview->folder_item && mainwin->summaryview->folder_item->hide_read_threads)

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

Summary of changes:
 src/mainwindow.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list