diff --git a/src/dialogs.py b/src/dialogs.py index 932106f93..c7db7ab00 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -33,6 +33,7 @@ import gtk import gobject import os import nbxmpp +import time import gtkgui_helpers import vcard @@ -3423,9 +3424,11 @@ class XMLConsoleWindow: type_ = kind # 'incoming' or 'outgoing' if kind == 'incoming': - buffer.insert_with_tags_by_name(end_iter, '\n', type_) + buffer.insert_with_tags_by_name(end_iter, '\n' % \ + time.strftime('%c'), type_) elif kind == 'outgoing': - buffer.insert_with_tags_by_name(end_iter, '\n', type_) + buffer.insert_with_tags_by_name(end_iter, '\n' % \ + time.strftime('%c'), type_) end_iter = buffer.get_end_iter() buffer.insert_with_tags_by_name(end_iter, stanza.replace('><', '>\n<') \ + '\n\n', type_)