Update of /cvsroot/freevo/freevo/src/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv694/src/plugins
Modified Files:
unpack.py
Log Message:
handle exit code for kaa.notifier Process
Index: unpack.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/unpack.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** unpack.py 6 Aug 2005 09:15:21 -0000 1.8
--- unpack.py 6 Aug 2005 14:30:33 -0000 1.9
***************
*** 83,89 ****
self.pop.show()
child = kaa.notifier.Process(app)
! child.signals["completed"].coonect(self.pop.destroy)
child.start()
class PluginInterface(plugin.MimetypePlugin):
"""
--- 83,97 ----
self.pop.show()
child = kaa.notifier.Process(app)
! child.signals["completed"].connect(self.finished)
child.start()
+
+ def finished(self, exit_code):
+ """
+ Callback after the process is done.
+ """
+ self.pop.destroy()
+
+
class PluginInterface(plugin.MimetypePlugin):
"""
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog