[xiph-commits] r7988 - trunk/oggdsf/src/tools/DNPlay

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Tue Oct 12 05:10:42 PDT 2004


Author: illiminable
Date: 2004-10-12 05:10:41 -0700 (Tue, 12 Oct 2004)
New Revision: 7988

Modified:
   trunk/oggdsf/src/tools/DNPlay/frmDNPlay.cs
Log:
* Clear the title text on new load.
* Disable the follow link button until the first clip tag arrives.

Modified: trunk/oggdsf/src/tools/DNPlay/frmDNPlay.cs
===================================================================
--- trunk/oggdsf/src/tools/DNPlay/frmDNPlay.cs	2004-10-12 12:04:04 UTC (rev 7987)
+++ trunk/oggdsf/src/tools/DNPlay/frmDNPlay.cs	2004-10-12 12:10:41 UTC (rev 7988)
@@ -119,7 +119,8 @@
 		//Implementing IDNCMMLCallbacks
 		public bool clipCallback(ClipTag inClipTag) 
 		{
-			MessageBox.Show("Clip Callback");
+			//MessageBox.Show("Clip Callback");
+			cmdFollowLink.Enabled = true;
 			mCurrentClip = inClipTag;
 			lblClipDesc.Text = inClipTag.desc().text();
 			lblAnchorLink.Text = inClipTag.anchor().href();
@@ -468,6 +469,8 @@
 				lblFileLocation.Text = inFileName;
 				lblAnchorLink.Text = "";
 				lblClipDesc.Text = "";
+				lblTitle.Text = "";
+				cmdFollowLink.Enabled = false;
 
 
 				



More information about the commits mailing list