[Monodevelop-patches-list] r1513 - in trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor: . Gui
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Mon Apr 26 01:58:52 EDT 2004
Author: jluke
Date: 2004-04-26 01:58:52 -0400 (Mon, 26 Apr 2004)
New Revision: 1513
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs
Log:
allow opening of python files
needs a more robust fix
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog 2004-04-26 05:18:31 UTC (rev 1512)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog 2004-04-26 05:58:52 UTC (rev 1513)
@@ -1,3 +1,8 @@
+2004-04-26 John Luke <jluke at cfl.rr.com>
+
+ * Gui/SourceEditorDisplayBinding.cs: add python mimetype to
+ CanCreateContent, needs a more robust fix
+
2004-04-26 Todd Berman <tberman at sevenl.net>
* Gui/SourceEditorDisplayBinding.cs: Make goto matching brace work
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs 2004-04-26 05:18:31 UTC (rev 1512)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs 2004-04-26 05:58:52 UTC (rev 1513)
@@ -37,6 +37,8 @@
return false;
if (mimetype.StartsWith ("text"))
return true;
+ if (mimetype == "application/x-python")
+ return true;
return false;
}
More information about the Monodevelop-patches-list
mailing list