[Monodevelop-patches-list] r409 - src/Main/Base/Gui/Pads

commit-watcher at sevenl.net commit-watcher at sevenl.net
Thu Jan 8 15:45:13 EST 2004


Author: pedro
Date: 2004-01-08 15:45:12 -0500 (Thu, 08 Jan 2004)
New Revision: 409

Modified:
   src/Main/Base/Gui/Pads/UnixFileScout.cs
Log:
Added scrollbars to the file browser. Still to much to be done to get
it working. I need a weekend soon!


Modified: src/Main/Base/Gui/Pads/UnixFileScout.cs
===================================================================
--- src/Main/Base/Gui/Pads/UnixFileScout.cs	2004-01-08 20:22:52 UTC (rev 408)
+++ src/Main/Base/Gui/Pads/UnixFileScout.cs	2004-01-08 20:45:12 UTC (rev 409)
@@ -297,8 +297,19 @@
 			//this.Controls.Add(splitter1);
 			//this.Controls.Add(filetree);
 			
-			Pack1(filetree, true, true);
-			Pack2(filelister.Control, true, true);
+			Gtk.ScrolledWindow treesw = new Gtk.ScrolledWindow ();
+			treesw.Add(filetree);
+			Gtk.Frame treef  = new Gtk.Frame();
+			treef.Add(treesw);
+			
+			Gtk.ScrolledWindow listsw = new Gtk.ScrolledWindow ();
+			listsw.Add(filelister.Control);
+			Gtk.Frame listf  = new Gtk.Frame();
+			listf.Add(listsw);
+			
+			
+			Pack1(treef, true, true);
+			Pack2(listf, true, true);
 		}
 		
 /*		void DirectorySelected(object sender, TreeViewEventArgs e)




More information about the Monodevelop-patches-list mailing list