[Commits] summaryview.c 1.395.2.457 1.395.2.458
colin at claws-mail.org
colin at claws-mail.org
Thu Nov 15 16:23:14 CET 2012
Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv22102/src
Modified Files:
Tag: gtk2
summaryview.c
Log Message:
2012-11-15 [colin] 3.9.0cvs6
* src/summaryview.c
Fix bug #2785, "Marking mails for deletion reopens internal
message view"
Index: summaryview.c
===================================================================
RCS file: /home/claws-mail/claws/src/summaryview.c,v
retrieving revision 1.395.2.457
retrieving revision 1.395.2.458
diff -u -d -r1.395.2.457 -r1.395.2.458
--- summaryview.c 15 Nov 2012 13:41:06 -0000 1.395.2.457
+++ summaryview.c 15 Nov 2012 15:23:12 -0000 1.395.2.458
@@ -4353,6 +4353,7 @@
AlertValue aval;
MsgInfo *msginfo;
gboolean froze = FALSE;
+ gboolean show = FALSE;
if (!item) return;
@@ -4402,7 +4403,11 @@
if (!node)
node = summary_find_prev_msg(summaryview, sel_last);
- summary_select_node(summaryview, node, prefs_common.always_show_msg, TRUE);
+ show = (prefs_common.always_show_msg == OPENMSG_ALWAYS) ||
+ ((prefs_common.always_show_msg == OPENMSG_WHEN_VIEW_VISIBLE &&
+ messageview_is_visible(summaryview->messageview)));
+
+ summary_select_node(summaryview, node, show, TRUE);
if (prefs_common.immediate_exec || folder_has_parent_of_type(item, F_TRASH)) {
summary_execute(summaryview);
More information about the Commits
mailing list