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

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Mon Jan 11 01:00:38 MSK 2010


Author: sergei
Date: 2010-01-11 01:00:38 +0300 (Mon, 11 Jan 2010)
New Revision: 1866

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/plugins/chat/nick_colors.tcl
Log:
	* plugins/chat/nick_colors.tcl: Save nick colors just after change
	  (thanks to Serge Yudin).


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2010-01-10 21:54:59 UTC (rev 1865)
+++ trunk/tkabber/ChangeLog	2010-01-10 22:00:38 UTC (rev 1866)
@@ -5,6 +5,9 @@
 	  (the same as for Shift-F2 and Shift-F3) which are recognized by Tk
 	  in modern X when Shift-F2 and Shift-F3 are pressed.
 
+	* plugins/chat/nick_colors.tcl: Save nick colors just after change
+	  (thanks to Serge Yudin).
+
 2010-01-07  Sergei Golovan  <sgolovan at nes.ru>
 
 	* privacy.tcl: Added two debug messages.

Modified: trunk/tkabber/plugins/chat/nick_colors.tcl
===================================================================
--- trunk/tkabber/plugins/chat/nick_colors.tcl	2010-01-10 21:54:59 UTC (rev 1865)
+++ trunk/tkabber/plugins/chat/nick_colors.tcl	2010-01-10 22:00:38 UTC (rev 1866)
@@ -250,6 +250,7 @@
     if {$new != ""} {
 	$w tag configure NICK-$nick -foreground $new
 	set NickColorEdits($nick) $new
+	[namespace current]::save_nick_colors
     }
 }
 
@@ -323,6 +324,7 @@
     if {$new != [get_color $nick]} {
 	set NickColors($nick) $new
 	change_options
+	[namespace current]::save_nick_colors
     }
 }
 



More information about the Tkabber-dev mailing list