aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mimeview.c4
-rw-r--r--src/summaryview.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mimeview.c b/src/mimeview.c
index 44a24fb3..b70b775b 100644
--- a/src/mimeview.c
+++ b/src/mimeview.c
@@ -209,8 +209,8 @@ MimeView *mimeview_create(void)
gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column);
gtk_tree_view_enable_model_drag_source
- (GTK_TREE_VIEW(treeview), 0, mimeview_mime_types, 1,
- GDK_ACTION_COPY);
+ (GTK_TREE_VIEW(treeview), GDK_BUTTON1_MASK,
+ mimeview_mime_types, 1, GDK_ACTION_COPY);
g_signal_connect(G_OBJECT(selection), "changed",
G_CALLBACK(mimeview_selection_changed), mimeview);
diff --git a/src/summaryview.c b/src/summaryview.c
index b1b91e1e..635fc4ca 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -4392,7 +4392,7 @@ static GtkWidget *summary_tree_view_create(SummaryView *summaryview)
gtk_tree_view_enable_model_drag_source
(GTK_TREE_VIEW(treeview),
- 0, summary_drag_types, N_DRAG_TYPES,
+ GDK_BUTTON1_MASK, summary_drag_types, N_DRAG_TYPES,
GDK_ACTION_MOVE | GDK_ACTION_COPY);
g_signal_connect_after(G_OBJECT(treeview), "drag-begin",