[banshee/better-now-playing] [NowPlaying] Allow context information to be accessed during video playback.



commit d94a96f1686592ab6c5aad297a2dbbcf49ef820a
Author: Alex Launi <alex launi gmail com>
Date:   Thu Jun 24 22:07:06 2010 -0400

    [NowPlaying] Allow context information to be accessed during video playback.
    
    Makes switching to now playing context sources possible when the currently
    playing track is a video track.

 .../Banshee.NowPlaying/NowPlayingContents.cs       |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingContents.cs b/src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingContents.cs
index 4431d4d..62a6147 100644
--- a/src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingContents.cs
+++ b/src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingContents.cs
@@ -142,9 +142,10 @@ namespace Banshee.NowPlaying
                 return;
             }
 
-            video_display.Visible = !ivideo_display.IsIdle;
+            video_display.Visible = !ivideo_display.IsIdle && substitute_audio_display == null;
             track_info_display.Visible = false;
-            (substitute_audio_display ?? track_info_display).Visible = ivideo_display.IsIdle;
+            (substitute_audio_display ?? track_info_display).Visible = ivideo_display.IsIdle
+                || substitute_audio_display != null;
         }
 
         private void OnVideoDisplayIdleStateChanged (object o, EventArgs args)



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