[longomatch/redesign2: 114/159] Use new templates manager
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign2: 114/159] Use new templates manager
- Date: Thu, 2 Jun 2011 00:19:57 +0000 (UTC)
commit 14b3c25d8da91884fe0347be42e1c77a759911c8
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 501d73a..dffadd1 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;
@@ -425,14 +426,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]