Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

history: disable the syncbar in preview mode

We do not want the user to start another incoming or pull transaction

Changeset e4f7a1a024ad

Parent 5ca1ebd8b68a

by Steve Borho

Changes to one file · Browse files at e4f7a1a024ad Showing diff from parent 5ca1ebd8b68a Diff from another changeset...

 
929
930
931
932
933
 
 
934
935
936
 
981
982
983
 
 
984
985
986
 
929
930
931
 
 
932
933
934
935
936
 
981
982
983
984
985
986
987
988
@@ -929,8 +929,8 @@
  self.reload_log()   self.toolbar.remove(self.toolbar.get_nth_item(0))   self.toolbar.remove(self.toolbar.get_nth_item(0)) - for tb in disabled: - tb.set_sensitive(True) + for w in disabled: + w.set_sensitive(True)     def cleanup():   try: @@ -981,6 +981,8 @@
  if tb:   tb.set_sensitive(False)   disabled.append(tb) + self.syncbox.set_sensitive(False) + disabled.append(self.syncbox)     self.bfile = bfile   self.origtip = len(self.repo)