diff --git a/SparkleShare/SparkleIntro.cs b/SparkleShare/SparkleIntro.cs index ff399a89..a270f5f6 100644 --- a/SparkleShare/SparkleIntro.cs +++ b/SparkleShare/SparkleIntro.cs @@ -271,9 +271,9 @@ namespace SparkleShare { SyncButton.Clicked += delegate { string folder_name = FolderEntry.Text; string server = ServerEntry.Text; - string canonical_name = System.IO.Path.GetFileNameWithoutExtension (name); + string canonical_name = System.IO.Path.GetFileNameWithoutExtension (folder_name); - if (radio_button_gitorious.Active) { + if (radio_button_gitorious.Active) server = "gitorious.org"; if (radio_button_github.Active)