Added missing Language_Mangager argument. Fix bug 484913.

svn path=/trunk/; revision=5957
parent 4f5cdb70
2007-10-09 Curtis Hovey <sinzui.is@verizon.net>
* plugins/externaltools/tools/functions.py: Added missing
Language_Mangager argument. Fix bug 484913.
2007-10-07 Curtis Hovey <sinzui.is@verizon.net>
* plugins/externaltools/tools/library.py: load tool property if
......
......@@ -176,7 +176,8 @@ def capture_end_execute_panel(capture, exit_code, panel, view, update_type):
end.forward_chars(300)
mtype = gnomevfs.get_mime_type_for_data(doc.get_text(start, end))
language = gedit.language_manager_get_language_from_mime_type(mtype)
lmanager = gedit.get_language_manager()
language = gedit.language_manager_get_language_from_mime_type(lmanager, mtype)
if language is not None:
doc.set_language(language)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment