diff --git a/SparkleShare/SparkleIntro.cs b/SparkleShare/SparkleIntro.cs index b31feb2e..bac076ad 100644 --- a/SparkleShare/SparkleIntro.cs +++ b/SparkleShare/SparkleIntro.cs @@ -668,10 +668,11 @@ namespace SparkleShare { return; bool IsFolder = !FolderEntry.Text.Trim ().Equals (""); + bool IsServer = !ServerEntry.Text.Trim ().Equals (""); if (ServerEntry.Sensitive == true) { - if (IsGitUrl (ServerEntry.Text) && IsFolder) + if (IsServer && IsFolder) SyncButton.Sensitive = true; } else if (IsFolder) { @@ -683,8 +684,6 @@ namespace SparkleShare { } - - // Checks to see if an email address is valid private bool IsValidEmail (string email) { @@ -694,15 +693,6 @@ namespace SparkleShare { } - - // Checks if a url is a valid git url TODO: broken - private static bool IsGitUrl (string url) - { - - return true; - - } - } }