[longomatch] Change invalid path characters in proposed export filename
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Change invalid path characters in proposed export filename
- Date: Mon, 16 Feb 2015 13:57:06 +0000 (UTC)
commit 00441850bbbf148f67e6c9d1672af7d71c4c58d2
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon Feb 16 14:56:36 2015 +0100
Change invalid path characters in proposed export filename
LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
index 6181b4a..86cbf50 100644
--- a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
@@ -193,7 +193,7 @@ namespace LongoMatch.Gui.Panel
if (loadedProject != null) {
string filename = gkit.SaveFile (
Catalog.GetString ("Export project"),
- loadedProject.Description.Title + Constants.PROJECT_EXT,
+ Utils.SanitizePath (loadedProject.Description.Title +
Constants.PROJECT_EXT),
Config.HomeDir, Constants.PROJECT_NAME,
new string[] { Constants.PROJECT_EXT });
if (filename != null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]