diff --git a/src/filetransfers_window.py b/src/filetransfers_window.py
index 460aeea968d711137ad2f052948c12cc4f1f370f..ab8368b576ef5641a9eaafb3ecb8391bc32c7691 100644
--- a/src/filetransfers_window.py
+++ b/src/filetransfers_window.py
@@ -391,7 +391,7 @@ _('Connection with peer cannot be established.'))
 
 	def get_icon(self, ident):
 		return self.images.setdefault(ident,
-			self.window.render_icon(icons[ident], gtk.ICON_SIZE_MENU))
+			self.window.render_icon(self.icons[ident], gtk.ICON_SIZE_MENU))
 
 	def set_status(self, typ, sid, status):
 		''' change the status of a transfer to state 'status' '''