Merge "Display version in help dialog title"
This commit is contained in:
commit
e13d7ee166
@ -261,7 +261,7 @@ class App(object):
|
|||||||
for keys, cmdtext in items:
|
for keys, cmdtext in items:
|
||||||
text += '{keys:{width}} {text}\n'.format(
|
text += '{keys:{width}} {text}\n'.format(
|
||||||
keys=keys, width=keylen, text=cmdtext)
|
keys=keys, width=keylen, text=cmdtext)
|
||||||
dialog = mywid.MessageDialog('Help', text)
|
dialog = mywid.MessageDialog('Help for %s' % version(), text)
|
||||||
lines = text.split('\n')
|
lines = text.split('\n')
|
||||||
urwid.connect_signal(dialog, 'close',
|
urwid.connect_signal(dialog, 'close',
|
||||||
lambda button: self.backScreen())
|
lambda button: self.backScreen())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user