[Tkabber-dev] r89 - trunk/plugins/recentstatus

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Tue Jan 8 05:37:10 MSK 2008


Author: kostix
Date: 2008-01-08 05:37:09 +0300 (Tue, 08 Jan 2008)
New Revision: 89

Modified:
   trunk/plugins/recentstatus/TODO
   trunk/plugins/recentstatus/recentstatus.tcl
Log:
recentstatus/recentstatus.tcl: Removed superfluous variable assignment.

recentstatus/TODO: Tasks updated.


Modified: trunk/plugins/recentstatus/TODO
===================================================================
--- trunk/plugins/recentstatus/TODO	2008-01-08 02:29:33 UTC (rev 88)
+++ trunk/plugins/recentstatus/TODO	2008-01-08 02:37:09 UTC (rev 89)
@@ -1,5 +1,14 @@
 $Id$
 
+* Looks like when Tkabber starts up and the history isn't empty,
+  the combobox receives the first history item as it's text
+  value and when Tkabber connects it becomes the availability
+  message.
+  Probably we need to forcibly set there the current value of
+  textvariabled obtained before the combobox is populated or
+  take another route to fetch the saved availability status
+  message, if any.
+
 * Implement configuration option for limiting the maximum
   number of history messages (old messages above the threshold
   should be removed when the new message is added).

Modified: trunk/plugins/recentstatus/recentstatus.tcl
===================================================================
--- trunk/plugins/recentstatus/recentstatus.tcl	2008-01-08 02:29:33 UTC (rev 88)
+++ trunk/plugins/recentstatus/recentstatus.tcl	2008-01-08 02:37:09 UTC (rev 89)
@@ -36,9 +36,7 @@
 	$w bind <Return> +[list [namespace current]::save_availability_status $w]
 	$w bind <Button-3> [list [namespace current]::show_context_menu $w]
 
-	set pack [concat [list pack $w] $pinfo]
-	eval $pack
-
+	eval [concat [list pack $w] $pinfo]
 }
 
 proc recentstatus::save_availability_status {w} {



More information about the Tkabber-dev mailing list