[evolution/gnome-2-28] Bug 599190 - Drag and drop broken for received MIME parts



commit e14ec8882808dd938a1edbfcadd399a4f20e1569
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Nov 19 06:52:17 2009 -0500

    Bug 599190 - Drag and drop broken for received MIME parts

 widgets/misc/e-attachment-view.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/widgets/misc/e-attachment-view.c b/widgets/misc/e-attachment-view.c
index 9976f48..d734f90 100644
--- a/widgets/misc/e-attachment-view.c
+++ b/widgets/misc/e-attachment-view.c
@@ -1386,10 +1386,11 @@ e_attachment_view_drag_data_get (EAttachmentView *view,
 	g_list_free (selected);
 
 	/* We can't return until we have results, so crank
-	 * the main loop until the callback gets triggered. */
+	 * the main loop until the callback gets triggered.
+	 * Note: Don't test for main loop exit.  There is
+	 * some kind of nested main loop at work here. */
 	while (!status.done)
-		if (gtk_main_iteration ())
-			break;
+		gtk_main_iteration ();
 
 	if (status.uris != NULL)
 		gtk_selection_data_set_uris (selection, status.uris);



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