Changeset 7b8cde730fb6…
Parent 814130b27945…
by
Changes to one file · Browse files at 7b8cde730fb6 Showing diff from parent 814130b27945 Diff from another changeset...
@@ -251,6 +251,7 @@ path_cell = gtk.CellRendererText()
stat_cell = gtk.CellRendererText()
+ self.selcb = None
if self.count_revs() < 2:
col0 = gtk.TreeViewColumn('', toggle_cell)
col0.add_attribute(toggle_cell, 'active', 0)
@@ -372,7 +373,8 @@ check_count = check_count + 1
self.counter.set_text(_('%d selected, %d total') %
(check_count, file_count))
- self.selcb.set_active(file_count and file_count == check_count)
+ if self.selcb:
+ self.selcb.set_active(file_count and file_count == check_count)
def prepare_display(self):
self._ready = True
|
Loading...