[meld] Remove unused is_modified() method



commit ef666a1b95a909c413d8c9c7c8e9de82deb2d64a
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Fri Aug 14 09:38:29 2009 +1000

    Remove unused is_modified() method

 meld/filediff.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index dbed731..bbe3a56 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -370,9 +370,6 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
             self.keymask &= ~x
             self._update_linkmap_buttons()
 
-    def is_modified(self):
-        return 1 in [b.modified for b in self.bufferdata]
-
     def _get_pane_label(self, i):
         #TRANSLATORS: this is the name of a new file which has not yet been saved
         return self.bufferdata[i].label or _("<unnamed>")



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