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

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sat Jan 10 17:09:50 EST 2004


Author: pedroas
Date: 2004-01-10 17:09:50 -0500 (Sat, 10 Jan 2004)
New Revision: 424

Modified:
   trunk/MonoDevelop/src/Main/Base/Gui/Pads/UnixFileScout.cs
Log:
The files are updated when selecting a new dir


Modified: trunk/MonoDevelop/src/Main/Base/Gui/Pads/UnixFileScout.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Pads/UnixFileScout.cs	2004-01-10 22:02:17 UTC (rev 423)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Pads/UnixFileScout.cs	2004-01-10 22:09:50 UTC (rev 424)
@@ -368,7 +368,7 @@
 			//filetree.Size = new System.Drawing.Size(184, 157);
 			//filetree.TabIndex = 1;
 			//filetree.AfterSelect += new TreeViewEventHandler(DirectorySelected);
-			filetree.RowActivated += new GtkSharp.RowActivatedHandler(OnRowActivated);
+			filetree.Selection.Changed += new EventHandler(OnDirChanged);
 			//ImageList imglist = new ImageList();
 			//imglist.ColorDepth = ColorDepth.Depth32Bit;
 			/*imglist.Images.Add(resourceService.GetBitmap("Icons.16x16.ClosedFolderBitmap"));
@@ -421,7 +421,7 @@
 			Pack2(listf, true, true);
 		}
 		
-		void OnRowActivated(object sender, GtkSharp.RowActivatedArgs args) 
+		void OnDirChanged(object sender, EventArgs args) 
 /*		void DirectorySelected(object sender, TreeViewEventArgs e)*/
 		{
 			filelister.ShowFilesInPath(filetree.NodePath + System.IO.Path.DirectorySeparatorChar);




More information about the Monodevelop-patches-list mailing list