[Muine] Patch to enable listing album in the "add song"-dialogue



Hi all,

there follows a small patch to enable showing of the albumname in the
"add song"-dialogue (muine-0.8.3/src/AddSongWindow.cs).

If you find it useful, please commit.

Thanks for your work!
	Lars Strojny
-- 
name: Lars Strojny         web: http://strojny.net 
street: Yorckstrasse 22    blog: http://usrportage.de
city: D-71636 Ludwigsburg  mail/jabber: lars strojny net
f-print: 1FD5 D8EE D996 8E3E 1417  328A 240F 17EB 0263 AC07
diff -ru muine-0.8.3/src/AddSongWindow.cs muine-0.8.3-lars/src/AddSongWindow.cs
--- muine-0.8.3/src/AddSongWindow.cs	2005-04-27 22:23:22.000000000 +0200
+++ muine-0.8.3-lars/src/AddSongWindow.cs	2005-05-23 22:24:40.000000000 +0200
@@ -218,9 +218,10 @@
 			CellRendererText r = (CellRendererText) cell;
 			Song song = Song.FromHandle (base.List.Model.HandleFromIter (iter));
 
-			r.Markup = String.Format ("<b>{0}</b>\n{1}",
+			r.Markup = String.Format ("<b>{0}</b>\n{1}\n<i>{2}</i>",
 				StringUtils.EscapeForPango (song.Title),
-				StringUtils.EscapeForPango (StringUtils.JoinHumanReadable (song.Artists)));
+				StringUtils.EscapeForPango (StringUtils.JoinHumanReadable (song.Artists)),
+           StringUtils.EscapeForPango (song.Album));
 		}
 	}
 }

Attachment: signature.asc
Description: This is a digitally signed message part



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