statusicon: rely on main controller for updating the recent events item. force loaded to true after project add fixes. #1100
This commit is contained in:
parent
f3e3153d91
commit
4e4fb6bf75
|
@ -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);
|
||||
|
|
|
@ -96,7 +96,7 @@ namespace SparkleShare {
|
|||
|
||||
public bool RecentEventsItemEnabled {
|
||||
get {
|
||||
return (Folders.Length > 0);
|
||||
return (Program.Controller.Repositories.Length > 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue