[longomatch/redesign3: 13/156] Make use of the new API in Main.cs
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign3: 13/156] Make use of the new API in Main.cs
- Date: Wed, 17 Aug 2011 22:17:17 +0000 (UTC)
commit 7c80c47139818318f4493a9807821e3295675a39
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Nov 21 16:53:45 2010 +0100
Make use of the new API in Main.cs
LongoMatch/Main.cs | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch/Main.cs b/LongoMatch/Main.cs
index 4ef25d2..9dec74e 100644
--- a/LongoMatch/Main.cs
+++ b/LongoMatch/Main.cs
@@ -135,13 +135,12 @@ namespace LongoMatch
string fConfig;
fConfig = System.IO.Path.Combine(TemplatesDir(),"default.sct");
if (!System.IO.File.Exists(fConfig)) {
- SectionsWriter.CreateNewTemplate("default.sct");
+ CategoriesWriter.CreateNewTemplate("default.sct");
}
fConfig = System.IO.Path.Combine(TemplatesDir(),"default.tem");
if (!System.IO.File.Exists(fConfig)) {
- TeamTemplate tt = new TeamTemplate();
- tt.CreateDefaultTemplate(20);
+ TeamTemplate tt = TeamTemplate.DefautlTemplate(20);
tt.Save(fConfig);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]