[Tkabber-dev] r530 - trunk/plugins/translate

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Mon Feb 25 18:02:30 MSK 2013


Author: rejjin
Date: 2013-02-25 18:02:30 +0400 (Mon, 25 Feb 2013)
New Revision: 530

Modified:
   trunk/plugins/translate/translate.tcl
Log:
Get language list when http-connection fail (in loop with sleeping 60 sec)

Modified: trunk/plugins/translate/translate.tcl
===================================================================
--- trunk/plugins/translate/translate.tcl	2013-02-19 23:50:52 UTC (rev 529)
+++ trunk/plugins/translate/translate.tcl	2013-02-25 14:02:30 UTC (rev 530)
@@ -140,7 +140,7 @@
 		
 		if {[catch {set token [::http::geturl $Urls(langList) \
 				-command [namespace current]::getLanguageListClbk]}]} {
-			return
+			return [after idle [list after 60000 [namespace current]::getLanguageList]]
 		}
 		
 		::http::wait $token



More information about the Tkabber-dev mailing list