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

commit: change username entry to a combo box with default

Changeset 1e2064fc0fcf

Parent e82d5e9c35a5

by Steve Borho

Changes to one file · Browse files at 1e2064fc0fcf Showing diff from parent e82d5e9c35a5 Diff from another changeset...

 
34
35
36
37
 
 
 
38
39
 
40
41
42
 
72
73
74
75
76
77
78
 
79
80
81
 
34
35
36
 
37
38
39
40
 
41
42
43
44
 
74
75
76
 
 
 
77
78
79
80
81
@@ -34,9 +34,11 @@
  layout.addWidget(self.stwidget)   self.setLayout(layout)   form = QFormLayout() - userle = QLineEdit() + usercombo = QComboBox() + usercombo.addItem(self.stwidget.repo[None].user()) + usercombo.setEditable(True)   form.addRow(_('Changeset:'), QLabel(_('Working Copy'))) - form.addRow(_('User:'), userle) + form.addRow(_('User:'), usercombo)   form.addRow(_('Parent:'), QLabel('Description of ' +   str(self.stwidget.repo['.'])))   frame = QFrame() @@ -72,10 +74,8 @@
  # add our splitter where the docf used to be   self.stwidget.split.addWidget(self.split)   msgte.setFocus() - - # TODO add commit widgets - # branchop dialog   # Yuki's Mockup: http://bitbucket.org/kuy/thg-qt/wiki/Home + self.usercombo = usercombo     def restoreState(self, data):   return self.stwidget.restoreState(data)