Mercurial > pidgin.yaz
changeset 19422:a277162b976e
Clear the message history in the /clear callback.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 25 Aug 2007 11:29:43 +0000 |
parents | e8bd9d92202e |
children | dc4e8460622f |
files | finch/gntconv.c pidgin/gtkconv.c |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntconv.c Sat Aug 25 11:28:34 2007 +0000 +++ b/finch/gntconv.c Sat Aug 25 11:29:43 2007 +0000 @@ -920,6 +920,7 @@ { FinchConv *ggconv = conv->ui_data; gnt_text_view_clear(GNT_TEXT_VIEW(ggconv->tv)); + purple_conversation_clear_message_history(conv); return PURPLE_CMD_STATUS_OK; }
--- a/pidgin/gtkconv.c Sat Aug 25 11:28:34 2007 +0000 +++ b/pidgin/gtkconv.c Sat Aug 25 11:29:43 2007 +0000 @@ -325,6 +325,7 @@ const char *cmd, char **args, char **error, void *data) { clear_conversation_scrollback(conv); + purple_conversation_clear_message_history(conv); return PURPLE_CMD_STATUS_OK; }