Add :version command
This commit is contained in:
parent
257e6cd67d
commit
5d32df1d54
@ -376,6 +376,7 @@ class QuteBrowser(QApplication):
|
|||||||
'paste': browser.paste,
|
'paste': browser.paste,
|
||||||
'tabpaste': browser.tabpaste,
|
'tabpaste': browser.tabpaste,
|
||||||
'crash': self.crash,
|
'crash': self.crash,
|
||||||
|
'version': lambda: browser.openurl('qute:version'),
|
||||||
'zoomin': browser.cur_zoom_in,
|
'zoomin': browser.cur_zoom_in,
|
||||||
'zoomout': browser.cur_zoom_out,
|
'zoomout': browser.cur_zoom_out,
|
||||||
}
|
}
|
||||||
|
@ -302,3 +302,10 @@ class Crash(Command):
|
|||||||
|
|
||||||
nargs = 0
|
nargs = 0
|
||||||
hide = True
|
hide = True
|
||||||
|
|
||||||
|
|
||||||
|
class Version(Command):
|
||||||
|
|
||||||
|
"""Show version information."""
|
||||||
|
|
||||||
|
nargs = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user