[Tkabber-dev] r1619 - in trunk/tkabber: . plugins/windows

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Wed Nov 26 18:02:08 MSK 2008


Author: sergei
Date: 2008-11-26 18:02:08 +0300 (Wed, 26 Nov 2008)
New Revision: 1619

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/plugins/windows/taskbar.tcl
Log:
	* plugins/windows/taskbar.tcl: Use another variable as an indicator of
	  user status.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2008-11-26 14:40:16 UTC (rev 1618)
+++ trunk/tkabber/ChangeLog	2008-11-26 15:02:08 UTC (rev 1619)
@@ -3,6 +3,9 @@
 	* login.tcl: Refixed bug with incorrect disconnecting from the server
 	  if authentication failed.
 
+	* plugins/windows/taskbar.tcl: Use another variable as an indicator of
+	  user status.
+
 2008-11-25  Sergei Golovan  <sgolovan at nes.ru>
 
 	* login.tcl: Fixed bug with incorrect disconnecting from the server

Modified: trunk/tkabber/plugins/windows/taskbar.tcl
===================================================================
--- trunk/tkabber/plugins/windows/taskbar.tcl	2008-11-26 14:40:16 UTC (rev 1618)
+++ trunk/tkabber/plugins/windows/taskbar.tcl	2008-11-26 15:02:08 UTC (rev 1619)
@@ -48,7 +48,7 @@
 proc taskbar::set_current_theme {} {
     variable icon
     variable s2p
-    global userstatus
+    global curuserstatus
 
     set newicon [winico createfrom [pixmaps::get_filename docking/tkabber]]
 
@@ -63,7 +63,7 @@
 	# windows (i.e. it's called from finload_hook) while this
 	# proc is called for the first time earlier in the loading
 	# sequence...
-	configure .tray $userstatus
+	configure .tray $curuserstatus
 
 	# Change icons of all mapped toplevels:
 	foreach w [wm stackorder .] {
@@ -178,7 +178,7 @@
 proc taskbar::win_icon_setup {w} {
     variable icon
     variable s2p
-    global userstatus
+    global curuserstatus
 
     if {[cequal $icon ""]} return
 
@@ -186,7 +186,7 @@
     # window in windowed UI mode) -- it shows the current
     # user status in its window icon:
     if {[string equal $w .]} {
-	winico setwindow $w $icon small $s2p($userstatus)
+	winico setwindow $w $icon small $s2p($curuserstatus)
 	winico setwindow $w $icon big $s2p(available32)
 	return
     }



More information about the Tkabber-dev mailing list