[banshee] [MoblinService] Remove a few hacks



commit 2bea5b74c027868e4585644878bd7ad6e89cbcfc
Author: Aaron Bockover <abockover novell com>
Date:   Sun Feb 7 13:16:35 2010 -0500

    [MoblinService] Remove a few hacks
    
    Nereid now takes care of special casing a few of the things that
    need to be done to transform the UI into a more Moblin look and
    feel: allowing toolbar rendering and not showing the volume button.

 .../Banshee.Moblin/Banshee.Moblin/MoblinService.cs |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs b/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs
index 05c1e38..d66cccc 100644
--- a/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs
+++ b/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs
@@ -156,18 +156,6 @@ namespace Banshee.Moblin
             var pwin_toolbar_align = (Alignment)pwin_toolbar.Parent;
             pwin_toolbar_align.TopPadding = 0;
             pwin_toolbar_align.BottomPadding = 6;
-            pwin_type.GetMethod ("DisableHeaderToolbarExposeEvent").Invoke (pwin, null);
-
-            // Remove the volume button since Moblin enforces the global volume
-            foreach (var child in pwin_toolbar.Children) {
-                if (child.GetType ().FullName.StartsWith ("Banshee.Widgets.GenericToolItem")) {
-                    var c = child as Container;
-                    if (c != null && c.Children[0] is Banshee.Gui.Widgets.ConnectedVolumeButton) {
-                        pwin_toolbar.Remove (child);
-                        break;
-                    }
-                }
-            }
 
             // Incredibly ugly hack to pack in a close button in a separate
             // toolbar so that it may be aligned at the top right of the



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