[mistelix/MISTELIX_3_0_0_STABLE] Create the views before setting the safe area. Fixes crash



commit 5b75a62ff6bc9fca0e598abf1719e8b7f605aff9
Author: Jordi Mas <jmas softcatala org>
Date:   Sun Aug 30 20:52:07 2009 +0200

    Create the views before setting the safe area. Fixes crash

 src/mistelix.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/mistelix.cs b/src/mistelix.cs
index df9beb1..6b40ea5 100644
--- a/src/mistelix.cs
+++ b/src/mistelix.cs
@@ -117,11 +117,11 @@ namespace Mistelix
 			//element_view.LoadElements ();
 			//authoring_view.UpdateTheme ();
 
+			CreateViews ();
+
 			if (preferences.GetBoolValue (Preferences.SafeAreaKey) == true)
 				safearea_menuitem.Active = true;
 
-			CreateViews ();
-
 			recent_submenu = new ExtendedMenu ();
 			recent_menuitem.Submenu = recent_submenu;
 



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