[gbrainy] If theme file does not exists throw an exception at ThemeManager.Load



commit 93c785c89f7ad9e44c5a726ac3510822303862df
Author: Jordi Mas <jmas softcatala org>
Date:   Wed Jul 13 06:53:34 2011 +0200

    If theme file does not exists throw an exception at ThemeManager.Load

 src/Core/Main/ThemeManager.cs |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/Core/Main/ThemeManager.cs b/src/Core/Main/ThemeManager.cs
index 941fe8c..12c48be 100644
--- a/src/Core/Main/ThemeManager.cs
+++ b/src/Core/Main/ThemeManager.cs
@@ -68,9 +68,6 @@ namespace gbrainy.Core.Main
 		static public void Load ()
 		{
 			try {
-				if (File.Exists (file) == false)
-					return;
-
 				using (FileStream str = File.OpenRead (file))
 				{
 					XmlSerializer bf = new XmlSerializer (typeof (List <Theme>));



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