Mercurial > libervia-backend
diff frontends/src/primitivus/constants.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 | 5fbe09b9b568 |
children | a9908e751c42 |
line wrap: on
line diff
--- a/frontends/src/primitivus/constants.py Mon Jun 27 21:45:13 2016 +0200 +++ b/frontends/src/primitivus/constants.py Mon Jun 27 22:36:22 2016 +0200 @@ -31,8 +31,8 @@ ('selected_focus', 'default,bold', 'dark red'), ('default', 'default', 'default'), ('default_focus', 'default,bold', 'default'), - ('alert', 'default,underline', 'default'), - ('alert_focus', 'default,bold,underline', 'default'), + ('cl_notifs', 'default,underline', 'yellow'), + ('cl_notifs_focus', 'default,bold,underline', 'yellow'), # Messages ('date', 'light gray', 'default'), ('my_nick', 'dark red,bold', 'default'), @@ -100,6 +100,3 @@ MODE_COMMAND = 'COMMAND' GROUP_DATA_FOLDED = 'folded' - - # contacts and contact list - ALERT_HEADER='(%i) '