ui: refresh eventlog when folder list changes

This commit is contained in:
Hylke Bons 2011-06-13 17:32:28 +01:00
parent f312a1fbb1
commit 7a71fb3682
2 changed files with 6 additions and 2 deletions

View file

@ -148,8 +148,10 @@ namespace SparkleShare {
SparkleShare.Controller.FolderListChanged += delegate {
InvokeOnMainThread (delegate {
if (EventLog != null)
if (EventLog != null) {
EventLog.UpdateChooser ();
EventLog.UpdateEvents ();
}
});
};

View file

@ -116,8 +116,10 @@ namespace SparkleShare {
SparkleShare.Controller.FolderListChanged += delegate {
Application.Invoke (delegate {
if (EventLog != null)
if (EventLog != null) {
EventLog.UpdateChooser ();
EventLog.UpdateEvents ();
}
});
};
}