[Zope-Checkins] SVN: Zope/trunk/src/OFS/misc_.py User_icon has moved

Hanno Schlichting hannosch at hannosch.eu
Fri Jul 16 15:22:05 EDT 2010


Log message for revision 114805:
  User_icon has moved
  

Changed:
  U   Zope/trunk/src/OFS/misc_.py

-=-
Modified: Zope/trunk/src/OFS/misc_.py
===================================================================
--- Zope/trunk/src/OFS/misc_.py	2010-07-16 19:20:41 UTC (rev 114804)
+++ Zope/trunk/src/OFS/misc_.py	2010-07-16 19:22:05 UTC (rev 114805)
@@ -34,8 +34,9 @@
     here = dirname(__file__)
     broken = ImageFile('www/broken.gif', here)
 
-    import AccessControl
-    User_icon = ImageFile('www/User_icon.gif', dirname(AccessControl.__file__))
+    import OFS
+    ofs_dir = dirname(OFS.__file__)
+    User_icon = ImageFile('www/User_icon.gif', ofs_dir)
 
     locked = ImageFile('www/modified.gif', here)
     lockedo = ImageFile('www/locked.gif', here)
@@ -56,8 +57,6 @@
     r_arrow_gif = ImageFile('www/r_arrow.gif', here)
     l_arrow_gif = ImageFile('www/l_arrow.gif', here)
 
-    import OFS
-    ofs_dir = dirname(OFS.__file__)
     ControlPanel_icon = ImageFile('www/ControlPanel_icon.gif', ofs_dir)
     ApplicationManagement_icon = ImageFile('www/cpSystem.gif', app_dir)
     DatabaseManagement_icon = ImageFile('www/dbManage.gif', app_dir)



More information about the Zope-Checkins mailing list