[longomatch/redesign2: 23/159] 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/redesign2: 23/159] Make use of the new API in Main.cs
- Date: Thu, 2 Jun 2011 00:12:19 +0000 (UTC)
commit a9e8319686e244b90c54c2fa8de7aadd4860af0f
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 dda518f..0792f6c 100644
--- a/LongoMatch/Main.cs
+++ b/LongoMatch/Main.cs
@@ -133,13 +133,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]