Commit 812556aa authored by Kai Willadsen's avatar Kai Willadsen

meldbuffer: Remove now-unused editable variable from buffer data

parent 7e1b0754
......@@ -1566,7 +1566,6 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
self.set_buffer_editable(buf, writable)
def set_buffer_editable(self, buf, editable):
buf.data.editable = editable
index = self.textbuffer.index(buf)
self.readonlytoggle[index].set_active(not editable)
self.readonlytoggle[index].props.icon_name = (
......
......@@ -117,7 +117,6 @@ class MeldBufferData(GObject.GObject):
self.label = self._label if same_file else self.filename
self.loaded = False
self.modified = False
self.editable = True
self.savefile = None
self.encoding = None
self.newlines = None
......
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