[banshee] Audiobook: Fix crash when switch to playlist (bgo#631012)
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] Audiobook: Fix crash when switch to playlist (bgo#631012)
- Date: Tue, 22 Mar 2011 15:03:40 +0000 (UTC)
commit 976c1465c05ca4cc7971da9f96acddd20e8ff072
Author: Olivier Dufour <olivier duff gmail com>
Date: Mon Nov 1 17:20:36 2010 +0100
Audiobook: Fix crash when switch to playlist (bgo#631012)
Signed-off-by: Gabriel Burt <gabriel burt gmail com>
.../Banshee.Audiobook/AudiobookLibrarySource.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs
index 06388e9..0868504 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs
@@ -102,6 +102,7 @@ namespace Banshee.Audiobook
book_view = new LazyLoadSourceContents<BookView> ();
Properties.Set<ISourceContents> ("Nereid.SourceContents", grid_view);
+ Properties.Set<System.Reflection.Assembly> ("ActiveSourceUIResource.Assembly", System.Reflection.Assembly.GetExecutingAssembly ());
Properties.SetString ("ActiveSourceUIResource", "ActiveSourceUI.xml");
Properties.Set<bool> ("ActiveSourceUIResourcePropagate", true);
Properties.Set<System.Action> ("ActivationAction", delegate { SwitchToGridView (); });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]