diff --git a/SparkleShare/SparkleIntro.cs b/SparkleShare/SparkleIntro.cs index 741d4c85..0a896eae 100644 --- a/SparkleShare/SparkleIntro.cs +++ b/SparkleShare/SparkleIntro.cs @@ -16,7 +16,6 @@ using Gtk; using Mono.Unix; -using SparkleLib; using System; using System.Diagnostics; using System.IO; @@ -60,6 +59,8 @@ namespace SparkleShare { Reset (); VBox layout_vertical = new VBox (false, 0); + + DeleteEvent += PreventClose; Label header = new Label ("" + _("Welcome to SparkleShare!") + @@ -120,15 +121,14 @@ namespace SparkleShare { table.Sensitive = false; NextButton.ShowAll (); - - + SparkleShare.Controller.UserName = NameEntry.Text; SparkleShare.Controller.UserEmail = EmailEntry.Text; SparkleShare.Controller.GenerateKeyPair (); SparkleShare.Controller.AddKey (); - + DeleteEvent += PreventClose; ShowServerForm (); }; @@ -356,7 +356,7 @@ namespace SparkleShare { server = "ssh://git@gnome.org/git/"; string url = server + "/" + name; - SparkleHelpers.DebugInfo ("Git", "[" + name + "] Formed URL: " + url); + Console.WriteLine ("View", "[" + name + "] Formed URL: " + url); string canonical_name = System.IO.Path.GetFileNameWithoutExtension (name);