evolution r35124 - trunk/mail



Author: mbarnes
Date: Mon Mar  3 17:19:53 2008
New Revision: 35124
URL: http://svn.gnome.org/viewvc/evolution?rev=35124&view=rev

Log:
2008-03-03  Matthew Barnes  <mbarnes redhat com>

	* mail/em-folder-tree.c (emft_drop_async__done):
	Re-fix bug #351672 since my patch for bug #362638 accidentally
	reverted the original solution.



Modified:
   trunk/mail/ChangeLog
   trunk/mail/em-folder-tree.c

Modified: trunk/mail/em-folder-tree.c
==============================================================================
--- trunk/mail/em-folder-tree.c	(original)
+++ trunk/mail/em-folder-tree.c	Mon Mar  3 17:19:53 2008
@@ -938,23 +938,6 @@
 }
 
 static void
-emft_drop_async__done (struct _DragDataReceivedAsync *m)
-{
-	gboolean success, delete;
-
-	/* ?? */
-	if (m->aborted) {
-		success = FALSE;
-		delete = FALSE;
-	} else {
-		success = !camel_exception_is_set (&m->base.ex);
-		delete = success && m->move && !m->moved;
-	}
-	
-	gtk_drag_finish (m->context, success, delete, GDK_CURRENT_TIME);
-}
-
-static void
 emft_drop_async__free (struct _DragDataReceivedAsync *m)
 {
 	g_object_unref(m->context);
@@ -969,7 +952,7 @@
 	sizeof (struct _DragDataReceivedAsync),
 	(MailMsgDescFunc) emft_drop_async__desc,
 	(MailMsgExecFunc) emft_drop_async__exec,
-	(MailMsgDoneFunc) emft_drop_async__done,
+	(MailMsgDoneFunc) NULL,
 	(MailMsgFreeFunc) emft_drop_async__free
 };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]