diff options
author | Mikayla Hutchinson <m.j.hutchinson@gmail.com> | 2018-04-17 22:54:33 +0300 |
---|---|---|
committer | Mikayla Hutchinson <m.j.hutchinson@gmail.com> | 2018-04-18 00:25:18 +0300 |
commit | e1b22249418126b333241fdbfd0310794016f5e9 (patch) | |
tree | 0b69c6a0ec6d8099c24c21647c81b418483d4f11 /main/src/addins | |
parent | 7cf72d819d12f2c6e3556d56967414a20217ad88 (diff) |
Clean up MSBuildFileFormat
Diffstat (limited to 'main/src/addins')
2 files changed, 3 insertions, 3 deletions
diff --git a/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Gui/SourcesZipEditorWidget.cs b/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Gui/SourcesZipEditorWidget.cs index fd428d98ef..edf084db9c 100644 --- a/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Gui/SourcesZipEditorWidget.cs +++ b/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Gui/SourcesZipEditorWidget.cs @@ -34,8 +34,8 @@ namespace MonoDevelop.Deployment.Gui int sel = 0; for (int n=0; n<formats.Length; n++) { - comboFormat.AppendText (formats[n].Name); - if (formats[n].Name == selectedFormat.Name) + comboFormat.AppendText (formats[n].ProductDescription); + if (formats[n].ProductDescription == selectedFormat.ProductDescription) sel = n; } diff --git a/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Targets/SourcesZipPackageBuilder.cs b/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Targets/SourcesZipPackageBuilder.cs index 1fa649f2ee..c89a8c6c83 100644 --- a/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Targets/SourcesZipPackageBuilder.cs +++ b/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Targets/SourcesZipPackageBuilder.cs @@ -138,7 +138,7 @@ namespace MonoDevelop.Deployment.Targets public override string DefaultName { get { if (FileFormat != null) - return GettextCatalog.GetString ("{0} Sources", FileFormat.Name); + return GettextCatalog.GetString ("MSBuild Sources"); else return base.DefaultName; } |