From 7b2273618cb9497ad033de1316e4cfc584ae1da5 Mon Sep 17 00:00:00 2001 From: lars Date: Thu, 30 Jun 2011 23:30:47 +0200 Subject: [PATCH] Added saving of last used server. --- SparkleShare/SparkleController.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/SparkleShare/SparkleController.cs b/SparkleShare/SparkleController.cs index 2efea66c..8f0a3bb6 100644 --- a/SparkleShare/SparkleController.cs +++ b/SparkleShare/SparkleController.cs @@ -803,6 +803,17 @@ namespace SparkleShare { } } + // Looks up the user's email from the global configuration + public string PrevServer + { + get { + return SparkleConfig.DefaultConfig.PrevServer; + } + + set { + SparkleConfig.DefaultConfig.PrevServer = value; + } + } // Generates and installs an RSA keypair to identify this system public void GenerateKeyPair ()