Primitivus: gateways: current server is now shown in title
This commit is contained in:
parent
d9ba81bd1b
commit
cc547e5ec4
1 changed files with 3 additions and 0 deletions
|
|
@ -29,6 +29,8 @@ class GatewaysManager(urwid.WidgetWrap, QuickGatewaysManager):
|
|||
|
||||
def __init__(self, host, gateways, title=_("Gateways manager"), server=None):
|
||||
QuickGatewaysManager.__init__(self, host, gateways, server)
|
||||
if server:
|
||||
title+=" (%s)" % server
|
||||
widget_list = urwid.SimpleListWalker([])
|
||||
widget_list.append(urwid.Text(self.WARNING_MSG))
|
||||
widget_list.append(urwid.Divider('-'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue