diff frontends/src/primitivus/chat.py @ 542:3eeb6c865e4d

frontends: incoming files transfer management: - quick app: getWaitingConf is used on profile connexion - primitivus: askConfirmation is now managed, use new 'dir' style of FileDialog
author Goffi <goffi@goffi.org>
date Wed, 14 Nov 2012 20:37:15 +0100
parents 3bd8f84f920d
children ca13633d3b6b
line wrap: on
line diff
--- a/frontends/src/primitivus/chat.py	Wed Nov 14 20:24:28 2012 +0100
+++ b/frontends/src/primitivus/chat.py	Wed Nov 14 20:37:15 2012 +0100
@@ -327,5 +327,5 @@
             full_jid = JID("%s/%s" % (self.target.short, last_resource))
         else:
             full_jid = self.target
-        id = self.host.bridge.sendFile(full_jid, filepath, {}, self.host.profile)
-        self.host.addProgress(id,filepath) 
+        progress_id = self.host.bridge.sendFile(full_jid, filepath, {}, self.host.profile)
+        self.host.addProgress(progress_id,filepath)