diff --git a/SparkleShare.sln b/SparkleShare.sln index aa92b441..068c1202 100644 --- a/SparkleShare.sln +++ b/SparkleShare.sln @@ -1,4 +1,3 @@ - Microsoft Visual Studio Solution File, Format Version 9.00 # Visual Studio 2005 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SparkleShare", "SparkleShare\SparkleShare.csproj", "{728483AA-E34B-4441-BF2C-C8BC2901E4E0}" @@ -19,4 +18,4 @@ Global version = 0.1 StartupItem = SparkleShare\SparkleShare.csproj EndGlobalSection -EndGlobal +EndGlobal diff --git a/SparkleShare/SparkleShare.csproj b/SparkleShare/SparkleShare.csproj index 38924273..91a88c93 100644 --- a/SparkleShare/SparkleShare.csproj +++ b/SparkleShare/SparkleShare.csproj @@ -8,6 +8,7 @@ Exe SparkleShare 2.0 + SparkleShare true diff --git a/SparkleShare/SparkleUI.cs b/SparkleShare/SparkleUI.cs index 708f8c2b..a4e95bed 100644 --- a/SparkleShare/SparkleUI.cs +++ b/SparkleShare/SparkleUI.cs @@ -130,6 +130,13 @@ namespace SparkleShare { public void StartMonitoring () { } public void StopMonitoring () { } + // Quits the program + public void Quit (object o, EventArgs args) { + File.Delete (SparkleHelpers.CombineMore (SparklePaths.SparkleTmpPath + + "sparkleshare.pid")); + Application.Quit (); + } + } } diff --git a/SparkleShare/SparkleWindow.cs b/SparkleShare/SparkleWindow.cs index 84f1bca3..00e30db2 100644 --- a/SparkleShare/SparkleWindow.cs +++ b/SparkleShare/SparkleWindow.cs @@ -455,13 +455,6 @@ namespace SparkleShare { } else SparkleDialog = new SparkleDialog (this); } - // Quits the program - public void Quit (object o, EventArgs args) { - File.Delete (SparkleHelpers.CombineMore (SparklePaths.SparkleTmpPath + - "sparkleshare.pid")); - Application.Quit (); - } - } }