Bring MainWindow to front when opening another instance of gtkui

This commit is contained in:
Calum Lind 2012-03-13 00:45:58 +00:00
parent d62da02bae
commit 14eb3e51b0
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ log = logging.getLogger(__name__)
class IPCProtocolServer(Protocol): class IPCProtocolServer(Protocol):
def dataReceived(self, data): def dataReceived(self, data):
data = rencode.loads(data) data = rencode.loads(data)
component.get("MainWindow").present()
process_args(data) process_args(data)
class IPCProtocolClient(Protocol): class IPCProtocolClient(Protocol):