diff sat_frontends/quick_frontend/constants.py @ 3168:1cb232c9e845

quick frontends (widgets): added widgetNew and widgetDelete listeners: - `widgetNew` is called when a brand new widget is created (not when a new instance is created if there is already an existing one) - `widgetDelete` is called when all instances of a widget (with a given widget_hash) have been deleted.
author Goffi <goffi@goffi.org>
date Wed, 12 Feb 2020 19:46:14 +0100
parents 9dc170635bee
children 6cf4bd6972c2
line wrap: on
line diff
--- a/sat_frontends/quick_frontend/constants.py	Wed Feb 12 19:44:05 2020 +0100
+++ b/sat_frontends/quick_frontend/constants.py	Wed Feb 12 19:46:14 2020 +0100
@@ -99,13 +99,15 @@
         "nick",
         "presence",
         "selected",
+        "notification",
+        "notificationsClear",
+        "widgetNew",
+        "widgetDeleted",
         "profilePlugged",
         "contactsFilled",
         "disconnect",
         "gotMenus",
         "menu",
-        "notification",
-        "notificationsClear",
         "progressFinished",
         "progressError",
     }