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

about: set Close button as the default one

Close button is the default one on GTK TortoiseHg

Changeset 248c3c4411e4

Parent 4cef7697983f

by André Sintzoff

Changes to 2 files · Browse files at 248c3c4411e4 Showing diff from parent 4cef7697983f Diff from another changeset...

 
242
243
244
 
 
 
245
246
247
 
242
243
244
245
246
247
248
249
250
@@ -242,6 +242,9 @@
  <property name="text">   <string>&amp;Close</string>   </property> + <property name="default"> + <bool>true</bool> + </property>   </widget>   </item>   </layout>
 
2
3
4
5
 
6
7
8
 
135
136
137
 
138
139
140
 
2
3
4
 
5
6
7
8
 
135
136
137
138
139
140
141
@@ -2,7 +2,7 @@
   # Form implementation generated from reading ui file 'tortoisehg/hgqt/about.ui'  # -# Created: Tue May 18 19:21:37 2010 +# Created: Tue May 18 19:29:40 2010  # by: PyQt4 UI code generator 4.7.3  #  # WARNING! All changes made in this file will be lost! @@ -135,6 +135,7 @@
  spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)   self.button_hlayout.addItem(spacerItem)   self.close_button = QtGui.QPushButton(AboutDialog) + self.close_button.setDefault(True)   self.close_button.setObjectName("close_button")   self.button_hlayout.addWidget(self.close_button)   self.verticalLayout.addLayout(self.button_hlayout)