[banshee] [moblin] fix bnc572614, works around mutter bug



commit a9ccc58bbacc92ecd556e58a6341531e65ab96bd
Author: Aaron Bockover <abockover novell com>
Date:   Wed Jan 27 20:06:03 2010 -0500

    [moblin] fix bnc572614, works around mutter bug

 .../Banshee.Moblin/Banshee.Moblin/MoblinService.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs b/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs
index 6933653..05c1e38 100644
--- a/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs
+++ b/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs
@@ -115,6 +115,11 @@ namespace Banshee.Moblin
                     (int)MoblinPanel.Instance.ToolbarPanelHeight);
             }
 
+            elements_service.PrimaryWindowClose = () => {
+                elements_service.PrimaryWindow.Hide ();
+                return true;
+            };
+
             // Since the Panel is running, we don't actually ever want to quit!
             Banshee.ServiceStack.Application.ShutdownRequested += () => {
                 elements_service.PrimaryWindow.Hide ();



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