[banshee] [TrackEditor] Updating the album artist when the track artist is edited



commit 6228fc82976dbad28d72acea8e67f7147d4186c1
Author: Benjamín Valero Espinosa <benjavalero gmail com>
Date:   Thu Sep 10 18:49:52 2009 +1000

    [TrackEditor] Updating the album artist when the track artist is edited
    
    Fixes bgo#586906

 .../BasicTrackDetailsPage.cs                       |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/BasicTrackDetailsPage.cs b/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/BasicTrackDetailsPage.cs
index be2193e..4026596 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/BasicTrackDetailsPage.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/BasicTrackDetailsPage.cs
@@ -96,6 +96,12 @@ namespace Banshee.Gui.TrackEditor
                 }
             );
 
+            track_artist_entry.Changed += delegate {
+                if (!album_artist_entry.IsCompilation) {
+                    album_artist_entry.Text = track_artist_entry.Text;
+                }
+            };
+
             AddField (left, new TextEntry ("CoreAlbums", "Title"), 
                 Catalog.GetString ("Set all album titles to this value"),
                 delegate { return Catalog.GetString ("Albu_m Title:"); },



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]