From d435a7fd05db92ef19e762816219849da345aa27 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 26 Mar 2016 16:27:15 +0000 Subject: [PATCH] controller: Block generating SSH keys --- SparkleShare/SparkleControllerBase.cs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/SparkleShare/SparkleControllerBase.cs b/SparkleShare/SparkleControllerBase.cs index f9c657b9..d2dd74a8 100644 --- a/SparkleShare/SparkleControllerBase.cs +++ b/SparkleShare/SparkleControllerBase.cs @@ -223,16 +223,8 @@ namespace SparkleShare { this.lost_folders_path = true; } - if (FirstRun) { - new Thread (() => { - UserAuthenticationInfo = new SSHAuthenticationInfo (); - FolderListChanged (); // FIXME: Hacky way to update status icon menu to show the key - }).Start (); - - } else { - UserAuthenticationInfo = new SSHAuthenticationInfo (); - FolderListChanged (); - } + UserAuthenticationInfo = new SSHAuthenticationInfo (); + FolderListChanged (); // FIXME: Hacky way to update status icon menu to show the key // Watch the SparkleShare folder this.watcher = new FileSystemWatcher () {