From fe8ddfcfaf1089c95c19ebb5891b64fc526c990d Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 8 Aug 2005 16:57:41 +0000 Subject: [PATCH] debug instead of print for pre1 --- src/tabbed_chat_window.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index 0d9623247..88a7d2e75 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -354,10 +354,10 @@ class TabbedChatWindow(chat.Chat): self.redraw_tab(contact.jid) self.draw_widgets(contact) - #restore previous conversation + # restore previous conversation self.restore_conversation(contact.jid) - #print queued messages + # print queued messages if gajim.awaiting_messages[self.account].has_key(contact.jid): self.read_queue(contact.jid) @@ -395,7 +395,7 @@ class TabbedChatWindow(chat.Chat): if self.mouse_over_in_last_5_secs: self.send_chatstate('active', jid) elif self.kbd_activity_in_last_5_secs: - print 'PAUSED sends COMPOSING' + gajim.log.debug('PAUSED sends COMPOSING') self.send_chatstate('composing', jid) else: if self.chatstates[jid] == 'composing': @@ -434,7 +434,6 @@ class TabbedChatWindow(chat.Chat): def on_message_tv_buffer_insert_text(self, textbuffer, textiter, text, length, jid): - print 'insert-text' self.kbd_activity_in_last_5_secs = True self.kbd_activity_in_last_30_secs = True self.send_chatstate('composing', jid)