fix compile errors on linux

This commit is contained in:
Hylke Bons 2011-05-31 13:50:49 +01:00
parent 71b43d530a
commit 00eadede74

View file

@ -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)