# HG changeset patch # User phoku@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1223733781 0 # Node ID d8e32b4adc5c33f63e3069195d59a8026ecb7138 # Parent 679ed3e155131006ed49927f466caa7d24984162 Fix for pychan - it used getIndex. diff -r 679ed3e15513 -r d8e32b4adc5c engine/extensions/pychan/manager.py --- a/engine/extensions/pychan/manager.py Sat Oct 11 12:55:41 2008 +0000 +++ b/engine/extensions/pychan/manager.py Sat Oct 11 14:03:01 2008 +0000 @@ -125,7 +125,8 @@ return style_copy def loadImage(self,filename): - return fife.GuiImage(self.engine.imagePool.getIndex(filename),self.engine.imagePool) + index = self.engine.imagePool.addResourceFromFile(filename) + return fife.GuiImage(index,self.engine.imagePool) def defaultWidgetAction(self,event): if self.debug: