[longomatch] Fix extensions
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix extensions
- Date: Wed, 31 Oct 2012 00:06:19 +0000 (UTC)
commit e30c67ae250968bb7583b5dd71bf716db1088219
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Oct 31 01:05:46 2012 +0100
Fix extensions
LongoMatch.Core/Store/Project.cs | 2 +-
LongoMatch.GUI/Gui/MainWindow.cs | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.Core/Store/Project.cs b/LongoMatch.Core/Store/Project.cs
index 7ead86e..c970811 100644
--- a/LongoMatch.Core/Store/Project.cs
+++ b/LongoMatch.Core/Store/Project.cs
@@ -250,7 +250,7 @@ namespace LongoMatch.Store
}
public static void Export(Project project, string file) {
- file = Path.ChangeExtension(file,"lpr");
+ file = Path.ChangeExtension(file, Constants.PROJECT_EXT);
SerializableObject.Save(project, file);
}
diff --git a/LongoMatch.GUI/Gui/MainWindow.cs b/LongoMatch.GUI/Gui/MainWindow.cs
index 3cdefed..7b36d86 100644
--- a/LongoMatch.GUI/Gui/MainWindow.cs
+++ b/LongoMatch.GUI/Gui/MainWindow.cs
@@ -136,7 +136,8 @@ namespace LongoMatch.Gui
GameUnitsViewAction.Visible = false;
AddImportEntry(Catalog.GetString("Import file project"), "ImportFileProject",
- Constants.PROJECT_NAME, "*" + Constants.PROJECT_EXT, Project.Import,
+ Constants.PROJECT_NAME + " (" + Constants.PROJECT_EXT + ")",
+ "*" + Constants.PROJECT_EXT, Project.Import,
false);
screen = Display.Default.DefaultScreen;
this.Resize(screen.Width * 80 / 100, screen.Height * 80 / 100);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]