[meld] filediff: Fix old call to set_label()



commit 1d04901f6c8ca29d1972f26f070eef0bc17a512f
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Mon Feb 24 06:40:52 2014 +1000

    filediff: Fix old call to set_label()

 meld/filediff.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 1118d19..8f54ded 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -1033,7 +1033,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
             return
         buf = self.textbuffer[1]
         buf.data.savefile = os.path.abspath(filename)
-        buf.data.set_label(filename)
+        buf.data.label = filename
         self.set_buffer_writable(buf, os.access(buf.data.savefile, os.W_OK))
         self.fileentry[1].set_filename(os.path.abspath(filename))
         self.recompute_label()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]