[longomatch/redesign3: 103/156] Use new templates manager
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign3: 103/156] Use new templates manager
- Date: Wed, 17 Aug 2011 22:24:51 +0000 (UTC)
commit 2ceb4275a9ef3ffbf1a76b374c7743e5db91cf40
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Mar 30 22:36:31 2011 +0200
Use new templates manager
LongoMatch/Gui/MainWindow.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch/Gui/MainWindow.cs b/LongoMatch/Gui/MainWindow.cs
index cadc17c..b6619c1 100644
--- a/LongoMatch/Gui/MainWindow.cs
+++ b/LongoMatch/Gui/MainWindow.cs
@@ -28,6 +28,7 @@ using LongoMatch.Common;
using LongoMatch.Gui.Dialog;
using LongoMatch.Handlers;
using LongoMatch.Store;
+using LongoMatch.Store.Templates;
using LongoMatch.Utils;
using LongoMatch.Video.Capturer;
using LongoMatch.Video.Common;
@@ -426,14 +427,14 @@ namespace LongoMatch.Gui
protected virtual void OnSectionsTemplatesManagerActivated(object sender, System.EventArgs e)
{
- TemplatesManager tManager = new TemplatesManager(TemplatesManager.UseType.CategoriesTemplate);
+ var tManager = new TemplatesManager<Categories, Category>();
tManager.TransientFor = this;
tManager.Show();
}
protected virtual void OnTeamsTemplatesManagerActionActivated(object sender, System.EventArgs e)
{
- TemplatesManager tManager = new TemplatesManager(TemplatesManager.UseType.TeamTemplate);
+ var tManager = new TemplatesManager<TeamTemplate, Player>();
tManager.TransientFor = this;
tManager.Show();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]