diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2012-02-11 01:47:47 +0800 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2012-02-11 01:52:53 +0800 |
commit | a8e8bd5d88bdb4a02bd40ab559bcd62612b63f9c (patch) | |
tree | 0adb4a91ae70e1bda8b4315fc0352793e740dd21 /src/empathy-preferences.c | |
parent | c9c63f5412fbf6f7927c857c7f8f04082abbccde (diff) | |
download | gsoc2013-empathy-a8e8bd5d88bdb4a02bd40ab559bcd62612b63f9c.tar gsoc2013-empathy-a8e8bd5d88bdb4a02bd40ab559bcd62612b63f9c.tar.gz gsoc2013-empathy-a8e8bd5d88bdb4a02bd40ab559bcd62612b63f9c.tar.bz2 gsoc2013-empathy-a8e8bd5d88bdb4a02bd40ab559bcd62612b63f9c.tar.lz gsoc2013-empathy-a8e8bd5d88bdb4a02bd40ab559bcd62612b63f9c.tar.xz gsoc2013-empathy-a8e8bd5d88bdb4a02bd40ab559bcd62612b63f9c.tar.zst gsoc2013-empathy-a8e8bd5d88bdb4a02bd40ab559bcd62612b63f9c.zip |
Don't unhighlight chat tabs when more messages are received
Travis noticed that if you receive a message in which you are not
mentioned after one in which you are, the highlight on the chat tab is
cleared. This turned out to be because the text of the chat tab label
was set in two different places in empathy-chat-window.c: one which
takes should_highlight into account, and one which does not.
This patch makes EmpathyChat keep track of whether it should be
highlighted (reusing empathy_chat_messages_read(), which is called to
acknowledge messages as having been seen by the user, to clear the
flag), and then uses that from one of the label-updating code paths and
deletes the other.
https://bugzilla.gnome.org/show_bug.cgi?id=669823
Diffstat (limited to 'src/empathy-preferences.c')
0 files changed, 0 insertions, 0 deletions