debug instead of print for pre1
This commit is contained in:
parent
f9e3223d76
commit
fe8ddfcfaf
1 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue