[banshee] Calls to Update should be proxied to the main thread



commit 934315fb4e78aac82b97627b9a3e99e80e326143
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Wed May 27 19:34:18 2009 +0200

    Calls to Update should be proxied to the main thread
    
    Fixes BGO#583954
---
 .../Banshee.Gui.Widgets/TaskStatusIcon.cs          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TaskStatusIcon.cs b/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TaskStatusIcon.cs
index b1ff261..398b62b 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TaskStatusIcon.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TaskStatusIcon.cs
@@ -165,7 +165,7 @@ namespace Banshee.Gui.Widgets
 
         private void OnJobUpdated (object o, EventArgs args)
         {
-            Update ();
+            ThreadAssist.ProxyToMain (Update);
         }
 
         private void AddJob (Job job)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]