diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-11-02 09:53:54 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-11-02 09:53:54 +0000 |
commit | e943eb0c1847baefd956acd727b7468916c1725d (patch) | |
tree | bc0f634cf360c5414d2eb6655ffb2b0dfe508f27 /src | |
parent | 243e6b84eb31ffd7d1def387ad2c2ec471049aaa (diff) |
fixed unintended drag start on IMAP.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2328 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/summaryview.c | 17 |
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; } |