Description: Fix hang when pressing the “export” button in the folder exporter
Author: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Bug-LP: https://bugs.edge.launchpad.net/ubuntu/+source/f-spot/+bug/533435
Forwarded: No

Index: f-spot-0.6.1.5/extensions/Exporters/FolderExport/FolderExport.cs
===================================================================
--- f-spot-0.6.1.5.orig/extensions/Exporters/FolderExport/FolderExport.cs	2010-04-01 16:27:40.765540371 +1100
+++ f-spot-0.6.1.5/extensions/Exporters/FolderExport/FolderExport.cs	2010-04-01 16:28:13.456378017 +1100
@@ -186,7 +186,7 @@
 			Gnome.Vfs.Result result = Gnome.Vfs.Result.Ok;
 
 			try {
-				Dialog.Hide ();
+				Gtk.Application.Invoke (delegate {Dialog.Hide ();});
 
 				Gnome.Vfs.Uri source = new Gnome.Vfs.Uri (Path.Combine (gallery_path, gallery_name));
 				Gnome.Vfs.Uri target = dest.Clone();
