Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

visdiff: add a label to tool combo

Changeset f9259378e8a0

Parent 083e2008c3c7

by Steve Borho

Changes to one file · Browse files at f9259378e8a0 Showing diff from parent 083e2008c3c7 Diff from another changeset...

 
355
356
357
 
358
359
 
 
 
 
 
360
361
362
 
355
356
357
358
359
 
360
361
362
363
364
365
366
367
@@ -355,8 +355,13 @@
  self.tools = tools     if len(tools) > 1: + hbox = QtGui.QHBoxLayout()   combo = QtGui.QComboBox() - layout.addWidget(combo) + lbl = QtGui.QLabel(_('Select Tool:')) + lbl.setBuddy(combo) + hbox.addWidget(lbl) + hbox.addWidget(combo, 1) + layout.addLayout(hbox)   for i, name in enumerate(tools.iterkeys()):   combo.addItem(name)   if name == preferred: