[banshee] [Import] Remove Home and Photo folder import sources
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [Import] Remove Home and Photo folder import sources
- Date: Sun, 14 Nov 2010 08:34:28 +0000 (UTC)
commit dbf441b3c87a5e517b002d42a90fc66d026f9fb6
Author: Gabriel Burt <gabriel burt gmail com>
Date: Tue May 18 19:03:24 2010 -0700
[Import] Remove Home and Photo folder import sources
They were cluttering the import dialog dropdown, and can be made into
shortcuts in the left-pane of the file/folder choose dialog.
.../Banshee.Library/HomeDirectoryImportSource.cs | 65 -------------
.../Banshee.Library/ImportSourceManager.cs | 3 -
src/Core/Banshee.Services/Banshee.Services.csproj | 1 -
src/Core/Banshee.Services/Makefile.am | 1 -
.../Banshee.Library.Gui/PhotoFolderImportSource.cs | 97 --------------------
.../Banshee.ThickClient.addin.xml | 1 -
.../Banshee.ThickClient/Banshee.ThickClient.csproj | 1 -
src/Core/Banshee.ThickClient/Makefile.am | 1 -
8 files changed, 0 insertions(+), 170 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Library/ImportSourceManager.cs b/src/Core/Banshee.Services/Banshee.Library/ImportSourceManager.cs
index 33263b3..ea84fc8 100644
--- a/src/Core/Banshee.Services/Banshee.Library/ImportSourceManager.cs
+++ b/src/Core/Banshee.Services/Banshee.Library/ImportSourceManager.cs
@@ -37,8 +37,6 @@ namespace Banshee.Library
{
public class ImportSourceManager : IRegisterOnDemandService, IEnumerable<IImportSource>
{
- private HomeDirectoryImportSource home_source = new HomeDirectoryImportSource ();
-
public ImportSourceManager ()
{
}
@@ -46,7 +44,6 @@ namespace Banshee.Library
public IEnumerator<IImportSource> GetEnumerator ()
{
List<IImportSource> import_sources = new List<IImportSource> ();
- import_sources.Add (home_source);
foreach (IImportSource source in AddinManager.GetExtensionObjects ("/Banshee/Library/ImportSource")) {
if (source.CanImport) {
diff --git a/src/Core/Banshee.Services/Banshee.Services.csproj b/src/Core/Banshee.Services/Banshee.Services.csproj
index c52ab86..8e04884 100644
--- a/src/Core/Banshee.Services/Banshee.Services.csproj
+++ b/src/Core/Banshee.Services/Banshee.Services.csproj
@@ -143,7 +143,6 @@
<Compile Include="Banshee.Collection\ImportManager.cs" />
<Compile Include="Banshee.Collection\ImportEventHandler.cs" />
<Compile Include="Banshee.Library\LibraryImportManager.cs" />
- <Compile Include="Banshee.Library\HomeDirectoryImportSource.cs" />
<Compile Include="Banshee.Library\IImportSource.cs" />
<Compile Include="Banshee.Library\ImportSourceManager.cs" />
<Compile Include="Banshee.Playlists.Formats\AsxPlaylistFormat.cs" />
diff --git a/src/Core/Banshee.Services/Makefile.am b/src/Core/Banshee.Services/Makefile.am
index 6ac86db..0de4ae2 100644
--- a/src/Core/Banshee.Services/Makefile.am
+++ b/src/Core/Banshee.Services/Makefile.am
@@ -80,7 +80,6 @@ SOURCES = \
Banshee.Hardware/UsbPortInfo.cs \
Banshee.Hardware/VendorProductDeviceNode.cs \
Banshee.Hardware/VendorProductInfo.cs \
- Banshee.Library/HomeDirectoryImportSource.cs \
Banshee.Library/IImportSource.cs \
Banshee.Library/ImportSourceManager.cs \
Banshee.Library/LibraryImportManager.cs \
diff --git a/src/Core/Banshee.ThickClient/Banshee.ThickClient.addin.xml b/src/Core/Banshee.ThickClient/Banshee.ThickClient.addin.xml
index e43c3b2..0d26a37 100644
--- a/src/Core/Banshee.ThickClient/Banshee.ThickClient.addin.xml
+++ b/src/Core/Banshee.ThickClient/Banshee.ThickClient.addin.xml
@@ -17,7 +17,6 @@
<Extension path="/Banshee/Library/ImportSource">
<ImportSource class="Banshee.Library.Gui.FolderImportSource"/>
- <ImportSource class="Banshee.Library.Gui.PhotoFolderImportSource"/>
<ImportSource class="Banshee.Library.Gui.FileImportSource"/>
</Extension>
diff --git a/src/Core/Banshee.ThickClient/Banshee.ThickClient.csproj b/src/Core/Banshee.ThickClient/Banshee.ThickClient.csproj
index 52f9d49..f9a0442 100644
--- a/src/Core/Banshee.ThickClient/Banshee.ThickClient.csproj
+++ b/src/Core/Banshee.ThickClient/Banshee.ThickClient.csproj
@@ -267,7 +267,6 @@
<Compile Include="Banshee.Collection.Gui\ColumnCellQueryText.cs" />
<Compile Include="Banshee.Collection.Gui\QueryFilterView.cs" />
<Compile Include="Banshee.Gui.Widgets\ClassicTrackInfoDisplay.cs" />
- <Compile Include="Banshee.Library.Gui\PhotoFolderImportSource.cs" />
<Compile Include="Banshee.Gui.Widgets\LargeTrackInfoDisplay.cs" />
<Compile Include="Banshee.Collection.Gui\BaseTrackListView.cs" />
<Compile Include="Banshee.Gui\PersistentWindowController.cs" />
diff --git a/src/Core/Banshee.ThickClient/Makefile.am b/src/Core/Banshee.ThickClient/Makefile.am
index 32c3ca5..62b6fb5 100644
--- a/src/Core/Banshee.ThickClient/Makefile.am
+++ b/src/Core/Banshee.ThickClient/Makefile.am
@@ -129,7 +129,6 @@ SOURCES = \
Banshee.Library.Gui/FileImportSource.cs \
Banshee.Library.Gui/FolderImportSource.cs \
Banshee.Library.Gui/ImportDialog.cs \
- Banshee.Library.Gui/PhotoFolderImportSource.cs \
Banshee.MediaProfiles.Gui/ProfileComboBox.cs \
Banshee.MediaProfiles.Gui/ProfileComboBoxConfigurable.cs \
Banshee.MediaProfiles.Gui/ProfileConfigurationDialog.cs \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]