[Monodevelop-patches-list] r533 - trunk/MonoDevelop/src/Main/Base/Gui/Pads

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sat Jan 17 22:04:30 EST 2004


Author: tberman
Date: 2004-01-17 22:04:30 -0500 (Sat, 17 Jan 2004)
New Revision: 533

Modified:
   trunk/MonoDevelop/src/Main/Base/Gui/Pads/UnixFileScout.cs
Log:
patch from Jon Wood (bug #53007)


Modified: trunk/MonoDevelop/src/Main/Base/Gui/Pads/UnixFileScout.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Pads/UnixFileScout.cs	2004-01-18 02:04:55 UTC (rev 532)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Pads/UnixFileScout.cs	2004-01-18 03:04:30 UTC (rev 533)
@@ -237,10 +237,12 @@
 			} catch (Exception) {
 				return;
 			}
+		
+			if (watcher != null) {
+				watcher.Path = path;
+				watcher.EnableRaisingEvents = true;
+			}
 			
-			watcher.Path = path;
-			watcher.EnableRaisingEvents = true;
-			
 			foreach (string file in files) {
 				string filename = System.IO.Path.GetFileName(file);
 				if (filename != null && filename.Length > 0 && filename[0] == '.') {




More information about the Monodevelop-patches-list mailing list