[banshee] [Banshee.Moblin] only show the panel if --mutter-panel



commit fef81099c96f636cfa93e1551873644036d15c95
Author: Aaron Bockover <abockover novell com>
Date:   Wed Oct 14 15:40:03 2009 -0400

    [Banshee.Moblin] only show the panel if --mutter-panel

 .../Banshee.Moblin/Banshee.Moblin/MoblinService.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs b/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs
index 39f44bb..45facd0 100644
--- a/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs
+++ b/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs
@@ -28,6 +28,7 @@
 
 using System;
 
+using Banshee.Base;
 using Banshee.ServiceStack;
 using Banshee.Gui;
 
@@ -80,7 +81,9 @@ namespace Banshee.Moblin
         
         private void Initialize ()
         {
-            BuildPanel ();
+            if (ApplicationContext.CommandLine.Contains ("mutter-panel")) {
+                BuildPanel ();
+            }
         }
         
         public void Dispose ()



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