[Tkabber-dev] r1869 - in trunk/tkabber: . plugins/chat

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Thu Jan 14 21:36:14 MSK 2010


Author: sergei
Date: 2010-01-14 21:36:14 +0300 (Thu, 14 Jan 2010)
New Revision: 1869

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/plugins/chat/insert_nick.tcl
Log:
	* plugins/chat/insert_nick.tcl: Forced focus to chat input window after
	  inserting nickname into it (thanks to Konstantin Khomoutov).


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2010-01-14 18:30:59 UTC (rev 1868)
+++ trunk/tkabber/ChangeLog	2010-01-14 18:36:14 UTC (rev 1869)
@@ -5,6 +5,9 @@
 
 	* namespaces.tcl: Removed unused (moved to TclXMPP) namespaces.
 
+	* plugins/chat/insert_nick.tcl: Forced focus to chat input window after
+	  inserting nickname into it (thanks to Konstantin Khomoutov).
+
 2010-01-10  Sergei Golovan  <sgolovan at nes.ru>
 
 	* plugins/chat/bookmark_highlighted.tcl, plugins/chat/popupmenu.tcl:

Modified: trunk/tkabber/plugins/chat/insert_nick.tcl
===================================================================
--- trunk/tkabber/plugins/chat/insert_nick.tcl	2010-01-14 18:30:59 UTC (rev 1868)
+++ trunk/tkabber/plugins/chat/insert_nick.tcl	2010-01-14 18:36:14 UTC (rev 1869)
@@ -28,6 +28,7 @@
     if {$nick == ""} return
 
     insert $chatid $nick
+    focus -force [chat::input_win $chatid]
     return stop
 }
 



More information about the Tkabber-dev mailing list