Author: lluis Date: 2005-11-04 07:10:39 -0500 (Fri, 04 Nov 2005) New Revision: 52568
Modified: trunk/monodevelop/Extras/BooBinding/ChangeLog trunk/monodevelop/Extras/BooBinding/Gui/ShellTextView.boo Log: 2005-11-04 Lluis Sanchez Gual <[EMAIL PROTECTED]> * Gui/ShellTextView.boo: Fix gtksourceview warning. Modified: trunk/monodevelop/Extras/BooBinding/ChangeLog =================================================================== --- trunk/monodevelop/Extras/BooBinding/ChangeLog 2005-11-04 12:10:22 UTC (rev 52567) +++ trunk/monodevelop/Extras/BooBinding/ChangeLog 2005-11-04 12:10:39 UTC (rev 52568) @@ -1,3 +1,7 @@ +2005-11-04 Lluis Sanchez Gual <[EMAIL PROTECTED]> + + * Gui/ShellTextView.boo: Fix gtksourceview warning. + 2005-11-01 Peter Johanson <[EMAIL PROTECTED]> * BooShell/BooShell.boo: Actually handle exceptions thrown during Modified: trunk/monodevelop/Extras/BooBinding/Gui/ShellTextView.boo =================================================================== --- trunk/monodevelop/Extras/BooBinding/Gui/ShellTextView.boo 2005-11-04 12:10:22 UTC (rev 52567) +++ trunk/monodevelop/Extras/BooBinding/Gui/ShellTextView.boo 2005-11-04 12:10:39 UTC (rev 52568) @@ -78,7 +78,11 @@ _parserService = IdeApp.ProjectOperations.ParserDatabase manager = SourceLanguagesManager() - buf = SourceBuffer(manager.GetLanguageFromMimeType(model.MimeType)) + lang = manager.GetLanguageFromMimeType(model.MimeType) + if lang != null: + buf = SourceBuffer(lang) + else: + buf = SourceBuffer(GtkSourceView.SourceTagTable()) // This freaks out booc for some reason. //super(buf, Highlight: true) _______________________________________________ Mono-patches maillist - Mono-patches@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-patches