debug instead of print for pre1

This commit is contained in:
Nikos Kouremenos 2005-08-08 16:57:41 +00:00
parent f9e3223d76
commit fe8ddfcfaf
1 changed files with 3 additions and 4 deletions

View File

@ -395,7 +395,7 @@ class TabbedChatWindow(chat.Chat):
if self.mouse_over_in_last_5_secs: if self.mouse_over_in_last_5_secs:
self.send_chatstate('active', jid) self.send_chatstate('active', jid)
elif self.kbd_activity_in_last_5_secs: elif self.kbd_activity_in_last_5_secs:
print 'PAUSED sends COMPOSING' gajim.log.debug('PAUSED sends COMPOSING')
self.send_chatstate('composing', jid) self.send_chatstate('composing', jid)
else: else:
if self.chatstates[jid] == 'composing': if self.chatstates[jid] == 'composing':
@ -434,7 +434,6 @@ class TabbedChatWindow(chat.Chat):
def on_message_tv_buffer_insert_text(self, textbuffer, textiter, text, def on_message_tv_buffer_insert_text(self, textbuffer, textiter, text,
length, jid): length, jid):
print 'insert-text'
self.kbd_activity_in_last_5_secs = True self.kbd_activity_in_last_5_secs = True
self.kbd_activity_in_last_30_secs = True self.kbd_activity_in_last_30_secs = True
self.send_chatstate('composing', jid) self.send_chatstate('composing', jid)