[Zerofile-svn] SF.net SVN: zerofile: [85] trunk/src/XMPPLinkLocalChatSession.java
Status: Pre-Alpha
Brought to you by:
karl-bengtsson
|
From: <kar...@us...> - 2007-12-13 14:51:31
|
Revision: 85
http://zerofile.svn.sourceforge.net/zerofile/?rev=85&view=rev
Author: karl-bengtsson
Date: 2007-12-13 06:51:29 -0800 (Thu, 13 Dec 2007)
Log Message:
-----------
More status text updates on file transfer
Modified Paths:
--------------
trunk/src/XMPPLinkLocalChatSession.java
Modified: trunk/src/XMPPLinkLocalChatSession.java
===================================================================
--- trunk/src/XMPPLinkLocalChatSession.java 2007-12-13 14:47:19 UTC (rev 84)
+++ trunk/src/XMPPLinkLocalChatSession.java 2007-12-13 14:51:29 UTC (rev 85)
@@ -147,6 +147,7 @@
String fileName = urlToFile.substring(urlToFile.lastIndexOf("/")+1).replace("%20"," ");
if (ZeroFileSettings.getCheckBox().equals("true"))
{
+ _chatWindow.printText("Now downloading file \"" + fileName + "\" from chat partner");
ZeroFile.downloadFileFromHTTP(XMPPDOMParser.getUrlFromFileTransferStanza(stanza));
_chatWindow.printText("Downloaded file \""+ fileName + "\" from chat partner");
}
@@ -154,6 +155,7 @@
{
if (JOptionPane.showConfirmDialog(null, _chatPartner.toString() + "is sending you the file \""+fileName+"\". Do you wish to accept this file transfer?","Ta emot?", JOptionPane.YES_NO_OPTION) == 0)
{
+ _chatWindow.printText("Now downloading file \"" + fileName + "\" from chat partner");
ZeroFile.downloadFileFromHTTP(XMPPDOMParser.getUrlFromFileTransferStanza(stanza));
_chatWindow.printText("Downloaded file \""+ fileName + "\" from chat partner");
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|