diff --git a/SparkleShare/SparkleControllerBase.cs b/SparkleShare/SparkleControllerBase.cs index df5c182a..c5dfb4fc 100644 --- a/SparkleShare/SparkleControllerBase.cs +++ b/SparkleShare/SparkleControllerBase.cs @@ -681,6 +681,8 @@ namespace SparkleShare { this.config.AddFolder (target_folder_name, this.fetcher.Identifier, this.fetcher.RemoteUrl.ToString (), backend); + RepositoriesLoaded = true; + FolderFetched (this.fetcher.RemoteUrl.ToString (), this.fetcher.Warnings.ToArray ()); AddRepository (target_folder_path); diff --git a/SparkleShare/SparkleStatusIconController.cs b/SparkleShare/SparkleStatusIconController.cs index 35d1cdcd..936204c9 100755 --- a/SparkleShare/SparkleStatusIconController.cs +++ b/SparkleShare/SparkleStatusIconController.cs @@ -96,7 +96,7 @@ namespace SparkleShare { public bool RecentEventsItemEnabled { get { - return (Folders.Length > 0); + return (Program.Controller.Repositories.Length > 0); } }