[longomatch] Set the tempaltes services the projects manager
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Set the tempaltes services the projects manager
- Date: Sun, 18 Dec 2011 21:39:04 +0000 (UTC)
commit 8bc7abcc94ab62a0b93e8b8ca379472c3550c112
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sat Nov 5 17:08:02 2011 +0100
Set the tempaltes services the projects manager
LongoMatch.GUI/Gui/Dialog/ProjectsManager.cs | 3 ++-
LongoMatch.Services/Services/ProjectsManager.cs | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Dialog/ProjectsManager.cs b/LongoMatch.GUI/Gui/Dialog/ProjectsManager.cs
index 7e9b117..294fdaf 100644
--- a/LongoMatch.GUI/Gui/Dialog/ProjectsManager.cs
+++ b/LongoMatch.GUI/Gui/Dialog/ProjectsManager.cs
@@ -39,7 +39,7 @@ namespace LongoMatch.Gui.Dialog
IDatabase DB;
string homeDir = null;
- public ProjectsManager(Project openedProject, IDatabase DB)
+ public ProjectsManager(Project openedProject, IDatabase DB, ITemplatesService ts)
{
this.Build();
this.openedProject = openedProject;
@@ -47,6 +47,7 @@ namespace LongoMatch.Gui.Dialog
this.DB = DB;
Fill();
projectdetails.Edited = false;
+ projectdetails.TemplatesService = ts;
}
private void Fill() {
diff --git a/LongoMatch.Services/Services/ProjectsManager.cs b/LongoMatch.Services/Services/ProjectsManager.cs
index c63cfdb..e8f0fa3 100644
--- a/LongoMatch.Services/Services/ProjectsManager.cs
+++ b/LongoMatch.Services/Services/ProjectsManager.cs
@@ -514,7 +514,7 @@ namespace LongoMatch.Services
protected void OpenProjectsManager()
{
- Gui.Dialog.ProjectsManager pm = new Gui.Dialog.ProjectsManager(OpenedProject, Core.DB);
+ Gui.Dialog.ProjectsManager pm = new Gui.Dialog.ProjectsManager(OpenedProject, Core.DB, Core.TemplatesService);
pm.TransientFor = mainWindow;
pm.Show();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]