[Monodevelop-patches-list] r1001 - in trunk/MonoDevelop/src: AddIns/DisplayBindings/SourceEditor/Gui/Pads Main/Base/Commands
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Mon Feb 23 07:11:34 EST 2004
Author: jba
Date: 2004-02-23 07:11:34 -0500 (Mon, 23 Feb 2004)
New Revision: 1001
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Pads/CompilerMessageView.cs
trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs
Log:
fixed show output screen on build option
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Pads/CompilerMessageView.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Pads/CompilerMessageView.cs 2004-02-23 11:54:14 UTC (rev 1000)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Pads/CompilerMessageView.cs 2004-02-23 12:11:34 UTC (rev 1001)
@@ -73,8 +73,12 @@
ResourceService resourceService = (ResourceService)ServiceManager.Services.GetService(typeof(IResourceService));
TaskService taskService = (TaskService)ICSharpCode.Core.Services.ServiceManager.Services.GetService(typeof(TaskService));
+ IProjectService projectService = (IProjectService) ServiceManager.Services.GetService (typeof(IProjectService));
taskService.CompilerOutputChanged += new EventHandler(SetOutput);
+ projectService.StartBuild += new EventHandler (SelectMessageView);
+ projectService.CombineClosed += new CombineEventHandler (OnCombineClosed);
+ projectService.CombineOpened += new CombineEventHandler (OnCombineOpen);
}
void OnCombineOpen(object sender, CombineEventArgs e)
Modified: trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs 2004-02-23 11:54:14 UTC (rev 1000)
+++ trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs 2004-02-23 12:11:34 UTC (rev 1001)
@@ -86,8 +86,7 @@
FileUtilityService fileUtilityService = (FileUtilityService)ServiceManager.Services.GetService(typeof(FileUtilityService));
projectService.MarkFileDirty(window.ViewContent.ContentName);
string fileName = window.ViewContent.ContentName;
- // save backup first
- System.Console.WriteLine(fileName);
+ // save backup first
if((bool) PropertyService.GetProperty ("SharpDevelop.CreateBackupCopy", false)) {
fileUtilityService.ObservedSave(new NamedFileOperationDelegate(window.ViewContent.Save), fileName + "~");
}
More information about the Monodevelop-patches-list
mailing list