[Tkabber-dev] r117 - trunk/plugins/snoopstatus

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Wed Aug 13 12:46:38 MSD 2008


Author: kostix
Date: 2008-08-13 12:46:37 +0400 (Wed, 13 Aug 2008)
New Revision: 117

Modified:
   trunk/plugins/snoopstatus/snoopstatus.tcl
Log:
"snoopstatus" plugin: added forced focusing of status message
 collector text widget when the plugin's main window is activated.
 This fixes the reported bug of focus latching on a previously
 active window when switching to this plugin's window.


Modified: trunk/plugins/snoopstatus/snoopstatus.tcl
===================================================================
--- trunk/plugins/snoopstatus/snoopstatus.tcl	2008-08-13 00:39:44 UTC (rev 116)
+++ trunk/plugins/snoopstatus/snoopstatus.tcl	2008-08-13 08:46:37 UTC (rev 117)
@@ -28,7 +28,8 @@
 
     add_win $win -class SnoopStatus \
 	-title [::msgcat::mc "Status messages"] \
-	-tabtitle [::msgcat::mc "Status messages"]
+	-tabtitle [::msgcat::mc "Status messages"] \
+	-raisecmd [list focus $win.text]
 
     text $win.text -state disabled -wrap word \
 	-yscrollcommand [list $win.vsb set]



More information about the Tkabber-dev mailing list