banshee r4586 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui src/Extensions/Banshee.AudioCd/Banshee.AudioCd
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4586 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui src/Extensions/Banshee.AudioCd/Banshee.AudioCd
- Date: Mon, 22 Sep 2008 19:41:02 +0000 (UTC)
Author: gburt
Date: Mon Sep 22 19:41:02 2008
New Revision: 4586
URL: http://svn.gnome.org/viewvc/banshee?rev=4586&view=rev
Log:
2008-09-22 Gabriel Burt <gabriel burt gmail com>
* src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs:
Override HasViewable/EditableTrackProperties to true so can finally edit
audio CD track information again before ripping (BGO #532467).
* src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Don't require
the source to have a DatabaseTrackListModel to view/edit props/
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs Mon Sep 22 19:41:02 2008
@@ -229,8 +229,8 @@
UpdateAction ("DeleteTracksFromDriveAction", is_track_source && track_source.CanDeleteTracks, has_selection, source);
UpdateAction ("RemoveTracksFromLibraryAction", source.Parent is LibrarySource, has_selection, null);
- UpdateAction ("TrackPropertiesAction", in_database && source.HasViewableTrackProperties, has_selection, source);
- UpdateAction ("TrackEditorAction", in_database && source.HasEditableTrackProperties, has_selection, source);
+ UpdateAction ("TrackPropertiesAction", source.HasViewableTrackProperties, has_selection, source);
+ UpdateAction ("TrackEditorAction", source.HasEditableTrackProperties, has_selection, source);
UpdateAction ("RateTracksAction", in_database, has_selection, null);
UpdateAction ("AddToPlaylistAction", in_database && primary_source != null &&
primary_source.SupportsPlaylists && !primary_source.PlaylistsReadOnly, has_selection, null);
Modified: trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs (original)
+++ trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs Mon Sep 22 19:41:02 2008
@@ -257,6 +257,14 @@
public override int Count {
get { return disc_model.Count; }
}
+
+ public override bool HasEditableTrackProperties {
+ get { return true; }
+ }
+
+ public override bool HasViewableTrackProperties {
+ get { return true; }
+ }
#endregion
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]