[banshee] [Audiobook] More cleanup
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [Audiobook] More cleanup
- Date: Fri, 14 May 2010 22:43:42 +0000 (UTC)
commit 13c5ad9ffe61a9ddf1f0adc25e69db1ca75324fa
Author: Gabriel Burt <gabriel burt gmail com>
Date: Fri May 14 15:40:16 2010 -0700
[Audiobook] More cleanup
.../Banshee.Audiobook/Banshee.Audiobook.csproj | 8 ++++++--
.../Banshee.Audiobook/AudiobookLibrarySource.cs | 1 +
.../Banshee.Audiobook/BookCover.cs | 14 +++++++-------
.../Banshee.Audiobook/BookView.cs | 2 --
4 files changed, 14 insertions(+), 11 deletions(-)
---
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook.csproj b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook.csproj
index 70164ed..ec5a7ec 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook.csproj
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook.csproj
@@ -71,8 +71,12 @@
<EmbeddedResource Include="Banshee.Audiobook.addin.xml">
<LogicalName>Banshee.Audiobook.addin.xml</LogicalName>
</EmbeddedResource>
- <EmbeddedResource Include="Resources\ActiveSourceUI.xml" />
- <EmbeddedResource Include="Resources\GlobalUI.xml" />
+ <EmbeddedResource Include="Resources\ActiveSourceUI.xml">
+ <LogicalName>ActiveSourceUI.xml</LogicalName>
+ </EmbeddedResource>
+ <EmbeddedResource Include="Resources\GlobalUI.xml">
+ <LogicalName>GlobalUI.xml</LogicalName>
+ </EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Compile Include="Banshee.Audiobook\Actions.cs" />
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs
index 6343cb7..63c820e 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs
@@ -57,6 +57,7 @@ namespace Banshee.Audiobook
{
MediaTypes = TrackMediaAttributes.AudioBook;
NotMediaTypes = TrackMediaAttributes.Podcast | TrackMediaAttributes.VideoStream | TrackMediaAttributes.Music;
+ SupportsPlaylists = false;
Properties.SetStringList ("Icon.Name", "audiobook", "source-library");
Properties.SetString ("TrackView.ColumnControllerXml", String.Format (@"
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookCover.cs b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookCover.cs
index 20f5007..abf8469 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookCover.cs
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookCover.cs
@@ -1,21 +1,21 @@
-//
+//
// BookCover.cs
-//
+//
// Author:
// Gabriel Burt <gabriel burt gmail com>
-//
+//
// Copyright (c) 2010 Novell, Inc.
-//
+//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
-//
+//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
-//
+//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -57,4 +57,4 @@ namespace Banshee.Audiobook
LoadImage (attr, artwork_id, true);
}
}
-}
\ No newline at end of file
+}
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookView.cs b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookView.cs
index cbdbc63..8ab87e2 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookView.cs
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/BookView.cs
@@ -72,8 +72,6 @@ namespace Banshee.Audiobook
public BookView ()
{
BuildInfoBox ();
- //BuildFilesBox ();
-
ShowAll ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]