diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2014-06-27 15:44:07 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2014-06-27 15:44:07 +0400 |
commit | 380d69691c4f4629d3bf8d820a4addc00d23ad47 (patch) | |
tree | ecf339aa5e85091d0db33b7a5ed7f1de9d1ab987 /main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs | |
parent | 7cdb23d37667b16e786648127b6635d43a8c32a0 (diff) |
[Ide] TextEditor is now a Control.
Diffstat (limited to 'main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs')
-rw-r--r-- | main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs | 6 |
1 files changed, 3 insertions, 3 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 4ea12f484e..98de566bc5 100644 --- a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs +++ b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs @@ -240,8 +240,8 @@ namespace MonoDevelop.Gettext checkbuttonWhiteSpaces.Toggled += CheckbuttonWhiteSpacesToggled; - this.scrolledwindowOriginal.Child = this.texteditorOriginal.GetControl (); - this.scrolledwindowPlural.Child = this.texteditorPlural.GetControl (); + this.scrolledwindowOriginal.Child = this.texteditorOriginal; + this.scrolledwindowPlural.Child = this.texteditorPlural; this.scrolledwindowOriginal.Child.Show (); this.scrolledwindowPlural.Child.Show (); scrolledwindowOriginal.Child.ModifyBase (Gtk.StateType.Normal, Style.Base (Gtk.StateType.Insensitive)); @@ -482,7 +482,7 @@ namespace MonoDevelop.Gettext { ScrolledWindow window = new ScrolledWindow (); var textView = DocumentFactory.CreateNewEditor (); - window.Child = textView.GetControl (); + window.Child = textView; textView.TextChanged += delegate { if (this.isUpdating) return; |