[meld] Disable the new-blank behaviour for DirDiff and VcView until it works



commit b9d9bdc6c03f1dbeb201728ce9037e29adb46226
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Dec 29 05:49:04 2012 +1000

    Disable the new-blank behaviour for DirDiff and VcView until it works

 meld/newdifftab.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/meld/newdifftab.py b/meld/newdifftab.py
index cf38bc0..fca356d 100644
--- a/meld/newdifftab.py
+++ b/meld/newdifftab.py
@@ -61,7 +61,8 @@ class NewDiffTab(gobject.GObject, gnomeglade.Component):
 
         self.diff_type = self.button_types.index(button)
         self.choosers_notebook.set_current_page(self.diff_type + 1)
-        self.button_new_blank.set_sensitive(True)
+        # FIXME: Add support for new blank for DirDiff and VcView
+        self.button_new_blank.set_sensitive(self.diff_type == 0)
         self.button_compare.set_sensitive(True)
 
     def on_three_way_checkbutton_toggled(self, button, *args):



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