[banshee] [Audiobook] Refresh grid view when books model reloaded
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [Audiobook] Refresh grid view when books model reloaded
- Date: Fri, 14 May 2010 22:41:01 +0000 (UTC)
commit 3d99454ed3976b8a379bf3200add82187cf85b5c
Author: Gabriel Burt <gabriel burt gmail com>
Date: Sat Dec 19 20:49:27 2009 -0800
[Audiobook] Refresh grid view when books model reloaded
.../Banshee.Audiobook/AudiobookContent.cs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookContent.cs b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookContent.cs
index 92e5156..756cd6c 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookContent.cs
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookContent.cs
@@ -70,6 +70,11 @@ namespace Banshee.Audiobook
}
grid.SetModel (library.BooksModel);
+
+ // Not sure why this is needed
+ library.BooksModel.Reloaded += delegate {
+ grid.QueueDraw ();
+ };
return true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]