Mercurial > fife-parpg
changeset 193:9661d611b346
* Fixed the ImageButton. Messed it up in last commit
author | nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 01 Mar 2009 00:04:58 +0000 |
parents | bec4b69ad83a |
children | 9631a2958851 |
files | engine/extensions/pychan/widgets.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/engine/extensions/pychan/widgets.py Sat Feb 28 22:33:21 2009 +0000 +++ b/engine/extensions/pychan/widgets.py Sun Mar 01 00:04:58 2009 +0000 @@ -1165,7 +1165,7 @@ if isinstance(source,str): self._upimage_source = source try: - self._upimage = get_manager().loadImage(image) + self._upimage = get_manager().loadImage(source) self.real_widget.setUpImage( self._upimage ) except: self._upimage = _DummyImage() @@ -1187,7 +1187,7 @@ if isinstance(source,str): self._downimage_source = source try: - self._downimage = get_manager().loadImage(image) + self._downimage = get_manager().loadImage(source) self.real_widget.setDownImage( self._downimage ) except: self._downimage = _DummyImage() @@ -1205,7 +1205,7 @@ if isinstance(source, str): self._hoverimage_source = source try: - self._hoverimage = get_manager().loadImage(image) + self._hoverimage = get_manager().loadImage(source) self.real_widget.setHoverImage( self._hoverimage ) except: self._hoverimage = _DummyImage()