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

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Tue Oct 5 20:40:15 MSD 2010


Author: ancestor
Date: 2010-10-05 20:40:15 +0400 (Tue, 05 Oct 2010)
New Revision: 417

Modified:
   trunk/plugins/clienticons/clienticons.tcl
Log:
1) Some refactoring in clienticons.tcl.

Modified: trunk/plugins/clienticons/clienticons.tcl
===================================================================
--- trunk/plugins/clienticons/clienticons.tcl	2010-10-05 14:02:37 UTC (rev 416)
+++ trunk/plugins/clienticons/clienticons.tcl	2010-10-05 16:40:15 UTC (rev 417)
@@ -3,9 +3,11 @@
 # This plugin contains some portions of Psi+ <http://psi-dev.googlecode.com>
 # and Gajim <http://gajim.org> free jabber clients.
 
-if {[catch {package require Img}]} return
+namespace eval clienticons {
+    if {[catch {package require Img}]} {
+        return
+    }
 
-namespace eval clienticons {
 	variable jidnodes
 	variable icondir
     variable aicsdir



More information about the Tkabber-dev mailing list