read queue if there is one when we open a new tab

This commit is contained in:
Yann Leboulanger 2005-02-14 20:04:37 +00:00
parent 9ac24e7d1c
commit 8f420e3956
1 changed files with 3 additions and 0 deletions

View File

@ -401,6 +401,9 @@ class tabbed_chat_Window:
self.on_button_contact_clicked)
self.xmls[user.jid].get_widget('button_contact').set_use_underline(False)
if self.plugin.queues[self.account].has_key(user.jid):
self.read_queue(self.plugin.queues[self.account][user.jid])
def on_msg_key_press_event(self, widget, event):
"""When a key is pressed :
if enter is pressed without the shit key, message (if not empty) is sent