2006-02-11 [colin] 2.0.0cvs43
authorColin Leroy <colin@colino.net>
Sat, 11 Feb 2006 09:50:50 +0000 (09:50 +0000)
committerColin Leroy <colin@colino.net>
Sat, 11 Feb 2006 09:50:50 +0000 (09:50 +0000)
* src/summaryview.c
don't allow drag/drop from ourself

ChangeLog
PATCHSETS
configure.ac
src/summaryview.c

index 3e91537045c24071d18f838eafbdd9e2a543d3f2..12a77b104095baaaf6aac26af8854cf38656a6e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-11 [colin]     2.0.0cvs43
+
+       * src/summaryview.c
+               don't allow drag/drop from ourself
+
 2006-02-10 [wwp]       2.0.0cvs42
 
        * src/exporthtml.c
index f66ec97d6e318619a5bbfba26ce30b4bfb694097..20c13f875ae6c19ed2de071688a6a1f08c468d61 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.4.2.28 -r 1.4.2.29 src/gtk/about.c;  cvs diff -u -r 1.382.2.239 -r 1.382.2.240 src/compose.c;  cvs diff -u -r 1.105.2.48 -r 1.105.2.49 src/prefs_account.c;  cvs diff -u -r 1.5.2.6 -r 1.5.2.7 src/prefs_gtk.h;  cvs diff -u -r 1.14.2.15 -r 1.14.2.16 src/editaddress.c;  ) > 2.0.0cvs40.patchset
 ( cvs diff -u -r 1.395.2.167 -r 1.395.2.168 src/summaryview.c;  ) > 2.0.0cvs41.patchset
 ( cvs diff -u -r 1.5.2.11 -r 1.5.2.12 src/exporthtml.c;  cvs diff -u -r 1.12.2.12 -r 1.12.2.13 src/html.c;  cvs diff -u -r 1.3.2.4 -r 1.3.2.5 src/html.h;  cvs diff -u -r 1.49.2.71 -r 1.49.2.72 src/procmime.c;  cvs diff -u -r 1.96.2.94 -r 1.96.2.95 src/textview.c;  ) > 2.0.0cvs42.patchset
+( cvs diff -u -r 1.395.2.168 -r 1.395.2.169 src/summaryview.c;  ) > 2.0.0cvs43.patchset
index 6a00bfea02421adffe7c3acb4ef9f6ab58680b64..dcfbcb327c4e7d90c8d3713338769163242eb406 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=0
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=42
+EXTRA_VERSION=43
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 45b54726a61601e952dd9b73882bb9bde3de161b..a129c3cb520fb45e31bbbdb480f4be3668b105f5 100644 (file)
@@ -5250,6 +5250,12 @@ static gboolean summary_drag_motion_cb(GtkWidget      *widget,
                return FALSE;
        } else if (gtk_drag_get_source_widget(context) ==
                mainwindow_get_mainwindow()->folderview->ctree) {
+               /* no folders */
+               gdk_drag_status(context, 0, time);
+               return FALSE;
+       } else if (gtk_drag_get_source_widget(context) ==
+               summaryview->ctree) {
+               /* not from same folder */
                gdk_drag_status(context, 0, time);
                return FALSE;
        } else {