summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2012-03-13 00:45:58 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2012-03-22 01:14:41 +0000
commiteac52dec73ff469283d245ae17ba34d19aad313f (patch)
tree19d11c25bf3e4d717f49a571672adef67128952d
parent124daaf8b2deadda9a904e9ac2f42a364bf0e880 (diff)
downloaddeluge-eac52dec7.zip
deluge-eac52dec7.tar.gz
deluge-eac52dec7.tar.bz2
Bring MainWindow to front when opening another instance of gtkui
-rw-r--r--deluge/ui/gtkui/ipcinterface.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/deluge/ui/gtkui/ipcinterface.py b/deluge/ui/gtkui/ipcinterface.py
index 2569072..610b4fc 100644
--- a/deluge/ui/gtkui/ipcinterface.py
+++ b/deluge/ui/gtkui/ipcinterface.py
@@ -58,6 +58,7 @@ import twisted.internet.error
class IPCProtocolServer(Protocol):
def dataReceived(self, data):
data = rencode.loads(data)
+ component.get("MainWindow").present()
process_args(data)
class IPCProtocolClient(Protocol):