Commit 0d04e42c authored by Kai Willadsen's avatar Kai Willadsen

filediff: Use the new buffer encoding to set the status bar state

parent e9f6bb9f
......@@ -228,6 +228,10 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
'language', statusbar, 'source-language',
GObject.BindingFlags.BIDIRECTIONAL)
buf.data.bind_property(
'encoding', statusbar, 'source-encoding',
GObject.BindingFlags.DEFAULT)
# Prototype implementation
from meld.gutterrendererchunk import GutterRendererChunkAction, GutterRendererChunkLines
......
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