Commit 07a81890 authored by Yann Leboulanger's avatar Yann Leboulanger

[length-notifier] reset to default background color when we sent the message. Fixes #150

parent bdf13ef7
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment