[banshee/gtk3] BookView: Use RelatedAction to connect the AudiobookResume action
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/gtk3] BookView: Use RelatedAction to connect the AudiobookResume action
- Date: Sun, 17 Jul 2011 13:52:43 +0000 (UTC)
commit 4a2bbbf82676201b69e70b4ab3bcf4264a4ae685
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Sun Jul 17 14:25:47 2011 +0200
BookView: Use RelatedAction to connect the AudiobookResume action
.../Banshee.Audiobook/BookView.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookView.cs b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookView.cs
index aef39d1..f10af74 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookView.cs
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookView.cs
@@ -151,7 +151,7 @@ namespace Banshee.Audiobook
library = source as AudiobookLibrarySource;
if (library != null) {
track_list.SetModel (library.TrackModel);
- library.Actions["AudiobookResume"].ConnectProxy (resume_button);
+ resume_button.RelatedAction = library.Actions["AudiobookResume"];
}
return library != null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]