@ -374,7 +374,7 @@ class MessageGrid(gtk.ScrolledWindow, gobject.GObject):
# Class methods
#-----------------------------------------------------------------------
@staticmethod
def delete(self, message):
def delete(message):
"""Removes a message from the grid."""
if not hasattr(message, 'grid'):
_log.debug('No grid information in the message')