changeset 2819:2f7194224392

streams no longer disappear when added to playlist
author Calin Crisan ccrisan@gmail.com
date Sun, 13 Jul 2008 14:48:39 +0300
parents b30ca704f38a
children 6a31fa1c2803 e883536cefe0
files src/streambrowser/gui/streambrowser_win.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/streambrowser/gui/streambrowser_win.c	Sun Jul 13 14:42:54 2008 +0300
+++ b/src/streambrowser/gui/streambrowser_win.c	Sun Jul 13 14:48:39 2008 +0300
@@ -236,10 +236,11 @@
 	if (fetching) {
 		gchar temp[DEF_STRING_LEN];
 		sprintf(temp, "<span style='italic' weight='heavy'>%s</span>", streaminfo->name);
-		gtk_tree_store_set(store, &iter, 0, "gtk-refresh", 1, temp, 2, "", -1);
+		
+		gtk_tree_store_set(store, &iter, 0, "gtk-refresh", 1, temp, 2, streaminfo->current_track, -1);
 	}
 	else {
-		gtk_tree_store_set(store, &iter, 0, "gtk-directory", 1, streaminfo->name, 2, "", -1);
+		gtk_tree_store_set(store, &iter, 0, "gtk-directory", 1, streaminfo->name, 2, streaminfo->current_track, -1);
 	}
 }