[banshee] MediaPanel: move the FIXME to the proper place



commit 34357c488ae4ed1d6c36fe547c8f8bc906475890
Author: Andrés G. Aragoneses <knocte gmail com>
Date:   Sun Oct 27 16:27:44 2013 +0100

    MediaPanel: move the FIXME to the proper place
    
    The FIXME introduced in previous commit is better placed in the addin.xml
    file, to avoid running the extension point at all, to save some CPU cycles.

 .../Banshee.MediaPanel.addin.xml                   |    4 +++-
 .../Banshee.MediaPanel/MediaPanelTheme.cs          |    3 +--
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/Extensions/Banshee.MediaPanel/Banshee.MediaPanel.addin.xml 
b/src/Extensions/Banshee.MediaPanel/Banshee.MediaPanel.addin.xml
index 3d4950c..ee3788a 100644
--- a/src/Extensions/Banshee.MediaPanel/Banshee.MediaPanel.addin.xml
+++ b/src/Extensions/Banshee.MediaPanel/Banshee.MediaPanel.addin.xml
@@ -19,8 +19,10 @@
     <Service class="Banshee.MediaPanel.MediaPanelService"/>
   </Extension>
 
+  <!-- FIXME: this theme is heavily broken in Ubuntu's GTK3, and if anything, it
+              should be enabled/disabled when the MediaPanel UI is shown/hidden
   <Extension path="/Banshee/ThickClient/GtkBaseClient/PostInitializeGtk">
     <PostInitializeGtk class="Banshee.MediaPanel.MediaPanelThemeLoader"/>
-  </Extension>
+  </Extension-->
    
 </Addin>
diff --git a/src/Extensions/Banshee.MediaPanel/Banshee.MediaPanel/MediaPanelTheme.cs 
b/src/Extensions/Banshee.MediaPanel/Banshee.MediaPanel/MediaPanelTheme.cs
index 831c47e..b0cf764 100644
--- a/src/Extensions/Banshee.MediaPanel/Banshee.MediaPanel/MediaPanelTheme.cs
+++ b/src/Extensions/Banshee.MediaPanel/Banshee.MediaPanel/MediaPanelTheme.cs
@@ -38,8 +38,7 @@ namespace Banshee.MediaPanel
     {
         public MediaPanelThemeLoader ()
         {
-            //FIXME: this theme is heavily broken in Ubuntu's GTK3
-            //Hyena.Gui.Theming.ThemeEngine.SetCurrentTheme<MediaPanelTheme> ();
+            Hyena.Gui.Theming.ThemeEngine.SetCurrentTheme<MediaPanelTheme> ();
         }
     }
 


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