From 1e4878402e1a1122070e56fce91628fbd4a2ea35 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 3 Feb 2006 21:18:08 +0000 Subject: [PATCH] when we change jid clear previous content in logs_liststore --- src/history_manager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/history_manager.py b/src/history_manager.py index 1fedfb2cc..647f0b8c9 100755 --- a/src/history_manager.py +++ b/src/history_manager.py @@ -1,7 +1,7 @@ #! /usr/bin/env python ## history_manager.py ## -## Copyright (C) 2006 Nikos Kouremenos +## Copyright (C) 2006 Nikos Kouremenos ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published @@ -163,6 +163,7 @@ class HistoryManager: def _fill_logs_listview(self, jid): '''fill the listview with all messages that user sent to or received from JID''' + self.logs_liststore.clear() # first clear the store # no need to lower jid in this context as jid is already lowered # as we use those jids from db jid_id = self._get_jid_id(jid)