setup: fix Show Files button for project names containing underscores

This commit is contained in:
Hylke Bons 2012-11-04 15:46:49 +00:00
parent 4e868c6eca
commit c647a9202d

View file

@ -539,6 +539,7 @@ namespace SparkleShare {
public void ShowFilesClicked ()
{
string folder_name = Path.GetFileName (PreviousPath);
folder_name = folder_name.Replace ("_", " ");
if (PreviousPath.EndsWith ("-crypto"))
folder_name = folder_name.Replace ("-crypto", "");