[banshee: 7/27] [lastfm] Fix crash when swithching to Last.fm source
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee: 7/27] [lastfm] Fix crash when swithching to Last.fm source
- Date: Sat, 22 May 2010 18:52:09 +0000 (UTC)
commit 00df06c5b7ed388199177386609bb97178d9f404
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Sun Jan 24 14:07:35 2010 +0100
[lastfm] Fix crash when swithching to Last.fm source
.../LastfmStreamingService.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming.Radio/LastfmStreamingService.cs b/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming.Radio/LastfmStreamingService.cs
index d5c9939..45c2cfd 100644
--- a/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming.Radio/LastfmStreamingService.cs
+++ b/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming.Radio/LastfmStreamingService.cs
@@ -60,7 +60,8 @@ namespace Banshee.LastfmStreaming.Radio
//lastfm_source.ResumeSorting ();
lastfm_source.SortChildSources ();
lastfm_source.Properties.SetString ("ActiveSourceUIResource", "ActiveSourceUI.xml");
- lastfm_source.Properties.Set<bool> ("ActiveSourceUIResourcePropagate", false);
+ lastfm_source.Properties.Set<bool> ("ActiveSourceUIResourcePropagate", true);
+ lastfm_source.Properties.Set<System.Reflection.Assembly> ("ActiveSourceUIResource.Assembly", typeof(StationSource).Assembly);
lastfm_source.Properties.SetString ("SortChildrenActionLabel", Catalog.GetString ("Sort Stations by"));
return true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]