diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2016-03-10 09:55:20 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2016-03-10 09:55:20 +0300 |
commit | c34853ff412b90f5edda6540bdd6ef60b3720c62 (patch) | |
tree | 50c05ca5715397cbbdc41812f9a8984c52c2d43c /main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor | |
parent | fcbfe7d74ddbc0591a95314f497d99dddc2902db (diff) |
[Gettext] Fixed compiler warnings.
Diffstat (limited to 'main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor')
-rw-r--r-- | main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs index 0d6a78a702..da4a608b05 100644 --- a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs +++ b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs @@ -45,6 +45,7 @@ using System.Threading; using MonoDevelop.Components; using MonoDevelop.Ide.Editor; using MonoDevelop.Core.Text; +using MonoDevelop.Ide.Gui; namespace MonoDevelop.Gettext { @@ -186,7 +187,7 @@ namespace MonoDevelop.Gettext lineNr = 1 + int.Parse (line); } catch { } - IdeApp.Workbench.OpenDocument (file, lineNr, 1); + IdeApp.Workbench.OpenDocument (new FileOpenInformation (file, project, lineNr, 1, OpenDocumentOptions.Default)); }; this.notebookTranslated.RemovePage (0); this.searchEntryFilter.Entry.Text = ""; |