[Tkabber-dev] r408 - trunk/plugins/clienticons

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Tue Sep 28 08:02:01 MSD 2010


Author: ancestor
Date: 2010-09-28 08:02:01 +0400 (Tue, 28 Sep 2010)
New Revision: 408

Modified:
   trunk/plugins/clienticons/clienticons.tcl
Log:
1) Fixed wrong determination of icon for juick.

Modified: trunk/plugins/clienticons/clienticons.tcl
===================================================================
--- trunk/plugins/clienticons/clienticons.tcl	2010-09-28 03:37:33 UTC (rev 407)
+++ trunk/plugins/clienticons/clienticons.tcl	2010-09-28 04:02:01 UTC (rev 408)
@@ -52,7 +52,13 @@
 }
 
 proc ::get_client_icon {jid} {
+    if {$jid == "juick at juick.com" || [regexp ".*juick.com.*" $jid]} {
+        set icon clients/juick
+        return $icon
+    }
+
 	set node [::get_client_from_jid $jid]
+    
 	switch -glob -- [string tolower $node] {
 		*adium*								{set icon clients/adium}
 		*bitlbee*							{set icon clients/bitlbee}
@@ -90,7 +96,6 @@
 		*japyt*								{set icon clients/japyt}
 		*jimm*								{set icon clients/jimm-aspro}
 		*jbot*								{set icon clients/jbother}
-        *jubo*                              {set icon clients/jubo}
 		*kopete*							{set icon clients/kopete}
 		*mchat*								{set icon clients/mchat}
 		*miranda*							{set icon clients/miranda}



More information about the Tkabber-dev mailing list