Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/hbuf.h @ 1961:39021fd6b0e1
Try to improve readmarks in some cases
This patch removes the readmark when entering chatmode if the mark is on the
last line. This should hopefully fix weird behavior seen under some
circumstances.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 15 Mar 2011 00:39:17 +0100 |
parents | f309f343070c |
children | f740c4128f76 |
line wrap: on
line diff
--- a/mcabber/mcabber/hbuf.h Mon Mar 14 23:45:24 2011 +0100 +++ b/mcabber/mcabber/hbuf.h Tue Mar 15 00:39:17 2011 +0100 @@ -52,6 +52,7 @@ GList *hbuf_jump_readmark(GList *hbuf); gboolean hbuf_remove_receipt(GList *hbuf, gpointer xep184); void hbuf_set_readmark(GList *hbuf, gboolean action); +void hbuf_remove_trailing_readmark(GList *hbuf); void hbuf_dump_to_file(GList *hbuf, const char *filename);