[Monodevelop-patches-list] r565 - trunk/MonoDevelop/src/Main/Base/Gui/Pads/ProjectBrowser/BrowserNode

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon Jan 19 00:02:07 EST 2004


Author: tberman
Date: 2004-01-19 00:02:07 -0500 (Mon, 19 Jan 2004)
New Revision: 565

Modified:
   trunk/MonoDevelop/src/Main/Base/Gui/Pads/ProjectBrowser/BrowserNode/AbstractBrowserNode.cs
Log:
obey ShowExtensions option at startup, doesnt change when you click the option yet though.


Modified: trunk/MonoDevelop/src/Main/Base/Gui/Pads/ProjectBrowser/BrowserNode/AbstractBrowserNode.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Pads/ProjectBrowser/BrowserNode/AbstractBrowserNode.cs	2004-01-19 04:44:53 UTC (rev 564)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Pads/ProjectBrowser/BrowserNode/AbstractBrowserNode.cs	2004-01-19 05:02:07 UTC (rev 565)
@@ -12,6 +12,7 @@
 using System.Collections.Specialized;
 
 using ICSharpCode.Core.Properties;
+using ICSharpCode.Core.Services;
 
 using ICSharpCode.Core.AddIns;
 
@@ -27,7 +28,7 @@
 	public abstract class AbstractBrowserNode : TreeNode, IDisposable
 	{
 		//Gdk.Pixbuf  iconImage = null;
-		public static bool ShowExtensions = false;
+		public static bool ShowExtensions = ((PropertyService)ServiceManager.Services.GetService (typeof(PropertyService))).GetProperty ("ICSharpCode.SharpDevelop.Gui.ProjectBrowser.ShowExtensions", true);
 		
 		protected bool   canLabelEdited = true;
 		protected object userData  = null;




More information about the Monodevelop-patches-list mailing list