aboutsummaryrefslogtreecommitdiff
path: root/src/summaryview.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/summaryview.c')
-rw-r--r--src/summaryview.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/summaryview.c b/src/summaryview.c
index ec289f33..c7be1437 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -5804,19 +5804,10 @@ static void summary_selection_changed(GtkTreeSelection *selection,
summaryview->display_msg = FALSE;
if (!gtkut_tree_row_reference_equal(summaryview->displayed,
summaryview->selected)) {
- if (summaryview->on_button_press) {
- MsgInfo *msginfo;
-
- gtk_tree_model_get(model, &iter,
- S_COL_MSG_INFO, &msginfo,
- -1);
- if (MSG_IS_MIME(msginfo->flags))
- g_idle_add
- (summary_display_msg_idle_func,
- summaryview);
- else
- summary_display_msg(summaryview, &iter);
- } else
+ if (summaryview->on_button_press)
+ g_idle_add(summary_display_msg_idle_func,
+ summaryview);
+ else
summary_display_msg(summaryview, &iter);
return;
}