Author: lluis
Date: 2008-01-14 13:01:47 -0500 (Mon, 14 Jan 2008)
New Revision: 92888

Modified:
   branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/ChangeLog
   
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs
Log:
2008-01-14  Mike Kr?\195?\188ger <[EMAIL PROTECTED]> 

        * MonoDevelop.Ide.Gui/Document.cs: Fixed 353008: Build command is 
available
          for Welcome Page but fails.



Modified: branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/ChangeLog
===================================================================
--- branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/ChangeLog    
2008-01-14 17:55:01 UTC (rev 92887)
+++ branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/ChangeLog    
2008-01-14 18:01:47 UTC (rev 92888)
@@ -1,3 +1,8 @@
+2008-01-14  Mike Krüger <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.Ide.Gui/Document.cs: Fixed 353008: Build command is 
available
+         for Welcome Page but fails.
+
 2008-01-11  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * MonoDevelop.Ide.Gui/ProgressMonitors.cs: More fixes in transient pad

Modified: 
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs
===================================================================
--- 
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs
      2008-01-14 17:55:01 UTC (rev 92887)
+++ 
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs
      2008-01-14 18:01:47 UTC (rev 92888)
@@ -260,6 +260,8 @@
                {
                        get
                        {
+                               if (this.IsViewOnly)
+                                       return false;
                                if (Window.ViewContent.ContentName != null)
                                        return 
Services.ProjectService.CanCreateSingleFileProject(Window.ViewContent.ContentName);
                                

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to