Description: Fix config breakage on 0.60.2 -> 0.60.3 update
Author: Stefan Ebner <sebner@ubuntu.com>
Origin: Stefan Ebner
Forwarded: done per mail
Index: monobristol.git/MainWindow.cs
===================================================================
--- monobristol.git.orig/MainWindow.cs	2010-12-23 23:37:44.708776001 +0100
+++ monobristol.git/MainWindow.cs	2010-12-23 23:37:56.676776002 +0100
@@ -29,6 +29,7 @@
 		Build ();
 		
 		//read config files
+		try {
 		if (System.IO.File.Exists (System.IO.Directory.GetCurrentDirectory() + "/.monobristol.xml")){
 			XmlDocument xmlDocument = new XmlDocument();
 			xmlDocument.Load(System.IO.Directory.GetCurrentDirectory() + "/.monobristol.xml");
@@ -283,6 +284,11 @@
 			bapply.Press ();
 		}
 	}
+		catch 
+		{
+			File.Delete(System.IO.Directory.GetCurrentDirectory() + "/.monobristol.xml");
+		}
+	}
 	
 	protected void OnDeleteEvent (object sender, DeleteEventArgs a)
 	{
