[longomatch/redesign: 14/82] 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: 14/82] Make use of the new API in Main.cs
- Date: Mon, 14 Mar 2011 00:18:00 +0000 (UTC)
commit 84a1f4be9443bf58274835f19d87853f02ee0723
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]