Re-fix bug #351672 since my patch for bug #362638 accidentally reverted

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.


svn path=/trunk/; revision=35124
This commit is contained in:
Matthew Barnes
2008-03-03 17:19:53 +00:00
committed by Matthew Barnes
parent 904787b813
commit 273fbcd768
2 changed files with 7 additions and 18 deletions

View File

@ -1,3 +1,9 @@
2008-03-03 Matthew Barnes <mbarnes@redhat.com>
* em-folder-tree.c (emft_drop_async__done):
Re-fix bug #351672 since my patch for bug #362638 accidentally
reverted the original solution.
2008-03-03 Srinivasa Ragavan <sragavan@novell.com>
** Fix for BNC bug #282466

View File

@ -937,23 +937,6 @@ emft_drop_async__exec (struct _DragDataReceivedAsync *m)
}
}
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)
{
@ -969,7 +952,7 @@ static MailMsgInfo emft_drop_async_info = {
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
};