comparison 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
comparison
equal deleted inserted replaced
1971:9421e721d5e2 1972:02d21a589be2
29 ('title_focus', 'white,bold', 'light gray', 'standout,underline'), 29 ('title_focus', 'white,bold', 'light gray', 'standout,underline'),
30 ('selected', 'default', 'dark red'), 30 ('selected', 'default', 'dark red'),
31 ('selected_focus', 'default,bold', 'dark red'), 31 ('selected_focus', 'default,bold', 'dark red'),
32 ('default', 'default', 'default'), 32 ('default', 'default', 'default'),
33 ('default_focus', 'default,bold', 'default'), 33 ('default_focus', 'default,bold', 'default'),
34 ('alert', 'default,underline', 'default'), 34 ('cl_notifs', 'default,underline', 'yellow'),
35 ('alert_focus', 'default,bold,underline', 'default'), 35 ('cl_notifs_focus', 'default,bold,underline', 'yellow'),
36 # Messages 36 # Messages
37 ('date', 'light gray', 'default'), 37 ('date', 'light gray', 'default'),
38 ('my_nick', 'dark red,bold', 'default'), 38 ('my_nick', 'dark red,bold', 'default'),
39 ('other_nick', 'dark cyan,bold', 'default'), 39 ('other_nick', 'dark cyan,bold', 'default'),
40 ('info_msg', 'yellow', 'default', 'bold'), 40 ('info_msg', 'yellow', 'default', 'bold'),
98 MODE_NORMAL = 'NORMAL' 98 MODE_NORMAL = 'NORMAL'
99 MODE_INSERTION = 'INSERTION' 99 MODE_INSERTION = 'INSERTION'
100 MODE_COMMAND = 'COMMAND' 100 MODE_COMMAND = 'COMMAND'
101 101
102 GROUP_DATA_FOLDED = 'folded' 102 GROUP_DATA_FOLDED = 'folded'
103
104 # contacts and contact list
105 ALERT_HEADER='(%i) '