Beispiel #1
0
    def remove(self, iter):
        """Remove message from message item and destroy it."""

        message = self._get_object(iter)
        item = self._item
        super(CommunicationMessageModel, self).remove(iter)
        item.remove_message(message, self.inverted)
Beispiel #2
0
 def remove(self, iter):
     """
     Remove message from message item and destroy it.
     """
     message = self._get_object(iter)
     item = self._item
     super(CommunicationMessageModel, self).remove(iter)
     item.remove_message(message, self.inverted)