# HG changeset patch # User Matti Hamalainen # Date 1092817444 0 # Node ID 2422fb451db1ae8cb746bfdd3edbf7efb693aa0e # Parent bd7375970826bad94ad6a09bcb07237fb5fa6b6e Check number of subtunes and disable subtune control in fileinfo, if only 1 subtune. diff -r bd7375970826 -r 2422fb451db1 src/xmms-sid.c --- a/src/xmms-sid.c Wed Aug 18 08:19:01 2004 +0000 +++ b/src/xmms-sid.c Wed Aug 18 08:24:04 2004 +0000 @@ -531,7 +531,7 @@ if (xs_fileinfowin) { /* Check if we are currently playing and have a tune */ - if (xs_status.pTune && xs_status.isPlaying) + if (xs_status.pTune && xs_status.isPlaying && (xs_status.pTune->nsubTunes > 1)) { tmpAdj = gtk_range_get_adjustment(GTK_RANGE(LUW("fileinfo_subctrl_adj")));