aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.ja6
-rw-r--r--src/mimeview.c4
-rw-r--r--src/summaryview.c2
4 files changed, 15 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 35335d9f..32943089 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-10-24
+
+ * src/summaryview.c
+ src/mimeview.c: fixed the problem that DnD didn't work on GTK+ 2.8
+ (thanks to Victor Ananajevsky).
+
2005-10-21
* src/main.c: replaced gdk_input_add() with GIOChannel.
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 1c90dc5a..ae7b0a75 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,9 @@
+2005-10-24
+
+ * src/summaryview.c
+ src/mimeview.c: DnD が GTK+ 2.8 で効かなかった問題を修正(Victor
+ Ananajevsky さん thanks)。
+
2005-10-21
* src/main.c: gdk_input_add() を GIOChannel で置き換えた。
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",