Hello.
As tg90nor requested me in the tracker, here I send the patch necessary.
The patch also contains a fix to close the configuration window of a
plugin when this plugin is unloaded. I needed it to test another plugin,
so feel free to comment it too.
Index: plugins.tcl
===================================================================
--- plugins.tcl (revisión: 8932)
+++ plugins.tcl (copia de trabajo)
@@ -665,6 +665,11 @@
return;
}
+ # close configure dialog
+ if {[winfo exists ${w}.winconf_$selection]} {
+ destroy ${w}.winconf_$selection
+ }
+
# do the actual unloading
UnLoadPlugin $selection
# update the buttons and colors in the dialog
Index: gui.tcl
===================================================================
--- gui.tcl (revisión: 8932)
+++ gui.tcl (copia de trabajo)
@@ -913,6 +913,12 @@
::log::ftlog $chatid $txt
}
+
+ #Postevent when we start a filetransfer
+ set evPar(win_name) $win_name
+ set evPar(filename) $filename
+ ::plugins::PostEvent sendfile evPar
+
return 0
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Amsn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amsn-devel