banshee r3082 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Playlist src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue
- From: abock svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3082 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Playlist src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue
- Date: Tue, 29 Jan 2008 04:00:06 +0000 (GMT)
Author: abock
Date: Tue Jan 29 04:00:05 2008
New Revision: 3082
URL: http://svn.gnome.org/viewvc/banshee?rev=3082&view=rev
Log:
2008-01-28 Aaron Bockover <abock gnome org>
* src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs:
Make the IUnmappable implementation virtual
* src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs:
Override CanUnmap, return false
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs
trunk/banshee/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.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 Tue Jan 29 04:00:05 2008
@@ -163,7 +163,7 @@
#region IUnmapableSource Implementation
- public bool Unmap ()
+ public virtual bool Unmap ()
{
if (DbId != null) {
ServiceManager.DbConnection.Execute (new HyenaSqliteCommand (@"
@@ -179,11 +179,11 @@
return true;
}
- public bool CanUnmap {
+ public virtual bool CanUnmap {
get { return true; }
}
- public bool ConfirmBeforeUnmap {
+ public virtual bool ConfirmBeforeUnmap {
get { return true; }
}
Modified: trunk/banshee/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs (original)
+++ trunk/banshee/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs Tue Jan 29 04:00:05 2008
@@ -199,5 +199,9 @@
public override bool ConfirmRemoveTracks {
get { return false; }
}
+
+ public override bool CanUnmap {
+ get { return false; }
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]