[longomatch/0.20] Update plugin to new API
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/0.20] Update plugin to new API
- Date: Wed, 24 Sep 2014 14:38:07 +0000 (UTC)
commit 8b748e6fe8a87f7ea734afe6c9d02075dbe9244b
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Sep 24 16:37:26 2014 +0200
Update plugin to new API
LongoMatch.Addins.COE/ExcelExporter.cs | 2 +-
LongoMatch.Addins.COE/GameUnitsEnabler.cs | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.Addins.COE/ExcelExporter.cs b/LongoMatch.Addins.COE/ExcelExporter.cs
index ffe7d2b..66170a0 100644
--- a/LongoMatch.Addins.COE/ExcelExporter.cs
+++ b/LongoMatch.Addins.COE/ExcelExporter.cs
@@ -47,7 +47,7 @@ public class ExcelExporter:IExportProject
public void ExportProject (Project project, IGUIToolkit guiToolkit) {
string filename = guiToolkit.SaveFile(Catalog.GetString("Output file"), null,
- Config.HomeDir(), "Excel", ".xlsx");
+ Config.HomeDir, "Excel", new string[] {".xlsx"});
if (filename == null)
return;
diff --git a/LongoMatch.Addins.COE/GameUnitsEnabler.cs b/LongoMatch.Addins.COE/GameUnitsEnabler.cs
index 4a1077c..80a5c64 100644
--- a/LongoMatch.Addins.COE/GameUnitsEnabler.cs
+++ b/LongoMatch.Addins.COE/GameUnitsEnabler.cs
@@ -26,9 +26,9 @@ using LongoMatch.Addins.ExtensionPoints;
public class GameUnitsEnabler: IConfigModifier
{
public void ModifyConfig() {
- LongoMatch.Config.useGameUnits = true;
+ LongoMatch.Config.UseGameUnits = true;
Log.Information("Loading GameUnitsEnabler addin");
- Log.Information("'useGameUnits' modified to " + LongoMatch.Config.useGameUnits);
+ Log.Information("'useGameUnits' modified to " + LongoMatch.Config.UseGameUnits);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]