diff options
author | Lluis Sanchez <lluis@novell.com> | 2009-08-05 14:36:18 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2009-08-05 14:36:18 +0400 |
commit | 8150423d67e89ada1d1f845556299c4c385b27ae (patch) | |
tree | a4251723265993aabec3a08165b3b7982af77b8d /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands | |
parent | 06e1a0b6ffbc0daf1ba08544259c5fb1ffc350be (diff) |
* MonoDevelop.Ide.FindInFiles/SearchResultWidget.cs: Don't
disconnect the model from the list while searching, so matches are
shown as they are found.
* MonoDevelop.Ide.FindInFiles/SearchResultPad.cs: Remove unused
attribute.
* MonoDevelop.Ide.Commands/ProjectCommands.cs: Fix nullref when the
active document is not buildable.
* gtk-gui/gui.stetic:
* gtk-gui/MonoDevelop.Ide.FindInFiles.SearchResultWidget.cs: Adjust
padding of the message label in the search results pad.
svn path=/trunk/monodevelop/; revision=139396
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs index ac3d6bd813..c94c7d3a00 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs @@ -200,7 +200,7 @@ namespace MonoDevelop.Ide.Commands } else { info.Enabled = ((IdeApp.Workbench.ActiveDocument != null) && (IdeApp.Workbench.ActiveDocument.IsBuildTarget) && (IdeApp.ProjectOperations.CurrentBuildOperation.IsCompleted)); - if (IdeApp.Workbench.ActiveDocument != null) { + if (info.Enabled) { info.Text = GettextCatalog.GetString ("R_ebuild {0}", IdeApp.Workbench.ActiveDocument.FileName); info.Description = GettextCatalog.GetString ("Rebuild {0}", IdeApp.Workbench.ActiveDocument.FileName); } |