banshee r3744 - in trunk/banshee: . src/Core/Banshee.Services src/Core/Banshee.Services/Banshee.Playlist src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3744 - in trunk/banshee: . src/Core/Banshee.Services src/Core/Banshee.Services/Banshee.Playlist src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source
- Date: Thu, 10 Apr 2008 05:43:14 +0100 (BST)
Author: gburt
Date: Thu Apr 10 05:43:14 2008
New Revision: 3744
URL: http://svn.gnome.org/viewvc/banshee?rev=3744&view=rev
Log:
2008-04-09 Gabriel Burt <gabriel burt gmail com>
* src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: Add
information popup if user tries to add track(s) to a playlist from outside
its primary source (since not yet implemented).
* src/Core/Banshee.Services/Makefile.am: Reorder.
* src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSource.cs:
Set CanAddTracks to false since it doesn't work.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs
trunk/banshee/src/Core/Banshee.Services/Makefile.am
trunk/banshee/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSource.cs
Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs (original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs Thu Apr 10 05:43:14 2008
@@ -34,6 +34,7 @@
using Mono.Unix;
+using Hyena;
using Hyena.Data;
using Hyena.Data.Sqlite;
using Hyena.Collections;
@@ -219,11 +220,12 @@
{
if (Parent == null || source == Parent || source.Parent == Parent) {
return base.AddSelectedTracks (source);
- /*} else {
+ } else {
// Adding from a different primary source, so add to our primary source first
- PrimarySource primary = Parent as PrimarySource;
- primary.AddSelectedTracks (model);
- // then add to us*/
+ //PrimarySource primary = Parent as PrimarySource;
+ //primary.AddSelectedTracks (model);
+ // then add to us
+ Log.Information ("Note: Feature Not Implemented", String.Format ("In this alpha release, you can only add tracks to {0} from {1} or its playlists.", Name, Parent.Name), true);
}
return false;
}
Modified: trunk/banshee/src/Core/Banshee.Services/Makefile.am
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Makefile.am (original)
+++ trunk/banshee/src/Core/Banshee.Services/Makefile.am Thu Apr 10 05:43:14 2008
@@ -105,6 +105,7 @@
Banshee.Query/SmartPlaylistQueryValue.cs \
Banshee.Query/YearQueryValue.cs \
Banshee.ServiceStack/Application.cs \
+ Banshee.ServiceStack/BatchUserJob.cs \
Banshee.ServiceStack/Client.cs \
Banshee.ServiceStack/DBusServiceManager.cs \
Banshee.ServiceStack/IDBusExportable.cs \
@@ -117,7 +118,6 @@
Banshee.ServiceStack/ServiceManager.cs \
Banshee.ServiceStack/ServiceStartedHandler.cs \
Banshee.ServiceStack/TestUserJob.cs \
- Banshee.ServiceStack/BatchUserJob.cs \
Banshee.ServiceStack/UserJob.cs \
Banshee.ServiceStack/UserJobEventHandler.cs \
Banshee.ServiceStack/UserJobManager.cs \
Modified: trunk/banshee/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSource.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSource.cs (original)
+++ trunk/banshee/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSource.cs Thu Apr 10 05:43:14 2008
@@ -115,8 +115,11 @@
get { return tuid; }
}
- public override bool CanSearch
- {
+ public override bool CanSearch {
+ get { return false; }
+ }
+
+ public override bool CanAddTracks {
get { return false; }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]