comparison 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
comparison
equal deleted inserted replaced
1960:b596bcff758e 1961:39021fd6b0e1
50 GList *hbuf_jump_date(GList *hbuf, time_t t); 50 GList *hbuf_jump_date(GList *hbuf, time_t t);
51 GList *hbuf_jump_percent(GList *hbuf, int pc); 51 GList *hbuf_jump_percent(GList *hbuf, int pc);
52 GList *hbuf_jump_readmark(GList *hbuf); 52 GList *hbuf_jump_readmark(GList *hbuf);
53 gboolean hbuf_remove_receipt(GList *hbuf, gpointer xep184); 53 gboolean hbuf_remove_receipt(GList *hbuf, gpointer xep184);
54 void hbuf_set_readmark(GList *hbuf, gboolean action); 54 void hbuf_set_readmark(GList *hbuf, gboolean action);
55 void hbuf_remove_trailing_readmark(GList *hbuf);
55 56
56 void hbuf_dump_to_file(GList *hbuf, const char *filename); 57 void hbuf_dump_to_file(GList *hbuf, const char *filename);
57 58
58 guint hbuf_get_blocks_number(GList *p_hbuf); 59 guint hbuf_get_blocks_number(GList *p_hbuf);
59 60