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

gdialog: add cmd_set_active function

Changeset 69491ca9df6c

Parent 5d2e55be571e

by Adrian Buehlmann

Changes to one file · Browse files at 69491ca9df6c Showing diff from parent 5d2e55be571e Diff from another changeset...

 
344
345
346
 
 
 
 
 
 
 
 
347
348
349
 
344
345
346
347
348
349
350
351
352
353
354
355
356
357
@@ -344,6 +344,14 @@
  if w:   w.set_sensitive(enable)   + def cmd_set_active(self, name, active): + ws = [] + ws.append(self.toolbuttons.get(name)) + ws.append(self.menuitems.get(name)) + for w in ws: + if w: + w.set_active(active) +   def get_reponame(self):   return hglib.get_reponame(self.repo)