More lazy fixes (now loads and functions as I expect for now):

diff -ur /usr/lib/meld/meld.orig/tree.py /usr/lib/meld/meld/tree.py
--- /usr/lib/meld/meld.orig/tree.py     2010-12-13 16:15:35.000000000 +0000
+++ /usr/lib/meld/meld/tree.py  2011-01-16 17:22:40.936220421 +0000
@@ -84,8 +84,8 @@
     def add_empty(self, parent, text="empty folder"):
         child = self.append(parent)
         for i in range(self.ntree):
-            self.set_value(child, self.column_index(COL_STATE,i), STATE_EMPTY)
-            self.set_value(child, self.column_index(COL_PATH,i), 
self.pixstyle[STATE_EMPTY])
+            self.set_value(child, self.column_index(COL_STATE,i), 
str(STATE_EMPTY))
+            self.set_value(child, self.column_index(COL_PATH,i), 
str(self.pixstyle[STATE_EMPTY]))
             self.set_value(child, self.column_index(COL_TEXT, i), 
self.textstyle[STATE_EMPTY] % gobject.markup_escape_text(text))
         return child
 


Regards

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/703603

Title:
  TypeError: value is of the wrong type for this column

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to