setup: fix Show Files button

This commit is contained in:
Hylke Bons 2012-10-21 20:28:58 +01:00
parent 82aaf0763c
commit 315f5fc185

View file

@ -541,10 +541,10 @@ namespace SparkleShare {
string folder_name = Path.GetFileName (PreviousPath);
if (PreviousPath.EndsWith ("-crypto"))
folder_name = PreviousPath.Replace ("-crypto", "");
folder_name = folder_name.Replace ("-crypto", "");
if (PreviousPath.EndsWith ("-crypto.git"))
folder_name = PreviousPath.Replace ("-crypto.git", "");
folder_name = folder_name.Replace ("-crypto.git", "");
Program.Controller.OpenSparkleShareFolder (folder_name);
FinishPageCompleted ();