[Tkabber-dev] r888 - trunk/tkabber-plugins/spy

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sun Jan 28 00:20:48 MSK 2007


Author: sergei
Date: 2007-01-28 00:20:47 +0300 (Sun, 28 Jan 2007)
New Revision: 888

Modified:
   trunk/tkabber-plugins/spy/spy.tcl
Log:
	* Focus log windows on tab raise.


Modified: trunk/tkabber-plugins/spy/spy.tcl
===================================================================
--- trunk/tkabber-plugins/spy/spy.tcl	2007-01-27 21:14:21 UTC (rev 887)
+++ trunk/tkabber-plugins/spy/spy.tcl	2007-01-27 21:20:47 UTC (rev 888)
@@ -59,8 +59,9 @@
     }
 
     add_win $w -title [::msgcat::mc "Presence Spy"] \
-        -tabtitle [::msgcat::mc "Spy"] \
-        -class Spy
+	       -tabtitle [::msgcat::mc "Spy"] \
+	       -class Spy \
+	       -raisecmd [list focus $dw.log]
 
     frame $w.controls
     button $w.controls.add -text [::msgcat::mc "Set watch"] \



More information about the Tkabber-dev mailing list