Here is a smallish patch to sort plugins by name in the plugins window.
--
Admin WestArena : http://www.westarena.net 28 - 29 - 30 avril 2006 à
Landerneau (29)
Admin AAG : http://www.2ag-fr.com
http://www.yoda-bzh.net
http://blog.yoda-bzh.net
o May the Force be with you
o Do it, or not, but there's no try
--- plugins.tcl 2006-08-05 15:40:32.000000000 +0200
+++ plugins.sorted.tcl 2006-08-05 15:40:27.000000000 +0200
@@ -497,11 +497,11 @@
button $w.load -text "[trans load]" -command "::plugins::GUI_Load" -state disabled
button $w.config -text "[trans configure]" -command "::plugins::GUI_Config" ;#-state disabled
button $w.close -text [trans close] -command "::plugins::GUI_Close"
#loop through all the plugins and add them to the list
- foreach {plugin} [array names ::plugins::plugins *_name] {
+ foreach {plugin} [lsort [array names ::plugins::plugins *_name]] {
set name $plugins(${plugin})
# add the plugin name to the list at counterid position
$w.plugin_list insert end $name
# if the plugin is loaded, color it one color. otherwise use other colors
#TODO: Why not use skins?
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/amsn-devel