4
4
# Mandos Monitor - Control and monitor the Mandos server
6
# Copyright © 2009,2010 Teddy Hogeborn
7
# Copyright © 2009,2010 Björn Påhlsson
6
# Copyright © 2009-2011 Teddy Hogeborn
7
# Copyright © 2009-2011 Björn Påhlsson
9
9
# This program is free software: you can redistribute it and/or modify
10
10
# it under the terms of the GNU General Public License as published by
359
359
This overrides the method from urwid.FlowWidget"""
361
self.proxy.Enable(dbus_interface = client_interface)
361
self.proxy.Enable(dbus_interface = client_interface,
363
self.proxy.Disable(dbus_interface = client_interface)
364
self.proxy.Disable(dbus_interface = client_interface,
365
367
self.proxy.Approve(dbus.Boolean(True, variant_level=1),
366
dbus_interface = client_interface)
368
dbus_interface = client_interface,
368
371
self.proxy.Approve(dbus.Boolean(False, variant_level=1),
369
dbus_interface = client_interface)
372
dbus_interface = client_interface,
370
374
elif key == "R" or key == "_" or key == "ctrl k":
371
375
self.server_proxy_object.RemoveClient(self.proxy
374
self.proxy.StartChecker(dbus_interface = client_interface)
379
self.proxy.StartChecker(dbus_interface = client_interface,
376
self.proxy.StopChecker(dbus_interface = client_interface)
382
self.proxy.StopChecker(dbus_interface = client_interface,
378
self.proxy.CheckedOK(dbus_interface = client_interface)
385
self.proxy.CheckedOK(dbus_interface = client_interface,
380
388
# elif key == "p" or key == "=":
381
389
# self.proxy.pause()