diff options
author | Lluis Sanchez <lluis@novell.com> | 2006-12-19 02:58:39 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2006-12-19 02:58:39 +0300 |
commit | 09ced015af881a6424e3a79d13553b4a3662ffd2 (patch) | |
tree | c25b2c968e520bc4d186cddfe3c96dbd5e1718ee /Extras/VersionControl | |
parent | c647e7fcd5c283df154b3c43e1e02362392b20ef (diff) |
* MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlFileSystemExtension.cs:
Added null check. Should fix bug #80311.
svn path=/trunk/monodevelop/; revision=69699
Diffstat (limited to 'Extras/VersionControl')
-rw-r--r-- | Extras/VersionControl/ChangeLog | 5 | ||||
-rw-r--r-- | Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlFileSystemExtension.cs | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Extras/VersionControl/ChangeLog b/Extras/VersionControl/ChangeLog index b794bfd61b..0acf657ffd 100644 --- a/Extras/VersionControl/ChangeLog +++ b/Extras/VersionControl/ChangeLog @@ -1,3 +1,8 @@ +2006-12-19 Lluis Sanchez Gual <lluis@novell.com> + + * MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlFileSystemExtension.cs: + Added null check. Should fix bug #80311. + 2006-12-17 Lluis Sanchez Gual <lluis@novell.com> * MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SubversionRepository.cs: diff --git a/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlFileSystemExtension.cs b/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlFileSystemExtension.cs index f6e74949db..b8d044d591 100644 --- a/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlFileSystemExtension.cs +++ b/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlFileSystemExtension.cs @@ -12,7 +12,8 @@ namespace MonoDevelop.VersionControl { public override bool CanHandlePath (string path, bool isDirectory) { - if (IdeApp.ProjectOperations.CurrentOpenCombine == null) + // FIXME: don't load this extension if the ide is not loaded. + if (IdeApp.ProjectOperations == null || IdeApp.ProjectOperations.CurrentOpenCombine == null) return false; else return GetRepository (path) != null; |