[chronojump] sqlite_diagram 0.8
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] sqlite_diagram 0.8
- Date: Tue, 8 Mar 2011 17:42:43 +0000 (UTC)
commit 6aab5e9ae211fe880b680c4decacc5bb4202e97d
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Mar 8 18:42:00 2011 +0100
sqlite_diagram 0.8
sqlite_diagrams/chronojump_sqlite-2010-may.png | Bin 0 -> 286681 bytes
sqlite_diagrams/chronojump_sqlite.dia | Bin 12493 -> 12591 bytes
sqlite_diagrams/chronojump_sqlite.png | Bin 286681 -> 173663 bytes
src/exportSession.cs | 12 ++++++------
4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/sqlite_diagrams/chronojump_sqlite-2010-may.png b/sqlite_diagrams/chronojump_sqlite-2010-may.png
new file mode 100644
index 0000000..a22d2ec
Binary files /dev/null and b/sqlite_diagrams/chronojump_sqlite-2010-may.png differ
diff --git a/sqlite_diagrams/chronojump_sqlite.dia b/sqlite_diagrams/chronojump_sqlite.dia
index 07e9fd5..1b36db9 100644
Binary files a/sqlite_diagrams/chronojump_sqlite.dia and b/sqlite_diagrams/chronojump_sqlite.dia differ
diff --git a/sqlite_diagrams/chronojump_sqlite.png b/sqlite_diagrams/chronojump_sqlite.png
index a22d2ec..50e7381 100644
Binary files a/sqlite_diagrams/chronojump_sqlite.png and b/sqlite_diagrams/chronojump_sqlite.png differ
diff --git a/src/exportSession.cs b/src/exportSession.cs
index e06dadd..4422182 100644
--- a/src/exportSession.cs
+++ b/src/exportSession.cs
@@ -91,7 +91,7 @@ public class ExportSession
//add ".csv" if needed
fileName = addCsvIfNeeded(fileName);
}
-// try {
+ try {
if (File.Exists(fileName)) {
Log.WriteLine(string.Format("File {0} exists with attributes {1}, created at {2}",
fileName, File.GetAttributes(fileName), File.GetCreationTime(fileName)));
@@ -107,11 +107,11 @@ public class ExportSession
string myString = string.Format(Catalog.GetString("Saved to {0}"), fileName) + spreadsheetString;
new DialogMessage(Constants.MessageTypes.INFO, myString);
}
-// }
-// catch {
-// string myString = string.Format(Catalog.GetString("Cannot export to file {0} "), fileName);
-// new DialogMessage(Constants.MessageTypes.WARNING, myString);
-// }
+ }
+ catch {
+ string myString = string.Format(Catalog.GetString("Cannot export to file {0} "), fileName);
+ new DialogMessage(Constants.MessageTypes.WARNING, myString);
+ }
}
else {
Log.WriteLine("cancelled");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]