[longomatch/redesign: 13/36] 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/redesign: 13/36] Make use of the new API in Main.cs
- Date: Tue, 21 Dec 2010 23:57:21 +0000 (UTC)
commit d37b9630e90531e058842509717dd9a809fd036a
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 78ddef6..35721ce 100644
--- a/LongoMatch/Main.cs
+++ b/LongoMatch/Main.cs
@@ -141,13 +141,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]