diff options
author | Lluis Sanchez <lluis@novell.com> | 2010-05-11 12:49:08 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2010-05-11 12:49:08 +0400 |
commit | b563bac5b613f53b247fdbfe27924caed69c91f3 (patch) | |
tree | d9f3229f1fdb2341b700408fd194c13f984f4d36 /main/src/addins/prj2make-sharp-lib | |
parent | 184c3b28a8e745eae6b2ffbf17a5d8d90e4c1eb3 (diff) |
* VS2003ProjectFileFormat.cs: Remove option of converting to MD 1.0
format.
svn path=/trunk/monodevelop/; revision=157097
Diffstat (limited to 'main/src/addins/prj2make-sharp-lib')
-rw-r--r-- | main/src/addins/prj2make-sharp-lib/ChangeLog | 5 | ||||
-rw-r--r-- | main/src/addins/prj2make-sharp-lib/VS2003ProjectFileFormat.cs | 13 |
2 files changed, 10 insertions, 8 deletions
diff --git a/main/src/addins/prj2make-sharp-lib/ChangeLog b/main/src/addins/prj2make-sharp-lib/ChangeLog index c702b27961..6cae48ac22 100644 --- a/main/src/addins/prj2make-sharp-lib/ChangeLog +++ b/main/src/addins/prj2make-sharp-lib/ChangeLog @@ -1,3 +1,8 @@ +2010-05-11 Lluis Sanchez Gual <lluis@novell.com> + + * VS2003ProjectFileFormat.cs: Remove option of converting to + MD 1.0 format. + 2010-03-22 Lluis Sanchez Gual <lluis@novell.com> * AssemblyInfo.cs: diff --git a/main/src/addins/prj2make-sharp-lib/VS2003ProjectFileFormat.cs b/main/src/addins/prj2make-sharp-lib/VS2003ProjectFileFormat.cs index c724ac050b..08c6f88638 100644 --- a/main/src/addins/prj2make-sharp-lib/VS2003ProjectFileFormat.cs +++ b/main/src/addins/prj2make-sharp-lib/VS2003ProjectFileFormat.cs @@ -251,15 +251,12 @@ namespace MonoDevelop.Prj2Make { TargetConvert QueryConversion (string text) { - AlertButton monodevelop = new AlertButton (GettextCatalog.GetString ("Convert to MonoDevelop")); AlertButton vs2005 = new AlertButton (GettextCatalog.GetString ("Convert to MSBuild")); AlertButton choice = MessageService.AskQuestion (text, - GettextCatalog.GetString ("Converting to Visual Studio 2005 format will overwrite existing files."), - AlertButton.Cancel, vs2005, monodevelop); - if (choice == monodevelop) - return TargetConvert.MonoDevelop; - else if (choice == vs2005) + GettextCatalog.GetString ("Converting to MSBuild format will overwrite existing files."), + AlertButton.Cancel, vs2005); + if (choice == vs2005) return TargetConvert.VisualStudio; else return TargetConvert.None; @@ -267,13 +264,13 @@ namespace MonoDevelop.Prj2Make public TargetConvert QueryProjectConversion (string file) { - string text = GettextCatalog.GetString ("The project file {0} is a Visual Studio 2003 project. It must be converted to either a MonoDevelop or a Visual Studio 2005 project.", file); + string text = GettextCatalog.GetString ("The project file {0} is a Visual Studio 2003 project. It must be converted to a MSBuild project.", file); return QueryConversion (text); } public TargetConvert QuerySolutionConversion (string file) { - string text = GettextCatalog.GetString ("The solution file {0} is a Visual Studio 2003 solution. It must be converted to either a MonoDevelop or a Visual Studio 2005 project.", file); + string text = GettextCatalog.GetString ("The solution file {0} is a Visual Studio 2003 solution. It must be converted to a MSBuild project.", file); return QueryConversion (text); } |