Revision 3159 src/summaryview.c

View differences:

summaryview.c
5929 5929
					summaryview->display_msg = TRUE;
5930 5930
			}
5931 5931
		}
5932

  
5933
		if (summaryview->on_button_press == FALSE) {
5934
			/* button released within sub event loop */
5935
			gtk_tree_path_free(path);
5936
			return TRUE;
5937
		}
5932 5938
	} else if (event->button == 2) {
5933 5939
		summary_select_row(summaryview, &iter, TRUE, FALSE);
5934 5940
		summary_mark_displayed_read(summaryview, &iter);
......
6309 6315
static void summary_drag_begin(GtkWidget *widget, GdkDragContext *drag_context,
6310 6316
			       SummaryView *summaryview)
6311 6317
{
6318
	if (!summaryview->on_button_press)
6319
		g_warning("summary_drag_begin: drag began without button press");
6312 6320
	summaryview->on_drag = TRUE;
6313 6321
	gtk_drag_set_icon_default(drag_context);
6314 6322
}

Also available in: Unified diff