[length-notifier] reset to default background color when we sent the message. Fixes #150
This commit is contained in:
@@ -72,6 +72,9 @@ class LengthNotifierPlugin(GajimPlugin):
|
||||
tv.override_background_color(Gtk.StateFlags.NORMAL,
|
||||
d['prev_color'])
|
||||
d['prev_color'] = None
|
||||
elif d['prev_color']:
|
||||
tv.override_background_color(Gtk.StateFlags.NORMAL, d['prev_color'])
|
||||
d['prev_color'] = None
|
||||
|
||||
@log_calls('LengthNotifierPlugin')
|
||||
def connect_with_chat_control(self, chat_control):
|
||||
|
||||
Reference in New Issue
Block a user