Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mkrueger@xamarin.com>2014-06-23 12:19:11 +0400
committerMike Krüger <mkrueger@xamarin.com>2014-06-23 12:19:11 +0400
commit5898e342660b9bda177eb08ab3254c3c8605ac20 (patch)
tree559c11902861a0d8fd3fe5c02a73fd04c9502971 /main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor
parentf191aaa9e2900c5eaee69bb8d03cba1f072c1f12 (diff)
[Gettext] Track API changes.
Diffstat (limited to 'main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor')
-rw-r--r--main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs17
1 files changed, 7 insertions, 10 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 e39acc0b20..c99b178b57 100644
--- a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs
+++ b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs
@@ -56,7 +56,6 @@ namespace MonoDevelop.Gettext
ListStore foundInStore;
Catalog catalog;
string poFileName;
- ITextEditorOptions options = new TextEditorOptions ();
TextEditor texteditorOriginal = DocumentFactory.CreateNewEditor ();
TextEditor texteditorPlural = DocumentFactory.CreateNewEditor ();
@@ -240,20 +239,19 @@ namespace MonoDevelop.Gettext
widgets.Add (this);
checkbuttonWhiteSpaces.Toggled += CheckbuttonWhiteSpacesToggled;
- options.ShowLineNumberMargin = false;
- options.ShowFoldMargin = false;
- options.ShowIconMargin = false;
- options.ColorScheme = IdeApp.Preferences.ColorScheme;
- options.FontName = PropertyService.Get<string> ("FontName");
-
+
this.scrolledwindowOriginal.Child = this.texteditorOriginal.GetGtkWidget ();
this.scrolledwindowPlural.Child = this.texteditorPlural.GetGtkWidget ();
this.scrolledwindowOriginal.Child.Show ();
this.scrolledwindowPlural.Child.Show ();
scrolledwindowOriginal.Child.ModifyBase (Gtk.StateType.Normal, Style.Base (Gtk.StateType.Insensitive));
scrolledwindowPlural.Child.ModifyBase (Gtk.StateType.Normal, Style.Base (Gtk.StateType.Insensitive));
- this.texteditorOriginal.Options = options;
- this.texteditorPlural.Options = options;
+ this.texteditorOriginal.Options.ShowLineNumberMargin = false;
+ this.texteditorOriginal.Options.ShowFoldMargin = false;
+ this.texteditorOriginal.Options.ShowIconMargin = false;
+ this.texteditorPlural.Options.ShowLineNumberMargin = false;
+ this.texteditorPlural.Options.ShowFoldMargin = false;
+ this.texteditorPlural.Options.ShowIconMargin = false;
this.texteditorOriginal.IsReadOnly = true;
this.texteditorPlural.IsReadOnly = true;
}
@@ -485,7 +483,6 @@ namespace MonoDevelop.Gettext
ScrolledWindow window = new ScrolledWindow ();
var textView = DocumentFactory.CreateNewEditor ();
window.Child = textView.GetGtkWidget ();
- textView.Options = options;
textView.TextChanged += delegate {
if (this.isUpdating)
return;