diff options
author | Lluis Sanchez <lluis@novell.com> | 2009-06-23 18:26:38 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2009-06-23 18:26:38 +0400 |
commit | d8dc77a1a455a6fddd3d14bae485043d401d9be0 (patch) | |
tree | 5bc5d820e4894d8433bfa85ed8a6b8e6c121d911 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content | |
parent | 7e6efa39afcfc5dbd97b652b8dba8a4183be4171 (diff) |
Use the new DesktopService instead of PlatformService.
svn path=/trunk/monodevelop/; revision=136706
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorProperties.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorProperties.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorProperties.cs index a279548927..020211aa9e 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorProperties.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorProperties.cs @@ -4,6 +4,7 @@ using System.Text; using Pango; using MonoDevelop.Core; +using MonoDevelop.Core.Gui; namespace MonoDevelop.Ide.Gui.Content { public enum LineViewerStyle { @@ -405,7 +406,7 @@ namespace MonoDevelop.Ide.Gui.Content { switch (s) { case "__default_monospace": try { - string fontName = IdeApp.Services.PlatformService.DefaultMonospaceFont; + string fontName = DesktopService.DefaultMonospaceFont; return FontDescription.FromString (fontName); } catch (Exception ex) { LoggingService.LogWarning ("Could not load platform's default monospace font.", ex); |