Hi all!

Yesterday I had run in to a bug

( http://amsn-project.net/forums/viewtopic.php?t=2366&start=240 )

wrong # args: should be "::winks::PlayWink wfile"
   while executing
"::winks::PlayWink C:/Documents and
Settings/Paller.KATA/amsn/paller1984_sadamsnuser_com/winks/2af42d1c3d8ebd03573311d48d740a55/water_balloon.swf"
   invoked from within
".editWink.fb.play invoke"
   ("uplevel" body line 1)
   invoked from within
"uplevel #0 [list $w invoke]"
   (procedure "tk::ButtonUp" line 24)


I didn't remember when this came from.
But today I tested it again, and found that it's came from the add new winks
menu's play button.

here is a diff for a solution(?) for it

[EMAIL PROTECTED]:~/amsn/plugins/winks> svn diff
Index: winks.tcl
===================================================================
--- winks.tcl   (revision 8196)
+++ winks.tcl   (working copy)
@@ -645,7 +645,7 @@
                       frame $w.fb
                       button $w.fb.del -text [trans "delete"] -command
"::winks::DeleteWink $chatid \"$sha1d\""
                       button $w.fb.ok -text [trans "rename"] -command
"::winks::RenameWink $chatid \"$sha1d\""
-                       button $w.fb.play -text [trans "winks_play"]
-command "::winks::PlayWink $wink(swf)"
+                       button $w.fb.play -text [trans "winks_play"]
-command "::winks::PlayWink \"$wink(swf)\""
                       button $w.fb.cancel -text [trans cancel] -command
"destroy $w"
                       bind $w <<Escape>> "destroy $w"
Index: winks.tcl
===================================================================
--- winks.tcl	(revision 8196)
+++ winks.tcl	(working copy)
@@ -645,7 +645,7 @@
 			frame $w.fb
 			button $w.fb.del -text [trans "delete"] -command "::winks::DeleteWink $chatid \"$sha1d\""
 			button $w.fb.ok -text [trans "rename"] -command "::winks::RenameWink $chatid \"$sha1d\""
-			button $w.fb.play -text [trans "winks_play"] -command "::winks::PlayWink $wink(swf)" 
+			button $w.fb.play -text [trans "winks_play"] -command "::winks::PlayWink \"$wink(swf)\""
 			button $w.fb.cancel -text [trans cancel] -command "destroy $w"
 			bind $w <<Escape>> "destroy $w"
 		
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to