From 6c1e513298b16e5aa88841589ec791c5a3770c90 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Mon, 13 Jun 2011 17:32:28 +0100 Subject: [PATCH] ui: refresh eventlog when folder list changes --- SparkleShare/Mac/SparkleUI.cs | 4 +++- SparkleShare/SparkleUI.cs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/SparkleShare/Mac/SparkleUI.cs b/SparkleShare/Mac/SparkleUI.cs index 66ba5aa6..e793def9 100644 --- a/SparkleShare/Mac/SparkleUI.cs +++ b/SparkleShare/Mac/SparkleUI.cs @@ -148,8 +148,10 @@ namespace SparkleShare { SparkleShare.Controller.FolderListChanged += delegate { InvokeOnMainThread (delegate { - if (EventLog != null) + if (EventLog != null) { EventLog.UpdateChooser (); + EventLog.UpdateEvents (); + } }); }; diff --git a/SparkleShare/SparkleUI.cs b/SparkleShare/SparkleUI.cs index 51dad981..b439a702 100644 --- a/SparkleShare/SparkleUI.cs +++ b/SparkleShare/SparkleUI.cs @@ -116,8 +116,10 @@ namespace SparkleShare { SparkleShare.Controller.FolderListChanged += delegate { Application.Invoke (delegate { - if (EventLog != null) + if (EventLog != null) { EventLog.UpdateChooser (); + EventLog.UpdateEvents (); + } }); }; }