Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.6, 0.7, and 0.7.1

status: no file select checkbox when diff'ing two revisions

Changeset 7b8cde730fb6

Parent 814130b27945

by TK Soh

Changes to one file · Browse files at 7b8cde730fb6 Showing diff from parent 814130b27945 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​status.py Stacked
 
251
252
253
 
254
255
256
 
372
373
374
375
 
 
376
377
378
 
251
252
253
254
255
256
257
 
373
374
375
 
376
377
378
379
380
@@ -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