Module: deluge
Branch: master
Commit: cd7681b9097b8923be3c2c3cd1aa5d471c2df140

Author: Andrew Resch <[email protected]>
Date:   Sat Mar 13 10:08:16 2010 -0800

Fix #1172 notify startup complete when adding torrents externally

---

 deluge/ui/gtkui/ipcinterface.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/deluge/ui/gtkui/ipcinterface.py b/deluge/ui/gtkui/ipcinterface.py
index 988137f..67d21be 100644
--- a/deluge/ui/gtkui/ipcinterface.py
+++ b/deluge/ui/gtkui/ipcinterface.py
@@ -130,6 +130,8 @@ class IPCInterface(component.Component):
                 self.factory.protocol = IPCProtocolClient
                 reactor.connectUNIX(socket, self.factory, checkPID=True)
                 reactor.run()
+                import gtk
+                gtk.gdk.notify_startup_complete()
                 sys.exit(0)
             else:
                 process_args(args)

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to