quick_frontend, primitivus: notifications refactoring
replaced old "alerts" system by a more generic one which use listeners and can activate callbacks on notification click.
This commit is contained in:
parent
22d70f23c4
commit
b388d2b172
1 changed files with 131 additions and 139 deletions
|
|
@ -31,8 +31,8 @@ class Const(constants.Const):
|
|||
('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 @@ class Const(constants.Const):
|
|||
MODE_COMMAND = 'COMMAND'
|
||||
|
||||
GROUP_DATA_FOLDED = 'folded'
|
||||
|
||||
# contacts and contact list
|
||||
ALERT_HEADER='(%i) '
|
||||
|
|
|
|||
Loading…
Reference in a new issue