diff frontends/src/quick_frontend/quick_chat.py @ 1972:02d21a589be2

quick_frontend, primitivus: notifications refactoring replaced old "alerts" system by a more generic one which use listeners and can activate callbacks on notification click.
author Goffi <goffi@goffi.org>
date Mon, 27 Jun 2016 22:36:22 +0200
parents a2bc5089c2eb
children a9908e751c42
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_chat.py	Mon Jun 27 21:45:13 2016 +0200
+++ b/frontends/src/quick_frontend/quick_chat.py	Mon Jun 27 22:36:22 2016 +0200
@@ -340,15 +340,6 @@
         """
         raise NotImplementedError
 
-    def notify(self, contact="somebody", msg=""):
-        """Notify the user of a new message if the frontend doesn't have the focus.
-
-        @param contact (unicode): contact who wrote to the users
-        @param msg (unicode): the message that has been received
-        """
-        # FIXME: not called anymore after refactoring
-        raise NotImplemented
-
     def printDayChange(self, day):
         """Display the day on a new line.