[Tkabber-dev] r1798 - trunk/tkabber

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Mon May 4 14:06:28 MSD 2009


Author: sergei
Date: 2009-05-04 14:06:28 +0400 (Mon, 04 May 2009)
New Revision: 1798

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/datagathering.tcl
Log:
	* datagathering.tcl: Fixed binding of <<ListboxSelect>> event if the
	  bound script contains % sign.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2009-05-01 16:48:49 UTC (rev 1797)
+++ trunk/tkabber/ChangeLog	2009-05-04 10:06:28 UTC (rev 1798)
@@ -1,3 +1,8 @@
+2009-05-04  Sergei Golovan  <sgolovan at nes.ru>
+
+	* datagathering.tcl: Fixed binding of <<ListboxSelect>> event if the
+	  bound script contains % sign.
+
 2009-04-26  Sergei Golovan  <sgolovan at nes.ru>
 
 	* plugins/chat/logger.tcl: Fixed logging messages with empty from

Modified: trunk/tkabber/datagathering.tcl
===================================================================
--- trunk/tkabber/datagathering.tcl	2009-05-01 16:48:49 UTC (rev 1797)
+++ trunk/tkabber/datagathering.tcl	2009-05-04 10:06:28 UTC (rev 1798)
@@ -335,8 +335,8 @@
 	    trace_listmulti $l $options \
 		data::data(var,$var,$g)
 	    bind $l <<ListboxSelect>> \
-		[list data::trace_listmulti %W $options \
-		     [namespace current]::data(var,$var,$g)]
+		[list data::trace_listmulti %W [double% $options] \
+		     [double% [namespace current]::data(var,$var,$g)]]
 	    set widget $sw
 	    if {$desc != ""} {
 		balloon::setup $g.lb$row -text $desc



More information about the Tkabber-dev mailing list