Revision: 43008039a2e5
Branch: default
Author: gbtami
Date: Sat Jan 3 19:47:30 2015 UTC
Log: Fixed TypeError: argument path: Expected Gtk.TreePath, but got
tuple
https://code.google.com/p/pychess/source/detail?r=43008039a2e5
Modified:
/sidepanel/bookPanel.py
=======================================
--- /sidepanel/bookPanel.py Tue Dec 30 15:33:20 2014 UTC
+++ /sidepanel/bookPanel.py Sat Jan 3 19:47:30 2015 UTC
@@ -333,7 +333,7 @@
result = (_("Win"), 1, 1.0)
details = _("Mate in %d") % depth
self.store.append(self.parent, [(self.board, move, None),
result, 0, False, details, False, False])
- self.tv.expand_row(self.path, False)
+ self.tv.expand_row(Gtk.TreePath(self.path), False)
class Sidepanel (object):
def load (self, gmwidg):