Changeset 610cff8add6f…
Parent 9592a5ea3c41…
by
Changes to 2 files · Browse files at 610cff8add6f Showing diff from parent 9592a5ea3c41 Diff from another changeset...
@@ -460,7 +460,7 @@ try:
data = ctx[wfile].data() # load file data
except EnvironmentError:
- self.showMessage.emit(_('Skipping %s, unable to read') %
+ self.showMessage.emit(_('Skipping %s, unable to read') %
hglib.tounicode(wfile))
continue
if util.binary(data):
|
@@ -42,6 +42,7 @@ slist = settings.value('settings/'+opts['cpath']).toStringList()
self.previous = [s for s in slist if s]
self.setMinimumWidth(ENTRY_WIDTH)
+
def resetList(self):
self.clear()
ucur = hglib.tounicode(self.curvalue)
@@ -109,6 +110,7 @@ self.curvalue = None
self.setEchoMode(QLineEdit.Password)
self.setMinimumWidth(ENTRY_WIDTH)
+
## common APIs for all edit widgets
def setValue(self, curvalue):
self.curvalue = curvalue
@@ -134,6 +136,7 @@ assert cpath.startswith('tortoisehg.')
self.fname = cpath[11:]
self.setMinimumWidth(ENTRY_WIDTH)
+
def on_clicked(self, checked):
def newFont(font):
self.setText(font.toString())
|
Loading...