[Tkabber-dev] r31 - trunk/plugins/np_foobar

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Fri Aug 24 05:12:37 MSD 2007


Author: kostix
Date: 2007-08-24 05:12:37 +0400 (Fri, 24 Aug 2007)
New Revision: 31

Modified:
   trunk/plugins/np_foobar/TODO
   trunk/plugins/np_foobar/np_foobar.tcl
Log:
* Fixed mtime_threshold checking.
* Removed superficial [puts].
* Updated TODO.


Modified: trunk/plugins/np_foobar/TODO
===================================================================
--- trunk/plugins/np_foobar/TODO	2007-08-24 01:06:54 UTC (rev 30)
+++ trunk/plugins/np_foobar/TODO	2007-08-24 01:12:37 UTC (rev 31)
@@ -16,6 +16,8 @@
 
 * Improve README.
 
+* Support for message catalogs and Russian message catalog.
+
 LOW:
 
 * Study if it's possible to open a named pipe using Tcl

Modified: trunk/plugins/np_foobar/np_foobar.tcl
===================================================================
--- trunk/plugins/np_foobar/np_foobar.tcl	2007-08-24 01:06:54 UTC (rev 30)
+++ trunk/plugins/np_foobar/np_foobar.tcl	2007-08-24 01:12:37 UTC (rev 31)
@@ -156,7 +156,6 @@
 			return
 		}
 		PLAYING {
-			puts PLAYING
 			# processed below
 		}
 		default {
@@ -178,7 +177,6 @@
 				$line -> tag value]} {
 			set tag [string tolower $tag]
 			set $tag $value
-			puts "$tag: $value"
 		} else {
 			puts stderr "np_foobar: skipped junk line \"$line\""
 		}
@@ -205,8 +203,8 @@
 	variable options
 
 	# Prevent modification time threshold to be lower than 10 sec:
-	if {$options(mtime_threshold) < 10000} {
-		set options(mtime_threshold) 10000
+	if {$options(mtime_threshold) < 10} {
+		set options(mtime_threshold) 10
 	}
 }
 



More information about the Tkabber-dev mailing list