[Tkabber-dev] r2148 - in trunk/tkabber-plugins: . otr

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Tue Feb 25 18:28:30 MSK 2014


Author: sergei
Date: 2014-02-25 18:28:29 +0400 (Tue, 25 Feb 2014)
New Revision: 2148

Modified:
   trunk/tkabber-plugins/ChangeLog
   trunk/tkabber-plugins/otr/otr.tcl
Log:
	* otr/otr.tcl: Fixed reporting SMP progress when the SMP dialog window
	  is already destroyed.


Modified: trunk/tkabber-plugins/ChangeLog
===================================================================
--- trunk/tkabber-plugins/ChangeLog	2014-02-19 19:21:59 UTC (rev 2147)
+++ trunk/tkabber-plugins/ChangeLog	2014-02-25 14:28:29 UTC (rev 2148)
@@ -1,3 +1,8 @@
+2014-02-25  Sergei Golovan <sgolovan at nes.ru>
+
+	* otr/otr.tcl: Fixed reporting SMP progress when the SMP dialog window
+	  is already destroyed.
+
 2014-02-19  Sergei Golovan <sgolovan at nes.ru>
 
 	* otr/tclotr/smp.tcl: Added a debug print procedure instead of plain

Modified: trunk/tkabber-plugins/otr/otr.tcl
===================================================================
--- trunk/tkabber-plugins/otr/otr.tcl	2014-02-19 19:21:59 UTC (rev 2147)
+++ trunk/tkabber-plugins/otr/otr.tcl	2014-02-25 14:28:29 UTC (rev 2148)
@@ -903,7 +903,7 @@
 }
 
 proc otr::result_smp {w xlib jid} {
-    variable ctx
+    if {![winfo exists $w]} return
 
     $w itemconfigure 0 -state normal -text [::msgcat::mc "OK"] -command [list destroy $w]
     $w itemconfigure 1 -state disabled -command [list destroy $w]



More information about the Tkabber-dev mailing list