[Monodevelop-patches-list] r1265 - in trunk/MonoDevelop/src/Main/Base: . Gui/Pads/HelpBrowser Gui/Pads/ProjectBrowser

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Fri Mar 26 22:59:40 EST 2004


Author: jluke
Date: 2004-03-26 22:59:39 -0500 (Fri, 26 Mar 2004)
New Revision: 1265

Modified:
   trunk/MonoDevelop/src/Main/Base/ChangeLog
   trunk/MonoDevelop/src/Main/Base/Gui/Pads/HelpBrowser/MonodocTreePad.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Pads/ProjectBrowser/ProjectBrowserView.cs
Log:
       * Gui/Pads/HelpBrowser/MonodocTreePad.cs:
       expand the first row by default
       * Gui/Pads/ProjectBrowser/ProjectBrowserView.cs:
       expand the first row by default


Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog	2004-03-27 03:26:16 UTC (rev 1264)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog	2004-03-27 03:59:39 UTC (rev 1265)
@@ -6,6 +6,10 @@
 	* Gui/Pads/ProjectBrowser/BrowserNode/FileNode.cs:
 	workaround/fix for #55185, a confusing message when
 	removing a file from a project, need to revisit it later
+	* Gui/Pads/HelpBrowser/MonodocTreePad.cs:
+	expand the first row by default
+	* Gui/Pads/ProjectBrowser/ProjectBrowserView.cs:
+	expand the first row by default
 
 2004-03-25  Todd Berman  <tberman at sevenl.net>
 

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Pads/HelpBrowser/MonodocTreePad.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Pads/HelpBrowser/MonodocTreePad.cs	2004-03-27 03:26:16 UTC (rev 1264)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Pads/HelpBrowser/MonodocTreePad.cs	2004-03-27 03:59:39 UTC (rev 1265)
@@ -47,6 +47,8 @@
 			scroller = new ScrolledWindow ();
 			scroller.ShadowType = Gtk.ShadowType.In;
 			scroller.Add (tree_view);
+
+			tree_view.ExpandRow (new TreePath ("0"), false);
 		}
 
 		Hashtable populated = new Hashtable ();

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Pads/ProjectBrowser/ProjectBrowserView.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Pads/ProjectBrowser/ProjectBrowserView.cs	2004-03-27 03:26:16 UTC (rev 1264)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Pads/ProjectBrowser/ProjectBrowserView.cs	2004-03-27 03:59:39 UTC (rev 1265)
@@ -17,14 +17,11 @@
 using System.Resources;
 
 using MonoDevelop.Core.Properties;
-
 using MonoDevelop.Core.AddIns;
 using MonoDevelop.Core.AddIns.Codons;
 using MonoDevelop.Core.Services;
-
 using MonoDevelop.Internal.Project;
 using MonoDevelop.Gui.Dialogs;
-
 using MonoDevelop.Services;
 using MonoDevelop.Gui.Widgets;
 
@@ -134,6 +131,9 @@
 			// .NET bugfix : have to expand the node to ensure the refresh
 			// (Refresh won't work) tested 08/16/2002 Mike
 			treeNode.Expand();
+
+			// TODO: maybe exand all should be true
+			this.ExpandRow (new Gtk.TreePath ("0"), false);
 		}
 		
 		void OpenCombine(object sender, CombineEventArgs e)




More information about the Monodevelop-patches-list mailing list